@charset "UTF-8";

:root{
    /* お好みで調整してください（Figma値があれば差し替え） */
    --paper: #FFF4DD;              /* キャンバスのクリーム色 */
    --ink: #222;                   /* 文字色 */
    --mute: #5e5e5e;              /* 補助テキスト */
    --accent: #FFB366;             /* オレンジ系アクセント */
    --accent-weak: #f6c896;
    --pill-bg: #fff7ec;
    --btn-text: #2b2b2b;
  
  
  }


body{
  margin:0;
  background: var(--paper);
  color:var(--ink);
  font-family:"Noto Sans JP",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue","Hiragino Kaku Gothic ProN","Yu Gothic",sans-serif;
  line-height:1.75;
  
}

.page{
  display:grid;
  place-items:center;
  padding: 0;

}

.paper{
  width:100%;
  max-width:var(--maxw);
  background:var(--paper);
  border-radius:var(--paper-radius);
  box-shadow:var(--paper-shadow);
}

/* ヘッダ */
.header{
  text-align:center;
  margin-bottom:28px;
}
.eyebrow{
  font-family:"Outfit", ui-sans-serif, system-ui;
  letter-spacing:.06em;
  font-weight:300;
  font-size:5rem;
  margin:0 0 8px;
  letter-spacing: 10px;
}
.title{
  font-size:2rem;
  font-weight:400;
  margin:0;
  letter-spacing: 5px;
}

/* セクション説明 */
.privacy-note{ 
    margin: 10px 0 8px; 
    padding: 20px 80px 80px;
}
.privacy-note p {
    line-height: 3; /* 行間を2倍にする */
  }
.sec-ttl{
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
  font-size:18px;
  font-weight:500;
  margin:0 0 8px;
}
.sec-desc{
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
  font-size:16px;
  color:var(--mute);
  margin:0;
}
select.input {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: #fffaf3; /* 既存inputと同じ背景 */
  border: 2px solid var(--accent); /* オレンジ色 */
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 15px;
  color: var(--ink);
  width: min(640px, 100%);
  box-sizing: border-box;
  margin-bottom: 24px;

  /* 右端にオレンジ矢印を追加 */
  background-image: url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' \
stroke='%23FFB366' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'>\
<polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 18px;
}

select.input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 20%, transparent);
  outline: none;
}

:root{
    --bee:96px;   /* 画像の幅 */
    --gap:15vw;   /* アイテム間隔 */
  }
  
  .steps{
    display:flex;
    justify-content:space-between;  /* コンテナ内で均等配置 */
    gap:var(--gap);
    max-width: calc(var(--bee)*3 + var(--gap)*2); /* 3匹＋2間隔の幅に制限 */
    margin: 0 auto;
    padding:0;
    position:relative;
    gap: 10px; /* ハチ同士の間隔をお好みで */
  }
  
  .step{
    flex:0 0 auto;
    width:auto;
    text-align:center;
  }
  
  /* 横線も中央に */
  .steps::before{
    content:"";
    position:absolute;
    top:48px;
    left:50%;
    transform:translateX(-50%);
    width: calc(var(--bee)*3 + var(--gap)*2);
    height:2px;
    background:var(--border);
  }
  
.bee{
  width:96px;
  height:96px;
  object-fit:contain;
  display:block;
  margin:0 auto 8px;
}

.pill{
  display:inline-block;
  min-width:88px;
  padding:8px 50px;
  background:var(--pill-bg);
  border:1px solid var(--border);
  border-radius:999px;
  font-size:16px;
  box-sizing: border-box;
  margin-bottom: 24px; /* 下の欄との間隔 */
  border: 2px solid #FFB366; /* 枠線の色と太さ */
  border-radius: 15px; /* 角丸 */
  background-color: #ffffff; /* 枠の中の背景色 */
}
.step:first-child {
    position: relative;
  }
  .note {
      line-height: 2.5;
  }
  
  .step:first-child::before {
    content: "";
    position: absolute;
    top: 25%;
    left: 32%;
    width: 100px;   /* 丸の大きさ */
    height: 100px;
    background-color: #FFB366;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
  }
  /* 1) 変数：gap を一元管理（縮小時に自動で小さく） */
