/* ========================================
   Font Face — LINE Seed JP
   ======================================== */
@font-face {
  font-family: "LINESeedJP";
  src: url("../font/WOFF2/LINESeedJP_OTF_Th.woff2") format("woff2");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "LINESeedJP";
  src: url("../font/WOFF2/LINESeedJP_OTF_Rg.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "LINESeedJP";
  src: url("../font/WOFF2/LINESeedJP_OTF_Bd.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "LINESeedJP";
  src: url("../font/WOFF2/LINESeedJP_OTF_Eb.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* ========================================
   Color Tokens — A-LIFE Design System
   ======================================== */
:root {
  /* Primary: ブルー */
  --color-primary:        #0558BE;
  --color-primary-hover:  #044798;
  --color-primary-light:  #3679CC;
  --color-primary-light50:#EFF6F9;
  --color-primary-light100:#D9EBF7;
  --color-primary-light200:#ABD8F2;
  --color-primary-deep:   #022755;

  /* Accent: イエロー（CTA） */
  --color-accent:         #FCBA03;
  --color-accent-hover:   #E5A900;

  /* Base */
  --color-white:          #FFFFFF;
  --color-black:          #000000;

  /* Text */
  --color-text-primary:   #414143;
  --color-text-secondary: #555555;
  --color-text-muted:     #888888;
  --color-text-inverse:   #FFFFFF;

  /* Background */
  --color-bg-primary:     #FFFFFF;
  --color-bg-light:       #EBF4FF;
  --color-bg-card:        #FFFFFF;
  --color-bg-footer:      #192B4A;
  --color-bg-gray:        #F1F1F4;
  --color-bg-gray10:      #F8F8FB;

  /* Mono */
  --color-mono-300:       #D8D8DB;

  /* Hero Overlay */
  --color-primary-overlay: #79B8DC;

  /* Border */
  --color-border:         rgba(0, 0, 0, 0.1);
  --color-border-light:   rgba(5, 88, 190, 0.15);

  /* Shadow */
  --shadow-light:  0px 2px 16px rgba(0, 0, 0, 0.08);
  --shadow-medium: 0px 4px 20px rgba(0, 0, 0, 0.12);
  --shadow-heavy:  0px 8px 32px rgba(0, 0, 0, 0.16);
  --shadow-hover:  0px 6px 20px rgba(0, 0, 0, 0.25);
  --shadow-nav:  0px 16px 8px rgba(0, 0, 0, 0.16);
}


/* ========================================
   Foundation — Reset & Base
   ======================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "LINESeedJP", "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  line-height: 1.7;
  color: var(--color-text-primary);
  background-color: var(--color-bg-primary);
  overflow-x: clip;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul,
ol {
  list-style: none;
}

address {
  font-style: normal;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.4;
  font-weight: 700;
}


/* ========================================
   Layout Layer (l-)
   ======================================== */

/* Container */
.l-container {
  max-width: 1100px;
  margin: 0 auto;
}

/* Header */
.l-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 68px;
  background-color: var(--color-white);
  z-index: 1000;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

@media (min-width: 769px) {
  .l-header {
    height: 100px;
  }
}

/* Header Inner */
.l-header__inner {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 0 0 16px;
}

@media (min-width: 769px) {
  .l-header__inner {
    padding: 0 0 0 40px;
    align-items: stretch;
  }
}

/* Header Logo */
.l-header__logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

@media (min-width: 769px) {
  .l-header__logo {
    margin-right: 32px;
  }
}

.c-logo__img {
  height: 30px;
  width: auto;
}

@media (min-width: 769px) {
  .c-logo__img {
    height: 36px;
  }
}

/* Header Nav（SPは全画面オーバーレイ） */
.l-header__nav {
  position: fixed;
  top: 68px;
  left: 0;
  width: 100%;
  height: calc(100vh - 68px);
  height: calc(100dvh - 68px); /* Safari: アドレスバーを除いた正確な高さ */
  overflow-y: auto;
  background-color: var(--color-primary);
  display: flex;
  flex-direction: column;
  z-index: 1001;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

.l-header__nav.is-open {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 769px) {
  .l-header__nav {
    position: static;
    width: auto;
    height: auto;
    background-color: transparent;
    flex-direction: row;
    align-items: stretch;
    flex: 1;
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: none;
    z-index: auto;
    justify-content: flex-end;
    margin-right: 32px;
  }
}



/* ナビリンクラッパー */
.l-header__nav-links {
  display: flex;
  flex-direction: column;
  padding: 0 24px;
  flex: 1;
  overflow-y: auto;
}

@media (min-width: 769px) {
  .l-header__nav-links {
    display: flex;
    flex-direction: row;
    padding: 0;
    flex: 1;
    justify-content: flex-end;
    overflow-y: visible;
  }
}

/* Nav Link */
.l-header__nav-link {
  display: flex;
  align-items: center;
  padding: 4vh 8px;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-white);
  border-bottom: 1px solid var(--color-white);
  white-space: nowrap;
}

@media (min-width: 769px) {
  .l-header__nav-link {
    padding: 0 16px;
    font-size: 16px;
    font-weight: 400;
    color: var(--color-text-primary);
    border-bottom: none;
    position: relative;
  }

    .l-header__nav-link:hover {
      color: var(--color-primary);
    }


  .l-header__nav-link::after {
    content: '';
    position: absolute;
    bottom: 39px;
    left: 13%;
    width: 0;
    height: 1px;
    background-color: var(--color-primary);
    transition: width 0.3s ease;
  }

  .l-header__nav-link:hover::after {
    width: 75%;
  }
}

/* SP専用CTAボタン群 */
.l-header__nav-sp-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 8px 24px 24px;
  flex-shrink: 0;
}

@media (min-width: 769px) {
  .l-header__nav-sp-cta {
    display: none;
  }
}

.l-header__nav-sp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 240px;
  padding: 20px 16px;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text-primary);
  background-color: var(--color-bg-gray);
  border-radius: 96px;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  white-space: nowrap;
}

.l-header__nav-sp-btn--apply {
  background-color: var(--color-accent);
  height: 61px;
  padding: 16px;
}

/* Desktop CTA block */
.l-header__cta {
  display: none;
}

@media (min-width: 769px) {
  .l-header__cta {
    display: flex;
    align-self: stretch;
    margin-left: auto;
  }
}

.l-header__cta-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 200px;
  height: 100%;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text-primary);
  gap: 4px;
  transition: opacity 0.2s;
  white-space: nowrap;
}

