.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr))!important;
  gap: 16px;
}

.gallery img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
  cursor: pointer;
  transition: transform .2s ease;
}

.gallery img:hover {
  transform: scale(1.05);
}

/* modal */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.8);
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 1000;
}

.modal-img {
  max-width: 90%;
  max-height: 80vh;
  border-radius: 12px;
}

.close {
  position: absolute;
  top: 16px;
  right: 24px;
  font-size: 36px;
  color: #fff;
  cursor: pointer;
}

.download {
  margin-top: 16px;
  color: #fff;
  text-decoration: none;
  border: 1px solid #fff;
  padding: 8px 16px;
  border-radius: 20px;
}

/* 親要素の制限を無視する */
.thumb-grid-10 {
  display: grid !important;
  grid-template-columns: repeat(10, minmax(0, 1fr)) !important;
  gap: 10px;
  width: 100%;
}

.thumb-grid-10 img{
  transition: transform .18s ease, box-shadow .18s ease !important;
  will-change: transform;
}

.thumb-grid-10 img:hover{
  transform: scale(1.06) !important;
  box-shadow: 0 10px 24px rgba(0,0,0,.25) !important;
}

@media (max-width: 768px){
  .thumb-grid-10{
    grid-template-columns: repeat(5, 1fr) !important;
  }
}

