@charset "UTF-8";
/* TOP 2026 改修（No.0203）＝ parts/parts-top_2026.php 用。main.css の後に読む */

#front {
  --t26-red: #E46666;
  --t26-pink: #FF8B8B;
  --t26-ink: #262629;
  --t26-teal: #5CB8B0;
  --t26-line: #EDE0DB;
}

/* ---------- 共通 ---------- */
#front .t26-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 62px;
  padding: 0 40px;
  border-radius: 40px;
  border: 2px solid var(--t26-pink);
  font-size: 18px;
  font-weight: 700;
  transition: all .4s ease;
}
#front .t26-btn--fill { background: var(--t26-pink); color: #fff; }
#front .t26-btn--line { background: #fff; color: var(--t26-pink); }
#front .t26-btn:hover { opacity: 1; }
#front .t26-btn--fill:hover { background: #fff; color: var(--t26-pink); }
#front .t26-btn--line:hover { background: var(--t26-pink); color: #fff; }
#front .t26-center-cta { margin: 0 auto; }

/* ---------- FV ---------- */
#front .t26-fv { background: #FFF8F4; overflow: hidden; }
#front .t26-fv__label { color: var(--t26-red); font-weight: 700; }
#front .t26-fv__ttl { font-weight: 500; line-height: 1.45; color: var(--t26-ink); }
#front .t26-fv__ttl span { color: var(--t26-red); }
#front .t26-fv__lead { font-weight: 500; line-height: 1.7; color: var(--t26-ink); }
#front .t26-fv__badges { display: flex; flex-wrap: wrap; gap: 16px; }
#front .t26-fv__badge {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: #fff; border: 2px solid var(--t26-red); border-radius: 14px;
}
#front .t26-fv__badge-cap { font-weight: 500; color: var(--t26-ink); }
#front .t26-fv__badge-main { font-weight: 700; color: var(--t26-red); }
#front .t26-fv__note { color: var(--t26-ink); }
#front .t26-fv__btns { display: flex; flex-wrap: wrap; gap: 16px; }
#front .t26-fv__ph {
  position: absolute; object-fit: cover; border-radius: 20px;
  border: 1px solid rgba(0,0,0,.1); box-shadow: 0 8px 24px rgba(0,0,0,.12);
}

/* ---------- intro + strengths ---------- */
#front .t26-intro { text-align: center; }
#front .t26-intro__ttl { color: var(--t26-ink); }
#front .t26-intro__ttl span { color: var(--t26-red); }
#front .t26-intro__desc { color: var(--t26-ink); line-height: 1.7; }
#front .t26-strengths__link { display: flex; align-items: center; color: #000; text-align: left; }
#front .t26-strengths__link:hover { opacity: 1; }
#front .t26-strengths__link:hover .cta { background-color: var(--t26-red); color: #fff; }
#front .t26-strengths__link:hover .cta span { color: #fff; }
#front .t26-strengths__img { border-radius: 10px; object-fit: cover; }
#front .t26-strengths__num { color: var(--t26-red); font-size: 20px; }
#front .t26-strengths__num b { font-weight: 700; margin-right: 10px; }
#front .t26-strengths__ttl { font-weight: 400; line-height: 1.43; }
#front .t26-strengths__desc { line-height: 1.6; }

/* ---------- flow ---------- */
#front .t26-flow { background: #FEF4F1; text-align: center; }
#front .t26-flow__head { display: flex; flex-direction: column; align-items: center; font-weight: 400; }
#front .t26-flow__jp { color: var(--t26-red); font-weight: 500; }
#front .t26-flow__eng { color: var(--t26-red); }
#front .t26-flow__ttl { font-weight: 500; line-height: 1.5; color: var(--t26-ink); }
#front .t26-flow__ttl span { color: var(--t26-red); }
#front .t26-flow__desc { color: var(--t26-ink); line-height: 1.6; }
#front .t26-flow__band {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  border-radius: 12px; color: #fff;
}
#front .t26-flow__band b { font-size: 20px; font-weight: 700; }
#front .t26-flow__band span { font-size: 14px; font-weight: 500; margin-top: 4px; }
#front .t26-flow__band--local { background: var(--t26-teal); }
#front .t26-flow__band--japan { background: var(--t26-red); }
#front .t26-flow__step {
  position: relative; background: #fff; border: 1px solid var(--t26-line); border-radius: 16px;
  padding: 24px; text-align: left; list-style: none;
}
#front .t26-flow__no { color: var(--t26-red); font-size: 16px; font-weight: 700; }
#front .t26-flow__name { font-size: 22px; font-weight: 700; color: var(--t26-ink); margin-top: 12px; }
#front .t26-flow__text { font-size: 15px; line-height: 1.7; color: var(--t26-ink); margin-top: 20px; }
#front .t26-flow__icon {
  position: absolute; top: 22px; right: 24px; width: 36px; height: 36px;
  fill: none; stroke: var(--t26-red); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- case ---------- */
