@charset "UTF-8";
@import url("/kasuhara/common/css/tbgc.css");

/* ===========================================
   CSS 
=========================================== */
:root {
  /* --- Colors --- */
  --color-navy: #08496d;
  --color-brown: #665347;
  --color-brown-mid: #946f56;
  --color-brown-dark: #806453;
  --color-orange: #eb9317;
  --color-bg-hero: #f0e7e1;
  --color-bg-blue: #ebeff5;
  --color-bg-pink: #faf4f0;
  --color-text-body: #333333;
  --color-border: #e6d8cf;
  --color-border-qa: #d9c6b8;
  --color-parenthesis: #ccdae1;
  --color-white: #ffffff;
  --gradient-cv: linear-gradient(113deg, #084f79 20%, #946f56 80%);
  --gradient-num: linear-gradient(to bottom, #946f56, #665347);
  --gradient-yellow: linear-gradient(to bottom, #fff8e3, #fffbef 50%);

  /* --- Layout --- */
  --content-max-width: 1020px;
  --content-padding-pc: 20px;
  --content-padding-sp: 15px;

  /* --- Breakpoint（参照用） --- */
  /* SP: max-width 768px / JS: <= 768 */
}

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: bottom;
  text-decoration: none;
  box-sizing: border-box;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

body {
  line-height: 1;
}

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

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

input[type="submit"],
input[type="button"],
button {
  border-radius: 0;
  -webkit-box-sizing: content-box;
  -webkit-appearance: button;
  -moz-appearance: button;
  appearance: button;
  border: none;
  box-sizing: border-box;
}
input[type="submit"]::-webkit-search-decoration,
input[type="button"]::-webkit-search-decoration,
button::-webkit-search-decoration {
  display: none;
}
input[type="submit"]::focus,
input[type="button"]::focus,
button::focus {
  outline-offset: -2px;
}

@media (max-width: 768px) {
  .pc {
    display: none !important;
  }
}
@media (min-width: 769px) {
  .sp {
    display: none !important;
  }
  a[href^="tel:"] {
    /* pointer-events: none; */
    /* cursor: default; */
    color: black;
    text-decoration: none;
    display: inline-block; /* IE用 */
    pointer-events: none;
  }
}
html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}
html.hidden {
  overflow: hidden;
}
body {
  font-family:
    Meiryo, "Hiragino Kaku Gothic ProN", "ＭＳ Ｐゴシック", sans-serif;
  font-size: 1.6rem;
  font-feature-settings: "palt";
  color: #333333;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
body.hidden {
  touch-action: none;
  -webkit-overflow-scrolling: none;
  overflow: hidden;
  /* Other browsers */
  overscroll-behavior: none;
}

/* ===========================================
   Reset / Base（:where で詳細度を持たせず、後続の指定が必ず勝つようにする）
=========================================== */
.kasuhara-lp,
.kasuhara-lp *,
.kasuhara-lp *::before,
.kasuhara-lp *::after {
  box-sizing: border-box;
}

.kasuhara-lp {
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text-body);
  -webkit-font-smoothing: antialiased;
}

.kasuhara-lp :where(img) {
  max-width: 100%;
  height: auto;
  display: block;
}

.kasuhara-lp :where(a) {
  color: inherit;
  text-decoration: none;
}

.kasuhara-lp :where(ul, dl, dd) {
  list-style: none;
  margin: 0;
  padding: 0;
}

.kasuhara-lp :where(h1, h2, h3, p) {
  margin: 0;
}

/* ===========================================
   Layout / Utility
   ※ ブレークポイント・文脈上書きは各ルール内にネストして集約する
=========================================== */
.l-container {
  width: 100%;
  max-width: calc(var(--content-max-width) + var(--content-padding-pc) * 2);
  margin-inline: auto;
  padding-inline: var(--content-padding-pc);

  @media (max-width: 768px) {
    padding-inline: var(--content-padding-sp);
  }
}

.u-bold {
  font-weight: bold;
}
/* 色ユーティリティは見出し等の後勝ち color を上書きするため詳細度を確保 */
.kasuhara-lp .u-navy {
  color: var(--color-navy);
}
.kasuhara-lp .u-orange {
  color: var(--color-orange);
}
.u-small {
  font-size: 12px;
}
.u-nowrap {
  white-space: nowrap;
}

.u-num {
  font-size: 46px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 50px;
  line-height: 1.2;

  @media (max-width: 768px) {
    font-size: 32px;
    line-height: 34px;
  }
}

.u-pc-only {
  display: block;

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

  @media (max-width: 768px) {
    display: block;

    &:is(br) {
      display: inline;
    }
  }
}
.u-pc-only-br {
  display: inline;

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

/* ===========================================
   共通コンポーネント
=========================================== */

/* --- 見出し --- */
.c-heading-xl {
  font-size: 36px;
  font-weight: 700;
  line-height: 44px;
  letter-spacing: 0.05em;
  color: var(--color-brown);
  text-align: center;

  @media (max-width: 768px) {
    font-size: 22px;
    line-height: 30px;
    letter-spacing: 0em;
  }
}

.c-heading-lg {
  font-size: 32px;
  font-weight: 700;
  line-height: 40px;
  letter-spacing: 0.05em;
  color: var(--color-brown);
  text-align: center;

  @media (max-width: 768px) {
    font-size: 22px;
    line-height: 30px;
  }
}

.c-heading-md {
  font-size: 32px;
  font-weight: 700;
  line-height: 50px;
  letter-spacing: 0.02em;
  color: var(--color-brown);
  text-align: center;

  @media (max-width: 768px) {
    font-size: 22px;
    line-height: 30px;
  }
}

/* --- 四隅括弧ボックス（多重background装飾） --- */
.c-bracket-box {
  --bracket-color: var(--color-border);
  --bracket-w: 60px;
  --bracket-h: 40px;
  position: relative;
  max-width: var(--content-max-width);
  margin-inline: auto;
  text-align: center;
  background-image:
    linear-gradient(var(--bracket-color), var(--bracket-color)),
    linear-gradient(var(--bracket-color), var(--bracket-color)),
    linear-gradient(var(--bracket-color), var(--bracket-color)),
    linear-gradient(var(--bracket-color), var(--bracket-color)),
    linear-gradient(var(--bracket-color), var(--bracket-color)),
    linear-gradient(var(--bracket-color), var(--bracket-color)),
    linear-gradient(var(--bracket-color), var(--bracket-color)),
    linear-gradient(var(--bracket-color), var(--bracket-color));
  background-position:
    top left,
    top left,
    top right,
    top right,
    bottom left,
    bottom left,
    bottom right,
    bottom right;
  background-size:
    var(--bracket-w) 2px,
    2px var(--bracket-h),
    var(--bracket-w) 2px,
    2px var(--bracket-h),
    var(--bracket-w) 2px,
    2px var(--bracket-h),
    var(--bracket-w) 2px,
    2px var(--bracket-h);
  background-repeat: no-repeat;

  @media (max-width: 768px) {
    --bracket-h: 20px;
  }
}
.c-bracket-box--orange {
  --bracket-color: rgba(235, 147, 23, 0.2);
}

/* 下向きの三角アロー装飾（共通SVGを mask で表示。色は background で決まる＝色違い流用可） */
.s-sec01__intro::after,
.s-sec03::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 24px;
  opacity: 0.2;
  -webkit-mask: url("/kasuhara/assets/img/deco-arrow.svg") no-repeat center /
    contain;
  mask: url("/kasuhara/assets/img/deco-arrow.svg") no-repeat center / contain;
}

.c-lead-sub {
  font-weight: bold;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: 0.04em;
  color: var(--color-brown);
  margin-bottom: 8px;

  @media (max-width: 768px) {
    position: relative;
    font-size: 16px;
    line-height: 30px;
    margin-bottom: 0;
  }
  &:after {
    @media (max-width: 768px) {
      content: "";
      display: inline-block;
      position: absolute;
      left: 177px;
      top: -12px;
      width: 26px;
      height: 24px;
      background: url(/kasuhara/assets/img/deco-attention_sp.png) no-repeat
        center / contain;
    }
  }
}

/* --- バッジ付き見出し（吹き出し尻尾つきピル） --- */
.c-badge-heading {
  text-align: center;
  margin-top: 83px;

  @media (max-width: 768px) {
    margin-top: 56px;
  }

  .c-heading-lg {
    line-height: 50px;
    margin-top: 12px;

    @media (max-width: 768px) {
      font-size: 20px;
      line-height: 30px;
      margin-top: 18px;
    }
  }
}
.c-badge {
  position: relative;
  display: inline-block;
  padding: 14px 29px 12px;
  border: 2px solid var(--color-orange);
  border-radius: 999px;
  background: var(--color-white);
  color: var(--color-orange);
  font-size: 20px;
  font-weight: 700;
  line-height: 20px;
  letter-spacing: 0.02em;

  @media (max-width: 768px) {
    font-size: 16px;
    padding: 8px 20px;
  }

  &::after {
    content: "";
    position: absolute;
    bottom: -7px;
    left: 50%;
    width: 12px;
    height: 12px;
    background: var(--color-white);
    border-right: 2px solid var(--color-orange);
    border-bottom: 2px solid var(--color-orange);
    transform: translateX(-50%) rotate(45deg);
    @media (max-width: 768px) {
      width: 15px;
      height: 15px;
      bottom: -9px;
    }
  }
}

/* --- コールアウト帯 --- */
.c-callout-bar {
  background: var(--color-bg-blue);
  color: var(--color-navy);
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  line-height: 30px;
  letter-spacing: 0.02em;
  border-radius: 10px;
  padding: 15px 24px;
  mix-blend-mode: multiply;

  @media (max-width: 768px) {
    font-size: 16px;
    line-height: 24px;
    padding: 13px 10px;
  }

  .s-sec04 & {
    background: var(--color-bg-pink);
    color: var(--color-brown);
    max-width: var(--content-max-width);
    margin: 32px auto 0;

    @media (max-width: 768px) {
      margin-top: 25px;
    }
  }

  .s-sec03__closing & {
    max-width: var(--content-max-width);
    margin-inline: auto;
  }
}

/* --- 吹き出し --- */
.c-speech-bubble {
  position: relative;
  display: inline-block;
  background: var(--color-white);
  border: 2px solid var(--color-navy);
  border-radius: 999px;
  color: var(--color-navy);
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
  letter-spacing: 0.02em;
  padding: 10px 30px 8px;
  @media (max-width: 768px) {
    font-size: 16px;
    line-height: 22px;
    padding: 8px 26px;
  }

  &::after {
    content: "";
    position: absolute;
    bottom: -9px;
    left: 50%;
    width: 15px;
    height: 15px;
    background: var(--color-white);
    border-right: 2px solid var(--color-navy);
    border-bottom: 2px solid var(--color-navy);
    transform: translateX(-50%) rotate(45deg);
  }

  .s-sec03__closing & {
    margin-bottom: 6px;
    z-index: 1;
  }
}

/* --- CTAボタン（PC: 600x80 / fs28） --- */
.c-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 600px;
  margin-inline: auto;
  padding: 26px 48px;
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--color-white);
  text-align: center;
  cursor: pointer;
  transition:
    box-shadow 0.2s,
    opacity 0.2s,
    transform 0.2s;

  &:hover {
    opacity: 0.85;
    transform: translateY(2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0);
  }

  @media (max-width: 768px) {
    max-width: 345px;
    padding: 24px 40px;
    font-size: 22px;
  }
}
.c-btn--primary {
  background: var(--color-orange);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);

  /* 内側の白フレーム */
  &::before {
    content: "";
    position: absolute;
    inset: 5px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    pointer-events: none;
    z-index: 1;
  }

  /* 右端の色違いストリップ（デザイン: 幅40px・乗算30%相当の濃いオレンジ） */
  &::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 40px;
    background: #e58011;
  }

  @media (max-width: 768px) {
    &::after {
      width: 30px;
    }
  }
}
.c-btn__arrow {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  /* SVGは固有サイズなし(preserveAspectRatio=none)のため両軸とも明示する */
  width: 10px;
  height: 16px;
  z-index: 2;

  @media (max-width: 768px) {
    right: 13px;
    width: 8px;
    height: 12px;
  }

  .kasuhara-service & {
    right: 16px;
    width: 10px;
    @media (max-width: 768px) {
      right: 13px;
      width: 7px;
    }
  }
}

