:root{
  --frame: 560px;
  --pad: clamp(16px, 4vw, 28px);
  --radius: 10px;

  --ink:#222;
  --muted:#666;

  --beige:#f4f1ef;
  --gray:#d1d1d1;

  --overlayDark: rgba(0,0,0,0.45); /* BUSINESS右半分の黒透過 */
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:"Noto Sans JP", system-ui, -apple-system, Segoe UI, sans-serif;
  color:var(--ink);
  background:#fff;
  font-family: 'Cinzel', serif;
}

.title{
  font-family: 'Cinzel', serif;
  letter-spacing: .18em;
}
img{ max-width:100%; height:auto; display:block; }

.frame{
  width: 800px;
  margin: 0 auto;
}

@media (max-width:768px){
  .frame{
  width: 100%;
  margin: 0 auto;
  padding: 10px;
  }
}

/* 改行制御 */
.br-pc{ display:inline; }
.br-sp{ display:none; }
@media (max-width:768px){
  .br-pc{ display:none; }
  .br-sp{ display:inline; }
}

/* ===== TOP video ===== */
.hero{
  position:relative;
  height: 100vh;
  background:#000;
  overflow:hidden;
}
.hero__video{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  display:block;
}

@media (max-width:768px){
  .hero{ height: 100svh; } /* iOS対策でsvh推奨 */
  .hero__video{
    object-position: 50% 20%; /* 例：上寄せ（数字をいじって調整） */
  }
}

/* TOP logo */
.hero__logo{
  position:absolute;
  top: 16px;
  left: 16px;
  z-index: 5;
  display:inline-block;
}
.hero__logo img{
  width: clamp(110px, 14vw, 160px);
  height:auto;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.35));
}