:root{
    --gap: clamp(40px, 9vw, 120px); /* 最小40px, 画面幅連動, 最大120px */
    --line-pad: 24px;               /* 線の両端の余白（ピルから少し離す） */
    --line-y: 75%;                  /* 線の縦位置。蜂やピルに合わせて微調整 */
  }
  
  /* 2) ステップの並び */
  .steps{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--gap);                /* ← ここが線の長さ計算の元になる */
  }
  
  /* 3) 線（最後以外のステップの右側に引く） */
  .step{
    position: relative;
    text-align: center;
  }
  
  .step:not(:last-child)::after{
    content: "";
    position: absolute;
    top: var(--line-y);
    left: 100%;
    transform: translateY(-50%);
    width: calc(var(--gap) - var(--line-pad) * 2);
    margin-left: var(--line-pad);
    height: 2px;
    background: #f4a261;
    border-radius: 2px;
  }

  
  .step:first-child .bee {
    position: relative;
    z-index: 1;
  }
/* フォーム */
.form{ 
    margin-top: 8px; 
    padding: 80px;
}

.field{
    margin: 18px 0 14px;
    padding: 0px;
    margin-bottom: 12px; /* 下の余白を小さく */
    
  }

  .field.free-field{
    margin-top: 10vw;
  }
  
.label{
  display:block;
  font-weight:300;
  font-size:1.3vw;
  margin-bottom:8px;
  letter-spacing: 3px;
}
.req{
  color: #d9534f;
  font-weight: 700;
  font-size: .75em; /* 必須マークのサイズ */
}

h2.sec-ttl .req{
  color: #d9534f !important;
}

.input,
.textarea{
  border:1.5px solid var(--border);
  background:#fff;
  border-radius:6px;
  padding:12px 14px;
  font-size:15px;
  outline:0;
  transition:border-color .15s ease;
  width: min(640px, 100%); /* 最大640pxで、狭い画面では100% */
  box-sizing: border-box;
  margin-bottom: 24px; /* 下の欄との間隔 */
  border: 2px solid #FFB366; /* 枠線の色と太さ */
  border-radius: 8px; /* 角丸 */
  background-color: #fffaf3; /* 枠の中の背景色 */
}

.input:focus,
.textarea:focus{
  border-color:var(--accent);
  box-shadow:0 0 0 3px color-mix(in srgb, var(--accent) 20%, transparent);
  }
.note{
  margin:.5em 0 0;
  font-size:12px;
  color:var(--mute);
}
.textarea{ resize:vertical; min-height:220px; }

/* 同意セクション */
.consent{
  margin-top: 6px;
  padding-top: 16px;
}
.bullets{
  margin:8px 0 16px 0;
  padding-left: 1.1em;
}
.bullets li{
  margin:6px 0;
  font-size:13px;
  color:#4b4b4b;
}
.check{
  display:flex;
  gap:.6em;
  font-weight:600;

}
.check input{
  width:18px; height:18px;
}

/* ボタン */
.actions{
  display:flex;
  justify-content:center;
  margin: 24px 0;         /* margin-bottomは消す */
  padding: 0 0 80px 0;  
}
.btn-primary:hover {
    background-color: #fbffe1;      
    transform: translateY(-2px); 
    transform: scale(1.05);  
  }
  .btn-primary:active {
    transform: scale(0.95);
  }

.btn-primary{
  appearance:none;
  text-decoration: none; /* 下線消す */
  border:0;
  border-radius:999px;
  background:var(--accent);
  padding:14px 100px;
  font-weight:450;
  font-size:20px;
  color:var(--btn-text);
  cursor:pointer;
  box-shadow:0 4px 0 color-mix(in srgb, var(--accent) 50%, #000 15%);
  transition: transform .05s ease, filter .15s ease;
  letter-spacing: 5px; 
}

.bullets li {
    font-size: 16px; /* 好きなサイズ */
    line-height: 3; /* 行間も調整 */
  }

  small{
    text-align: center;
}
.footer-inner {
    background-color: #fff;
    text-align: center;
    padding: 1rem 0; 
  }
  
  .footer-inner small {
    font-size: 0.8rem;
    color: #000000;
    letter-spacing: 5px;
    font-weight: 200;
  }
  .site-title{
    display: none;
}

.hamburger {
  position: fixed;
  top: 9px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 3000;
  cursor: pointer;

}

.hamburger span {
  width: 25px;
  height: 5px;
  background-color: #000000;
  display: block;
  transition: all 0.3s ease;
  border-radius: 8px;

  }
  /* ハンバーガーが active のときバツに変形 */
.hamburger.active span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}
.menu-popup {
  display: none;
  flex-direction: column;
  position: fixed;
  top: 60px;  /* バツ印の下 */
  right: 13px; /* 右上に近づける */
  background-color: #fff;
  padding: 1.5rem 2rem; /* 少しコンパクトに */
  border-radius: 1.5rem;
  box-shadow: 0 0 20px rgba(0,0,0,0.1);
  z-index: 2000;
  width: 120px; /* コンパクトに */
  text-align: left;
  font-size: 0.9rem;
}