/* --- CTAテキストリンク（＼ 〜 ／ 装飾つき） --- */
.c-cv-lead {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  line-height: 28px;
  letter-spacing: 0.02em;
  color: var(--color-text-body);
  text-align: center;
  margin-bottom: 14px;

  @media (max-width: 768px) {
    font-size: 16px;
    line-height: 26px;
    gap: 5px;
    margin-bottom: 7px;
    justify-content: center;
  }

  .s-cv-large & {
    margin-bottom: 13px;

    @media (max-width: 768px) {
      margin-bottom: 6px;
    }
  }

  .s-sec04 & {
    margin-top: 30px;

    @media (max-width: 768px) {
      margin-top: 20px;
    }
  }
}
.c-cv-lead__text {
  white-space: nowrap; /* ＼〜／の間で折り返させない */

  @media (max-width: 768px) {
    letter-spacing: 0.025em;
  }
}
.c-cv-lead__line {
  flex-shrink: 0; /* nowrapのテキストに押されて潰れないように */
  display: inline-block;
  width: 20px;
  height: 23px;
  /* ドットのキラキラ（共通SVG）。色は background で決まる（グラデ帯上は currentColor=白） */
  background: var(--color-orange);
  -webkit-mask: url("/kasuhara/assets/img/deco-sparkle.svg") no-repeat center /
    contain;
  mask: url("/kasuhara/assets/img/deco-sparkle.svg") no-repeat center / contain;

  @media (max-width: 768px) {
    height: 20px;
    height: 22px;
  }

  &:first-child {
    margin-right: 10px;

    @media (max-width: 768px) {
      margin-right: 0px;
    }
  } /* 左 ＼ */
  &:last-child {
    margin-left: 10px;
    transform: scaleX(-1);

    @media (max-width: 768px) {
      margin-left: 0px;
    }
  } /* 右 ／（反転） */
}
.c-cv-lead--onGradient {
  color: var(--color-white);

  /* グラデーション帯上では斜線もテキスト色に合わせる */
  .c-cv-lead__line {
    background: currentColor;
  }
}

