@charset "UTF-8";

/* ==========================================================
   はまなす保険企画 トップページ
   - PC：デザイン幅1440px（コンテンツ幅1140px）
   - SP：デザイン幅393px
   - ブレイクポイント：767px以下をSPとする
   ========================================================== */


/* ----------------------------------------------------------
   1. 変数
---------------------------------------------------------- */
:root {
  /* 色 */
  --c-text: #222222;
  --c-key: #b77945;        /* ブラウン（アクセント） */
  --c-sub: #d8c5aa;        /* ベージュ */
  --c-bg: #f7f3ea;         /* 背景 */
  --c-green: #416a59;      /* CTA・見出し英字 */
  --c-green-light: #7a9e87;
  --c-blue: #255ea9;       /* ヘッダーナビ */
  --c-gray: #929292;       /* 日付,下線 */
  --c-white: #ffffff;
  /* Instagramアイコンのふち（左下のオレンジ → ピンク → 右上の紫） */
  --g-insta: linear-gradient(45deg, #f5a763, #e88d72 30%, #cf5d8c 60%, #c1429b);

  /* フォント */
  --ff-base: "Noto Sans JP", sans-serif;
  --ff-en: "Montserrat", sans-serif;   /* 英字の装飾・数字 */
  --ff-maru: "Zen Maru Gothic", sans-serif;  /* セクション見出し以上の大きな日本語見出し・キャッチ、固定ボタン */

  /* 文字サイズ */
  --fs-s: 14px;            /* 補足・日付・小さなボタン */
  --fs-m: 16px;            /* 本文 */
  --fs-l: 18px;            /* リード文・大きなボタン */
  --fs-xl: 20px;           /* 小見出し・電話番号 */
  --fs-2xl: 24px;          /* 中見出し */
  --fs-3xl: 32px;          /* セクション見出し */
  --fs-4xl: 40px;          /* 大見出し・キャッチ */
  --fs-5xl: 48px;          /* メインビジュアルのキャッチ */

  /* 字間 */
  --ls-body: 0.05em;       /* 本文・ボタンなど（body で一括指定） */
  --ls-heading: 0.1em;     /* 見出し・キャッチ */

  /* 行間：body で 1.7 を一括指定。
     （例外：背景の大きな装飾英字・Point の番号・英字見出し（News など）は
       詰めて組むため個別指定） */

  /* 角丸 */
  --radius-s: 12px;        /* 小さめのパーツ：写真・小さなカード・ヘッダー・固定ボタンなど */
  --radius-m: 24px;        /* 大きな白い枠：メッセージ・ご相談メニュー・お知らせ・Instagram・お問い合わせ */
  --radius-full: 999px;    /* ボタン */

  /* レイアウト */
  --inner: 1140px;
  --side: 20px;          

  /* 余白（セクション共通のルール）
     - セクション同士の間：--space-section
     - 波の帯に隣接する側、カード同士の間：--space-section の半分
     - 見出し→中身、中身→ボタン：--space-title */
  --space-section: 100px;
  --space-title: 40px;

  --cta-w: clamp(100px, (100vw - var(--inner)) / 2 - 32px, 160px);
  --cta-area: calc(var(--cta-w) + 32px);

  /* 斜線模様（ご相談メニュー・採用・フッターで共通） */
  --stripe: repeating-linear-gradient(-45deg, rgba(183, 121, 69, 0.3) 0 1.5px, transparent 1.5px 5px);
}

@media (max-width: 767px) {
  :root {
    --fs-s: 13px;
    --fs-m: 15px;
    --fs-l: 16px;
    --fs-xl: 18px;
    --fs-2xl: 20px;
    --fs-3xl: 24px;
    --fs-4xl: 24px;
    --fs-5xl: 32px;

    --radius-m: 16px;

    --space-section: 60px;
    --space-title: 24px;
  }
}


/* ----------------------------------------------------------
   2. ベース
---------------------------------------------------------- */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--ff-base);
  font-size: var(--fs-m);
  line-height: 1.7;
  letter-spacing: var(--ls-body);
  color: var(--c-text);
  background-color: var(--c-bg);
  -webkit-font-smoothing: antialiased;
}

main {
  overflow-x: clip;
}

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

a {
  transition: opacity 0.3s;
}

@media (hover: hover) {
  a:hover {
    opacity: 0.7;
  }
}


/* ----------------------------------------------------------
   3. ユーティリティ
---------------------------------------------------------- */
.u-sp-only {
  display: none;
}

@media (max-width: 767px) {
  .u-sp-only {
    display: initial;
  }
  .u-pc-only {
    display: none;
  }
}

