@charset "UTF-8";

/* 料金一覧: 2026-09-05 reference reconstruction. Scoped to price.html. */
@media screen {
  .p-price {
    --price-width: 1120px;
    --price-rule: color-mix(in oklab, var(--navy) 15%, transparent);
    --price-frame: color-mix(in oklab, var(--navy) 23%, transparent);
  }

  .p-price .container,
  .p-price .top__inner {
    width: min(calc(100% - 48px), var(--price-width));
    max-width: var(--price-width);
    margin-inline: auto;
    padding-inline: 0;
  }

  /* Hero */
  .p-price .price-hero {
    position: relative;
    isolation: isolate;
    min-height: 286px;
    padding: 27px 0 48px;
    overflow: hidden;
    background:
      linear-gradient(90deg, rgba(4, 20, 41, .98) 0%, rgba(5, 29, 56, .88) 48%, rgba(5, 29, 56, .48) 100%),
      url("../assets/hero_dusk.jpg") center 58% / cover no-repeat;
  }
  .p-price .price-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
  }
  .p-price .price-hero::before {
    content: none;
  }
  .p-price .price-hero::after {
    background: linear-gradient(180deg, rgba(2, 15, 32, .08), rgba(2, 15, 32, .36));
  }
  .p-price .price-hero .phead__crumb {
    margin: 0 0 35px;
    font-size: 13px;
    letter-spacing: .02em;
  }
  .p-price .price-hero .phead__grid2 {
    display: block;
    padding: 0;
  }
  .p-price .price-hero h1 {
    margin: 0;
    font-family: var(--font-display);
    font-size: 3.35rem;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: 0;
  }
  .p-price .price-hero .phead__lede {
    max-width: 40rem;
    margin-top: 24px;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.9;
    letter-spacing: .03em;
  }

  /* Overview */
  .p-price #fee.section {
    padding: 52px 0 82px;
  }
  .p-price #fee > .container > .section__head {
    max-width: 760px;
    margin: 0 0 42px;
  }
  .p-price #fee .section__no {
    margin: 0 0 10px;
    font-size: 1.55rem;
    line-height: 1;
  }
  .p-price #fee .section__no small {
    font-size: 12px;
  }
  .p-price #fee .section__title {
    margin: 0;
    font-family: var(--font-display);
    font-size: 2.35rem;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0;
  }
  .p-price #fee .section__title::after {
    content: "";
    display: block;
    width: 46px;
    height: 2px;
    margin-top: 12px;
    background: var(--gold);
  }
  .p-price #fee .section__head .section__lede {
    max-width: 730px;
    margin: 22px 0 0;
    font-size: 14px;
    line-height: 2;
    color: var(--ink-soft);
  }

  .p-price .pricemap {
    width: 100%;
    max-width: none;
    margin: 0 0 72px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
  }
  .p-price .pricemap__label,
  .p-price .pricemap__meta {
    display: none;
  }
  .p-price .pricemap__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
  }
  .p-price .pricemap__col,
  .p-price .pricemap__col + .pricemap__col {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 420px; /* 2026-09-22: 452→420 下の空きを減らす */
    padding: 18px 20px 14px;
    border: 1px solid var(--price-rule);
    border-radius: 5px;
    background: var(--white);
    box-shadow: 0 12px 32px color-mix(in oklab, var(--navy) 7%, transparent);
  }
  .p-price .pricemap__no {
    margin: 0;
    text-align: center;
    font-family: var(--font-display);
    font-size: 1.45rem;
    line-height: 1;
    color: var(--gold-deep);
  }
  .p-price .pricemap__icon {
    display: block;
    width: 66px;
    height: 66px;
    margin: 11px auto 10px;
    object-fit: contain;
    filter: invert(55%) sepia(64%) saturate(585%) hue-rotate(1deg) brightness(86%);
  }
  .p-price .pricemap__name {
    display: block;
    justify-self: stretch; align-self: stretch; /* 2026-09-22: v41の align-self:start で見出しが左に縮み、下線だけ中央に見えていた */
    margin: 0;
    padding: 0;
    border: 0;
    text-align: center;
    font-family: var(--font-display);
    font-size: 1.22rem;
    font-weight: 700;
    line-height: 1.55;
    letter-spacing: 0;
    color: var(--navy);
  }
  .p-price .pricemap__name::after {
    content: "";
    display: none; /* 2026-09-22 社長指示: 見出し下の短い金線は無し */
    width: 35px;
    height: 1px;
    margin: 12px auto 0;
    background: var(--gold);
  }
  .p-price .pricemap__desc {
    min-height: 5em;
    margin: 14px 0 0;
    font-size: 14px;
    line-height: 1.85;
    color: var(--ink-soft);
  }
  .p-price .pricemap__links {
    flex: 1;
    margin: 10px 0 0;
    padding: 8px 0 9px;
    border-top: 1px solid var(--price-rule);
  }
  .p-price .pricemap__links a {
    min-height: 29px;
    padding: 3px 0 3px 16px;
    font-size: 13px;
    line-height: 1.65;
  }
  .p-price .pricemap__more {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 38px;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid var(--price-rule);
    color: var(--navy);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
  }
  .p-price .pricemap__more span {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--gold-deep);
    color: var(--white);
    font-size: 18px;
    line-height: 1;
  }
  .p-price .pricemap__name:hover,
  .p-price .pricemap__more:hover {
    color: var(--gold-deep);
    border-bottom-color: transparent;
  }

  /* Detail headings */
  .p-price .feestack {
    display: block;
    width: 100%;
  }
  .p-price .feestack .feegroup {
    display: flex;
    align-items: baseline;
    gap: 18px;
    margin: 82px 0 10px;
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 600;
    line-height: 1.45;
    letter-spacing: 0;
    color: var(--navy);
    scroll-margin-top: 96px;
  }
  .p-price .feestack .feegroup:first-of-type {
    margin-top: 0;
  }
  .p-price .feegroup__no {
    flex: none;
    margin: 0;
    font-family: var(--font-display);
    font-size: 1.7rem;
    font-weight: 700;
    line-height: 1;
    color: var(--gold-deep);
  }
  .p-price .feegroup__no::after {
    content: "PRICE";
    margin-left: 13px;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .2em;
    vertical-align: .35em;
  }
  .p-price .feelede {
    max-width: 880px;
    margin: 0 0 12px;
    font-size: 14px;
    line-height: 1.95;
    color: var(--ink-soft);
  }

  .p-price .price-subnav {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin: 28px 0 12px;
    border: 1px solid var(--price-rule);
    border-radius: 5px;
    background: var(--white);
    overflow: hidden;
  }
  .p-price .price-subnav a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 72px;
    padding: 10px 12px;
    border-left: 1px solid var(--price-rule);
    color: var(--navy);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.45;
    text-align: center;
    text-decoration: none;
  }
  .p-price .price-subnav a:first-child {
    border-left: 0;
    box-shadow: inset 0 -2px 0 var(--gold);
  }
  .p-price .price-subnav a:hover {
    background: color-mix(in oklab, var(--gold-pale) 30%, var(--white));
  }

  /* Tables */
  .p-price.page-cs .feewrap.feewrap.feewrap,
  .p-price.page-cs .fee-table,
  .p-price.page-cs .feeunit,
  .p-price.page-cs .fee-note,
  .p-price.page-cs .backtomap {
    width: 100%;
    max-width: none;
  }
  .p-price.page-cs .feeunit,
  .p-price.page-cs .feestack > .feeunit.feeunit {
    margin: 0 4px 5px 0;
    transform: none;
    color: var(--ink-soft);
    font-size: 12px;
    line-height: 1.4;
    text-align: right;
  }
  .p-price.page-cs .fee-table {
    --pad-x: 20px;
    --num-w: 160px;
    border: 1px solid var(--price-frame);
    border-radius: 5px;
    overflow: hidden;
    background: var(--white);
  }
  .p-price.page-cs .fee-table col.c-item {
    width: 34%;
  }
  .p-price.page-cs .fee-table col.c-num {
    width: var(--num-w);
  }
  .p-price.page-cs .fee-table tbody th[scope="rowgroup"],
  .p-price.page-cs .fee-table tbody:first-of-type th[scope="rowgroup"],
  .p-price.page-cs .fee-table tbody tr:first-child th[scope="rowgroup"] {
    min-height: 48px;
    padding: 11px 20px;
    border: 0;
    border-bottom: 1px solid var(--navy);
    border-radius: 0;
    background: var(--navy-deep);
    color: var(--white);
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    line-height: 25px;
    letter-spacing: .05em;
  }
  .p-price.page-cs .fee-table tbody tr > td {
    padding: 11px 20px;
    border-color: var(--price-rule);
    background: var(--white);
    vertical-align: middle;
    font-size: 13px;
    line-height: 1.7;
  }
  .p-price.page-cs .fee-table tbody tr > td:first-child {
    font-size: 13px;
    font-weight: 500;
    color: var(--navy);
  }
  .p-price.page-cs .fee-table td.col-note {
    font-size: 12px;
    line-height: 1.75;
    color: var(--ink-soft);
  }
  .p-price.page-cs .fee-table td.num {
    padding-inline: 18px;
    color: var(--gold-deep);
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    text-align: right;
  }
  .p-price.page-cs .fee-table tbody tr:has(+ tr > th[scope="rowgroup"]) > * {
    border-bottom: 1px solid var(--price-rule);
  }
  .p-price.page-cs .fee-table tbody tr:last-child > * {
    border-bottom: 0;
  }
  .p-price .fee-note {
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
    color: var(--ink-soft);
    font-size: 11px;
    line-height: 1.9;
  }
  .p-price .fee-note li {
    margin: 0;
  }
  .p-price .backtomap {
    margin: 14px 0 0;
    font-size: 12px;
    text-align: right;
  }
  .p-price .backtomap a {
    color: var(--gold-deep);
    font-weight: 500;
  }
  .p-price .cpa-duo {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 24px;
  }
  .p-price.page-cs .fee-table--2col {
    --num-w: 132px;
  }
  .p-price.page-cs .fee-table--2col col.c-item {
    width: auto;
  }

  /* Shared lower sections stay aligned with the site shell. */
  .p-price .cta {
    margin-top: 0;
  }
}