/* --- 本文中インラインリンク --- */
.c-inline-link {
  color: var(--color-navy);
  text-decoration: underline;
  &:hover {
    text-decoration: none;
  }
}

/* ===========================================
   MV（ヒーロー）
=========================================== */
.s-mv {
  position: relative;
  overflow: hidden;
  /* ロゴの mix-blend-mode:multiply がヒーロー背景と合成されるよう、ここを合成の基準にする */
  isolation: isolate;
  /* 背景＝人物イラスト（PC・固定1600px・センター）＋斜めストライプ＋ベース色 */
  background-color: var(--color-bg-hero);
  background-image:
    url("/kasuhara/assets/img/mv-char.png"),
    repeating-linear-gradient(
      74deg,
      #f5ece6 0 6px,
      rgba(255, 255, 255, 0) 11px 0
    );
  background-repeat: no-repeat, repeat;
  background-position:
    center,
    top left;
  background-size:
    1600px auto,
    auto; /* 人物は固定サイズ＝拡縮しない・端は見切れる */
  padding: 65px 0 50px;

  @media (max-width: 768px) {
    /* SPは人物なし（斜めストライプのみ） */

    background-image:
      url("/kasuhara/assets/img/mv-bg.svg"),
      repeating-linear-gradient(
        74deg,
        #f5ece6 0 6px,
        rgba(255, 255, 255, 0) 11px 0
      );
    background-repeat: no-repeat, repeat;
    background-position:
      bottom 19px center,
      top left;
    background-size: auto;
    padding: 32px 0 23px;
  }
}
.s-mv__inner {
  text-align: center;
}
/* キャッチ（ロゴ下の一言・両脇にキラキラ装飾） */
.s-mv__catch {
  position: relative;
  z-index: 1; /* リボンの上に重ねる */
  color: var(--color-navy);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
  margin-top: 34px;

  /* 両脇のキラキラ（共通SVGを mask で表示。色は background で決まる＝色違い流用可） */
  &::before,
  &::after {
    content: "";
    display: inline-block;
    width: 20px;
    height: 23px;
    vertical-align: middle;
    background: #5980a1;
    -webkit-mask: url("/kasuhara/assets/img/deco-sparkle.svg") no-repeat
      center / contain;
    mask: url("/kasuhara/assets/img/deco-sparkle.svg") no-repeat center /
      contain;
  }
  &::before {
    margin-right: 8px;
    @media (max-width: 768px) {
      margin-right: 0px;
    }
  }
  &::after {
    margin-left: 7px;
    transform: scaleX(-1);
    @media (max-width: 768px) {
      margin-left: 1px;
    }
  }

  @media (max-width: 768px) {
    font-size: 16px;
    margin-top: 24px;

    &::before,
    &::after {
      width: 24px;
      height: 22px;
      margin-top: 4px;
      /* margin-left: 0px; */
    }
  }
}
.s-mv__logo {
  width: 543px;
  margin-inline: auto;
  mix-blend-mode: multiply;

  @media (max-width: 768px) {
    width: 335px;
  }
}
/* リボン帯（装飾は画像／文字は上に載せる。PC/SPで出し分け） */
.s-mv__title {
  display: inline-block;
  margin-top: -10px;
  padding: 17px 74px;
  width: 640px;
  color: var(--color-brown);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.036em;
  background: url("/kasuhara/assets/img/deco-rebon_pc.png") no-repeat center /
    100% 100%;

  @media (max-width: 768px) {
    width: 345px;
    padding: 15px 0 14px;
    font-size: 20px;
    line-height: 1.4;
    margin-top: -12px;
    background-image: url("/kasuhara/assets/img/deco-rebon_sp.png");

    & > span {
      font-size: 24px;
      line-height: 1.26em;
    }
  }
  .text-small {
    font-size: 24px;
    @media (max-width: 768px) {
      font-size: 20px;
    }
  }
}
.s-mv__desc {
  color: var(--color-brown);
  font-size: 18px;
  line-height: 28px;
  letter-spacing: 0.02em;
  margin-top: 18px;

  @media (max-width: 768px) {
    font-size: 14px;
    line-height: 24px;
    margin-top: 15px;
  }
}

/* ===========================================
   SEC01
=========================================== */
.s-sec01 {
  padding-top: 72px;
  background: var(--color-white);

  @media (max-width: 768px) {
    padding-top: 40px;
  }
}