#front .t26-case { position: relative; overflow: hidden; }
#front .t26-case__head { display: flex; flex-direction: column; font-weight: 400; }
#front .t26-case__jp { color: #000; }
#front .t26-case__eng { color: var(--t26-pink); }
#front .t26-case__list { display: flex; }
#front .t26-case__link { color: var(--t26-ink); }
#front .t26-case__img { width: 100%; aspect-ratio: 553 / 346; object-fit: cover; border-radius: 16px; }
#front .t26-case__ttl { font-weight: 700; line-height: 1.5; }
#front .t26-case__meta { font-weight: 500; }
#front .t26-case__more { color: var(--t26-red); font-weight: 700; }
#front .t26-case__deco01, #front .t26-case__deco02 { position: absolute; pointer-events: none; z-index: 0; }
#front .t26-case .container { position: relative; z-index: 1; } /* 飾りを写真・文字の下へ（11/20 小川さん指摘） */

/* =================== PC =================== */
@media screen and (min-width: 769px) {
  /* FV：1920 基準の配置を 1920 幅で中央寄せ、狭い画面は写真ブロックを縮小 */
  #front .t26-fv { padding: 150px 0 75px; } /* 固定ヘッダー 65px ＋ 85px */
  #front .t26-fv__inner { position: relative; max-width: 1680px; margin: 0 auto; padding: 0 40px; display: flex; align-items: flex-start; min-height: 700px; }
  #front .t26-fv__copy { position: relative; z-index: 2; width: 660px; flex-shrink: 0; padding-top: 21px; }
  #front .t26-fv__label { font-size: 20px; }
  #front .t26-fv__ttl { font-size: 60px; margin-top: 20px; }
  #front .t26-fv__lead { font-size: 22px; margin-top: 28px; }
  #front .t26-fv__badges { margin-top: 44px; }
  #front .t26-fv__badge { height: 86px; padding: 0 24px; }
  #front .t26-fv__badge-cap { font-size: 14px; }
  #front .t26-fv__badge-main { font-size: 24px; margin-top: 4px; }
  #front .t26-fv__note { font-size: 13px; margin-top: 14px; }
  #front .t26-fv__btns { margin-top: 32px; }
  #front .t26-fv__photos { position: relative; flex: 0 0 870px; height: 700px; margin-left: 80px; }
  #front .t26-fv__ph--group   { left: 0;     top: 0;   width: 200px; height: 270px; }
  #front .t26-fv__ph--main    { left: 230px; top: 0;   width: 640px; height: 400px; }
  #front .t26-fv__ph--grandma { left: 0;     top: 300px; width: 340px; height: 400px; z-index: 1; }
  #front .t26-fv__ph--study   { left: 360px; top: 512px; width: 150px; height: 188px; }
  #front .t26-fv__ph--class2  { left: 530px; top: 473px; width: 340px; height: 227px; }
  #front .t26-fv__photos { transform-origin: left top; }

  #front .t26-intro { padding: 108px 0 0; }
  #front .t26-intro__ttl { font-size: 44px; line-height: 60px; }
  #front .t26-intro__desc { font-size: 22px; margin-top: 24px; }
  #front .t26-strengths { max-width: 1146px; margin: 117px auto 0; }
  #front .t26-strengths__item + .t26-strengths__item { margin-top: 20px; }
  #front .t26-intro .t26-intro__inner { max-width: 1300px; }
  #front .t26-strengths__link { padding: 27px 24px; gap: 63px; }
  #front .t26-strengths__body { width: 470px; }
  #front .t26-strengths__item--rev .t26-strengths__link { flex-direction: row-reverse; padding-left: 68px; justify-content: space-between; gap: 0; }
  #front .t26-strengths__img { width: 538px; height: 338px; flex-shrink: 0; }
  #front .t26-strengths__ttl { font-size: 28px; margin-top: 25px; }
  #front .t26-strengths__desc { font-size: 15px; margin-top: 30px; }
  #front .t26-strengths__body .cta { margin-top: 30px; }
  #front .t26-strengths > .t26-center-cta { margin-top: 35px; }

  #front .t26-flow { margin-top: 70px; padding: 110px 0 110px; }
  #front .t26-flow .container { max-width: 1530px; }
  #front .t26-flow__jp { font-size: 22px; }
  #front .t26-flow__eng { font-size: 44px; line-height: 70px; margin-top: 12px; }
  #front .t26-flow__ttl { font-size: 40px; margin-top: 28px; }
  #front .t26-flow__desc { font-size: 18px; margin-top: 20px; }
  #front .t26-flow__chart { margin: 62px auto 0; width: 1496px; max-width: 100%; }
  #front .t26-flow__bands { display: grid; grid-template-columns: repeat(5, 1fr); column-gap: 34px; }
  #front .t26-flow__band { height: 84px; }
  #front .t26-flow__band--local { grid-column: 2 / 3; }
  #front .t26-flow__band--japan { grid-column: 3 / 5; }
  #front .t26-flow__steps { display: grid; grid-template-columns: repeat(5, 1fr); column-gap: 34px; margin-top: 12px; padding: 0; }
  #front .t26-flow__step { min-height: 230px; }
  #front .t26-flow__step + .t26-flow__step::before {
    content: "▶"; position: absolute; left: -25px; top: 50%; transform: translateY(-50%);
    color: var(--t26-red); font-size: 16px;
  }
  #front .t26-flow .t26-center-cta { margin-top: 56px; }

  #front .t26-case { padding: 66px 0 110px; }
  #front .t26-case .container { max-width: 1176px; }
  #front .t26-case__jp { font-size: 18px; }
  #front .t26-case__eng { font-size: 44px; margin-top: 26px; }
  #front .t26-case__list { gap: 40px; margin-top: 50px; align-items: flex-start; }
  #front .t26-case__item { flex: 1; }
  #front .t26-case__ttl { font-size: 30px; margin-top: 20px; }
  #front .t26-case__meta { font-size: 15px; margin-top: 20px; }
  #front .t26-case__more { font-size: 15px; margin-top: 20px; }
  #front .t26-case .t26-center-cta { margin-top: 64px; }
  #front .t26-case__deco01 { left: -96px; bottom: 0; width: 384px; height: auto; }
  #front .t26-case__deco02 { right: -77px; top: -10px; width: 384px; height: auto; }
}