/* 画面には表示しないが、読み上げソフトには読ませる */
.u-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}


/* ----------------------------------------------------------
   4. 共通パーツ（下層ページでも使い回す想定）
---------------------------------------------------------- */

/* コンテンツ幅 */
.inner {
  width: min(var(--inner), 100% - var(--side) * 2);
  margin-inline: auto;
}

/* セクション見出し（下線付き） */
.section-title {
  position: relative;
  padding-bottom: 6px;
  font-family: var(--ff-maru);
  font-size: var(--fs-3xl);
  font-weight: 500;
  letter-spacing: var(--ls-heading);
  text-align: center;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 97px;
  height: 2px;
  background-color: var(--c-key);
  transform: translateX(-50%);
}

/* 英字＋日本語の見出し（News / Column / Contact） */
.heading-en {
  display: flex;
  flex-direction: column;
}

.heading-en__en {
  margin-bottom: -5px;
  font-family: var(--ff-en);
  font-size: var(--fs-3xl);
  font-weight: 600;
  line-height: 1.22;
  color: var(--c-green);
}

.heading-en__ja {
  font-size: var(--fs-s);
}

.heading-en--center {
  text-align: center;
}

/* 右向き矢印（ボタン・リンク共通） */
.btn::after,
.btn-cta::after,
.menu-item::after,
.case-card__body::after,
.mv__notice-link::after,
.menu__col-title a::after {
  content: "";
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

/* ベージュの小ボタン（詳しく見る など） */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  width: 181px;
  height: 50px;
  padding-left: 12px;
  font-size: var(--fs-s);
  font-weight: 500;
  background-color: var(--c-sub);
  border-radius: var(--radius-full);
}

.btn::after {
  color: var(--c-key);
}

/* 緑の大ボタン（無料相談を予約する） */
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  width: 300px;
  height: 64px;
  font-size: var(--fs-l);
  font-weight: 700;
  color: var(--c-white);
  background-color: var(--c-green);
  border-radius: var(--radius-full);
  box-shadow: inset -4px -4px 4px rgba(0, 0, 0, 0.25);
}

.btn-cta::after {
  width: 9px;
  height: 9px;
}

/* 電話番号 */
.tel {
  display: flex;
  flex-direction: column;
}

.tel a {
  display: flex;
  align-items: baseline;
  font-family: var(--ff-en);
  font-size: var(--fs-xl);
  font-weight: 500;
}

.tel__label {
  width: 50px;
  font-size: var(--fs-s);
}

.tel__time {
  font-size: var(--fs-s);
}

.tel--center {
  align-items: center;
}

@media (max-width: 767px) {
  .section-title {
    padding-bottom: 4px;
  }
  .section-title::after {
    width: 84px;
  }
  .btn-cta {
    width: 258px;
    height: 55px;
  }
  .tel__label {
    width: auto;
    margin-right: 11px;
  }
}


/* ----------------------------------------------------------
   5. ヘッダー
---------------------------------------------------------- */
.header {
  position: absolute;
  top: 15px;
  left: 0;
  z-index: 100;
  width: 100%;
}

.header.is-fixed {
  position: fixed;
  animation: header-slide-in 0.4s ease-out;  
}

@keyframes header-slide-in {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .header.is-fixed {
    animation: none;
  }
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 95vw;
  height: 82px;
  margin-inline: auto;
  padding: 0 min(74px, 5.1vw) 0 min(54px, 3.75vw);
  border-radius: var(--radius-s);
  transition: background-color 0.3s;
}

.header.is-fixed .header__inner {
  background-color: rgba(255, 255, 255, 0.8);
}

.header__logo {
  flex-shrink: 0;
  width: min(261px, 18.1vw);  
  margin-top: -4px;
}

.header__nav-list {
  display: flex;
  gap: min(56px, 3.9vw);  
  font-size: var(--fs-m);
  font-weight: 500;
  color: var(--c-blue);
  white-space: nowrap;
}

.header__hamburger {
  display: none;
}