@media (min-width: 769px) {
  .l-header__cta-btn:hover {
    opacity: 0.85;
  }
}

.l-header__cta-btn--procedure {
  background-color: var(--color-bg-gray);
}

.l-header__cta-btn--apply {
  background-color: var(--color-accent);
  flex-direction: row;
  gap: 6px;
}

.l-header__cta-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ----------------------------------------
   Footer
   ---------------------------------------- */
.l-footer {
  font-family: "LINESeedJP", "Helvetica Neue", Arial, sans-serif;
}

/* Main（青） */
.l-footer__main {
  background-color: var(--color-primary);
  padding: 48px 24px;
}

@media (min-width: 769px) {
  .l-footer__main {
    padding: 80px 24px;
  }
}

.l-footer__main-inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

@media (min-width: 769px) {
  .l-footer__main-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 32px;
  }
}

/* Brand */
.l-footer__brand {
  flex-shrink: 0;
  color: var(--color-white);
}

.l-footer__company {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 6px;
}

@media (min-width: 769px) {
  .l-footer__company {
    font-size: 28px;
  }
}

.l-footer__license {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  margin-bottom: 40px;
}

.l-footer__address {
  font-size: 15px;
  font-weight: 400;
  color: var(--color-white);
  line-height: 1.7;
}

/* Nav */
.l-footer__nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex-shrink: 0;
  width: 200px;
}

.l-footer__nav-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 400;
  color: var(--color-white);
  line-height: 1.7;
  transition: opacity 0.2s ease;
}

.l-footer__nav-item:hover {
  opacity: 0.75;
}

.l-footer__nav-icon {
  flex-shrink: 0;
  width: 4px;
  height: 8px;
}

/* Links（監督官庁・加盟団体・指定紛争） */
.l-footer__links {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.l-footer__links-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.l-footer__links-heading {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.4;
}

.l-footer__link-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 400;
  color: var(--color-white);
  text-decoration: underline;
  line-height: 1.5;
  transition: opacity 0.2s ease;
}

.l-footer__link-item:hover {
  opacity: 0.75;
}

/* Bottom（濃い青） */
.l-footer__bottom {
  background-color: var(--color-primary-hover);
  padding: 32px 0 24px;
}

@media (min-width: 769px) {
  .l-footer__bottom {
    padding: 60px 0 40px;
  }
}

/* Policies */
.l-footer__policies {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 0;
  margin-bottom: 24px;
}

@media (min-width: 769px) {
  .l-footer__policies {
    gap: 0;
    margin-bottom: 32px;
  }
}

.l-footer__policy-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 400;
  color: var(--color-white);
  line-height: 2.5;
  padding: 0 24px;
  transition: opacity 0.2s ease;
  width: 100%;
}
@media (min-width: 769px) {
  .l-footer__policy-item {
    width: auto;
    padding: 0 16px;
  }
}

