@charset "UTF-8";

/* =========================
  Base
========================= */

:root{
  --brand:#8b1d45;          /* 濃いマゼンタ（上部背景の雰囲気に合わせる） */
  --brand-dark:#5a0a2a;
  --brand-mid:#b53a7a;      /* CTA帯の明るいマゼンタ */
  --gold:#d7b35c;
  --pink-light:#fbe6ef;
  --bg-gray:#f5f5f5;
  --text:#2d2d2d;
  --hero-img-width: min(1280px, 100vw);
  --hero-img-height: calc(var(--hero-img-width) * 0.5265625); /* 1280x674 の比率 */
  --hero-title-w: clamp(280px, 32vw, 458px); /* title-main.pngの実サイズを元に縮小 */
  --hero-height: calc(var(--hero-title-w) / 2.04 + 10px); /* 458/225 ≒ 2.04, 高さ+10px */
  --hero-min-height: 260px;
}

html, body{
  height:100%;
}

body{
  font-family: "Noto Sans JP", system-ui, -apple-system, "Segoe UI",
               "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  color: var(--text);
  background:#fff;
  overflow-x: hidden;
}

.page-frame{
  max-width: 1280px;
  margin: 0 auto;
  min-height: 100vh;
  background:#fff;
}

/* Bootstrap containerを1280pxに固定 */
@media (min-width: 1200px){
  .container{
    max-width: 1280px;
  }
}

.container{
  padding-left: 0;
  padding-right: 0;
}

img{
  max-width:100%;
  height:auto;
}

a{
  color:inherit;
}

/* =========================
  HERO
========================= */

.hero{
  position:relative;
  overflow:visible;
  background: transparent;
  padding: 0;
  color:#fff;
  height: max(var(--hero-height), var(--hero-img-height));
  min-height: var(--hero-min-height);
}

.hero .container{
  position:relative;
  z-index:1;
  height:100%;
}

.hero-contents{
  position:absolute;
  inset:0;
  display:flex;
  width:100%;
  max-width: 1280px;
  margin:0 auto;
  flex-wrap: nowrap;
  align-items:center;
  justify-content:space-between;
  padding: 0 1.25rem;
  gap: clamp(.5rem, 1vw, 1.5rem);
}

.hero-contents > [class*="col-"]{
  min-width:0;
  flex: 1 1 0;
}

.hero .row{
  width:100%;
  align-items:center;
  flex-wrap: nowrap;
}

.hero::before{
  content:"";
  position:absolute;
  left:50%;
  top:0;
  width:100vw;
  height: var(--hero-img-height);
  /* background: linear-gradient(90deg, #780E2D 0%, #780E2D 50%, #430016 50%, #430016 100%); */
  /* background: #780E2D; */
  transform: translateX(-50%);
  z-index:0;
}

.hero-kicker{
  margin:0 0 .5rem;
  letter-spacing:.1em;
  color: rgba(255,255,255,0.85);
  font-weight:500;
}

.hero-title{
  margin:0;
  line-height:1.05;
  font-family: "Noto Serif JP", serif;
  display:flex;
  align-items:flex-start;
}

.hero-title-main{
  display:block;
  font-weight:700;
  color: var(--gold);
  font-size: clamp(2.2rem, 3.4vw, 3.4rem);
  letter-spacing:.08em;
}

.hero-title-sub{
  display:block;
  font-weight:700;
  color: var(--gold);
  font-size: clamp(2.6rem, 4vw, 4rem);
  letter-spacing:.08em;
}

.hero-badges{
  margin-top: 1.75rem;
  display:flex;
  flex-wrap:wrap;
  gap: 1rem;
  align-items:center;
}

.badge-hex{
  width: 112px;
  height: 112px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  background: linear-gradient(180deg, #ead79a 0%, #caa24b 100%);
  clip-path: polygon(25% 6%, 75% 6%, 100% 50%, 75% 94%, 25% 94%, 0 50%);
  color: #2f1b24;
  box-shadow: 0 12px 26px rgba(0,0,0,.28);
  text-align:center;
}

.badge-hex-top{
  font-weight:800;
  font-size: 1.05rem;
  line-height:1.1;
}

.badge-hex-bottom{
  font-weight:900;
  font-size: 1.15rem;
  letter-spacing:.1em;
  line-height:1.1;
}

.badge-circle{
  width: 112px;
  height: 112px;
  border-radius: 999px;
  background: var(--pink-light);
  color: var(--brand-dark);
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow: 0 12px 26px rgba(0,0,0,.22);
  text-align:center;
  font-weight:800;
}

.badge-circle div{
  line-height:1.15;
  font-size: 1rem;
}

.hero-heart{
  text-align:center;
  position:relative;
}

.hero-heart-caption{
  margin:0 0 .75rem;
  font-weight:700;
  letter-spacing:.08em;
}

.hero-heart-svg{
  width:100%;
  max-width: 470px;
  height:auto;
  display:inline-block;
}

/* PCでは右寄せ気味に */
@media (min-width: 992px){
  .hero-heart{
    text-align:right;
  }
  .hero-heart-caption{
    text-align:right;
  }
}

/* 差し替え画像用 */
.hero-title-img{
  width: var(--hero-title-w);
  max-width: 100%;
  height:auto;
}

.hero-visual{
  position:relative;
  text-align:center;
}

.hero .row{
  width:100%;
  align-items:center;
}

.hero-main-visual{
  height: min(100%, 676px);
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 18px 32px rgba(0,0,0,.28));
}