/* --- 導入（括弧ボックス + 人物） --- */
.s-sec01__intro {
  padding: 17px 60px 11px;

  .u-navy {
    margin-right: 5px;
  }

  @media (max-width: 768px) {
    text-align: left;
    padding: 22px 20px 22px;

    .c-heading-xl {
      text-align: left;
    }
  }
}
/* 下部の下向きアロー装飾（次ブロックへの誘導） */
.s-sec01__intro::after {
  top: calc(100% + 28px);
  background: var(--color-orange);

  @media (max-width: 768px) {
    top: calc(100% + 16px);
  }
}
.s-sec01__intro-char {
  position: absolute;
  right: 132px;
  top: -18px;
  width: 92px;

  @media (max-width: 768px) {
    right: 16px;
    top: -16px;
    width: 71px;
  }
}
.s-sec01__intro-deco {
  position: absolute;
  left: calc(50% - 294px);
  top: 15px;
  width: 44px;
}
.s-sec01__notice {
  color: var(--color-brown);
  font-size: 16px;
  line-height: 28px;
  letter-spacing: 0.02em;
  margin-top: 11px;

  @media (max-width: 768px) {
    font-size: 14px;
    line-height: 24px;
    margin-top: 8px;
  }
}

/* --- 5項目カード --- */
.s-sec01__cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px 30px;
  max-width: var(--content-max-width);
  margin: 16px auto 0;

  @media (max-width: 768px) {
    gap: 5px;
    margin-top: 7px;
  }
}
.c-num-card {
  position: relative;
  width: 320px;
  margin-top: 26px; /* 円の上半分(半円)がはみ出す分 */
  background: var(--color-white);
  text-align: center;
  border-top: none;
  border-radius: 0 0 8px 8px;
  border: 1px solid #d9c6b8;

  &:before {
    content: "";
    display: block;
    background: #fff;
    position: absolute;
    z-index: 1;
    top: -1px;
    left: -1px;
    right: -1px;
    width: calc(100% + 2px);
    height: calc(8px + 1px);
  }

  @media (max-width: 768px) {
    width: 100%;
    margin-top: 31px;
  }
}
/* 円: タイトルバーの背面。上半分(半円)だけがバーの上に覗き、下半分はバーが覆う */
.c-num-card__circle {
  position: absolute;
  z-index: 1;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--color-brown-mid);

  &::before {
    content: "";
    position: absolute;
    inset: 5px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
  }

  @media (max-width: 768px) {
    width: 70px;
    height: 70px;
    top: -25px;
  }
}
/* 数字: タイトルバーより前面。半円の接合部あたりに置く */
.c-num-card__num {
  position: absolute;
  top: -37px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 82px;
  color: var(--color-white);
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
  font-size: 26px;
  z-index: 2;

  @media (max-width: 768px) {
    width: 70px;
    height: 70px;
    top: -36px;
    font-size: 22px;
  }
}
.c-num-card__title {
  position: relative;
  z-index: 2;
  min-height: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 5px 8px;
  margin: 0 -1px 0 -1px;
  background: var(--gradient-num);
  color: var(--color-white);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.02em;
  border-radius: 8px 8px 0 0;

  @media (max-width: 768px) {
    min-height: 0;
    font-size: 18px;
    line-height: 26px;
    padding: 13px 10px;
    border-radius: 8px 8px 0 0;
  }
}
.c-num-card__list {
  text-align: left;
  padding: 14px 10px 18px 21px;
  color: var(--color-text-body);
  font-size: 16px;
  line-height: 28px;
  letter-spacing: 0.02em;

  li {
    position: relative;
    padding-left: 1.2em;

    &::before {
      content: "";
      position: absolute;
      left: 0;
      top: 0.5em;
      background: var(--color-border);
      line-height: 0;
      width: 10px;
      height: 10px;
      border-radius: 9999px;
    }
  }

  @media (max-width: 768px) {
    font-size: 14px;
    line-height: 26px;
    padding: 9px 10px 10px 26px;
  }
}

/* --- 黄色グラデーションCTA帯（全幅 + V字ノッチ） --- */
.s-sec01__cta {
  position: relative;
  background: var(--gradient-yellow);
  padding: 146px 0 80px;

  /* 上端の白いV字ノッチ */
  &::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: var(--color-white);
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    /* filter: drop-shadow(20px 17px 6px black); */
  }

  @media (max-width: 768px) {
    margin-top: 15px;
    padding: 70px 0 164px;

    &::before {
      height: 40px;
    }
  }
}
.s-sec01__cta-head {
  padding: 18px 60px 10px;

  .c-heading-md {
    line-height: 46px;
  }

  @media (max-width: 768px) {
    padding: 28px 0px 20px;
    letter-spacing: 0.05em;

    .c-heading-md {
      line-height: 30px;
    }
  }
}
.s-sec01__cta-char-l {
  position: absolute;
  right: calc(50% + 338px);
  top: -20px;
  width: 112px;
}
.s-sec01__cta-lead {
  color: var(--color-brown);
  font-size: 18px;
  line-height: 30px;
  letter-spacing: 0.02em;
  margin-top: 6px;

  @media (max-width: 768px) {
    font-size: 16px;
    line-height: 26px;
    letter-spacing: -0.05em;
    margin-top: 8px;
  }
}
.s-sec01__cta-body {
  color: var(--color-brown);
  font-size: 18px;
  line-height: 30px;
  letter-spacing: 0.02em;
  text-align: center;
  margin: 36px auto 24px;

  @media (max-width: 768px) {
    font-size: 14px;
    line-height: 24px;
    text-align: left;
    margin: 24px auto 21px;
    display: table;
  }
}
/* 強調（フォントUP。色は u-orange と併用） */
.s-sec01__cta-strong {
  font-size: 22px;

  @media (max-width: 768px) {
    font-size: 16px;
  }
}
.s-sec01__cta-btnwrap {
  position: relative;
  max-width: var(--content-max-width);
  margin-inline: auto;
}
/* SP限定：ボタン下の装飾（腕組み＋指差しの2人） */
.s-sec01__cta-char-r {
  position: absolute;
  bottom: 0px;
  width: 156px;
  left: calc(50% + 339px);

  @media (max-width: 768px) {
    top: auto;
    left: 0;
    right: 0;
    bottom: 0;
    width: 241px;
    max-width: 72%;
    margin: 19px auto 0;
    transform: translate(3px, 0px);
  }
}