.l-footer__policy-item:hover {
  opacity: 0.75;
}

.l-footer__policy-icon {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

.l-footer__policy-divider {
  display: none;
}

@media (min-width: 769px) {
  .l-footer__policy-divider {
    display: block;
    width: 1px;
    height: 13px;
    background-color: var(--color-white);
    flex-shrink: 0;
  }
}

.l-footer__copyright {
  text-align: center;
  font-size: 12px;
  color: var(--color-white);
  line-height: 1.5;
}


/* ========================================
   Component Layer (c-)
   ======================================== */

/* Logo */
.c-logo {
  display: flex;
  align-items: center;
}

/* Hamburger */
.c-hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 68px;
  height: 68px;
  background: var(--color-primary);
  border: none;
  cursor: pointer;
  z-index: 1001;
  gap: 0;
  margin-left: auto;
}

@media (min-width: 769px) {
  .c-hamburger {
    display: none;
  }
}

.c-hamburger__line {
  display: block;
  width: 26px;
  height: 2px;
  background-color: var(--color-text-inverse);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  margin: 3px 0;
}

.c-hamburger.is-active .c-hamburger__line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.c-hamburger.is-active .c-hamburger__line:nth-child(2) {
  opacity: 0;
}

.c-hamburger.is-active .c-hamburger__line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Button Base */
.c-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: normal;
  font-family: inherit;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, opacity 0.25s ease;
  white-space: nowrap;
}

@media (min-width: 769px) {
  .c-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
  }
}

.c-btn__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

/* Accent（オレンジCTAボタン） */
.c-btn--accent {
  background-color: var(--color-accent);
  color: var(--color-text-inverse);
  border-radius: 6px;
}

@media (min-width: 769px) {
  .c-btn--accent:hover {
    background-color: var(--color-accent-hover);
  }
}

/* Hero サイズ */
.c-btn--hero {
  padding: 14px 28px;
  font-size: 15px;
  min-width: 220px;
}

@media (min-width: 769px) {
  .c-btn--hero {
    padding: 16px 40px;
    font-size: 16px;
  }
}

/* Large */
.c-btn--large {
  padding: 14px 32px;
  font-size: 15px;
  min-width: 200px;
}

@media (min-width: 769px) {
  .c-btn--large {
    padding: 16px 48px;
    font-size: 16px;
  }
}

/* Medium */
.c-btn--medium {
  padding: 9px 20px;
  font-size: 13px;
  min-width: 130px;
}

@media (min-width: 769px) {
  .c-btn--medium {
    padding: 10px 24px;
    font-size: 14px;
  }
}

/* ヘッダーCTAボタン */
.c-btn--medium.c-btn--accent {
  border-radius: 4px;
  min-width: auto;
}

/* 手続きボタン */
.c-btn--procedure {
  display: flex;
  width: 260px;
  height: 68px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border-radius: 48px;
  border: 1px solid var(--color-text-primary);
  background: var(--color-white);
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

@media (min-width: 769px) {
  .c-btn--procedure:hover {
    background-color: var(--color-text-primary);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
  }
}

/* 手続きボタン：右側アイコン */
.c-btn__icon-right {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  margin-left: 4px;
}

.c-btn--procedure .c-btn__icon-right {
  filter: none;
  transition: filter 0.25s ease;
}

@media (min-width: 769px) {
  .c-btn--procedure:hover .c-btn__icon-right {
    filter: brightness(0) invert(1);
  }
}

/* 書類ボタン */
.c-btn--doc {
  background-color: var(--color-white);
  color: var(--color-text-primary);
  border: 1.5px solid var(--color-border-light);
  border-radius: 24px;
  padding: 10px 24px;
  font-size: 13px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

@media (min-width: 769px) {
  .c-btn--doc:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-light);
  }
}

/* Scroll Top Button */
.c-scrollTopBtn {
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: 44px;
  height: 44px;
  background-color: var(--color-primary);
  color: var(--color-text-inverse);
  border: none;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background-color 0.3s ease;
  box-shadow: var(--shadow-medium);
  border: 1px var(--color-text-inverse) solid;
}

.c-scrollTopBtn.is-show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

@media (min-width: 769px) {
  .c-scrollTopBtn:hover {
    background-color: var(--color-primary-hover);
    transform: translateY(-2px);
  }
}

@media (min-width: 769px) {
  .c-scrollTopBtn {
    right: 24px;
    bottom: 24px;
    width: 48px;
    height: 48px;
  }
}