@media (max-width: 480px){
  .thumb-grid-10{
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

.thumb-grid-6{
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

@media (max-width: 767px){
  .thumb-grid-10{
    grid-template-columns: repeat(2, 1fr);
  }

  .thumb-grid-6{
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 10/5 共通：ホバー対象を統一 */
.thumb-grid-10 img,
.thumb-grid-6 img{
  transition: transform .18s ease, filter .18s ease, opacity .18s ease;
}

/* 10/5 共通：ホバー演出（例） */
.thumb-grid-10 img:hover,
.thumb-grid-6 img:hover{
  transform: scale(1.03);
  filter: brightness(0.98);
}

/* 画像の上に重ねる要素がホバーを奪わないように */
.thumb-grid-10 .format-badge,
.thumb-grid-6 .format-badge,
.thumb-grid-10 .thumb-overlay,
.thumb-grid-6 .thumb-overlay,
.thumb-grid-10 .badge-img,
.thumb-grid-6 .badge-img{
  pointer-events: none !important;
}

/* hover を img ではなく「1枚の枠」に効かせたい場合（推奨） */
.thumb-grid-10 .thumb-item,
.thumb-grid-6 .thumb-item{
  position: relative;
}

.thumb-grid-10 .thumb-item:hover img,
.thumb-grid-6 .thumb-item:hover img{
  transform: scale(1.03);
  filter: brightness(0.98);
}
  /* モーダル */
  .img-modal{
    position:fixed;
    inset:0;
    display:none;
    align-items:center;
    justify-content:center;
    background:rgba(0,0,0,.78);
    z-index:99999;
    padding:16px;
  }
  .img-modal[aria-hidden="false"]{ display:flex; }

  .img-modal__panel{
    width:min(1100px, 100%);
    max-height:90vh;
    background:rgba(0,0,0,.25);
    border:1px solid rgba(255,255,255,.18);
    border-radius:16px;
    overflow:hidden;
    box-shadow:0 18px 50px rgba(0,0,0,.55);
  }
  .img-modal__bar{
    display:flex;
    justify-content:flex-end;
    gap:10px;
    padding:10px;
    background:rgba(0,0,0,.35);
  }
  .img-modal__btn{
    color:#fff;
    text-decoration:none;
    border:1px solid rgba(255,255,255,.25);
    background:rgba(255,255,255,.08);
    padding:8px 12px;
    border-radius:999px;
    font-size:14px;
    cursor:pointer;
    display:inline-flex;
    align-items:center;
    gap:6px;
  }
  .img-modal__viewer{
    display:grid;
    place-items:center;
    padding:12px;
    background:rgba(0,0,0,.15);
  }
  .img-modal__img{
    max-width:100%;
    max-height:calc(90vh - 60px);
    width:auto;
    height:auto; /* 高さ固定しない */
    object-fit:contain;
    border-radius:12px;
    background:#000;
  }
  
  
/* PC：横並び */
.elementor-element-b73b6d4 .elementor-widget-wrap{
  display: flex;
  gap: 16px;
  justify-content: center; /* 中央寄せ */
}

/* PC：このセクション内の fc95547 の中だけを横並びにする */
.elementor-element-b73b6d4 .elementor-element-fc95547{
  display: flex !important;
  gap: 16px !important;
  align-items: flex-start !important;
}

/* 2つの画像ブロックを2等分 */
.elementor-element-b73b6d4 .elementor-element-fc95547 > .elementor-widget-image{
  flex: 1 1 0 !important;
}

/* 画像は枠にフィット */
.elementor-element-b73b6d4 .elementor-element-fc95547 img{
  width: 100% !important;
  height: auto !important;
  display: block !important;
}

/* スマホ：縦並び */
@media (max-width: 767px){
  .elementor-element-b73b6d4 .elementor-element-fc95547{
    flex-direction: column !important;
  }
}

/* PC（デフォルト）：PCだけ表示 */
.elementor-element-b73b6d4 .pc-only { 
  display: block !important; 
}
.elementor-element-b73b6d4 .sp-only { 
  display: none !important; 
}

.elementor-element-b73b6d4 .pc-only img{
  width: 100%;
  height: auto;
  display: block;
}

/* スマホ：スマホだけ表示 */
@media (max-width: 767px){
  .elementor-element-b73b6d4 .pc-only { 
    display: none !important; 
  }
  .elementor-element-b73b6d4 .sp-only { 
    display: block !important; 
  }
}

/* 作成者名テキスト */
.elementor-element-b73b6d4 .image-credit{
  margin-top: 6px;
  font-size: 12px;
  color: #666;
  line-height: 1.4;
}

/* 中央寄せにしたい場合 */
.elementor-element-b73b6d4 .image-credit{
  text-align: center;
}

@media (max-width: 767px){
  .elementor-element-b73b6d4 .image-credit{
    margin-bottom: 12px !important; /* 文字の下に余白（次の画像との間） */
    line-height: 1.4 !important;
  }
}

.design-section{
  width: 100%;
}
.design-images {
  display: flex;
  width: 100%;
  gap: 20px; /* 左右の余白 */
}

.design-left {
  width: 60%;
  display: flex;
  justify-content: center; /* 左画像を中央寄せ */
}

.design-left img {
  max-width: 100%;
  height: auto;
}

.design-right {
  width: 40%;
  display: flex;
  flex-direction: column;
  align-items: flex-end; /* 右列は右寄せ */
}

.design-right img {
  max-width: 100%;
  height: auto;
}

.image-credit {
  text-align: center; /* 文字は右画像下中央に */
  margin-top: 5px;
  width: 100%;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .design-images {
    flex-direction: column;
  }

  .design-left,
  .design-right {
    width: 100%;
    justify-content: center; /* 両列とも中央寄せ */
    align-items: center;
  }

  .image-credit {
    text-align: center;
  }
}


.award-back-img {
  background-image: url()!important;
}



/*------------------------------------------*/
/*     求人情報　                           */
/*------------------------------------------*/
.center-text{
  display: block;
  text-align: center;
}

.job-block{
  max-width: 420px;   /* 好きな幅 */
  margin: 0 auto 32px; /* 中央配置 */
  text-align: left;    /* 文字は左揃え */
  font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", "MS Mincho", serif;
}

.job-list{
  max-width: 520px;
  margin: 0 auto;
}

.job-list p{
  font-size: 150%;	
  text-align: left;
}

.recruit-young{
  font-family: "Zen Kaku Gothic New", sans-serif;
  /*max-width: 640px;*/
  line-height: 1.8;
}

/* 冒頭 */
.recruit-young .lead{
  font-size: 180%; /* 19px; */
  margin-bottom: 28px;
  line-height: 2.0;
}

.recruit-young .lead strong{
  font-weight: 700;
}

/* 職種ブロック */
.recruit-young .jobs p{
  margin-bottom: 22px;
  font-size: 140%; /* 16px; */
  text-align: left;
}

/* リンクを軽く・今っぽく */
.recruit-young .link{
  font-weight: 500;
  letter-spacing: 0.06em;
}

/* 注釈 */
.recruit-young .note{
  font-size: 13px;/* 13 */
  color: #666;
  margin: 32px 0;
}

/* 問い合わせ */
.recruit-young .contact{
  font-size: 20px;
  margin:0;
  font-weight: 600;  

}

.recruit-young .logo{
  font-weight: 500;
}

/* note導線 */
.recruit-young .more{
  font-size: 20px;
  font-weight: 600;  
}


.contact-box{
  max-width: 520px;
  display: flex;
  align-items: center;
  margin-bottom: 36px;
  gap: 16px;
}

.contact-logo{
  margin: 10px;
  width: 55%;
  height: auto;
}
.contact-text{
  font-size: 14px;
  margin:0;
}

.contact-tel{
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  color: #5398fc;
}

.job-link{
  font-weight: 600;
  letter-spacing: 0.02em;
}

.job-title{
  font-weight: 600;
}

@media (max-width: 767px) {
  .contact-box{
    flex-direction: column;     /* 縦並び */
    align-items: center;        /* 中央寄せ */
    text-align: center;
  }

  .contact-logo{
    width: 70%;                 /* スマホでは少し大きく */
    margin: 0 0 12px 0;         /* 下に余白 */
  }

  .contact-text{
    font-size: 15px;
  }

  .contact-tel{
    font-size: 20px;            /* スマホはタップしやすく */
  }
}

/* PCのみ余白 */
@media (min-width: 768px) {
  .pc-margin-top {
    margin-top: 80px;
  }
}


.elementor-element-b45349a .elementor-row{
    display: flex;
    align-items: center;
}