.menu-popup.active {
  display: flex;
}

.menu-popup::before {
  content: "";
  position: absolute;
  top: -20px;
  right: 20px;  /* バツ印の中央に矢印がくるように調整 */
  border: 10px solid transparent;
  border-bottom-color: #fff;
}

.menu-list a,
.bee-list a {
  position: relative;
  display: inline-block;
  color: #000;
  text-decoration: none;
  font-size: 1rem;
  margin: 1rem 0;
  transition: color 0.3s ease;
}

.menu-list a::after,
.bee-list a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #FFB366;
  transform: scaleX(0);               /* ← ここが重要 */
  transform-origin: left;
  transition: transform 0.3s ease;    /* ← アニメーション時間 */
}

.menu-list a:hover::after,
.bee-list a:hover::after {
  transform: scaleX(1);               /* ← ニョイっと出る */
}


  
  .menu-list a:nth-child(1) { animation-delay: 0.1s; }
  .menu-list a:nth-child(2) { animation-delay: 0.2s; }
  .menu-list a:nth-child(3) { animation-delay: 0.3s; }
  .menu-list a:nth-child(4) { animation-delay: 0.4s; }
  .menu-list a:nth-child(5) { animation-delay: 0.5s; }
  
  
/* 細かい調整 */
.br-pc{ display:inline; }
@media (max-width: 720px){
  .paper{ padding:0px; }
  
  .steps {
    flex-direction: row !important;
    gap: 35px;
    justify-content: space-between;
    padding: 24px;
    position: relative;
  }

  .steps::before{
    left:calc(96px / 2);
    right:calc(96px / 2);
  }
  .bee{ width:84px; height:84px; }
  .pill{ min-width:auto; padding:6px 12px; }
  .br-pc{ display:none; }

  .privacy-note{
    padding: 24px;
  }
  .form{
    padding: 24px;
  }
  .label{
    font-size: 4vw;
  }
  .privacy-note p {
    line-height: 2.5; /* 行間を2倍にする */
  }
  .eyebrow{
    font-size: 3rem;
  }
  .title{
    font-size: 1.5rem;
  }
  .bullets li {
    font-size: 16px; /* 好きなサイズ */
    line-height: 2.5; /* 行間も調整 */
  }
  .btn-primary {
    padding: 14px 90px;
  }
  .actions {
    padding: 0 0 0px 0;
}
.pill {
    padding: 8px 30px;
    font-size: 14px;
    margin-bottom: 12px;
}
.step:first-child::before {
    width: 70px;
    height: 70px;
}
.site-title{
    display: block;
    text-align: left;
    padding-left: 24px;
    font-weight: 300;
    font-size: 6vw;
    letter-spacing: 2px;
}
.steps::before {
    content: none !important;
  }

  /* 各ステップ間に短い線 */
  .step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 78%;     
    left: 78%;                /* 線の高さ微調整 */
    width: calc(10vw - 10px);     /* だいたい画面幅に合わせて伸縮 */
    max-width: 120px;
    transform: translateY(-50%);
    height: 2px;
    background: var(--border, #FFB366);
    border-radius: 2px;
  }
  .menu-popup {
    background-color: #FFB366;
    color: #fff; 
  top: 0;
  right: auto;
  left: 0%;
  height: 100vh;
  width: 50vw;
  border-radius: 0; 
  box-shadow: none;
  z-index: 999;
  transform: translateX(-100%);
  transition: transform 0.6s ease, opacity 0.6s ease;
  opacity: 0;
}

.menu-popup.active {
    transform: translateX(0);
    opacity: 1;
}

.menu-popup::before {
  display: none;
}

.menu-list {
  display: flex;
  flex-direction: column;
  padding-top: 80px;
}

.menu-list a {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 200;
  font-optical-sizing: auto;
  font-size: 1.3rem;
  margin: 1rem 2rem;
}
.menu-list a::after {
    background-color: #fff !important; 
  }

}