/* スクロールアニメーション基底 */
.js-animate {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js-animate.is-animated {
  opacity: 1;
  transform: translateY(0);
}


/* ========================================
   Project Layer (p-)
   ======================================== */

/* ----------------------------------------
   Hero
   ---------------------------------------- */
.p-hero {
  position: relative;
  height: auto;
  min-height: 0;
  padding-top: 0;
  display: flex;
  align-items: flex-start;
  overflow: hidden;
}

@media (min-width: 769px) {
  .p-hero {
    min-height: 860px;
    padding-top: 100px;
    align-items: center;
  }
}

/* 背景画像 */
.p-hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.p-hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* 青オーバーレイ */
.p-hero__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(24, 88, 156, 0.1);
}

/* コンテンツ */
.p-hero__content {
  position: relative;
  z-index: 1;
  padding: 234px 24px 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  max-width: none;
  width: 100%;
}

@media (min-width: 769px) {
  .p-hero__content {
    padding:10vw 0px 0 10vw;
    gap: 40px;
    max-width: 680px;
    width: auto;
  }
}

/* テキストグループ */
.p-hero__text-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
}

/* 見出しボックス（白背景） */
.p-hero__heading-box {
  display: inline-flex;
  background-color: var(--color-white);
  padding: 8px;
}

/* 見出しテキスト */
.p-hero__heading {
  font-family: "Noto Serif JP", "Hiragino Mincho ProN", serif;
  font-weight: 900;
  font-size: 18px;
  line-height: 1.2;
  color: var(--color-text-primary);
  white-space: nowrap;
  letter-spacing: 0.02em;
}

@media (min-width: 481px) {
  .p-hero__heading {
    font-size: 34px;
  }
}

@media (min-width: 769px) {
  .p-hero__heading {
    font-size: 42px;
  }
}

.p-hero__heading-accent {
  color: var(--color-primary);
}

/* ラベルボックス */
.p-hero__label {
  display: inline-flex;
  align-items: center;
  padding: 8px;
  font-size: 10px;
  line-height: 1;
  color: var(--color-white);
  letter-spacing: 0.18em;
  white-space: nowrap;
}

@media (min-width: 769px) {
  .p-hero__label {
    padding: 16px;
    font-size: 14px;
    letter-spacing: 0.18em;
  }
}

.p-hero__label--primary {
  background-color: var(--color-primary);
}

.p-hero__label--secondary {
  background-color: var(--color-primary-hover);
}

/* CTAボタン（共通） */
.p-hero__btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 327px;
  height: 80px;
  padding: 16px 24px;
  border-radius: 96px;
  background-color: var(--color-accent);
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  gap: 0px;
  cursor: pointer;
  transition: opacity 0.2s;
}

@media (min-width: 769px) {
  .p-hero__btn {
    width: 400px;
    height: 99px;
    padding: 24px;
    gap: 0px;
  }
}

/* SPヒーローセクション内のみ小さいサイズ */
.p-hero .p-hero__btn {
  width: 230px;
  height: 64px;
  padding: 16px;
}

@media (min-width: 769px) {
  .p-hero .p-hero__btn {
    width: 400px;
    height: 99px;
    padding: 24px;
  }
}

@media (min-width: 769px) {
  .p-hero__btn:hover {
    opacity: 0.9;
  }
}

.p-hero__btn-inner {
  display: flex;
  align-items: center;
  gap: 4px;
}

@media (min-width: 769px) {
  .p-hero__btn-inner {
    gap: 8px;
  }
}

.p-hero__btn-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

@media (min-width: 769px) {
  .p-hero__btn-icon {
    width: 16px;
    height: 16px;
  }
}

.p-hero__btn-main {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text-primary);
}

@media (min-width: 769px) {
  .p-hero__btn-main {
    font-size: 21px;
  }
}

.p-hero__btn-sub {
  font-size: 11px;
  font-weight: 700;
  color: var(--color-text-primary);
}

@media (min-width: 769px) {
  .p-hero__btn-sub {
    font-size: 14px;
  }
}

/* 事故受付サイドタブ */
.c-side-tab__link {
  position: fixed;
  right: 0;
  top: 150px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  writing-mode: vertical-rl;
  padding: 16px 8px;
  border-radius: 8px 0 0 8px;
  background-color: var(--color-primary-deep);
  color: var(--color-white);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-orientation: upright;
  white-space: nowrap;
  overflow: hidden;
  transition: opacity 0.2s;
}

@media (min-width: 769px) {
  .c-side-tab__link {
    font-size: 16px;
    padding: 24px;
    top: 150px;
  }
}

.c-side-tab__link:hover {
  opacity: 0.85;
}


/* ----------------------------------------
   お知らせ
   ---------------------------------------- */