@media (max-width: 1279px) {

  .header,
  .header.is-fixed {
    position: absolute;
    top: 0;
    animation: none;
  }
  .header__inner,
  .header.is-fixed .header__inner {
    position: relative;
    width: 100%;
    height: auto;
    padding: 12px 23px 0 12px;
    background: none;
    border-radius: 0;
  }
  .header__logo {
    width: 200px;
    margin-top: 0;
  }

  /* ハンバーガーボタン*/
  .header__hamburger {
    position: fixed;
    top: 20px;
    right: 23px;
    z-index: 110;
    display: block;
    width: 57px;
    height: 57px;
    background-color: var(--c-sub);
    border-radius: 50%;
  }
  .header__hamburger span:not(.u-visually-hidden) {
    position: absolute;
    left: 50%;
    width: 24px;
    height: 2px;
    background-color: var(--c-green);
    transform: translateX(-50%);
    transition: transform 0.3s, opacity 0.3s;
  }
  .header__hamburger span:nth-child(1) { top: 20px; }
  .header__hamburger span:nth-child(2) { top: 27px; }
  .header__hamburger span:nth-child(3) { top: 34px; }

  .header__hamburger[aria-expanded="true"] span:nth-child(1) {
    transform: translateX(-50%) translateY(7px) rotate(45deg);
  }
  .header__hamburger[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }
  .header__hamburger[aria-expanded="true"] span:nth-child(3) {
    transform: translateX(-50%) translateY(-7px) rotate(-45deg);
  }

  /* メニュー画面 */
  .header__nav {
    position: fixed;
    inset: 0;
    z-index: 105;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--c-bg);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
  }
  .header__nav.is-open {
    opacity: 1;
    visibility: visible;
  }
  .header__nav-list {
    flex-direction: column;
    gap: 28px;
    font-size: var(--fs-l);
    text-align: center;
  }
}

/* SP：ロゴを小さく */
@media (max-width: 767px) {
  .header__logo {
    width: 164px;
  }
}


/* ----------------------------------------------------------
   6. 固定ボタン
   - 1024px以上：右側にボタンを縦に並べる。横幅は余白に合わせて伸縮（--cta-w）
   - 1023px以下：画面下部のバー
---------------------------------------------------------- */
.fixed-cta {
  position: fixed;
  right: 12px;
  bottom: 40px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 12px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity 0.4s, transform 0.4s, visibility 0.4s;
}

.fixed-cta.is-show {
  opacity: 1;
  visibility: visible;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .fixed-cta {
    transform: none;
  }
}

.fixed-cta__btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: var(--cta-w);
  height: 100px;
  font-family: var(--ff-maru);
  font-size: var(--fs-s);
  font-weight: 700;
  text-align: center;
  border-radius: var(--radius-s);
}

.fixed-cta__btn img {
  flex-shrink: 0;
  width: 30px;
}

.fixed-cta__btn--accident {
  background-color: var(--c-bg);
  border: 2px solid var(--c-green);
}

.fixed-cta__btn--reserve {
  color: var(--c-white);
  background-color: var(--c-green);
}

.fixed-cta__btn--reserve img {
  filter: brightness(0) invert(1);
}

@media (min-width: 1024px) {
  .inner {
    width: min(var(--inner), 100vw - var(--cta-area) * 2);
  }
}

@media (max-width: 1023px) {
  .fixed-cta {
    right: 0;
    bottom: 0;
    left: 0;
    flex-direction: row;
    gap: 0;
    padding-bottom: env(safe-area-inset-bottom); 
    background-color: var(--c-green);
  }
  .fixed-cta__btn {
    flex: 1;
    flex-direction: row;
    gap: 14px;
    width: auto;
    height: 67px;
    padding: 0 10px;
    font-weight: 500;
    text-align: left;
    border-radius: 0;
  }
  .fixed-cta__btn--accident {
    border: 1px solid var(--c-green);
  }
  .fixed-cta__btn img {
    width: 28px;
  }
  body {
    padding-bottom: calc(67px + env(safe-area-inset-bottom));
  }
}


/* ----------------------------------------------------------
   7. メインビジュアル
---------------------------------------------------------- */
.mv {
  position: relative;
  height: 100svh;
  min-height: 500px;
}

.mv__img,
.mv__img img {
  width: 100%;
  height: 100%;
}

.mv__img img {
  object-fit: cover;
}

.mv__catch {
  position: absolute;
  top: 17%;
  left: 10.1%;
  font-family: var(--ff-maru);
  font-size: var(--fs-5xl);
  font-weight: 500;
  letter-spacing: var(--ls-heading);
  color: var(--c-green);
  text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.25);
}

.mv__notice {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 556px;
  padding: 11px 24px;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-s) 0 0 var(--radius-s);
}

.mv__notice-title {
  font-weight: 500;
}

.mv__notice-link {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 19px;
  padding-bottom: 4px;
  font-weight: 400;
  border-bottom: 1px solid var(--c-text);
}

.mv__notice-link time {
  flex-shrink: 0;
  white-space: nowrap;
}
@media (max-width: 1023px) {
    .mv__catch {
    top: 130px;
    left: 27px;
    font-size: var(--fs-3xl);
  }
}
@media (max-width: 767px) {
  .mv__catch {
    top: 130px;
    left: 27px;
    font-size: var(--fs-5xl);
  }
  .mv__notice {
    width: calc(100% - 53px);
    bottom: 7px;
    font-size: var(--fs-s);  /* 1行に収めるため1段階小さく */
  }
  .mv__notice-link {
    gap: 12px;
  }
}