/* hamburger */
.hamburger{
  position:absolute;
  top: 14px;
  right: 14px;
  z-index: 6;

  width: 44px;
  height: 44px;
  border: 0;
  background: rgba(0,0,0,0.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 10px;
  cursor:pointer;
}
.hamburger span{
  position:absolute;
  left: 11px;
  right: 11px;
  height: 2px;
  background:#fff;
  border-radius: 2px;
  transition: transform .15s ease, top .15s ease, opacity .15s ease;
}
.hamburger span:nth-child(1){ top: 14px; }
.hamburger span:nth-child(2){ top: 21px; }
.hamburger span:nth-child(3){ top: 28px; }
.drawer-open .hamburger span:nth-child(1){ top:21px; transform: rotate(45deg); }
.drawer-open .hamburger span:nth-child(2){ opacity:0; }
.drawer-open .hamburger span:nth-child(3){ top:21px; transform: rotate(-45deg); }

/* drawer */
.drawer{
  position:fixed;
  inset:0;
  background: rgba(0,0,0,0.55);
  z-index: 999;
}
.drawer__panel{
  width: min(360px, 90vw);
  height: 100%;
  margin-left:auto;
  background: rgba(20,20,20,0.95);
  padding: 18px;
  display:flex;
  flex-direction:column;
  gap: 10px;
}
.drawer__panel a{
  color:#fff;
  text-decoration:none;
  padding: 12px 10px;
  border-radius: 10px;
  letter-spacing: .12em;
}
.drawer__panel a:hover{
  background: rgba(255,255,255,0.08);
}

/* ===== sections ===== */
.sec{
  padding: 56px 0;
}
.sec--white{ background:#fff; }
.sec--beige{ background: var(--beige); }
.sec--gray{ background: var(--gray); }

.title{
  text-align:center;
  margin: 0 0 8px;
  letter-spacing:.18em;
  font-weight:500;
  color:#666;
  font-size: 2.5em;
}

@media (max-width:768px){
  .title{
    font-size: 1.5em;
  }
}

.subtitle{
  text-align:center;
  margin: 0 0 28px;
  font-size:12px;
  letter-spacing:.22em;
  color:var(--muted);
}
.title--on-dark,
.subtitle--on-dark{
  color: rgba(255,255,255,0.9);
}

/* ===== BUSINESS: bg + right half dark overlay + white text ===== */
.sec--business{
  position:relative;
  overflow:hidden;
  color:#fff;
}
.sec__bg{
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  z-index:0;
}
.sec__overlay{
  position:absolute;
  inset:0;
  z-index:1;
}
.sec__overlay--right-dark{
  background: linear-gradient(
    45deg,
    rgba(0,0,0,0) 0%,
    rgba(0,0,0,0) 50%,
    var(--overlayDark) 50%,
    var(--overlayDark) 100%
  );
}
.sec__content{
  position:relative;
  z-index:2;
}

/* 文字ブロック（右側で収まるように右寄せ） */
.business__text{
  width: min(360px, 100%);
  margin-left:auto;
  font-size: 13px;
  line-height: 2;
  color: rgba(255,255,255,0.92);
  font-size: 1.3em;
}

@media (max-width:768px){
  .business__text{
    font-size: 1.0em;
  }
}

.business__text p{ margin:0; }


/* BUSINESSだけ frame を全幅化（他セクションに影響させない） */
.sec--business .frame{
  width: 100%;
  margin: 0;
}

/* 高さを作って、中央寄せが効く土台にする */
.sec--business .sec__content{
  position: relative;
  min-height: 520px;          /* 好みで調整 */
}

/* 右半分パネル：横=右半分の中央 / 縦=中央 */
.business__panel{
  position: absolute;
  left: 50%;
  top: 50%;
  width: 50%;
  transform: translateY(-50%);

  display: flex;
  flex-direction: column;
  align-items: center;        /* 横方向：中央 */
  text-align: center;         /* テキスト中央 */

  padding: 0 var(--pad);
}

/* 文字ブロックは “右半分の中” で収まる幅に */
.business__text{
  width: min(360px, 100%);
  margin: 0;
}

/* SPは今まで通り全面表示に戻す（読みやすさ優先） */
@media (max-width:768px){
  .business__panel{
    position: static;
    width: 100%;
    transform: none;
    align-items: flex-start;  /* 左寄せに戻すなら */
    text-align: left;         /* 左寄せに戻すなら */
    padding: 0 20px;
  }

  .sec--business .sec__content{
    min-height: auto;
  }
}


/* ===== Strengths: left 70% mosaic(4) + right text ===== */
.strengths{
  display:grid;
  grid-template-columns: 7fr 3fr; /* 左70% / 右30% */
  gap: 18px;
  align-items:start;
}

.strengths__mosaic{
  display:grid;
  grid-template-columns: 1fr 1fr;
  /*gap: 10px;*/
}
.ph{
  /*border-radius: var(--radius);*/
  background-size: cover;
  background-position: center;
  background-repeat:no-repeat;
  aspect-ratio: 4/3; /* 必要なら調整 */
  background-color:#eee;
}

.strengths__text{
  font-size:13px;
  line-height:2;
  color:#666;
}
.strengths__text p{
    margin: 40px 0;
    font-size: 1.3em;
}

@media (max-width:768px){
  .strengths__text p{
    margin: 20px 0px;
    padding:0 10px;
    font-size: 1.0em;
  }
}

/* Strengths banner (anchor image) */
.strengths__banner{
  margin-top: 16px;
  border-radius: var(--radius);
  overflow:hidden;
  padding: 30px 100px;
}



@media (max-width:768px){
.strengths__banner{
  margin-top: 5px;
  border-radius: var(--radius);
  overflow:hidden;
  padding: 10px 20px;
}
}
.strengths__banner a{ display:block; }
.strengths__banner img{ width:100%; height:auto; display:block; }

/* ===== WORKS fixed 5 mosaic ===== */
/* ===== WORKS : PDFみたいに固定配置 ===== */
/* hero + 下段 */
.works{
  display: grid;
  gap: 12px;
}

/* hero */
.work--hero{
  aspect-ratio: 16 / 10;
}

/* 下4枚を2列で“独立縦積み” */
.works__cols{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* 各列を縦積み（ここが肝） */
.works__col{
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* 画像共通 */
.work{
  margin:0;
  border-radius: var(--radius);
  overflow:hidden;
  background:#e9e9e9;
}
.work img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

/* 横長 */
.works__col .work:not(.work--tall){
  aspect-ratio: 4 / 3;
}

/* 縦長 */
.work--tall{
  aspect-ratio: 3 / 4;
}

/* SP */
@media (max-width:768px){
  .works__cols{ grid-template-columns: 1fr; }
}
/* ===== table ===== */
.table-wrap{
  background:#fff;
  border:1px solid #d8d8d8;
  border-radius: var(--radius);
  overflow:hidden;
}
table{ width:100%; border-collapse:collapse; }
th, td{
  border-top:1px solid #d8d8d8;
  padding: 12px 14px;
  font-size:0.8em;
  line-height:1.9;
  vertical-align:middle;
  color:#555;
}
tr:first-child th, tr:first-child td{ border-top:none; }
th{
  width: 42%;
  background:#f3f3f3;
  color:#666;
  font-weight:500;
  border-right:1px solid #d8d8d8;
}

/* ===== form ===== */
.form{ display:grid; gap: 12px; }
.field{ display:grid; gap: 6px; font-size: 1em; color:#666; }
input, textarea{
  width:100%;
  border:1px solid #8a8a8a;
  border-radius: 6px;
  padding: 10px 12px;
  font: inherit;
  min-height: 44px;
  background:#fff;
}
textarea{ min-height: 180px; resize: vertical; }

.radio-box{
  border-radius: 6px;
  padding: 10px 12px;
  display:grid;
}
.radio-box label{ display:flex; align-items:center; gap:10px; color:#555; }
.radio-box input{ width:18px; height:18px; }

.btn{
  width: 120px;
  margin: 10px auto 0;
  border:none;
  border-radius: 6px;
  padding: 12px 16px;
  background:#6b6b6b;
  color:#fff;
  cursor:pointer;
  letter-spacing:.18em;
}

/* ===== privacy ===== */
.privacy{
  text-align:center;
  color:#666;
  font-size:12px;
  line-height:2;
}
.privacy h3{
  font-size:12px;
  color:#444;
  margin: 22px 0 8px;
  letter-spacing:.08em;
}
.privacy p{ margin:0 0 14px; }

/* ===== footer ===== */
.footer{
  background:#6b6b6b;
  color:#fff;
  padding: 22px 0;
}
.footer__inner{
  display:flex;
  justify-content:space-between;
  gap:16px;
  align-items:flex-end;
  flex-wrap:wrap;
}
.footer__left{ font-size:12px; line-height:1.9; }
.footer__right{
  font-size:12px;
  display:flex;
  gap:14px;
  align-items:center;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.footer__right a{
  color:#fff;
  text-decoration:underline;
  text-underline-offset: 3px;
}

/* ===== responsive ===== */
@media (max-width:768px){
  .sec{ padding: 42px 0; }
  .hero{ height: min(50svh, 720px); }

  /* BUSINESS: SPは全面黒透過に寄せた方が読みやすい（不要なら消してOK） */
  .sec__overlay--right-dark{ background: rgba(0,0,0,0.45); }
  .business__text{ width:100%; margin-left:0; }

  /* strengths: 縦積み */
  .strengths{ grid-template-columns: 1fr; }

  /* table SP縦積み */
  th{ width:auto; border-right:none; }
  tr{ display:block; }
  th, td{ display:block; width:100%; }
  th{ border-bottom:1px solid #d8d8d8; }
  td{ border-top:none; }
}