.p-sectionNews {
  padding: 48px 24px;
  background-color: var(--color-bg-gray10);
}

@media (min-width: 769px) {
  .p-sectionNews {
    padding: 80px 24px;
  }
}

.p-sectionNews__header {
  margin-bottom: 32px;
}

.p-sectionNews__title {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-text-primary);
  display: flex;
  align-items: center;
  gap: 12px;
}

@media (min-width: 769px) {
  .p-sectionNews__title {
    font-size: 32px;
  }
}

.p-sectionNews__title-en {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-primary);
  letter-spacing: 0.05em;
}

/* News Items List — スクロールコンテナ */
.p-sectionNews__list-wrap {
  position: relative;
}

/* 下フェード（スクロールヒント） */
.p-sectionNews__list-wrap::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: linear-gradient(to bottom, transparent, var(--color-bg-gray10));
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.3s ease;
}

/* スクロール末尾に達したらフェードを消す */
.p-sectionNews__list-wrap.is-scrolled-end::after {
  opacity: 0;
}

.p-sectionNews__list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--color-border);
  max-height: 480px;
  overflow-y: auto;
  /* カスタムスクロールバー */
  scrollbar-width: thin;
  scrollbar-color: rgba(5, 88, 190, 0.3) transparent;
}

.p-sectionNews__list::-webkit-scrollbar {
  width: 4px;
}

.p-sectionNews__list::-webkit-scrollbar-track {
  background: transparent;
}

.p-sectionNews__list::-webkit-scrollbar-thumb {
  background-color: rgba(5, 88, 190, 0.3);
  border-radius: 2px;
}

/* News Item */
.p-newsItem {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 0;
  border-bottom: 1px solid var(--color-border);
}

@media (min-width: 769px) {
  .p-newsItem {
    flex-direction: row;
    align-items: flex-start;
    gap: 32px;
  }
}

.p-newsItem__date {
  flex-shrink: 0;
  font-size: 14px;
  color: var(--color-text-muted);
  padding-top: 2px;
  min-width: 80px;
}
@media screen and (min-width: 769px) {
  .p-newsItem__date {
    font-size: 16px;
  }
}

.p-newsItem__body {
  flex: 1;
}

.p-newsItem__heading {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 6px;
}
@media screen and (min-width: 769px) {
  .p-newsItem__heading {
    font-size: 16px;
  }
}

.p-newsItem__text {
  font-size: 14px;
  line-height: 1.8;
  color: var(--color-text-secondary);
  margin-bottom: 6px;
}
@media screen and (min-width: 769px) {
  .p-newsItem__text {
    font-size: 16px;
  }
}

.p-newsItem__link {
  font-size: 14px;
  color: var(--color-primary);
  text-decoration: underline;
  transition: opacity 0.2s;
}
@media screen and (min-width: 769px) {
  .p-newsItem__link {
    font-size: 16px;
  }
}

.p-newsItem__link:hover {
  opacity: 0.7;
}

.p-newsItem__note-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 4px;
}

.p-newsItem__note-text {
  font-size: 14px;
  color: var(--color-text-secondary);
}

/* ----------------------------------------
   私たちについて (MESSAGE)
   ---------------------------------------- */
.p-sectionAbout {
  padding:48px 24px;
  background-color: var(--color-bg-primary);
  overflow: hidden;
}

@media (min-width: 769px) {
  .p-sectionAbout {
    padding: 80px 24px;
  }
}

@media (min-width: 1001px) {
  .p-sectionAbout {
    padding: 120px 24px;
  }
}

/* ヘッダー（背景テキスト + セクションラベルの重ね） */
.p-sectionAbout__header {
  position: relative;
  text-align: center;
  margin-bottom: 48px;
}

@media (min-width: 769px) {
  .p-sectionAbout__header {
    margin-bottom: 56px;
  }
}

@media (min-width: 1001px) {
  .p-sectionAbout__header {
    margin-bottom: 100px;
  }
}

/* 背景ウォーターマーク */
.p-sectionAbout__bg-text {
  font-size: 45px;
  font-weight: 800;
  color: var(--color-bg-gray);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.02em;
  line-height: 1;
  text-align: center;
  display: block;
}

@media (min-width: 769px) {
  .p-sectionAbout__bg-text {
    font-size: 110px;
  }
}

@media (min-width: 1001px) {
  .p-sectionAbout__bg-text {
    font-size: 155px;
  }
}

/* セクションラベル */
.p-sectionAbout__section-label {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text-primary);
  text-align: center;
  position: absolute;
  top: 27%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  z-index: 1;
}

@media (min-width: 1001px) {
  .p-sectionAbout__section-label {
    font-size: 36px;
  }
}