/* FV 写真：画面が狭いときはブロックごと縮小（1600px 未満） */
/* 1720px 未満は写真ブロックを縮小（transform は幅を詰めないので、余白は margin-bottom で詰める） */
@media screen and (min-width: 1201px) and (max-width: 1719px) {
  #front .t26-fv__copy { width: 600px; }
  #front .t26-fv__ttl { font-size: 54px; }
  #front .t26-fv__lead { font-size: 20px; }
  #front .t26-fv__badges { gap: 10px; flex-wrap: nowrap; }
  #front .t26-fv__badge { padding: 0 18px; }
  #front .t26-fv__badge-main { font-size: 22px; }
  #front .t26-fv__btns { gap: 12px; flex-wrap: nowrap; }
  #front .t26-btn { padding: 0 26px; font-size: 17px; }
  #front .t26-fv__photos { margin-left: 40px; transform: scale(calc((100vw - 760px) / 900px)); }
}
@media screen and (min-width: 769px) and (max-width: 1200px) {
  #front .t26-fv__inner { flex-direction: column; min-height: 0; }
  #front .t26-fv__photos { transform: none; margin: 40px 0 0; width: 870px; max-width: 100%; height: 700px; }
  #front .t26-strengths { padding: 0 15px; }
  #front .t26-strengths__link, #front .t26-strengths__item--rev .t26-strengths__link { gap: 32px; padding-left: 0; padding-right: 0; }
  #front .t26-strengths__img { width: 45%; height: auto; aspect-ratio: 538 / 338; }
  #front .t26-flow__chart { overflow-x: auto; }
  #front .t26-flow__bands, #front .t26-flow__steps { min-width: 1200px; }
}