/* ===========================================
   区切りバー（sec01 / sec02_03 の間）
=========================================== */
.s-divider-bar {
  background: var(--color-navy);
  text-align: center;
  padding: 7px 0;

  @media (max-width: 768px) {
    padding: 7px 16px;
  }

  .l-container {
    border-block: 1px solid rgba(255, 255, 255, 0.3);
    padding: 29px 19px 27px;
    max-width: 1016px;

    @media (max-width: 768px) {
      padding: 10px 0 16px;
    }
  }
}
/* 帯全体をアンカーリンク化（#service へスクロール） */
.s-divider-bar__link {
  display: block;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.2s;

  &:hover {
    opacity: 0.85;
  }
}
#service {
  scroll-margin-top: 24px;
}

.s-divider-bar__sub {
  color: var(--color-white);
  font-size: 20px;
  letter-spacing: 0.02em;

  @media (max-width: 768px) {
    font-size: 16px;
    line-height: 19px;
  }
}
.s-divider-bar__main {
  color: var(--color-white);
  font-size: 28px;
  font-weight: 700;
  line-height: 36px;
  letter-spacing: 0.02em;

  @media (max-width: 768px) {
    font-size: 22px;
    line-height: 30px;
    margin-top: 9px;
  }
}

/* ===========================================
   SEC02_03
=========================================== */
.s-sec0203 {
  background: var(--color-bg-blue);
  padding: 68px 0 65px;

  @media (max-width: 768px) {
    padding: 40px 0;
  }
  .c-heading-lg {
    letter-spacing: 0.02em;
  }
}
.s-sec02__lead {
  color: var(--color-text-body);
  font-size: 16px;
  line-height: 26px;
  letter-spacing: 0.02em;
  text-align: center;
  max-width: 900px;
  margin: 14px auto 0;

  & + & {
    margin-top: 10px;
  }

  @media (max-width: 768px) {
    font-size: 14px;
    line-height: 24px;
    text-align: left;

    & + & {
      margin-top: 5px;
    }
  }
}

.c-example-box {
  background: var(--color-white);
  border-radius: 10px;
  max-width: 900px;
  margin: 32px auto 0;
  padding: 26px 60px 24px;
  box-shadow: 0px 0px 10px rgba(89, 128, 161, 0.1);

  @media (max-width: 768px) {
    margin-top: 22px;
    padding: 21px 0 20px;
  }
}
.c-example-box__title {
  text-align: center;
  color: var(--color-navy);
  font-size: 24px;
  font-weight: 700;
  line-height: 29px;
  letter-spacing: 0.02em;
  margin-bottom: 20px;

  @media (max-width: 768px) {
    font-size: 18px;
    line-height: 26px;
    margin-bottom: 11px;
  }
}
.c-example-box__paren {
  color: var(--color-parenthesis);
  opacity: 0.5;
  font-size: 35px;
  font-weight: 400;
  vertical-align: -3px;

  &:first-child {
    margin-right: 14px;
  }
  &:last-child {
    margin-left: 14px;
  }

  @media (max-width: 768px) {
    font-size: 30px;
    vertical-align: -3px;

    &:first-child {
      margin-right: 7px;
    }
    &:last-child {
      margin-left: 7px;
    }
  }
}
.c-example-box__list {
  display: grid;
  grid-template-columns: repeat(3, 220px);
  justify-content: center;
  gap: 60px;

  @media (max-width: 768px) {
    grid-template-columns: 256px;
    gap: 14px;
  }
}
.c-example {
  text-align: center;
}
.c-example__img {
  width: 220px;
  height: 115px;
  margin-inline: auto;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  @media (max-width: 768px) {
    width: 200px;
    height: 100px;
  }
}
.c-example__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.c-example__tag {
  position: relative;
  z-index: 1;
  display: block;
  width: fit-content;
  margin: 0 auto 0;
  color: var(--color-white);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.02em;
  min-width: 220px;
  padding: 7px 14px 5px;

  /* 本体バー（スレートブルー・右端を斜めカット） */
  &::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: #527694;
    clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  }
  /* 左下の折り返し三角（濃いスレート） */
  &::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    z-index: -1;
    border-style: solid;
    border-width: 8px 0 0 10px;
    border-color: #375c7a transparent transparent transparent;
  }

  @media (max-width: 768px) {
    margin: 0px auto 0;
    min-width: 200px;
    padding: 6px 14px 6px;
    font-size: 16px;
  }
}
.c-example__text {
  margin-top: 12px;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0.02em;

  @media (max-width: 768px) {
    font-size: 14px;
    letter-spacing: 0.005em;
    margin-top: 14px;
  }
}

.s-sec03 {
  position: relative;
  margin-top: 82px;

  @media (max-width: 768px) {
    margin-top: 68px;
  }
}
/* 上部の下向きアロー装飾（例ボックスからの誘導） */
.s-sec03::before {
  top: -50px;
  background: var(--color-navy);

  @media (max-width: 768px) {
    top: -44px;
  }
}
.s-sec03__lead {
  text-align: center;
  max-width: 900px;
  margin: 16px auto 0;
  font-size: 16px;
  line-height: 26px;
  letter-spacing: 0.02em;

  @media (max-width: 768px) {
    margin: 13px auto 0;
    font-size: 14px;
    line-height: 24px;
    text-align: left;
  }
}
.s-sec03__img {
  max-width: 900px;
  margin: 30px 40px 0;

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

  @media (max-width: 768px) {
    max-width: 345px;
    margin: 20px auto 0;
  }
}

/* 見出し内の引用符装飾（カスハラ等を囲む・色は固定SVG #acbfd0） */
.c-quote::before,
.c-quote::after {
  content: "";
  display: inline-block;
  width: 20px;
  height: 18px;
  vertical-align: 0.32em; /* 文字の上部に寄せる */
  background: center / contain no-repeat;

  @media (max-width: 768px) {
    width: 16px;
    height: 15px;
    vertical-align: 0.3em;
  }
}
.c-quote::before {
  background-image: url("/kasuhara/assets/img/deco-quote_e.svg"); /* 開き “ */
  margin: 0px 10px 0 8px;
}
.c-quote::after {
  background-image: url("/kasuhara/assets/img/deco-quote_h.svg"); /* 閉じ ” */
  margin: 0 8px 0 10px;
}
.s-sec03__closing {
  text-align: center;
  margin-top: 27px;

  @media (max-width: 768px) {
    margin-top: 21px;
  }
}