@media (min-width: 992px){
  .hero-visual{
    text-align:right;
  }
}

@media (min-width: 1200px){
  .hero-main-visual{
    margin-right: -16px;
    margin-top: -12px;
  }
}

@media (max-width: 767.98px){
  .hero-main-visual{
    margin-right: 0;
    margin-top: 0;
  }
}

/* hero 背景画像をスケールさせず最大1280x580で配置 */
.hero-bg{
  position:absolute;
  left:50%;
  top:0;
  display:flex;
  justify-content:center;
  pointer-events:none;
  z-index:1;
  height: var(--hero-img-height);
  width: var(--hero-img-width);
  transform: translateX(-50%);
}

.hero-bg img{
  width: var(--hero-img-width);
  height: var(--hero-img-height);
  max-width: none;
  max-height: none;
  object-fit: contain;
  object-position: center top;
}

.hero .container{
  z-index:2;
}

/* =========================
  INTRO
========================= */

.section-intro{
  position:relative;
  background: transparent;
}

/* 全幅の背景色（1280px超えた左右も塗る） */
.section-intro::after{
  content:"";
  position:absolute;
  left:50%;
  top:0;
  width:100vw;
  height:100%;
  background:#fff;
  transform: translateX(-50%);
  z-index:0;
}

/* 背景が真っ黒にならないよう、明示的に白を指定（全体画像②の白背景に合わせる） */
.section-intro::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
}

.section-intro .container{
  position:relative;
  z-index:2;
}

.section-intro .row{
  align-items:stretch;
  gap:0;
  min-height: 420px;
}

.intro-image-wrap{
  position:relative;
  z-index:2;
  overflow:hidden;
  height:100%;
  flex:1 1 auto;
  display:flex;
}

.intro-image-wrap img{
  width:100%;
  height:100%;
  object-fit: cover;
  flex:1 1 auto;
}

.section-intro .row > [class*="col-"]{
  display:flex;
  align-items:stretch;
}

.intro-text-col{
  position:relative;
  display:flex;
  align-items:center;
  height:100%;
  padding: 1rem 0;
  flex:1 1 auto;
}

.intro-label{
  position:absolute;
  right: 1rem;
  top: 1rem;
  background: rgba(181,58,122,0.9);
  color:#fff;
  padding: .75rem 1rem;
  border-radius: 14px;
  font-weight:800;
  line-height:1.2;
  text-align:center;
  box-shadow: 0 10px 22px rgba(0,0,0,.18);
}

.intro-text{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip: rect(0, 0, 0, 0);
  white-space:nowrap;
  border:0;
}

.intro-text p{
  margin-bottom: 1.25rem;
}

/* 2段目テキストの背景 */
.intro-text::before{
  content:none;
}

.intro-text-col{
  position:relative;
  background: none;
}

.intro-text-visual{
  width:100%;
  height:auto;
  display:block;
  object-fit:contain;
}

/* =========================
  BENEFITS
========================= */

.section-benefits{
  background:#fff;
}

.section-benefits .row{
  align-items:stretch;
  gap:0;
  min-height: 320px;
}

.section-benefits .row > [class*="col-"]{
  display:flex;
  align-items:stretch;
}

.benefits-text{
  color:#4a4a4a;
  line-height:1.9;
  position:relative;
  z-index:1;
  width:100%;
  padding: 1.25rem 0 1.25rem 1.25rem;
}

.benefits-text-col{
  position:relative;
  background: url("../img/img-choko-left.png") no-repeat left top;
  background-size: 90% auto;
  display:flex;
  align-items:center;
}

.benefits-lead{
  margin:0 0 .75rem;
  font-weight:900;
  color: #3c1b24;
}

/* 3段目テキストの背景 */
.benefits-text::before{
  content:"";
  position:absolute;
  inset: -1.25rem -1.5rem -1rem -1rem;
  background-repeat: no-repeat;
  background-size: 420px, 420px, 400px;
  background-position: 78% 24%, 18% 80%, 48% 55%;
  opacity:0.6;
  filter: saturate(1.05);
  z-index:-1;
}

/* Promo cards */
.promo-card{
  position:relative;
  display:block;
  overflow:hidden;
  text-decoration:none;
  transform: translateZ(0);
}