/* ----------------------------------------------------------
   8. メッセージ
---------------------------------------------------------- */
.message {
  padding-bottom: var(--space-section);
}

.message__bg-text {
  overflow: hidden;
  font-family: var(--ff-en);
  font-size: min(182px, 12.64vw);
  font-weight: 500;
  line-height: 1.22;
  color: var(--c-sub);
  white-space: nowrap;
}

.message__bg-track {
  display: flex;
  width: max-content;
  animation: message-flow 60s linear infinite;
}

.message__bg-track span {
  padding-right: 0.3em;
}

@keyframes message-flow {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .message__bg-track {
    animation: none;
  }
}

.message__title {
  position: relative;
  margin-top: -31px;
  font-family: var(--ff-maru);
  font-size: var(--fs-4xl);
  font-weight: 500;
  letter-spacing: var(--ls-heading);
  text-align: center;
}

.message__body {
  display: flex;
  align-items: stretch;
  margin-top: var(--space-title);
}

.message__img {
  flex-shrink: 0;
  width: 47.1%;        
}

.message__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-m);
}

.message__points {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-left: -36px;
  padding: 18px 36px;
  background-color: var(--c-white);
  border-radius: var(--radius-m);
}

.point {
  padding: 12px 0;
}

.point + .point {
  border-top: 1px dotted var(--c-sub);
}

.point__head {
  display: flex;
  align-items: flex-end;
  gap: 15px;
}

/* 「Point」と番号 */
.point__num {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 48px;
  font-family: var(--ff-en);
  font-size: var(--fs-3xl);
  font-weight: 600;
  line-height: 1;
  color: var(--c-key);
}

.point__num span {
  margin-bottom: 2px;
  font-size: var(--fs-s);
}

.point__title {
  font-size: var(--fs-2xl);
  font-weight: 500;
  letter-spacing: var(--ls-heading);
}

.point__text {
  margin-top: 8px;
  padding-left: 63px;
  font-size: var(--fs-l);
  font-weight: 400;
}

.message__btn {
  margin-top: var(--space-title);
  text-align: right;
}
@media (max-width: 1032px) {
  .message__title {
    font-size: var(--fs-3xl);
  }
}
@media (max-width: 767px) {
  .message__bg-text {
    font-size: 78px;
  }
  .message__bg-track {
    animation-duration: 30s;
  }
  .message__title {
    margin-top: 0;
  }
  .message__body {
    flex-direction: column;
  }
  .message__img {
    width: 100%;
    aspect-ratio: 352 / 239;
  }
  .message__points {
    margin: -30px 0 0;
    padding: 18px 19px;
  }
  .point__num {
    width: 41px;
  }
  .point__text {
    padding-left: 56px;
  }
}


/* ----------------------------------------------------------
   9. ご相談メニュー
---------------------------------------------------------- */
.menu {
  padding-bottom: var(--space-section);
}

.menu__frame {
  --frame-pad: 22px;
  padding: var(--frame-pad);
  background-image: var(--stripe);
  border-radius: calc(var(--radius-m) + var(--frame-pad));
}

.menu__box {
  padding: 75px 20px 98px;
  background-color: var(--c-white);
  border: 2px solid var(--c-key);
  border-radius: var(--radius-m);
}

.menu__cols {
  display: flex;
  justify-content: center;
  gap: 110px;
  margin-top: var(--space-title);
}

.menu__col {
  width: 322px;
}

.menu__col-title {
  font-size: var(--fs-2xl);
  font-weight: 500;
  letter-spacing: var(--ls-heading);
}

.menu__col-title a {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.menu__col-title a::after {
  width: 35px;
  height: 35px;
  border: none;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 16'%3E%3Cpath d='M2 2l6 6-6 6' fill='none' stroke='%23fff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 10px 16px no-repeat,
    var(--c-sub);
  transform: none;
}

.menu__list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 18px;
}

.menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 67px;
  padding: 0 20px 0 13px;
  background-color: var(--c-white);
  border: 1px solid var(--c-key);
  border-radius: var(--radius-full);
}

.menu-item img {
  flex-shrink: 0;
  width: 49px;
}

.menu-item::after {
  margin-left: auto;
  color: var(--c-sub);
}

.menu-item--corp {
  border-color: var(--c-green);
}

.menu-item--corp::after {
  color: var(--c-green-light);
}

@media (max-width: 1023px) {
  .menu__cols {
    gap: 40px;
  }
}