@media screen and (min-width: 60.0625rem) {
  .p-price .pricemap__grid {
    gap: 0;
    border: 1px solid var(--price-rule);
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 12px 32px color-mix(in oklab, var(--navy) 7%, transparent);
  }
  .p-price .pricemap__col,
  .p-price .pricemap__col + .pricemap__col {
    border: 0;
    border-left: 1px solid var(--price-rule);
    border-radius: 0;
    box-shadow: none;
  }
  .p-price .pricemap__col:first-child {
    border-left: 0;
  }
}

@media screen and (max-width: 60rem) {
  .p-price .pricemap__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .p-price .pricemap__col,
  .p-price .pricemap__col + .pricemap__col {
    min-height: 450px;
  }
  .p-price .price-subnav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .p-price .price-subnav a:nth-child(4) {
    border-left: 0;
    border-top: 1px solid var(--price-rule);
  }
  .p-price .price-subnav a:nth-child(5) {
    border-top: 1px solid var(--price-rule);
  }
}

@media screen and (max-width: 40rem) {
  .p-price .container,
  .p-price .top__inner {
    width: min(calc(100% - 32px), var(--price-width));
  }
  .p-price .price-hero {
    min-height: 272px;
    padding: 22px 0 38px;
  }
  .p-price .price-hero::before {
    content: none;
  }
  .p-price .price-hero { background-position: 64% center; }
  .p-price .price-hero .phead__crumb {
    margin-bottom: 28px;
    font-size: 12px;
  }
  .p-price .price-hero h1 {
    font-size: 2.55rem;
    line-height: 1.3;
  }
  .p-price .price-hero .phead__lede {
    margin-top: 18px;
    font-size: 13px;
    line-height: 1.8;
  }

  .p-price #fee.section {
    padding: 38px 0 52px;
  }
  .p-price #fee > .container > .section__head {
    margin-bottom: 28px;
  }
  .p-price #fee .section__no {
    margin-bottom: 9px;
    font-size: 1.3rem;
  }
  .p-price #fee .section__title {
    font-size: 1.85rem;
  }
  .p-price #fee .section__head .section__lede {
    margin-top: 17px;
    font-size: 13px;
    line-height: 1.85;
  }

  .p-price .pricemap {
    margin-bottom: 58px;
  }
  .p-price .pricemap__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
  .p-price .pricemap__col,
  .p-price .pricemap__col + .pricemap__col {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    min-height: 0;
    padding: 18px 17px 14px;
  }
  .p-price .pricemap__no {
    grid-column: 1 / -1;
    text-align: left;
    font-size: 1rem;
  }
  .p-price .pricemap__icon {
    grid-column: 1;
    grid-row: 2 / span 2;
    width: 45px;
    height: 45px;
    margin: 14px 12px 0 0;
  }
  .p-price .pricemap__name {
    grid-column: 2;
    margin-top: 11px;
    text-align: left;
    font-size: 1.06rem;
  }
  .p-price .pricemap__name::after {
    width: 30px;
    margin: 8px 0 0;
  }
  .p-price .pricemap__desc {
    grid-column: 2;
    min-height: 0;
    margin-top: 10px;
    font-size: 12px;
    line-height: 1.75;
  }
  .p-price .pricemap__links {
    grid-column: 1 / -1;
    margin-top: 14px;
    padding: 8px 0 6px;
  }
  .p-price .pricemap__links a {
    min-height: 40px;
    padding-block: 9px;
    font-size: 13px;
  }
  .p-price .pricemap__more {
    grid-column: 1 / -1;
    min-height: 45px;
    padding-top: 10px;
  }

  .p-price .feestack .feegroup {
    display: block;
    margin: 58px 0 10px;
    font-size: 1.75rem;
    line-height: 1.45;
  }
  .p-price .feestack .feegroup:first-of-type {
    margin-top: 0;
  }
  .p-price .feegroup__no {
    display: block;
    margin: 0 0 8px;
    font-size: 1.25rem;
  }
  .p-price .feegroup__no::after {
    font-size: 10px;
  }
  .p-price .feelede {
    margin-bottom: 10px;
    font-size: 13px;
    line-height: 1.8;
  }
  .p-price .price-subnav {
    grid-template-columns: 1fr 1fr;
    margin: 20px 0 12px;
  }
  .p-price .price-subnav a {
    min-height: 54px;
    padding: 8px;
    border-top: 1px solid var(--price-rule);
    font-size: 11px;
  }
  .p-price .price-subnav a:nth-child(-n+2) {
    border-top: 0;
  }
  .p-price .price-subnav a:nth-child(odd) {
    border-left: 0;
  }
  .p-price .price-subnav a:nth-child(4) {
    border-left: 1px solid var(--price-rule);
  }

  .p-price.page-cs .feeunit,
  .p-price.page-cs .feestack > .feeunit.feeunit {
    display: none;
  }
  .p-price.page-cs .fee-table {
    display: block;
    width: 100%;
    padding: 0;
    border: 1px solid var(--price-frame);
    border-radius: 4px;
    overflow: hidden;
  }
  .p-price.page-cs .fee-table tbody {
    display: block;
  }
  .p-price.page-cs .fee-table tbody tr,
  .p-price.page-cs .fee-table tbody tr:last-child {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "name price" "note note";
    gap: 4px 12px;
    margin: 0;
    padding: 13px 14px;
    border: 0;
    border-bottom: 1px solid var(--price-rule);
    border-radius: 0;
    background: var(--white);
  }
  .p-price.page-cs .fee-table tbody tr:last-child {
    border-bottom: 0;
  }
  .p-price.page-cs .fee-table tbody tr:has(th[scope="rowgroup"]) {
    display: block;
    margin: 0;
    padding: 0;
    border: 0;
  }
  .p-price.page-cs .fee-table tbody th[scope="rowgroup"],
  .p-price.page-cs .fee-table tbody:first-of-type th[scope="rowgroup"],
  .p-price.page-cs .fee-table tbody tr:first-child th[scope="rowgroup"] {
    display: block;
    width: 100%;
    min-height: 0;
    margin: 0;
    padding: 12px 14px;
    border: 0;
    border-radius: 0;
    font-size: 14px;
    line-height: 1.6;
  }
  .p-price.page-cs .fee-table tbody tr > td,
  .p-price.page-cs .fee-table tbody tr > td:first-child {
    width: auto !important;
    padding: 0;
    border: 0;
    background: transparent;
    font-size: 13px;
    line-height: 1.65;
  }
  .p-price.page-cs .fee-table tbody tr > td:first-child {
    grid-area: name;
    font-weight: 700;
  }
  .p-price.page-cs .fee-table td.col-note {
    grid-area: note;
    font-size: 11px;
    line-height: 1.7;
  }
  .p-price.page-cs .fee-table td.num {
    grid-area: price;
    align-self: start;
    padding: 0;
    font-size: 17px;
    line-height: 1.45;
  }
  .p-price.page-cs .fee-table td.num::after {
    content: none;
  }
  .p-price .fee-note {
    font-size: 10px;
    line-height: 1.75;
  }
  .p-price .backtomap {
    margin-top: 12px;
  }
  .p-price .cpa-duo {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
}

@media print {
  .p-price .pricemap__more,
  .p-price .price-subnav {
    display: none !important;
  }
}