/* ===========================================
   SEC04
=========================================== */
.s-sec04 {
  background: var(--color-bg-pink);
  padding: 85px 0 78px;

  .c-heading-lg {
    letter-spacing: 0.015em;
  }

  @media (max-width: 768px) {
    padding: 37px 0 40px;
  }
}
.s-sec04__h2-sub {
  @media (max-width: 768px) {
    font-size: 18px;
  }
}
.s-sec04__lead {
  text-align: center;
  max-width: 900px;
  margin: 27px auto 0;
  font-size: 16px;
  line-height: 28px;
  letter-spacing: 0.02em;

  .c-ribbon-banner + & {
    margin-top: 29px;
  }

  &.lead-02 {
    margin-top: 15px;
    @media (max-width: 768px) {
      text-align: center;
    }
  }

  @media (max-width: 768px) {
    font-size: 14px;
    line-height: 24px;
    text-align: left;
    margin-top: 11px;

    .c-ribbon-banner + & {
      margin-top: 23px;
    }
  }
}

/* 重なりは z-index を使わず、子要素の DOM 順(タブ→中央バー→テキスト)の
   ペイント順序で表現する。全子要素を positioned にして DOM 順に重ねる。 */
.c-ribbon-banner {
  position: relative;
  color: var(--color-white);
  text-align: center;
  padding: 14px 0 10px;
  width: calc(100% - 60px);
  max-width: 880px;
  height: 82px;
  margin: 39px auto 0;
  align-items: center;
  display: flex;
  justify-content: center;

  @media (max-width: 768px) {
    width: calc(100% - 20px);
    margin-top: 32px;
    padding-block: 13px;
    height: 62px;
  }
}
/* 両端のタブ（濃茶・中央バーより10px下ずらし=リボンの折り返し表現）
   外側の端は clip-path でV字に切り込む（リボンの切れ目）。SPは切れ目なしの矩形 */
.c-ribbon-banner__tab {
  --notch: 15px;
  position: absolute;
  top: 10px;
  height: 100%;
  width: 60px;
  background: var(--color-brown);

  @media (max-width: 768px) {
    width: 30px;
    /* 切れ目なし（頂点を外側の辺に潰して矩形にする） */
    --notch: 0px;
  }
}
.c-ribbon-banner__tab--l {
  left: -30px;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, var(--notch) 50%);

  @media (max-width: 768px) {
    left: -10px;
  }
}
.c-ribbon-banner__tab--r {
  right: -30px;
  clip-path: polygon(
    0 0,
    100% 0,
    calc(100% - var(--notch)) 50%,
    100% 100%,
    0 100%
  );

  @media (max-width: 768px) {
    right: -10px;
  }
}
/* 中央バー（濃茶）+ 内側の白セパレータ線2本。タブより後の要素なので前面に覆う */
.c-ribbon-banner__bar {
  position: absolute;
  inset: 0;
  background-color: var(--color-brown-dark);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.3)),
    linear-gradient(rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.3));
  background-size:
    1px calc(100% - 16px),
    1px calc(100% - 16px);
  background-position:
    10px 8px,
    calc(100% - 10px) 8px;
  background-repeat: no-repeat;

  @media (max-width: 768px) {
    background-position:
      5px 8px,
      calc(100% - 5px) 8px;
  }
}
/* テキストは最後の positioned 要素 = 最前面 */
.c-ribbon-banner__title {
  position: relative;
  font-size: 28px;
  font-weight: 700;
  line-height: 34px;
  letter-spacing: 0.02em;

  @media (max-width: 768px) {
    font-size: 20px;
    line-height: 26px;
  }
}
.c-ribbon-banner__sub {
  position: relative;
  margin-top: 4px;
  font-size: 20px;
  line-height: 34px;
  letter-spacing: 0.02em;

  @media (max-width: 768px) {
    margin-top: 0px;
    font-size: 16px;
    line-height: 26px;
  }
}

.s-sec04__cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px 30px;
  max-width: var(--content-max-width);
  margin: 30px auto 0;

  @media (max-width: 768px) {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 20px;
  }
}
.c-service-card {
  position: relative;
  background: var(--color-white);
  border-radius: 10px;
  padding: 26px 18px 24px;
  text-align: center;
  overflow: hidden;

  @media (max-width: 768px) {
    padding: 22px 15px 19px;
  }

  /* 3枚目: タイトル2行のため個別調整 */
  &:nth-child(3) {
    padding: 26px 20px 20px;

    @media (max-width: 768px) {
      padding: 18px 15px 20px;

      .c-service-card__img {
        margin-top: 8px;
      }
    }
  }

  /* 4枚目: タイトル1行+（有償）注記のため個別調整 */
  &:nth-child(4) {
    padding: 38px 20px 20px;

    .c-service-card__title {
      display: flex;
      gap: 6px;
      justify-content: center;
      align-items: center;
      font-size: 24px;
      line-height: 1;

      > span {
        display: inline-block;
        position: relative;
        top: 1px;
        font-size: 14px;
      }
      .label {
        display: inline-block;
        background: #e58011;
        color: #fff;
        padding: 6px 10px 4px;
        border-radius: 9999px;
        margin-top: -6px;
        @media (max-width: 768px) {
          font-size: 12px;
        }
      }
    }
    .c-service-card__img {
      height: 150px;
      margin-top: 30px;
    }

    @media (max-width: 768px) {
      padding: 20px 15px 20px;

      .c-service-card__title {
        font-size: 18px;
      }
      .c-service-card__img {
        height: 120px;
        margin-top: 8px;
      }
    }
  }
}
.c-service-card__num {
  position: absolute;
  top: -10px;
  left: 20px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 70px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-bg-pink);
  line-height: 1;

  @media (max-width: 768px) {
    font-size: 60px;
    top: -8px;
    left: 15px;
  }
}
.c-service-card__title {
  position: relative;
  color: var(--color-brown);
  font-size: 22px;
  font-weight: 700;
  line-height: 30px;
  letter-spacing: 0.02em;

  @media (max-width: 768px) {
    font-size: 18px;
    line-height: 28px;
  }
}
.c-service-card__img {
  height: 150px;
  width: auto;
  margin: 10px auto 0;
  object-fit: contain;

  @media (max-width: 768px) {
    height: 120px;
    margin-top: 9px;
  }
}
.c-service-card__desc {
  color: var(--color-text-body);
  font-size: 16px;
  line-height: 26px;
  letter-spacing: 0.02em;
  margin-top: 15px;

  @media (max-width: 768px) {
    font-size: 14px;
    line-height: 24px;
    margin-top: 12px;
  }

  &.-textFlow-left {
    @media (max-width: 768px) {
      text-align: left;
    }
  }
}
/* 05カード（暫定・PCでは全幅） */
.c-service-card--wide {
  grid-column: 1 / -1;

  @media (max-width: 768px) {
    grid-column: auto;
  }
}