.promo-card__img{
  width:100%;
  height:auto;
  display:block;
}

.promo-card__tag{
  position:absolute;
  left: .9rem;
  bottom: .9rem;
  padding: .55rem .95rem;
  border-radius: 999px;
  background: rgba(181,58,122,0.92);
  color:#fff;
  font-weight:800;
  font-size:.95rem;
  letter-spacing:.02em;
}

/* =========================
  CTA BAND
========================= */

.cta-band{
  position:relative;
  overflow:visible;
  padding: 1.8rem 0;
  text-align:center;
}

.cta-band::before{
  content:"";
  position:absolute;
  left:50%;
  top:0;
  width:100vw;
  height:100%;
  background: linear-gradient(90deg, #b53a7a 0%, #9a1f58 50%, #b53a7a 100%);
  transform: translateX(-50%);
  z-index:0;
}

.cta-band p{
  margin:0;
  color:#fff;
  font-weight:800;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  letter-spacing:.08em;
  position:relative;
  z-index:1;
}

/* =========================
  JOBS
========================= */

.jobs{
  position:relative;
  overflow:visible;
  background: transparent;
}

.jobs::before{
  content:"";
  position:absolute;
  left:50%;
  top:0;
  width:100vw;
  height:100%;
  background: var(--bg-gray);
  transform: translateX(-50%);
  z-index:0;
}

.jobs .container{
  position:relative;
  z-index:1;
}

.job-title{
  margin:0;
  display:flex;
  align-items:center;
  gap:.6rem;
  font-weight:900;
  font-size: 1.1rem;
  color: #3c1b24;
}

.job-pin{
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: rgba(181,58,122,1);
  position:relative;
  flex: 0 0 auto;
}
.job-pin::after{
  content:"";
  position:absolute;
  left:50%;
  top:50%;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background:#fff;
  transform: translate(-50%,-50%);
  opacity:.9;
}

.job-divider{
  border:0;
  border-top: 2px solid rgba(181,58,122,0.35);
  opacity:1;
  margin: .9rem 0 1.25rem;
}

.popup-wrapper {
  display: grid;
  height: 0;
  grid-template-columns: 1.5fr 2fr 1fr 2fr; /* テーブルと同じ比率 */
  position: relative;
}

.table-popup {
  position: absolute;
  top:-60px;
  grid-column: 3;       /* 3列目に配置 */
  justify-self:start; /* 横方向中央揃え */
  align-self: end;      /* 下線に近づける */

  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  
  background: rgba(181,58,122,1);
  color: #f0f0f0;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.9em;
  font-weight: bold;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.job-rows{
  display:flex;
  flex-direction:column;
  gap: .25rem;
}

.job-row{
  display:grid;
  grid-template-columns: 1.5fr 2fr 1fr 2fr;
  gap: 1rem;
  align-items:center;
  padding: .65rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.job-row > div {
  min-width: 0;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.job-row:last-child{
  border-bottom:0;
}

.job-row__title{
  font-weight:600;
}

.job-row__location{
  color:#6b6b6b;
}

.job-row__location a{
  margin-right: .75rem;
}

.job-row__period{
  white-space:nowrap;
  font-weight:700;
  color: var(--brand-dark);
}

.job-link-disabled{
  opacity:0.4;
  pointer-events:none;
}

/* SP：縦積み */
@media (max-width: 767.98px){
  .job-row{
    grid-template-columns: 1fr;
    gap: .25rem;
    padding: .75rem 0;
  }
  .job-row__period{
    white-space:normal;
    font-size:.95rem;
  }
  .table-popup {
    display: none;
  }
}

/* =========================
  OTHER JOBS
========================= */

.other-jobs{
  position:relative;
  overflow:visible;
  background: transparent;
}

.other-jobs::before{
  content:"";
  position:absolute;
  left:50%;
  top:0;
  width:100vw;
  height:100%;
  background: var(--bg-gray);
  transform: translateX(-50%);
  z-index:0;
}

.other-jobs .container{
  position:relative;
  z-index:1;
}

.other-card{

}

.other-title{
  color:#d0871f;
  font-weight:900;
  margin:0 0 .85rem;
  letter-spacing:.04em;
}

.other-person{
  max-width: 320px;
}

.other-banner{
  overflow:hidden;
}

.other-banner img{
  width:100%;
  height:auto;
  display:block;
}

.page-footer{
  position:relative;
  overflow:visible;
  background: transparent;
  color:#fff;
  width:100vw;
  margin-left: calc(50% - 50vw);
}

.page-footer::before{
  content:"";
  position:absolute;
  left:50%;
  top:0;
  width:100vw;
  height:100%;
  background:#780E2D;
  transform: translateX(-50%);
  z-index:0;
}

.page-footer .container{
  position:relative;
  z-index:1;
}