@media (max-width: 767px) {
  .menu .inner {
    width: calc(100% - 8px);
  }
  .menu__frame {
    --frame-pad: 7px;
  }
  .menu__box {
    padding: 32px 0 34px;
  }
  .menu__cols {
    flex-direction: column;
    align-items: center;
    gap: 36px;
  }
  .menu__col {
    width: min(322px, 100% - 30px);
  }
  .menu__list {
    gap: 13px;
    margin-top: 13px;
  }
  .menu__btn {
    display: block;
    margin-top: var(--space-title);
    text-align: center;
  }
}


/* ----------------------------------------------------------
   10. ご相談事例
---------------------------------------------------------- */

.case {
  padding-bottom: calc(var(--space-section) / 2);
}

.case__list {
  display: flex;
  justify-content: center;
  gap: 111px;
  margin-top: var(--space-title);
}

.case__list li {
  width: 450px;
}

.case-card {
  display: flex;
  height: 159px;
  overflow: hidden;
  background-color: var(--c-white);
  border-radius: var(--radius-s);
}

.case-card__img {
  flex-shrink: 0;
  width: 37%;            
}

.case-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-card__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 46px 0 23px;
}

.case-card__body::after {
  align-self: flex-end;
  margin-top: 4px;
  color: var(--c-key);
}

.case-card__tag {
  font-size: var(--fs-s);
}

.case-card__text {
  font-weight: 500;
  font-family: var(--ff-maru);
}

.case__btn {
  margin-top: var(--space-title);
  text-align: center;
}

@media (max-width: 1023px) {
  .case__list {
    gap: 30px;
  }
}

@media (max-width: 767px) {
  .case__list {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }
  .case__list li {
    width: min(324px, 100%);
  }
  .case-card {
    height: 121px;
  }
  .case-card__body {
    padding: 0 17px 0 13px;
  }
  .case__btn {
    text-align: right;
  }
}


/* ----------------------------------------------------------
   11. ご相談までの流れ（上下が波形の白帯）
---------------------------------------------------------- */

.flow {
  position: relative;
  margin: 150px 0 170px;
  padding-block: calc(var(--space-section) / 2);
  background-color: var(--c-white);
}

.flow::before,
.flow::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  background: no-repeat center / 100% 100%;
  pointer-events: none;
}

.flow::before {
  bottom: calc(100% - 3px);
  height: 152px;
  left: -10%;
  right: -10%;
  background-image: url("../img/wave-top.svg");
}

.flow::after {
  top: calc(100% - 2px);
  left: -10%;
  right: -10%;
  height: 165px;
  background-image: url("../img/wave-bottom.svg");
}

.flow__body {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 80px;
  margin-top: var(--space-title);
}

.flow__steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 461px;
  padding-top: 0;
}

.step {
  display: flex;
  gap: 14px;
  padding-left: 16px;
}

.step__num {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  margin-top: 4px;
  font-family: var(--ff-en);
  font-size: var(--fs-s);
  font-weight: 500;
  color: var(--c-white);
  background-color: var(--c-sub);
  border-radius: 50%;
}

.step__title {
  font-size: var(--fs-xl);
  font-weight: 500;
  letter-spacing: var(--ls-heading);
}

.step__text {
  margin-top: 4px;
}

/* よくあるご質問 */
.faq {
  width: 454px;
  padding: 36px 31px 41px;
  background-color: var(--c-bg);
  border-radius: var(--radius-s);
}

.faq__title {
  margin-bottom: 26px;
  font-size: var(--fs-xl);
  font-weight: 700;
  letter-spacing: var(--ls-heading);
  text-align: center;
}

.faq__item {
  padding: 13px 12px 0;
  border-top: 1px solid var(--c-sub);
}

.faq__item + .faq__item {
  margin-top: 15px;
}

.faq__item:last-of-type {
  padding-bottom: 15px;
  border-bottom: 1px solid var(--c-sub);
}