/* ===========================================
   CV（グラデーションCTA帯・小/大 共通）
=========================================== */
.s-cv-small,
.s-cv-large {
  background: var(--gradient-cv);
  text-align: center;
}
.s-cv-small {
  padding: 33px 30px 38px;

  @media (max-width: 768px) {
    padding: 32px 0 40px;
    background: linear-gradient(131deg, #084f79 15%, #946f56 85%);
  }
}
.s-cv-large {
  position: relative;
  overflow: hidden;
  padding: 67px 69px 56px;
  /* 背景マーク（白シールド＋吹き出し・opacity0.1内蔵の正方形SVG）を左寄せで重ねる（高さ基準・伸縮させない） */
  background: var(--gradient-cv);

  @media (max-width: 768px) {
    padding: 50px 0 46px;
    /* SPはマークを中央上寄せ */
    background: linear-gradient(151deg, #084f79 8%, #946f56 92%);
  }
  &:before {
    pointer-events: none;
    content: "";
    position: absolute;
    right: calc(50% + 340px);
    top: -20px;
    display: inline-block;
    width: 320px;
    height: 320px;
    background: url("/kasuhara/assets/img/large_deco-mark.svg") no-repeat
      center / 320px auto;
    @media (max-width: 768px) {
      width: 250px;
      height: 250px;
      background-size: 250px auto;
      right: auto;
      left: -25px;
    }
  }
}

.s-cv-large__title {
  color: var(--color-white);
  font-size: 32px;
  font-weight: 700;
  line-height: 40px;
  letter-spacing: 0.02em;

  @media (max-width: 768px) {
    font-size: 22px;
    line-height: 30px;
  }
}
.s-cv-large__desc {
  color: var(--color-white);
  font-size: 18px;
  line-height: 28px;
  letter-spacing: 0.02em;
  margin-top: 12px;
  margin-bottom: 48px;

  @media (max-width: 768px) {
    font-size: 15px;
    line-height: 23px;
    margin-bottom: 32px;
  }
}

/* ===========================================
   SEC_QA（FAQ）
=========================================== */
.s-faq {
  background: var(--color-white);
  padding: 86px 0 80px;

  .c-heading-lg {
    letter-spacing: 0.02em;
  }

  @media (max-width: 768px) {
    padding: 43px 0;
  }
}
.c-qa-list {
  max-width: 900px;
  margin: 36px auto 0;
  border-top: 1px solid var(--color-border-qa);

  @media (max-width: 768px) {
    margin-top: 24px;
  }
}
.c-qa-item {
  border-bottom: 1px solid var(--color-border-qa);
  padding: 24px 10px 24px;

  @media (max-width: 768px) {
    padding: 14px 4px 22px 0;
  }
}
.c-qa-item__q {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--color-brown);

  @media (max-width: 768px) {
    padding-top: 4px;
    font-size: 16px;
    line-height: 1.45;
    gap: 8px;
  }

  .block-text {
    padding-top: 5px;
  }
}
.c-qa-item__a {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font-size: 16px;
  letter-spacing: 0.02em;
  color: var(--color-text-body);
  margin-top: 6px;
  line-height: 1.5;

  .block-text {
    padding-top: 9px;

    @media (max-width: 768px) {
      padding-top: 0;
      line-height: 1.58;
    }
  }
  p + p {
    margin-top: 4px;
  }

  @media (max-width: 768px) {
    font-size: 14px;
    margin-top: 11px;
    gap: 8px;
    margin-top: 7px;
  }
}
.c-qa-item__mark {
  flex-shrink: 0;
  width: 36px;
  height: auto;
  margin-left: 2px;

  @media (max-width: 768px) {
    width: 28px;
    margin-left: 0;
    .c-qa-item__a & {
      width: 30px;

      margin: -6px 0 0 0;
    }
  }
}

/* ===========================================
   SERVICE（問合せページ /kasuhara/service/）
   ※ TOPと同じ本ファイルに集約。ネスト記法で統一
=========================================== */
.kasuhara-service {
  --svc-max: 960px;
  font-family:
    Meiryo, "Hiragino Kaku Gothic ProN", "ＭＳ Ｐゴシック", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text-body);
  -webkit-font-smoothing: antialiased;

  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }
  :where(img) {
    max-width: 100%;
    height: auto;
    display: block;
  }
  :where(a) {
    color: inherit;
    text-decoration: none;
  }
  :where(h1, h2, p) {
    margin: 0;
  }

  .l-container {
    width: 100%;
    max-width: calc(var(--svc-max) + 40px);
    margin-inline: auto;
    padding-inline: 20px;

    @media (max-width: 768px) {
      padding-inline: 0;
    }
  }
}

/* --- ヒーロー --- */
.s-svc-hero {
  background: var(--color-white);
  text-align: center;
  padding: 80px 0 65px;
  @media (max-width: 768px) {
    padding: 40px 0 24px;
  }
}
.s-svc-hero__logo {
  width: 500px;
  margin-inline: auto;
  mix-blend-mode: multiply;

  @media (max-width: 768px) {
    width: 335px;
  }
}
.s-svc-hero__lead {
  color: var(--color-brown);
  font-size: 18px;
  line-height: 30px;
  letter-spacing: 0.02em;
  margin-top: 32px;

  @media (max-width: 768px) {
    font-size: 16px;
    line-height: 26px;
    margin-top: 22px;
  }
}