/* Inner */
.p-sectionAbout__inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

@media (min-width: 769px) {
  .p-sectionAbout__inner {
    flex-direction: row;
    align-items: flex-start;
    gap: 48px;
  }
}

@media (min-width: 1001px) {
  .p-sectionAbout__inner {
    gap: 80px;
  }
}

/* Content */
.p-sectionAbout__content {
  flex-shrink: 0;
}

@media (min-width: 769px) {
  .p-sectionAbout__content {
    width: 49%;
  }
}

/* Title */
.p-sectionAbout__title {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--color-text-primary);
  margin-bottom: 20px;
}

@media (min-width: 481px) {
  .p-sectionAbout__title {
    font-size: 22px;
  }
}

@media (min-width: 769px) {
  .p-sectionAbout__title {
    font-size: 24px;
  }
}

@media (min-width: 1001px) {
  .p-sectionAbout__title {
    font-size: 28px;
    margin-bottom: 30px;
  }
}

/* Body */
.p-sectionAbout__body {
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-text-primary);
}

@media (min-width: 769px) {
  .p-sectionAbout__body {
    font-size: 15px;
  }
}

@media (min-width: 1001px) {
  .p-sectionAbout__body {
    font-size: 16px;
  }
}

/* Image */
.p-sectionAbout__image {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

@media (min-width: 769px) {
  .p-sectionAbout__image {
    width: 49%;
  }
}

.p-sectionAbout__img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* CTA */
.p-sectionApply {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 0px;
  background-color: var(--color-primary-light50);
}

@media (min-width: 769px) {
  .p-sectionApply {
    padding: 60px 0;
  }
}

/* ----------------------------------------
   保険商品のご紹介 (PRODUCTS)
   ---------------------------------------- */
.p-sectionProducts {
  scroll-margin-top: 68px;
  padding: 48px 24px;
  background-color: var(--color-white);
  overflow: hidden;
}

@media (min-width: 769px) {
  .p-sectionProducts {
    scroll-margin-top: 100px;
    padding: 100px 24px 110px;
  }
}

@media (min-width: 1001px) {
  .p-sectionProducts {
    padding: 120px 24px;
  }
}

/* ヘッダー（背景テキスト + セクションタイトルの重ね） */
.p-sectionProducts__heading {
  text-align: center;
  margin-bottom: 40px;
}

@media (min-width: 769px) {
  .p-sectionProducts__heading {
    margin-bottom: 56px;
  }
}

@media (min-width: 1001px) {
  .p-sectionProducts__heading {
    margin-bottom: 80px;
  }
}

.p-sectionProducts__heading-inner {
  position: relative;
  margin-bottom: 24px;
}

@media (min-width: 1001px) {
  .p-sectionProducts__heading-inner {
    margin-bottom: 32px;
  }
}

/* 背景ウォーターマーク */
.p-sectionProducts__bg-text {
  font-size: 45px;
  font-weight: 800;
  color: var(--color-bg-gray);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.02em;
  line-height: 1;
  text-align: center;
  display: block;
}

@media (min-width: 769px) {
  .p-sectionProducts__bg-text {
    font-size: 110px;
  }
}

@media (min-width: 1001px) {
  .p-sectionProducts__bg-text {
    font-size: 155px;
  }
}

/* セクションタイトル（背景テキストに重ねる） */
.p-sectionProducts__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text-primary);
  line-height: 1.5;
  position: absolute;
  top: 30%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
}

@media (min-width: 769px) {
  .p-sectionProducts__title {
    font-size: 30px;
  }
}

@media (min-width: 1001px) {
  .p-sectionProducts__title {
    font-size: 41px;
  }
}

/* サブテキスト */
.p-sectionProducts__sub {
  font-size: 12px;
  font-weight: 700;
  color: var(--color-text-primary);
  line-height: 1.5;
}

@media (min-width: 769px) {
  .p-sectionProducts__sub {
    font-size: 20px;
  }
}

@media (min-width: 1001px) {
  .p-sectionProducts__sub {
    font-size: 23px;
  }
}

.p-sectionProducts__sub-num {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.5;
  vertical-align: baseline;
}

@media (min-width: 769px) {
  .p-sectionProducts__sub-num {
    font-size: 40px;
  }
}

@media (min-width: 1001px) {
  .p-sectionProducts__sub-num {
    font-size: 48px;
  }
}

/* ----------------------------------------
   Product Card（保険商品カード）
   ---------------------------------------- */
.p-productCard {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 48px;
}

@media (min-width: 769px) {
  .p-productCard {
    flex-direction: row;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 64px;
  }
}