.faq__item summary {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;      
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary::before {
  content: "Q";
  font-family: var(--ff-en);
  font-size: var(--fs-l);
  font-weight: 500;
}

/* 開閉の＋／－ボタン*/
.faq__item summary::after {
  content: "";
  flex-shrink: 0;
  width: 25px;
  height: 25px;
  margin-left: auto;
  background:
    linear-gradient(var(--c-white), var(--c-white)) center / 11px 2px no-repeat,  /* 横線 */
    linear-gradient(var(--c-white), var(--c-white)) center / 2px 11px no-repeat,  /* 縦線 */
    var(--c-green-light);
  border-radius: 50%;
}

.faq__item[open] summary::after {
  background:
    linear-gradient(var(--c-white), var(--c-white)) center / 11px 2px no-repeat,
    var(--c-green-light);
}

.faq__answer {
  padding: 10px 0 0 22px;
}

.flow__btn {
  margin-top: var(--space-title);
  text-align: center;
}

@media (max-width: 1032px) {
  .flow__body {
    gap: 30px;
  }
   .flow::before {
    left: -20%;
    right: -20%;
    height: 84px;
  }
  .flow::after {
    left: -20%;
    right: -20%;
    height: 58px;
  }
}

@media (max-width: 767px) {
  .flow {
    margin: 90px 0 70px;
  }
 .flow::before {
    left: -40%;
    right: -40%;
    height: 84px;
  }
  .flow::after {
    left: -40%;
    right: -40%;
    height: 58px;
  }
  .flow__body {
    flex-direction: column;
    align-items: center;
    gap: 23px;
  }
  .flow__steps {
    width: 100%;
    gap: 10px;
  }
  .faq {
    width: 100%;
    padding: 28px 20px 30px;
  }
  .faq__title {
    margin-bottom: 30px;
  }
  .faq__item + .faq__item {
    margin-top: 18px;
  }
}


/* ----------------------------------------------------------
   12. 店舗のご案内
---------------------------------------------------------- */
.shop {
  position: relative;
  padding: calc(var(--space-section) / 2) 0 var(--space-section);
}

.shop__body {
  display: flex;
  flex-direction: row-reverse; 
  justify-content: space-between;
  gap: 40px;
  margin-top: var(--space-title);
}

.shop__img {
  width: 57.5%;  
}
.shop__img img{
  border-radius: var(--radius-s);
}


.shop__info {
  position: relative;
  flex: 1;
}

/* ハマナスの花の透かし */
.shop__info::before {
  content: "";
  position: absolute;
  top: 155px;
  left: 81px;
  z-index: -1;
  width: 100%;
  height: 100%;
  background: url("../img/flower-pink.png") no-repeat center / contain;
  opacity: 0.1;
}

.shop__name {
  font-size: var(--fs-2xl);
  font-weight: 700;
  letter-spacing: var(--ls-heading);
}

.shop__address {
  margin-top: 12px;
  font-style: normal;
}

.shop__map {
  display: inline-block;
  margin-top: 10px;
  font-family: var(--ff-en);
  font-weight: 600;
  text-decoration: underline;
}

.shop .tel {
  margin-top: 10px;
}

.shop__btn {
  margin-top: 19px;
}

@media (max-width: 767px) {
  .shop__body {
    flex-direction: column;
    gap: 21px;
  }
  .shop__img {
    width: 100%;
  }
  .shop__info {
    padding: 0 0 6px 6px;
  }
  .shop__info::before {
    top: auto;
    bottom: 50px;
    left: auto;
    right: 0;
    width: 165px;
    height: 115px;
  }
  .shop__address {
    margin-top: 8px;
  }
  .shop__map {
    margin-top: 3px;
  }
  .shop .tel {
    margin-top: 3px;
  }
  .shop__btn {
    display: flex;
    margin-top: 16px;
  }
}


/* ----------------------------------------------------------
   13. 採用情報
---------------------------------------------------------- */
.recruit {
  --photo-top: 62px;      
  position: relative;
  display: grid;
  grid-template-columns: 50% 50%;
  padding: var(--photo-top) 0 4.2vw; 
}

.recruit::before {
  content: "";
  position: absolute;
  top: calc(var(--photo-top) + 3.6vw); 
  bottom: 0;
  left: 42.5%;
  right: 0;
  background-image: var(--stripe);
  opacity: 0.6;
  border-radius: var(--radius-s);
}

.recruit__bg-text {
  position: absolute;
  top: 0;
  left: calc(50% + min(347px, 24vw));
  font-family: var(--ff-en);
  font-size: min(182px, 12.64vw);
  font-weight: 500;
  line-height: 1.22;
  color: rgba(183, 121, 69, 0.9);
  white-space: nowrap;
  transform: translateX(-50%);
}

.recruit__photo {
  position: relative;
  grid-column: 1;
  grid-row: 1;
  align-self: start;
  height: 30vh;
  min-height: 400px;
  overflow: hidden;
  border-radius: 0 var(--radius-s) var(--radius-s) 0;
}

.recruit__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recruit__content {
  position: relative;
  grid-column: 2;
  grid-row: 1;
  align-self: end;
  padding: calc(min(182px, 12.64vw) * 1.22 - var(--photo-top) + 12px) var(--side) 20px var(--space-title);
}

.recruit__title {
  font-family: var(--ff-maru);
  font-size: var(--fs-3xl);
  font-weight: 500;
  letter-spacing: var(--ls-heading);
  
}

.recruit__text {
  margin-top: 16px;
  font-size: var(--fs-l);
}

@media (max-width: 1023px) {
  .recruit__text .u-sp-only {
    display: initial;
  }
}

.recruit .btn {
  margin-top: 25px;
}

@media (max-width: 767px) {
  .recruit {
    --photo-top: 137px;
    grid-template-columns: 45% 55%;
    padding-bottom: 6vw;
  }
  .recruit::before {
    top: calc(var(--photo-top) - 11.2vw);  
    left: 38%;
  }

  .recruit__bg-text {
    top: 43px;
    left: calc(50% + 49px);
    font-size: 78px;
  }

  .recruit__photo {
    height: auto;
    min-height: 0;
    aspect-ratio: 3 / 4;
  }
  .recruit__content {
    align-self: start;
    padding: 0 6px 0 4px;
    text-align: right;
  }
  .recruit__title {
    font-size: var(--fs-2xl);
  }
  .recruit__text {
    margin-top: 10px;
    font-size: var(--fs-m);
  }
  .recruit .btn {
    margin-top: 20px;
  }
}


/* ----------------------------------------------------------
   14. お知らせ・コラム
---------------------------------------------------------- */
.topics {
  padding-top: var(--space-section);
}

.topics__inner {
  display: flex;
  justify-content: space-between;
  gap: calc(var(--space-section) / 2);
}

.topics-box {
  flex: 1;
  max-width: 543px;
  padding: 45px;
  background-color: var(--c-white);
  border-radius: var(--radius-m);
}

.topics-box .heading-en {
  padding: 0 14px;
}

.topics-box__list {
  margin-top: 26px;
}

.topics-box__list a {
  display: block;
  padding: 15px 14px;
}

.topics-box__list time {
  font-size: var(--fs-s);
  font-weight: 700;
  color: var(--c-gray);
}

.topics-box__meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* カテゴリのタグ */
.topics-box__tag {
  padding: 0 12px;
  font-size: var(--fs-s);
  font-weight: 500;
  background-color: var(--c-sub);
  border-radius: var(--radius-full);
}
.topics-box__tag--column{
  border: 1.5px solid #416a59;
  background-color: var(--c-bg);
}

.topics-box__tag--seminar {
  color: var(--c-white);
  background-color: var(--c-green);
}

.topics-box__title {
  display: flex;
  align-items: center;
  min-height: 50px;
  margin-top: 8px;
  padding: 4px 15px 8px;
  font-weight: 400;
  border-bottom: 1px solid var(--c-gray);
}

@media (max-width: 1023px) {
  .topics__inner {
    flex-direction: column;
  }
  .topics-box {
    max-width: none;
    padding: 34px 35px;
  }
  .topics-box .heading-en {
    padding: 0;
  }
  .topics-box__list {
    margin-top: 3px;
  }
  .topics-box__list a {
    padding: 16px 0 7px;
    border-bottom: 1px solid var(--c-gray);
  }

  .topics-box__title {
    position: relative;
    min-height: auto;
    margin-top: 0;
    padding: 0 22px 0 0;
    border-bottom: none;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }
  .topics-box__title::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 4px;
    width: 7px;
    height: 7px;
    border-top: 2px solid var(--c-key);
    border-right: 2px solid var(--c-key);
    transform: translateY(-50%) rotate(45deg);
  }
}


