/* バナーセクション全体 */
.banner-section{
	width: 100%;
	padding: 70px 20px 70px;
	background-color: var(--banner-bg, #efeae6); /* デフォルト背景色 */
}

/* 中央配置ラッパー */
.banner-wrap{
	max-width: 770px;
	margin: 0 auto;
	text-align: center;
}

/* バナーリンク */
.banner-link{
	display: inline-block;
	width: 100%;
}

/* バナー画像 */
.banner-link img{
	width: 100%;
	height: auto;
	display: block;
  transition: opacity 0.3s ease;
}

.banner-link:hover img{
	opacity: 0.5;
}

@media (max-width: 768px){
  .banner-section{
	padding: 0;
}
}

.fv{
  /* 背景紙：fv_bg.png を残す */
  background-image: url("../img/fv_bg.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  overflow: hidden;

  /* ナビの下に余白を作って、カードを置く */
}

.fv::after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 35%;
  pointer-events: none;
  z-index: 0;
}

/* fv-heroはフェードより上 */
.fv-hero{
  position: relative; /* ← 基準点 */
  height: 480px;
  width: min(90vw, 1366px);
  margin-inline: auto;
  background-image: url("../img/fv01.webp");
  background-size: cover;
  background-position: 70% center;
  background-repeat: no-repeat;

  box-shadow: 0 14px 32px -12px rgba(0,0,0,.18);
  z-index: 2;
}

.fv-hero::before{
  content:"";
  position:absolute;
  inset:0;
  background: rgba(255,255,255,0);
  pointer-events:none;
  z-index:1;
}

@media (max-width: 768px){
  .fv-hero::before{
    background: rgba(255,255,255,0.5);
  }
}


.fv-text{
  position: absolute;
  left: 0;
  top: 0;
  padding: 44px 46px;
  max-width: 760px;
  color: #2b2b2b;
  z-index: 1;
}

/* 文言 */
.fv-kicker{
  margin: 0 0 18px;
  font-size: 16px;
  letter-spacing: .06em;
  color: #dd5810;
  font-weight: 500;
}

.fv-title{
  margin: 0 0 22px;
  font-size: clamp(34px, 3.6vw, 45px);
  line-height: 1.3;
  font-weight:700;
}

.fv-rule{
  border: 0;
  height: 1px;
  background: rgba(0,0,0,.55);
  margin: 0 0 18px;
  width: min(620px, 100%);
}

.fv-lead{
  margin: 0;
  font-size: 26px;
  line-height: 1.5;
  border-top: 1px solid rgba(0,0,0,.12);
  padding-top: 10px;
}


.fv-bottom{
  position: relative;

  width: 100%;
  height: 250px;

  background-image: url("../img/fv_bg02.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  display: flex;
  align-items: center;
  justify-content: center;

  text-align: center;
  z-index: 1;
}

.fv-bottom-text-kicker{
  margin: 0 auto;
  max-width: 900px;

  font-size: clamp(14px, 2.2vw, 20px);
  line-height: 2.1;
  letter-spacing: .06em;

  color: #fff;
  font-weight: 500;
}

.fv-bottom-text-title{
  margin: 0 auto;
  max-width: 900px;

  font-size: clamp(26px, 2.2vw, 30px);
  line-height: 1.5;
  letter-spacing: .06em;

  color: #fff;
  font-weight: 500;
}



@media (max-width: 640px){
  .fv-bottom{ padding: 0px 14px 0px; height: 300px; }
  .fv-bottom-text{ font-size: 16px; line-height: 1.9; }
}

.container{
  width: min(1120px, 100% - 32px);
  margin-inline: auto;
}

/* 画像みたいに「中央ロゴ＋下段ナビ」 */
/* =========================
   Sticky Header
   ========================= */

.header{
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 50px 0;
  transition:
    background .3s ease,
    box-shadow .3s ease,
    padding .3s ease;
}

/* 固定状態 */
.header.is-fixed{
  position: fixed;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(4px);
  box-shadow: 0 6px 18px rgba(0,0,0,.08);
  padding: 18px 0;
}

/* ロゴ少し小さく（自然） */
.header.is-fixed .brand img{
  max-width: 120px;
}

.header.is-fixed .header-inner{
  row-gap: 10px;
}


.header-inner{
  display: grid;
  grid-template-rows: auto auto;
  justify-items: center;
  row-gap: 50px;
}

/* ロゴ */
.brand{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.brand img{
  display: block;
  height: auto;
  max-width: 200px;
  width: min(200px, auto);
}

@media (max-width: 900px){
  .fv{ padding: 0px 0 64px; }
  .fv-text{ max-width: 95%; margin-top: 0; }
}

@media (max-width: 640px){
  .fv{ padding: 20px 0 0; }
  .fv-hero{ height: 600px; }
  .fv-hero{ background-position: 75% bottom; width: 100%; }
  .fv-kicker{text-align: left; margin-top: 50px;}
  .fv-title{ font-size: clamp(26px, 9vw, 42px); text-align: left; }
  .fv-lead{ font-size: 19px; padding-top: 0px; text-align: left; border: none; }
  .fv-text{ max-width: 100%;}
}

/* ナビ */
.nav{
  width: 100%;
  max-width: 900px;
  margin-inline: auto;
}

.nav-list{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}

/* ナビリンク：通常状態 */
.nav-list a{
  display: grid;
  justify-items: center;
  row-gap: 4px;

  text-decoration: none;
  color: #2b2b2b;

  /* ここがポイント */
  transition: color 0.35s ease;
}

/* 英語＋日本語 */
.en{
  font-size: 14px;
  letter-spacing: .02em;
  font-weight: bold;
}

.ja{
  font-size: 12px;
  letter-spacing: .02em;
  opacity: .85;
}

/* さりげないホバー（このサイトの空気感に合わせて弱め） */
.nav-list a:hover,
.nav-list a:focus-visible{
  color: #dd5810;
}

/* スマホ：まずは2段にして崩れない状態にする（ハンバーガーは次） */
@media (max-width: 840px){
  .header{ padding: 18px 0 10px; }
  .nav-list{ grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 480px){
  .nav-list{ grid-template-columns: repeat(2, 1fr); }
}



/* スマホは人物が切れやすいから、少し上目に寄せることが多い */
@media (max-width: 640px) {
  .fv {

    background-position: 50% 35%;
  }
}

/* =========================
   Introduction
   ========================= */

.intro{
  margin-top: clamp(60px, 10vw, 100px);
  margin-bottom: clamp(100px, 10vw, 150px);
}

/* 最大幅1200px、左右余白10%程度（＝中身は80vw） */
.intro-inner{
  width: min(1200px, 90vw);
  margin-inline: auto;
}

/* 上部：ラベル＋大見出し */
.intro-head{
  display: grid;
  gap: 18px;
  margin-bottom: 100px;
}

.intro-label{
  margin: 0;
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  font-size: 14px;
  letter-spacing: .04em;
}

.intro-label-en{
  color: #dd5810;
  font-weight: 700;
}

.intro-label-ja{
  color: #2b2b2b;
  opacity: .9;
  font-weight: 500;
}

.intro-title{
  margin: 0;
  color: #2b2b2b;
  font-weight: 700;
  line-height: 1.55;
  font-size: clamp(28px, 3.2vw, 40px);
}

/* 本文：左画像＋右テキスト */
.intro-body{
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(32px, 6vw, 150px);
  align-items: start;
}

.intro-figure{
}

.intro-figure img{
  width: min(420px, 100%);
  height: auto;
  display: block;
}

.intro-text{
  color:rgba(43,43,43,.85);
  line-height: 2.05;
  letter-spacing: .03em;
}

.intro-text p{
  margin: 0;
}

.intro-text p + p{
  margin-top: 18px;
}

.intro-emphasis{
  margin-top: 22px;
  color: #dd5810;
  font-weight: 700;
  letter-spacing: .04em;
}

/* 余白10%だと狭すぎる画面向けに安全策 */
@media (max-width: 768px){

  .intro{
  margin-bottom: 70px;
  margin-top: 30px;
}

  .intro-inner{
    width: calc(100% - 60px);
  }

  .intro-body{
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .intro-title{
    font-size: clamp(24px, 5.5vw, 34px);
  }

  .intro-head{
  display: grid;
  gap: 18px;
  margin-bottom: 50px;
}

.intro-figure{
  margin: 0 auto;
}

}

/* =========================
   About
   ========================= */

/* 背景は左右フル幅で継続（contents_bg.webp） */
.about{
  position: relative;
  padding: 96px 0 100px;
  overflow: visible; /* ← 画像の“はみ出し”を殺さない */
}

.about::before{
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../img/contents_bg.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

/* 中身は introduction と同じ：最大1200px / 左右10%程度 */
.about-inner{
  position: relative;
  z-index: 1;
  width: min(1200px, 90vw);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: start;
}

/* テキスト側 */
.about-label{
  margin: 0 0 18px;
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  font-size: 14px;
  letter-spacing: .04em;
}

.about-label-en{
  color: #dd5810;
  font-weight: 700;
}

.about-label-ja{
  color: #2b2b2b;
  opacity: .9;
  font-weight: 500;
}

.about-title{
  margin: 0 0 28px;
  color: #2b2b2b;
  font-weight: 700;
  line-height: 1.55;
  font-size: clamp(20px, 3.1vw, 32px);
}

.about-lead{
  margin: 0;
  color: rgba(43,43,43,.85);
  line-height: 2.05;
  letter-spacing: .03em;
  max-width: 620px; /* 画像の空気感に寄せて行幅を抑える */
}

.about-subtitle{
  margin: 0 0 18px;
  color: #2b2b2b;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: .02em;
}

.about-body{
  margin: 0;
  color:rgba(43,43,43,.85);
  line-height: 2.05;
  letter-spacing: .03em;
  max-width: 620px;
}

.about-accent{
  color: #dd5810;
  font-weight: 700;
}

/* 画像側：下にはみ出す */
.about-figure{
  margin: 0;
  justify-self: end;
  width: min(420px, 100%);
  overflow: visible;
}

.about-figure img{
  width: 100%;
  height: auto;
  display: block;

  /* ここが“はみ出し”のコア */
  transform: translateY(000px);   /* 下に飛び出す量（必要なら調整） */

}

/* はみ出した分、次セクションと被らないよう下を確保 */
.about{
  padding-bottom: 110px; /* transform:90px ならこれくらいが安全 */
}

/* 画面が狭い時は安全に縦積み */
@media (max-width: 980px){
  .about-inner{
    width: calc(100% - 60px);
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .about-lead,
  .about-body{
    max-width: none;
  }

  .about-figure{
    justify-self: center;
    width: min(520px, 100%);
  }

  .about-figure img{
    transform: translateY(24px); /* SPは飛び出し控えめ */
  }

  .about{
    padding-bottom: 140px; /* タブレット用に調整 */
  }
}

@media (max-width: 768px){
  .about{
    padding:70px 0 100px; /* SP用に調整 */
  }
}

/* =========================
   Message
   ========================= */

.message{
  padding: 120px 0 120px;
}

.message-inner{
  width: min(1200px, 80vw);
  margin-inline: auto;
}

/* 見出し（中央寄せ） */
.message-head{
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 10px;
  margin-bottom: 56px;
}

.message-mark{
  width: 45px;
  height: auto;
  display: block;
}

.message-eyebrow{
  margin: 0;
  display: grid;
  gap: 4px;
  line-height: 1.2;
}

.message-eyebrow-en{
  color: #dd5810;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .08em;
}

.message-eyebrow-ja{
  color: #2b2b2b;
  opacity: .85;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: .06em;
}

.message-catch{
  margin: 50px 0 ;
  color: #2b2b2b;
  font-weight: 700;
  line-height: 1.6;
  font-size: clamp(20px, 3.1vw, 32px);
}

/* メイン（最大幅800px） */
.message-main{
  width: min(900px, 100%);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  margin-bottom: 150px;
}

.message-figure{
  margin: 0;
}

.message-figure img{
  width: 100%;
  height: auto;
  display: block;
}

.message-text{
  color:rgba(43,43,43,.85);
  line-height: 2.05;
  letter-spacing: .03em;
}

.message-text p{
  margin: 0;
}

.message-text p + p{
  margin-top: 18px;
}

.message-accent{
  color: #dd5810;
  font-weight: 700;
}

/* 3つのポイント */
.message-points-title{
  margin: 0 0 44px;
  text-align: center;
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 700;
  letter-spacing: .04em;
  color: #2b2b2b;
}

.points-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 54px;
}

.point{
  padding-top: 18px;
}

.point-kicker{
  margin: 0 0 10px;
  color: #dd5810;
  font-weight: 700;
  font-size: 14px;
  text-align: center;
  letter-spacing: .08em;
}

.point-title{
  margin: 0 0 14px;
  padding-bottom: 14px;
  color: #2b2b2b;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.6;
  text-align: center;
  border-bottom: 1px solid rgba(0,0,0,.14);
}

.point-body{
  margin: 0;
  color:rgba(43,43,43,.85);
  font-size: 15px;
  line-height: 2.05;
  letter-spacing: .03em;
}

/* レスポンシブ */
@media (max-width: 980px){
  .message-inner{
    width: calc(100% - 32px);
  }

  .message-main{
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .points-grid{
    grid-template-columns: 1fr;
    gap: 28px;
  }

}

@media (max-width: 748px){
  .message{
  padding: 70px 0;
}
.message-catch{
  margin: 0 ;
}
.message-inner{
    width: calc(100% - 60px);
  }
.message-main{
  margin-bottom: 70px;
}
}


/* =========================
   Interview（全体イメージ寄せ）
   ========================= */

.interview{
  padding: 120px 0 110px;

  /* 背景が別セクションと共通ならここは透明でOK
     もしこのセクション単体で敷くなら下の3行をON */
  background-image: url("../img/contents_bg.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.interview-inner{
  width: min(1200px, 90vw);
  margin-inline: auto;
}

/* 上の小ラベル */
.interview-label{
  margin: 0 0 26px;
  display: flex;
  gap: 10px;
  align-items: baseline;
  line-height: 1.2;
}

.interview-label-en{
  color: #dd5810;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .08em;
}

.interview-label-ja{
  color: #2b2b2b;
  opacity: .85;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: .06em;
}

.interview-label-name{
  color: #2b2b2b;
  opacity: .9;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: .04em;
}

/* 本体（縦積み） */
.interview-items{
  display: grid;
  gap: 64px; /* Q間の余白：画像みたいに大きく */
}

.interview-item{
  /* 箱は作らず、余白だけで見せる */
}

/* Q見出し：Qだけオレンジで大きい */
.interview-q{
  margin: 20px 0 18px;
  display: flex;
  gap: 14px;
  align-items: baseline;
}

.q-no{
  color: #dd5810;
  font-weight: 700;
  font-size: clamp(20px, 3.1vw, 32px);
  letter-spacing: .02em;
  line-height: 1;
}

.q-text{
  color: #2b2b2b;
  font-weight: 700;
  font-size: clamp(18px, 3.1vw, 26px);
  letter-spacing: .02em;
  line-height: 1.35;
}

/* 回答：行間ゆったり、少し薄め */
.interview-a{
  margin: 0;
  color:rgba(43,43,43,.85);
  line-height: 2.15;
  letter-spacing: .03em;
  max-width: 980px; /* 読みやすい幅に抑える */
}

/* SP */
@media (max-width: 748px){
  .interview{ padding: 70px 0; }
  .interview-items{ gap: 44px; }
  .interview-q{ gap: 10px; margin-bottom: 14px; }
  .interview-a{ font-size: 14px; line-height: 2.0; }
  .interview-inner{
  width: min(1200px, 80vw);
  margin-inline: auto;
}
}

.work{
  padding: 150px 0 150px;
}

.work-inner{
  width: min(1200px, 90vw);
  margin-inline: auto;
}

.section-head{
  display: grid;
  justify-items: center;
  gap: 10px;
  margin-bottom: 24px;
}

.section-head__logo{
  width: 45px;
  height: auto;
}

.section-head__eyebrow{
  margin: 0;
  display: grid;
  justify-items: center;
  gap: 2px;
  line-height: 1.2;
}

.section-head__eyebrow .en{
  font-weight: 700;
  letter-spacing: .04em;
  color: #dd5810;
  font-size: 14px;
}

.section-head__eyebrow .ja{
  font-size: 12px;
  letter-spacing: .06em;
  color: #2b2b2b;
  opacity: .85;
}

.work-title{
  margin: 50px 0;
  text-align: center;
  font-size: clamp(20px, 3.1vw, 32px);
  letter-spacing: .04em;
  color: #2b2b2b;
}

.work-lead{
  margin: 0 auto 150px;
  text-align: center;
  max-width: 760px;
  line-height: 2.2;
  letter-spacing: .06em;
  color: rgba(43,43,43,.85);
}

/* 4カラム */
.work-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 46px;
}

.work-card{
  text-align: center;
}

.work-card__title{
  margin: 0 0 20px;
  color: #dd5810;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.35;
  letter-spacing: .06em;
}

.work-card__sub{
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .02em;
}

.work-card__rule{
  height: 1px;
  width: 100%;
  background: rgba(0,0,0,.18);
  margin: 0 auto 18px;
}

.work-card__text{
  margin: 0;
  text-align: left;
  font-size: 15px;
  line-height: 2.0;
  letter-spacing: .06em;
  color: rgba(43,43,43,.85);
}

/* レスポンシブ */
@media (max-width: 980px){
  .work-grid{ grid-template-columns: repeat(2, 1fr); gap: 44px 40px; }
}

@media (max-width: 748px){
  .work-inner{width: min(1200px, 80vw);}
  .work{ padding: 70px 0; }
  .work-lead{ margin-bottom: 46px; text-align: left;; }
  .work-grid{ grid-template-columns: 1fr; gap: 60px; }
  .work-card__text{ text-align: left; }
}

.requirement{
  background: #efeae6;
  padding: 110px 0 140px;
}

.requirement-inner{
  width: min(1200px, 90vw);
  margin-inline: auto;
}

/* =========================
   Requirement Tab Animation
   ========================= */

.tab-panels{
  position: relative;
}

.req-panels{
  position: relative;
  overflow: hidden; /* 高さアニメ中にハミ出し防止 */
}

/* パネルは重ねる */
.req-panel{
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;

  transition:
    opacity .36s cubic-bezier(.17,.67,.3,1),
    transform .36s cubic-bezier(.17,.67,.3,1);
}

/* activeだけ表示 */
.req-panel.is-active{
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* “切り替え中の白箱高さ”が崩れないように */
.req-panels{
  will-change: height;
}


/* 既存のsection-headを使ってOK（無ければこのまま流用） */
.section-head{
  display: grid;
  justify-items: center;
  gap: 10px;
  margin-bottom: 26px;
}
.section-head__logo{ width:45px; height:auto; }
.section-head__eyebrow{
  margin:0;
  display:grid;
  justify-items:center;
  gap:2px;
  line-height:1.2;
}
.section-head__eyebrow .en{
  font-weight:700;
  letter-spacing:.04em;
  color:#e37b10;
  font-size:14px;
}
.section-head__eyebrow .ja{
  font-size:12px;
  letter-spacing:.06em;
  color:#2b2b2b;
  opacity:.85;
}

.requirement-title{
  margin: 30px 0 60px;
  text-align: center;
  font-size: clamp(22px, 2.4vw, 30px);
  letter-spacing: .06em;
  color: #2b2b2b;
}

/* 白いボックス */
.requirement-box{
  background: #fff;
  width: min(980px, 100%);
  margin-inline: auto;
  padding: 44px 52px 50px;
}

/* タブ */
.req-tabs{
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 28px;
}

.req-tab{
  appearance: none;
  border: 1px solid rgba(0,0,0,.18);
  background: transparent;
  padding: 10px 16px;
  cursor: pointer;
  font-weight: 700;
  letter-spacing: .06em;
  color: rgba(43,43,43,.85);
  transition: background .25s ease, border-color .25s ease, color .25s ease;
}

.req-tab.is-active{
  border-color:#dd5810;
  color: #dd5810;
}

/* DL */
.req-dl{
  margin: 0;
  display: grid;
  gap: 14px;
}

.req-row{
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0,0,0,.10);
}

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

.req-row dt{
  font-weight: 700;
  letter-spacing: .06em;
  color: rgba(43,43,43,.9);
}

.req-row dd{
  margin: 0;
  color:rgba(43,43,43,.85);
  line-height: 2.0;
  letter-spacing: .04em;
}

.requirement-cta{
  display: none;
}

@media screen and (max-width: 768px){
  .requirement-cta{
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    gap: 8px;
    padding: 12px;
    background: #fff;
    box-shadow: 0 -2px 10px rgba(0,0,0,.08);
    z-index: 1000;
  }
}

.req-btn{
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 16px 14px;
  text-decoration: none;
  background: #fff;
  border: 1px solid #e37b10;
  color: #2b2b2b;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .04em;
  transition: transform .25s ease, background .25s ease;
}

.req-btn:hover,
.req-btn:focus-visible{
  transform: translateY(1px);
  background: rgba(255,255,255,.35);
}

.req-btn__arrow{
  color: #e37b10;
  font-size: 16px;
}


/* パネル切り替え */
.req-panel{ display: block; }


/* Responsive */
@media (max-width: 748px){
  .requirement-box{ padding: 30px; }
  .requirement{padding: 70px 0;}
  .requirement-inner{width: min(1200px, 80vw);}
  .req-row{ grid-template-columns: 1fr; gap: 8px; }
  .req-row dt{ font-size: 14px; }
  .req-btn{width: min(300px, 90vw);}
}

/* =========================
   Footer
   ========================= */

.footer{
  padding: 70px 0 36px;
}

.footer-inner{
  width: min(1200px, 90vw);
  margin-inline: auto;
}

/* 上段：ロゴ＋ナビ */
.footer-main{
  display: grid;
  gap: 36px;
  justify-items: center;
  margin-bottom: 40px;
}

.footer-brand img{
  display: block;
  width: 180px;
  height: auto;
}

/* ナビ */
.footer-nav-list{
  list-style: none;
  margin: 0;
  padding: 0;

  display: flex;
  flex-wrap: wrap;
  gap: 18px 32px;
  justify-content: center;
}

.footer-nav-list a{
  text-decoration: none;
  color: rgba(43,43,43,.85);
  font-size: 13px;
  letter-spacing: .04em;
  transition: color .25s ease;
}

.footer-nav-list a:hover,
.footer-nav-list a:focus-visible{
  color: #e37b10;
}

/* 下段：コピーライト */
.footer-bottom{
  padding-top: 22px;
  border-top: 1px solid rgba(0,0,0,.12);
  text-align: center;
}

.footer-copy{
  margin: 0;
  font-size: 12px;
  letter-spacing: .06em;
  color: rgba(43,43,43,.65);
}

/* スマホ */
@media (max-width: 640px){
  .footer{
    padding: 56px 0 28px;
  }

  .footer-nav-list{
    gap: 14px 20px;
  }

  .footer-brand img{
    width: 160px;
  }
}

/* =========================
   Floating Button
   ========================= */

.floating-btn{
  position: fixed;
  right: 2%;
  bottom: 15%;
  z-index: 1000;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 60px;   /* SVGに合わせて微調整OK */
  height: auto;

  transition: transform .25s ease, opacity .25s ease;
}

.floating-btn img{
  display: block;
  width: 100%;
  height: auto;
}

/* hoverは“主張しすぎない” */
.floating-btn:hover{
  transform: translateY(2px);
  opacity: .9;
}

/* フォーカス可視 */
.floating-btn:focus-visible{
  outline: 2px solid #dd5810;
  outline-offset: 4px;
}
@media (max-width: 640px){
  .header.is-fixed{
    padding: 12px 0;
  }

  .header.is-fixed .brand img{
    max-width: 140px;
  }
}

/* デフォルト（PC含む）は非表示 */
.floating-btn-sp {
  display: none;
}

@media (max-width: 768px) {
.floating-btn {
  display: none;
}

  .floating-btn-sp {
    display: flex;
    align-items: center;
    justify-content: center;

    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;

    height: 80px;
    padding: 0 16px;

    background: #dd5810;
    color: #fff;
    text-decoration: none;

    font-size: 18px;
    font-weight: 700;
    letter-spacing: .06em;
    opacity: .85;

    z-index: 800;
  }

  /* フローティング分の余白確保 */
  body {
    padding-bottom: 100px;
  }
}

/* =========================
   Page Top Button
   ========================= */

.page-top{
  position: fixed;
  right: 2%;
  bottom: 5%; /* 追従CTAと干渉しない位置 */
  z-index: 900;

  display: grid;
  justify-items: center;
  gap: 6px;

  text-decoration: none;
  color: rgba(43,43,43,.7);
  font-size: 11px;
  letter-spacing: .08em;

  transition: transform .25s ease, opacity .25s ease;
}

.page-top__arrow{
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(0,0,0,.25);
  border-radius: 50%;
  font-size: 14px;
  line-height: 1;
}

.page-top:hover{
  transform: translateY(2px);
  opacity: .9;
}

.page-top:hover .page-top__arrow{
  border-color: #dd5810;
  color: #dd5810;
}

/* フォーカス可視 */
.page-top:focus-visible{
  outline: 2px solid #dd5810;
  outline-offset: 4px;
}

@media (max-width: 768px) {
.page-top{
  bottom: 1%; /* 追従CTAと干渉しない位置 */
  color: #fff;
  letter-spacing: .08em;
}

.page-top__arrow{
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid #fff;
  border-radius: 50%;
  font-size: 10px;
  line-height: 1;
}
}

/* ハンバーガー：PCは隠す */
.hamburger,.nav-close {
  display: none;
}
@media (max-width: 900px) {
  .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 55px;
    height: 55px;
    border: 0;
    background: none;
    color: #000;
    padding: 0;
    cursor: pointer;

   /* ここが重要 */
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
}

.hamburger__line {
  width: 30px;
  height: 3px;
  background: currentColor;
  margin: 0 auto;
  transition: transform .25s, opacity .25s;
}
}

/* オーバーレイ */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.4);
  z-index: 1001;
}

/* SP */
@media (max-width:900px) {

  /* SPではnavを右から出すドロワーに */
  .nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(86vw, 360px);
    height: 100dvh;
    background: #f6f4f2;
    transform: translateX(100%);
    transition: transform .28s;
    padding: 88px 20px 24px; /* ヘッダー分だけ上を空けるイメージ */
    z-index: 1002;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }
 
   .nav-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .nav-list a {
    display: block;
    padding: 12px 8px;
    text-decoration: none;
    position: relative;
    padding-left: 2.2em; /* 矢印分の余白 */
  }

  .nav-list a::before {
    content: "→";
    position: absolute;
    left: .6em;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1em;
    line-height: 1;
  }

  /* 開いた状態 */
  body.is-nav-open .nav {
    transform: translateX(0);
  }

  body.is-nav-open .nav-overlay {
    display: block;
  }

  body.is-nav-open {
    overflow: hidden;
  }

  /* 3本線→× */
  body.is-nav-open .hamburger__line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  body.is-nav-open .hamburger__line:nth-child(2) {
    opacity: 0;
  }
  body.is-nav-open .hamburger__line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .hamburger {
    margin: 0;
  }

  .nav-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    padding: 0;
    cursor: pointer;
    color: #000;
  }

  .nav-close__line {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 22px;
    height: 2px;
    background: currentColor;
  }

  .nav-close__line:nth-child(1) {
    transform: translate(-50%, -50%) rotate(45deg);
  }

  .nav-close__line:nth-child(2) {
    transform: translate(-50%, -50%) rotate(-45deg);
  }

  .nav-list .en {
    display: inline-block;
    margin-right: .5em;
  }
}