@media (min-width: 1001px) {
  .p-productCard {
    gap: 80px;
    margin-bottom: 100px;
  }
}

/* 左：テキスト＋写真エリア */
.p-productCard__media {
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex-shrink: 0;
}

@media (min-width: 769px) {
  .p-productCard__media {
    width: 44%;
  }
}

@media (min-width: 1001px) {
  .p-productCard__media {
    width: 480px;
    gap: 32px;
  }
}

/* コンテンツ（ラベル・タイトル・キャッチ） */
.p-productCard__content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (min-width: 1001px) {
  .p-productCard__content {
    gap: 16px;
  }
}

/* ラベル（英語小見出し） */
.p-productCard__label {
  font-size: 12px;
  font-weight: 800;
  color: var(--color-primary-light200);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1;
}

@media (min-width: 1001px) {
  .p-productCard__label {
    font-size: 16px;
  }
}

/* タイトル（01.家財保険） */
.p-productCard__title {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.5;
}

@media (min-width: 769px) {
  .p-productCard__title {
    font-size: 28px;
  }
}

@media (min-width: 1001px) {
  .p-productCard__title {
    font-size: 38px;
  }
}

/* キャッチコピー */
.p-productCard__catch {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text-primary);
  line-height: 1.5;
}

@media (min-width: 769px) {
  .p-productCard__catch {
    font-size: 18px;
  }
}

@media (min-width: 1001px) {
  .p-productCard__catch {
    font-size: 26px;
  }
}

/* 本文 */
.p-productCard__desc {
  font-size: 13px;
  line-height: 1.7;
  color: var(--color-text-primary);
}

@media (min-width: 769px) {
  .p-productCard__desc {
    font-size: 14px;
  }
}

@media (min-width: 1001px) {
  .p-productCard__desc {
    font-size: 16px;
  }
}

/* サムネイル写真 */
.p-productCard__thumbnail {
  border-radius: 16px;
  overflow: hidden;
}

@media (min-width: 1001px) {
  .p-productCard__thumbnail {
    border-radius: 24px;
  }
}

.p-productCard__thumbnail-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

@media (min-width: 769px) {
  .p-productCard__thumbnail-img {
    height: 200px;
  }
}

@media (min-width: 1001px) {
  .p-productCard__thumbnail-img {
    height: 288px;
  }
}

/* 右：補償内容カード */
.p-productCard__coverage {
  flex: 1;
  background-color: var(--color-primary-light50);
  border-radius: 16px;
  padding: 24px 16px;
  align-self: stretch;
}

@media (min-width: 769px) {
  .p-productCard__coverage {
    padding: 32px 24px;
  }
}

@media (min-width: 1001px) {
  .p-productCard__coverage {
    border-radius: 24px;
    padding: 48px 40px;
  }
}

/* 補償グループ（賠償責任保険用） */
.p-productCard__coverage-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.p-productCard__coverage-group:last-child {
  margin-bottom: 0;
}

@media (min-width: 1001px) {
  .p-productCard__coverage-group {
    gap: 0;
    margin-bottom: 32px;
  }
}

/* グループ見出し */
.p-productCard__coverage-heading {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text-primary);
  text-align: center;
  padding: 12px 16px;
  line-height: 1.5;
}

@media (min-width: 1001px) {
  .p-productCard__coverage-heading {
    font-size: 18px;
    padding: 16px;
  }
}

/* アイコングリッド */
.p-productCard__coverage-list {
  display: flex;
  flex-wrap: wrap;
  gap: 23px;
  justify-content: center;
}

@media (min-width: 1001px) {
  .p-productCard__coverage-list {
    gap: 24px 31px;
  }
}

.p-productCard__coverage-list--centered {
  justify-content: center;
  margin: auto;
  width: 283px;
}

@media (min-width: 1125px) {
  .p-productCard__coverage-list {
    justify-content: flex-start;
  }
}

/* アイコン1項目 */
.p-productCard__coverage-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 128px;
}

@media (min-width: 1001px) {
  .p-productCard__coverage-item {
    width: 126px;
  }
}

.p-productCard__coverage-icon {
  width: auto;
  object-fit: contain;
  display: block;
}

@media (min-width: 1001px) {
  .p-productCard__coverage-icon {
    height: 126px;
  }
}

.p-productCard__coverage-label {
  font-size: 12px;
  line-height: 1.4;
  color: var(--color-text-primary);
  text-align: center;
}

@media (min-width: 1001px) {
  .p-productCard__coverage-label {
    font-size: 14px;
    line-height: 1.5;
  }
}

/* ----------------------------------------
   書類ボタン
   ---------------------------------------- */
.p-sectionProducts__doc-btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