/* ----------------------------------------------------------
   15. Instagram
---------------------------------------------------------- */
.insta {
  padding: calc(var(--space-section) / 2) 0 var(--space-section);
}

.insta__box {
  position: relative;
  gap: 40px;
  min-height: 476px;
  padding: 68px 44px 0 68px;
  background-color: var(--c-white);
  border-radius: var(--radius-m);
}
.insta__content{
  width: 100%;
  display: flex;
  justify-content: space-between;
}
.insta__info {
  position: relative;
  z-index: 1;
  width: 273px;
}

.insta__account {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-en);
  font-size: var(--fs-s);
  font-weight: 600;
}

.insta__account img {
  width: 40px;
  aspect-ratio: 1;
  padding: 2px;                 
  object-fit: cover;
  border: 2px solid transparent;
  border-radius: 50%;
  background:
    linear-gradient(var(--c-white), var(--c-white)) padding-box,
    var(--g-insta) border-box;
}

.insta__text {
  margin-top: 19px;
}

.insta__feed {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1;
  gap: 42px;
  max-width: 618px;
}

.insta__feed li {
  flex: 1;
  aspect-ratio: 1;
}

.insta__feed img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.insta__bg-text {
  position: absolute;
  bottom: 0;
  left: 50%;
  font-family: var(--ff-en);
  font-size: min(182px, 12.64vw);
  font-weight: 500;
  line-height: 1.22;
  color: var(--c-sub);
  white-space: nowrap;
  transform: translateX(calc(-50% - 59px));
  height: min(222px, 15.4vw);
  overflow: hidden;
}