/* --- 本体（カード群） --- */
.s-svc-body {
  background: #f5efeb;
  padding: 24px 0 120px;

  @media (max-width: 768px) {
    padding: 24px 20px 87px;
  }
}
/* ご契約者限定サービスの注記 */
.s-svc-note {
  max-width: var(--svc-max);
  margin: 0 auto 24px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-brown);
  text-indent: -1em;
  padding-left: 1em;

  @media (max-width: 768px) {
    font-size: 12px;
    line-height: 1.6;
    margin-bottom: 20px;
  }
}
.c-svc-card {
  background: var(--color-white);
  max-width: var(--svc-max);
  margin: 0 auto;
  padding: 16px 0px 24px;
  border-radius: 8px;

  & + & {
    margin-top: 30px;
  }

  @media (max-width: 768px) {
    padding: 12px 0 15px;
    & + & {
      margin-top: 24px;
    }
  }
}
.c-svc-card__title {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  color: var(--color-brown);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.065em;
  text-align: center;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-border);

  @media (max-width: 768px) {
    font-size: 18px;
    line-height: 1.35;
    padding: 0 26px 8px;
    letter-spacing: 0.015em;
  }
  .small {
    font-size: 18px;
    line-height: 1.75;
    @media (max-width: 768px) {
      font-size: 14px;
    }
  }
  .small-notice {
    display: block;
    margin-top: 4px;
    text-indent: -1em;
    padding-left: 1em;
    font-weight: normal;
    font-size: 14px;
    line-height: 1.75;
    @media (max-width: 768px) {
      font-size: 12px;
    }
  }
}
.c-svc-card__btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  justify-content: center;
  gap: 28px;
  margin-top: 24px;
  padding: 0 60px;
  @media (max-width: 768px) {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 16px;
    padding: 0 16px;
  }
}
/* ボタンが1つのカードは中央配置 */
.c-svc-card__btns--single {
  grid-template-columns: min(400px, 100%);

  @media (max-width: 768px) {
    grid-template-columns: 1fr;
  }
}

/* --- サービスボタン（TOP の .c-btn を流用） --- */

/* サイズ調整（.c-btn と併用） */
.c-svc-btn {
  max-width: none;
  margin-inline: 0;
  min-height: 70px;
  padding: 10px 48px;
  font-size: 20px;
  color: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);

  @media (max-width: 768px) {
    min-height: 60px;
    padding: 10px 40px;
    font-size: 18px;
  }
}

/* アウトライン（白地・オレンジ） */
.c-btn--outline {
  background: var(--color-white);
  color: var(--color-orange);
  border: 1px solid var(--color-orange);

  /* 右端ストリップ（淡いオレンジ） */
  &::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 40px;
    background: #fbe9d1;
  }

  @media (max-width: 768px) {
    &::after {
      width: 30px;
    }
  }
}

/* PDFボタン（ストリップなし・アイコンをインライン） */
.c-btn--pdf {
  gap: 10px;
  padding-inline: 24px;

  &::after {
    display: none;
  }
}
.c-btn__pdf {
  width: 15px;
  height: 20px;
  flex: 0 0 auto;
  /* 色付きSVGをそのまま配置（塗りボタン用：白書類＋オレンジスウッシュ） */
  background: url("/kasuhara/assets/img/icon-pdf.svg") no-repeat center /
    contain;
}
/* 白抜きボタンは色反転版（オレンジ書類＋白スウッシュ） */
.c-btn--outline .c-btn__pdf {
  background-image: url("/kasuhara/assets/img/icon-pdf-invert.svg");
}
/* Wordファイル（.docx）用アイコン。文字部分は抜きなのでボタン地色が透ける */
.c-btn__docx {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  background: url("/kasuhara/assets/img/icon-docx.svg") no-repeat center /
    contain;
}
.c-btn--outline .c-btn__docx {
  background-image: url("/kasuhara/assets/img/icon-docx-invert.svg");
}

/* --- PDFダウンロードモーダル --- */
body.is-modal-open {
  overflow: hidden;
}
.c-svc-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;

  &[hidden] {
    display: none;
  }
}
.c-svc-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}
.c-svc-modal__box {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 760px;
  background: var(--color-white);
  border-radius: 8px;
  padding: 40px 60px 43px;
  text-align: center;

  @media (max-width: 768px) {
    max-width: 340px;
    padding: 24px 25px 32px;
    border-radius: 8px;
  }
}
.c-svc-modal__close {
  position: absolute;
  top: 15px;
  right: 13px;
  width: 28px;
  height: 28px;
  background: none;
  cursor: pointer;
  @media (max-width: 768px) {
    top: 12px;
    right: 11px;
    width: 22px;
    height: 22px;
  }

  &::before,
  &::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 22px;
    height: 2px;
    background: #bfaea2;
  }
  &::before {
    transform: translate(-50%, -50%) rotate(45deg);
  }
  &::after {
    transform: translate(-50%, -50%) rotate(-45deg);
  }
}
.c-svc-modal__text {
  font-size: 18px;
  color: var(--color-text-body);
  letter-spacing: 0.02em;

  @media (max-width: 768px) {
    font-size: 16px;
    line-height: 1.5;
  }
}
.c-svc-modal__note {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.6;
  color: #888;

  @media (max-width: 768px) {
    font-size: 12px;
  }
}
.c-svc-modal__input {
  width: 100%;
  max-width: 300px;
  margin: 14px auto 0;
  padding: 14px 16px;
  font-size: 18px;
  text-align: center;
  letter-spacing: 0.1em;
  border: 1px solid #cfcfcf;
  border-radius: 4px;
  background: var(--color-white);
  @media (max-width: 768px) {
    max-width: 286px;
    margin: 13px auto 0;
    padding: 15px 16px;
  }

  &::placeholder {
    color: #b7b7b7;
    letter-spacing: 0.1em;
  }
}
.c-svc-modal__submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 400px;
  min-height: 68px;
  margin: 31px auto 0;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--color-white);
  background: var(--color-orange);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  transition: opacity 0.2s;
  @media (max-width: 768px) {
    min-height: 60px;
    margin: 14px auto 0;
    font-size: 18px;
  }

  /* 10桁未入力時は非活性表示 */
  &[aria-disabled="true"] {
    opacity: 0.45;
    cursor: default;
    box-shadow: none;
  }
  &:not([aria-disabled="true"]):hover {
    opacity: 0.85;
  }
}