/* ドキュメントボタン */
.c-btn--doc {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 20px 40px;
  border: 2px solid var(--color-primary);
  border-radius: 40px;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-primary);
  background-color: var(--color-white);
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

@media (min-width: 1001px) {
  .c-btn--doc {
    font-size: 16px;
    padding: 24px 48px;
  }
}

@media (min-width: 769px) {
  .c-btn--doc:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
  }

  .c-btn--doc:hover .c-btn__doc-icon {
    filter: brightness(0) invert(1);
  }
}

.c-btn__doc-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex-shrink: 0;
}

@media (min-width: 1001px) {
  .c-btn__doc-icon {
    width: 24px;
    height: 24px;
  }
}

/* ----------------------------------------
   各種お手続き (PROCEDURE)
   ---------------------------------------- */
.p-sectionProcedure {
  scroll-margin-top: 68px;
  padding: 72px 16px 80px;
  background-color: var(--color-bg-primary);
}

@media (min-width: 769px) {
  .p-sectionProcedure {
    scroll-margin-top: 100px;
    padding: 100px 24px 110px;
  }
}

/* Heading */
.p-sectionProcedure__heading {
  text-align: center;
  margin-bottom: 40px;
}

@media (min-width: 769px) {
  .p-sectionProcedure__heading {
    margin-bottom: 56px;
  }
}

@media (min-width: 1001px) {
  .p-sectionProcedure__heading {
    margin-bottom: 80px;
  }
}

.p-sectionProcedure__heading-inner {
  position: relative;
  margin-bottom: 0;
}

/* 背景ウォーターマーク */
.p-sectionProcedure__bg-text {
  font-size: 45px;
  font-weight: 800;
  color: var(--color-bg-gray);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.02em;
  line-height: 1;
  text-align: center;
  display: block;
}

@media (min-width: 769px) {
  .p-sectionProcedure__bg-text {
    font-size: 110px;
  }
}

@media (min-width: 1001px) {
  .p-sectionProcedure__bg-text {
    font-size: 155px;
  }
}

/* セクションタイトル（背景テキストに重ねる） */
.p-sectionProcedure__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text-primary);
  line-height: 1.5;
  position: absolute;
  top: 30%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
}

@media (min-width: 769px) {
  .p-sectionProcedure__title {
    font-size: 30px;
  }
}

@media (min-width: 1001px) {
  .p-sectionProcedure__title {
    font-size: 41px;
  }
}

/* Procedure Buttons */
.p-procedureButtons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
  position: relative;
  z-index: 1;
}

/* Procedure Body (2-column layout) */
.p-sectionProcedure__body {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  z-index: 1;
}

@media (min-width: 769px) {
  .p-sectionProcedure__body {
    flex-direction: row;
    align-items: center;
    gap: 48px;
  }
}

/* Left: Accident text */
.p-procedureAccident {
  scroll-margin-top: 112px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (min-width: 769px) {
  .p-procedureAccident {
    scroll-margin-top: 148px;
  }
}

.p-procedureAccident__en {
  font-size: 14px;
  font-weight: 800;
  color: var(--color-primary-light200);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1;
}

.p-procedureAccident__title {
  font-size: 23px;
  font-weight: 700;
  color: var(--color-text-primary);
  line-height: 1.5;
}

@media (min-width: 769px) {
  .p-procedureAccident__title {
    font-size: 22px;
  }
}

.p-procedureAccident__desc {
  font-size: 16px;
  color: var(--color-text-secondary);
  line-height: 1.85;
}

/* Right: Contact card */
.p-procedureContact {
  flex-shrink: 0;
  background-color: var(--color-bg-footer);
  border-radius: 10px;
  padding: 20px 24px;
  text-align: center;
  color: var(--color-white);
}

@media (min-width: 769px) {
  .p-procedureContact {
    min-width: 510px;
    height: 157px;
  }
}

.p-procedureContact__label {
  font-size: 14px;
}

@media screen and (min-width: 768px) {
  .p-procedureContact__label {
    font-size: 16px;
  }
}

.p-procedureContact__tel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.p-procedureContact__icon {
  width: 30px;
  height: auto;
  flex-shrink: 0;
}

.p-procedureContact__number {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--color-white);
}

@media (min-width: 769px) {
  .p-procedureContact__number {
    font-size: 36px;
  }
}

.p-procedureContact__free {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-white);
}

.p-procedureContact__hours {
  font-size: 14px;
}


/* ========================================
   Utility Layer (u-)
   ======================================== */

.u-br {
  display: inline;
}

@media (min-width: 481px) {
  .u-br {
    display: none;
  }
}

.u-hidden {
  display: none !important;
}

.u-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