.insta__flowers img {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--w);
  opacity: 0.7;
  transform: rotate(var(--r));
  pointer-events: none;
}

.insta__flowers img:nth-child(1) { --x: 72.8%; --y: 34px;  --w: 64px;  --r: 71.6deg; }
.insta__flowers img:nth-child(2) { --x: 90.4%; --y: -11px; --w: 101px; --r: 39.24deg; }
.insta__flowers img:nth-child(3) { --x: 54.8%; --y: 164px; --w: 59px;  --r: 22.76deg; }
.insta__flowers img:nth-child(4) { --x: 34.5%; --y: 214px; --w: 57px;  --r: 42.55deg; }
.insta__flowers img:nth-child(5) { --x: 22.3%; --y: 214px; --w: 39px;  --r: 72.56deg; }
.insta__flowers img:nth-child(6) { --x: 10.1%; --y: 204px; --w: 23px;  --r: 39.58deg; }
.insta__flowers img:nth-child(7) { --x: 1.7%;  --y: 173px; --w: 18px;  --r: 60.3deg; }

@media (max-width: 1023px) {
  .insta__box {
    min-height: 340px;
    padding: 18px 15px 0;
  }
  .insta__content{
    flex-direction: column;
    padding-bottom: 90px;
  }
  .insta__info {
    width: auto;
  }
  .insta__account {
    padding-left: 11px;
  }
  .insta__account img {
    width: 32px;
  }
  .insta__text {
    width: 273px;
    margin: 12px 0 0 24px;
  }
  .insta__feed {
    flex: none;
    width: 100%;
    gap: 20px;
    max-width: none;
    margin-top: 18px;
  }
  .insta__bg-text {
    font-size: 65px;
    height: 80px;
    transform: translateX(-50%);
  }
  .insta__flowers img:nth-child(1) { --x: 64.6%; --y: 109px; --w: 33px; }
  .insta__flowers img:nth-child(2) { --x: 82.3%; --y: 72px;  --w: 53px; }
  .insta__flowers img:nth-child(3) { --x: 41.8%; --y: 197px; --w: 31px; }
  .insta__flowers img:nth-child(4) { --x: 15.9%; --y: 238px; --w: 30px; }
  .insta__flowers img:nth-child(5) { --x: 0.6%;  --y: 230px; --w: 20px; }
  .insta__flowers img:nth-child(6),
  .insta__flowers img:nth-child(7) { display: none; }
}


/* ----------------------------------------------------------
   16. お問い合わせ
---------------------------------------------------------- */
.contact {
  position: relative;
  padding: 85px var(--side);
  overflow: hidden;
  border-radius: var(--radius-m) var(--radius-m) 0 0;
}

.contact__bg {
  position: absolute;
  inset: 0;
}

.contact__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact__box {
  position: relative;    
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: min(885px, 100%);
  margin-inline: auto;
  padding: 34px 36px;
  background-color: rgba(255, 255, 255, 0.8); 
  border-radius: var(--radius-m);
}

.contact__text {
  text-align: center;
}

@media (max-width: 767px) {
  .contact {
    padding-block: 40px;
  }
  .contact__box {
    padding: 28px 20px;
  }
}


/* ----------------------------------------------------------
   17. フッター
---------------------------------------------------------- */
.footer {
  position: relative;
  padding: 60px 0;
}

.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: var(--stripe);
  opacity: 0.5;
}

.footer__inner {
  width: min(876px, 100% - 40px);
  margin-inline: auto;
}

.footer__logo {
  width: 471px;
  margin-inline: auto;
}

.footer__nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px 26px;
  margin-top: 58px;
  margin-left: 40px;
}

.footer__nav a {
  display: flex;
  align-items: center;
  gap: 7px;
}

/* 項目頭の三角 */
.footer__nav a::before {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 3.5px 0 3.5px 6px;
  border-color: transparent transparent transparent var(--c-key);
}

@media (max-width: 767px) {
  .footer {
    padding: 40px 0;
  }
  .footer__inner {
    width: min(334px, 100% - 40px);
  }
  .footer__logo {
    width: 334px;
  }
  .footer__nav {
    grid-template-columns: repeat(2, max-content);
    justify-content: space-between;
    gap: 6px 16px;
    margin-top: 31px;
    margin-left: 0;
  }
}