/* =================== SP =================== */
@media screen and (max-width: 768px) {
  #front .t26-fv { padding: 92px 0 48px; } /* 固定ヘッダー 60px ＋ 32px */
  #front .t26-fv__inner { display: flex; flex-direction: column; padding: 0 20px; }
  #front .t26-fv__copy { order: 1; }
  #front .t26-fv__photos { order: 2; position: relative; height: calc((100vw - 40px) * 0.8); margin-top: 32px; }
  #front .t26-fv__label { font-size: 14px; }
  #front .t26-fv__ttl { font-size: 30px; margin-top: 12px; }
  #front .t26-fv__lead { font-size: 15px; margin-top: 16px; }
  #front .t26-fv__badges { gap: 8px; margin-top: 24px; }
  #front .t26-fv__badge { flex: 1 1 auto; padding: 10px 12px; border-radius: 10px; }
  #front .t26-fv__badge-cap { font-size: 11px; }
  #front .t26-fv__badge-main { font-size: 16px; margin-top: 2px; }
  #front .t26-fv__note { font-size: 11px; margin-top: 10px; line-height: 1.5; }
  #front .t26-fv__btns { flex-direction: column; margin-top: 24px; gap: 12px; }
  #front .t26-btn { height: 56px; font-size: 16px; width: 100%; }
  #front .t26-fv__ph { border-radius: 12px; }
  #front .t26-fv__ph--main    { right: 0; top: 0; width: 72%; height: 52%; }
  #front .t26-fv__ph--group   { left: 0; top: 6%; width: 25%; height: 40%; }
  #front .t26-fv__ph--grandma { left: 0; top: 50%; width: 40%; height: 50%; z-index: 1; }
  #front .t26-fv__ph--study   { left: 43%; top: 60%; width: 18%; height: 40%; }
  #front .t26-fv__ph--class2  { right: 0; top: 60%; width: 36%; height: 40%; }

  #front .t26-intro { padding: 56px 0 0; }
  #front .t26-intro__ttl { font-size: 22px; line-height: 1.5; }
  #front .t26-intro__desc { font-size: 14px; margin-top: 16px; }
  #front .t26-strengths { margin-top: 48px; padding: 0 20px; }
  #front .t26-strengths__item + .t26-strengths__item { margin-top: 48px; }
  #front .t26-strengths__link, #front .t26-strengths__item--rev .t26-strengths__link { flex-direction: column; align-items: stretch; }
  #front .t26-strengths__img { width: 100%; height: auto; aspect-ratio: 538 / 338; }
  #front .t26-strengths__body { margin-top: 20px; }
  #front .t26-strengths__num { font-size: 16px; }
  #front .t26-strengths__ttl { font-size: 20px; margin-top: 12px; }
  #front .t26-strengths__desc { font-size: 14px; margin-top: 14px; }
  #front .t26-strengths__body .cta { margin-top: 20px; }
  #front .t26-strengths > .t26-center-cta { margin-top: 40px; }

  #front .t26-flow { margin-top: 56px; padding: 56px 0; }
  #front .t26-flow__jp { font-size: 14px; }
  #front .t26-flow__eng { font-size: 32px; margin-top: 8px; }
  #front .t26-flow__ttl { font-size: 22px; margin-top: 20px; }
  #front .t26-flow__desc { font-size: 14px; margin-top: 14px; }
  #front .t26-flow__chart { margin-top: 32px; }
  #front .t26-flow__bands { display: none; }
  #front .t26-flow__steps { display: flex; flex-direction: column; gap: 28px; padding: 0; }
  #front .t26-flow__step { padding: 20px; }
  #front .t26-flow__step + .t26-flow__step::before {
    content: "▼"; position: absolute; top: -22px; left: 50%; transform: translateX(-50%);
    color: var(--t26-red); font-size: 12px;
  }
  #front .t26-flow__step--local { border-left: 6px solid var(--t26-teal); }
  #front .t26-flow__step--japan { border-left: 6px solid var(--t26-red); }
  #front .t26-flow__name { font-size: 18px; margin-top: 8px; }
  #front .t26-flow__text { font-size: 14px; margin-top: 12px; }
  #front .t26-flow__icon { width: 28px; height: 28px; top: 18px; right: 18px; }
  #front .t26-flow .t26-center-cta { margin-top: 36px; }

  #front .t26-case { padding: 56px 0 64px; }
  #front .t26-case .container { padding: 0 20px; }
  #front .t26-case__jp { font-size: 14px; }
  #front .t26-case__eng { font-size: 32px; margin-top: 12px; }
  #front .t26-case__list { flex-direction: column; gap: 40px; margin-top: 28px; }
  #front .t26-case__ttl { font-size: 20px; margin-top: 14px; }
  #front .t26-case__meta { font-size: 13px; margin-top: 10px; line-height: 1.5; }
  #front .t26-case__more { font-size: 14px; margin-top: 10px; }
  #front .t26-case .t26-center-cta { margin-top: 40px; }
  #front .t26-case__deco01 { left: -60px; bottom: 0; width: 160px; height: auto; }
  #front .t26-case__deco02 { right: -40px; top: 0; width: 140px; height: auto; }
  #front .t26-center-cta { width: 180px; }
}

/* 11/21 目視点検の直し（No.0203 A3） */
@media screen and (max-width: 768px) {
  #front .contact-banner.contact-contact { background-image: linear-gradient(to right, rgba(0,0,0,.3), rgba(0,0,0,.1) 55%, rgba(0,0,0,0) 75%), url(../images/front/contact-contact__bg.jpg); }
}

/* 11/21 最後の行に1〜2字だけ落ちないよう、語のかたまりで折り返す（No.0203 A5） */
@media screen and (max-width: 768px) { .t26-nw { display: inline-block; } }  /* PC の改行位置は変えない */
@media screen and (max-width: 768px) {
  #front .contact-contact .contact-banner__eng, #front .contact-contact .contact-banner__ttl { text-shadow: 0 1px 8px rgba(0,0,0,.35); }
}
/* 画面幅が変わっても最後の行が短くなりすぎないように（対応ブラウザだけ効く） */
@media screen and (max-width: 768px) { #front [class*="t26-"] { text-wrap: pretty; } }
