@charset "utf-8";
@import url(https://fonts.googleapis.com/css2?family=Outfit&family=Shippori+Mincho&family=Zen+Kaku+Gothic+New:wght@400;500&display=block);

/* #region MARK:CSS Reset (the-new-css-reset v1.11.3) */
*:where(:not(html, iframe, canvas, img, svg, video, audio):not(svg *, symbol *)) {
    all: unset;
    display: revert;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -moz-text-size-adjust: none;
    -webkit-text-size-adjust: none;
    text-size-adjust: none;
}

a,
button {
    cursor: revert;
}

ol,
ul,
menu,
summary {
    list-style: none;
}

ol {
    counter-reset: revert;
}

img {
    max-inline-size: 100%;
    max-block-size: 100%;
}

table {
    border-collapse: collapse;
}

input,
textarea {
    -webkit-user-select: auto;
}

textarea {
    white-space: revert;
}

meter {
    -webkit-appearance: revert;
    appearance: revert;
}

:where(pre) {
    all: revert;
    box-sizing: border-box;
}

::placeholder {
    color: unset;
}

:where([hidden]) {
    display: none;
}

:where([contenteditable]:not([contenteditable="false"])) {
    -moz-user-modify: read-write;
    -webkit-user-modify: read-write;
    overflow-wrap: break-word;
    -webkit-line-break: after-white-space;
    -webkit-user-select: auto;
}

:where([draggable="true"]) {
    -webkit-user-drag: element;
}

:where(dialog:modal) {
    all: revert;
    box-sizing: border-box;
}

::-webkit-details-marker {
    display: none;
}

/* #endregion */
@-ms-viewport {
    initial-scale: 1;
    width: auto;
}

:root {
    --c-primary: #024a8a;
    --c-primary-40: #3e6d8c;
    --c-primary-10: #8fb0c7;
    --c-secondary: #518bc8;
    --c-text: #231815;
    --bdc-gray: #bfbfbf;
    --bgc-gray: #dcdcdc;
    --ff-sans: -apple-system, BlinkMacSystemFont, ヒラギノ角ゴ ProN, Hiragino Kaku Gothic ProN, YuGothic, 'Yu Gothic Medium', 'Yu Gothic', sans-serif;
    --ff-serif: 'Shippori Mincho', 'Times New Roman', 'YuMincho', 'Hiragino Mincho ProN', 'Yu Mincho', 'MS PMincho', serif;
    --ff--en: 'Outfit', sans-serif;
    --fw-normal: 400;
    --fw-bold: 500;
    --radius: 0.5rem;
}

@view-transition {
    navigation: auto;
}

* {
    text-wrap: pretty;
    word-break: break-all;
    min-width: 0;
}

/* スクロールバー */
/* ::-webkit-scrollbar {display: none;} */
/*HTML*/
html {
    font-size: 62.5%;
    overscroll-behavior: none;
    word-break: break-all;
    scroll-padding: 5.4rem 0 5.4rem;
    scrollbar-gutter: stable;
}

body {
    font-size: 1.4rem;
    color: var(--c-text);
    -webkit-font-smoothing: antialiased;
}

html,
body {
    overflow-x: hidden;
}

body,
body * {
    -webkit-overflow-scrolling: touch;
}

body {
    background: hsla(0, 0%, 100%, 1);
    font-family: var(--ff-sans);
    -webkit-font-feature-settings: 'palt';
    font-feature-settings: 'palt';
    font-weight: var(--fw-normal);
    line-height: 1.75;
    overflow-y: auto;
    padding-bottom: 4rem;
}

a {
    color: var(--c-primary);
}

a[class] {
    text-decoration: none;
}

:where(a:active),
:where(a:focus),
:where(a:hover) {
    color: var(--c-text);
}

button {
    touch-action: manipulation;
    user-select: none;
    -webkit-user-select: none;
}

img {
    /* width: 100%; */
    max-width: 100%;
    display: block;
    height: auto;
    -ms-interpolation-mode: bicubic;
    shape-margin: 1em;
    font-style: italic;
    object-fit: cover;
    background-repeat: no-repeat;
    vertical-align: middle;
}

hr {
    border-top: 1px solid hsla(0, 0%, 80%, 1);
    margin-bottom: 2em;
    margin-top: 2em;
}

label {
    display: block;
    font-weight: bold;
    margin-bottom: 0;
    max-width: 100%;
    cursor: pointer;
    line-height: 1.2;
    font-size: min(4vw, 1.4rem);
    letter-spacing: normal;
    flex: 1 1 0;
}

dl {
    margin: 0;
}

figure {
    display: block;
}

:where(p) {
    margin: 0;
    word-wrap: break-word;
}

.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: 1em;
    font-weight: var(--fw-bold);
    margin: 0;
    padding: 0;
    text-wrap: balance;
    word-wrap: break-word;
    word-break: auto-phrase;
}

.container {
    width: 100%;
}

/*Table*/
td,
th {
    word-break: break-all;
}

/*List*/
ol,
ol>li,
ul,
ul>li {
    display: block;
    list-style: none;
    margin: 0;
    padding: 0;
}

/*formのインプット*/
input[type='checkbox'],
input[type='radio'] {
    -webkit-appearance: auto;
    -moz-appearance: auto;
    appearance: auto;
    /* transform: scale(1.8); */
    /* transform-origin: left center; */
    accent-color: #558ac7;
    flex-shrink: 0;
    width: 1.4rem;
    height: 1.4rem;
    margin-top: 0em;
}

/* //////////////////////////////////////////////////////////////////// */
/* //////////////////////////////////////////////////////////////////// */
.application-form {
    max-width: calc(782px + 2rem);
    margin: 0 auto;
    background: #fff;
    padding: 2.5rem;
}

.application-form__title,
.application-form__sub {
    text-align: center;
    margin-bottom: 1em;
}

.application-form__title {
    width: min(100%, 52rem);
    margin: 0 auto;
    padding: 0 4rem;
}

.application-form__sub {
    font-size: 1.8rem;
}

.application-form__lead {
    font-size: min(3.5vw, 16px);
    margin-top: 2rem;
    width: fit-content;
    margin-inline: auto;
    letter-spacing: normal;
    line-height: 1.7;
    text-align: justify
}

.application-form__group {
    margin-bottom: 0;
}

.application-form__input {
    font-size: clamp(1.4rem, 4vw, 1.4rem);
}

.flatpickr-input {
    max-width: 40rem;
}

.flatpickr-input[readonly] {
    background-color: #fff;
    opacity: 1;
    cursor: pointer;
}

input.flatpickr-mobile[type="date"] {
    appearance: none;
    -webkit-appearance: none;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 4rem;
    padding: 0 1em;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: clamp(1.4rem, 4vw, 1.6rem);
    background-color: #fff;
    text-align: center;
}

input.flatpickr-mobile[type="date"]::-webkit-calendar-picker-indicator {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    cursor: pointer;
    opacity: 0;
}

.application-form__label {
    display: block;
    margin-block: 1.2rem 1.2rem;
    font-weight: bold;
    background-color: var(--c-secondary);
    color: #fff;
    padding-left: 2rem;
    font-size: min(4vw, 1.8rem);
    padding-block: 0.4em;
    cursor: default;
    font-size: min(4vw, 1.3rem);
    letter-spacing: normal;
}

.application-form__label-alt {
    background-color: #fff;
    color: var(--c-text);
    padding-left: 0;
    margin-bottom: 0rem;
}

.application-form__label-short {
    background-color: var(--bgc-gray);
    color: var(--c-text);
    max-width: 40rem;
}

.application-form__label--required:after {
    content: '必須';
    margin-left: 0.5em;
    color: crimson;
}

:where(.application-form__group p) {
    font-size: min(4vw, 1.8rem);
    line-height: 1.2;
    margin-block: 0.5rem;
    font-size: min(4vw, 1.12rem);
    letter-spacing: normal;
}

.application-form__display-value {
    font-size: min(4vw, 1.6rem);
    line-height: 1.6;
}

.application-form__input {
    width: 100%;
    padding: 0.4em 1em;
    border: 1px solid #ccc;
    border-radius: 4px;
    appearance: none;
    -webkit-appearance: none;
}

.application-form__input::placeholder {
    color: #999;
}

.application-form__radio-group,
.application-form__checkbox-group {
    display: flex;
    gap: 0 0.5em;
    align-items: flex-start;
    font-size: min(4vw, 1.8rem);
    margin-block: 1rem;
}

.application-form__radio-group>.form-caption {
    margin-top: 0;
    text-align: justify;
}

@media (max-width: 1024px) {
    .application-form__radio-group:has(> .form-caption) {
        flex-direction: column;
        align-items: flex-start;
    }
}

.ad-slots__container {
    margin-left: 2.1rem;
    font-size: 1.6rem;
    display: grid;
    gap: 1rem;
    margin-block: 1rem;
}

.ad-slots__item {
    display: grid;
    gap: 0.5rem;
    grid-template-columns: 7.9em 3.5rem auto;
    align-items: center;
    overflow: visible;
    padding-inline: 0;
}

.ad-slots__item label {
    white-space: nowrap;
}

.ad-slots__item input {
    text-align: center;
    padding: 0.3em 0;
    text-align: center;
}

.ad-slots__item p {
    white-space: nowrap;
    margin: 0;
    text-align: right;
}

.application-form__button {
    display: block;
    /* width: 100%; */
    padding: 0.8em 2.5em;
    background-color: var(--c-primary);
    color: white;
    border: none;
    /* border-radius: 4px; */
    text-align: center;
    cursor: pointer;
    text-decoration: none;
    margin-inline: auto;
    margin-block: 2rem;
    width: fit-content;
    font-size: min(4vw, 1.6rem);
    /* letter-spacing: 0.25em; */
}

.application-form__button.back {
    background-color: var(--bgc-gray);
    color: var(--c-text);
}

.application-form__total {
    margin-top: 1rem;
    padding-top: 1em;
    /* border-top: 1px solid #eee; */
    padding: 1rem 0;
}

.application-form__total.current {
    background-color: var(--c-primary);
    color: #fff;
}

.application-form__total h3 {
    font-size: min(4vw, 1.8rem);
    letter-spacing: 0.05em;
    text-align: center;
}

.application-form__total p {
    font-size: min(3.2vw, 1.6rem);
    text-align: center;
}

.application-form__total strong {
    font-size: min(5vw, 2.4rem);
    display: inline-block;
    letter-spacing: 0.05em;
}

.application-form__total-table {
    width: 100%;
    border-collapse: collapse;
    font-size: min(4vw, 1.4rem);
    letter-spacing: 0.05em;
}

.application-form__total-table th,
.application-form__total-table td {
    padding: 0.6em 0;
    border-bottom: 1px solid var(--bdc-gray);
}

.application-form__total-table th {
    text-align: left;
    font-weight: var(--fw-bold);
    white-space: nowrap;
    width: 1%;
}

.application-form__total-table td {
    text-align: right;
}

.form-caption {
    color: #33628a;
    font-size: min(4vw, 1.05rem);
    font-size: min(4vw, 1.05rem);
    letter-spacing: normal;
    margin-top: 1em;
}

/* MARK:PC用1025px以上 */
@media (min-width: 1025px) {
    html {
        scroll-padding: 9.9rem 0 0;
    }
}

/* 進捗表示 */
.progress-steps {
    display: flex;
    align-items: center;
    gap: -1rem;
    margin: 40px 0;
    position: relative;
    justify-content: center;
}

.progress-steps::before {
    content: '';
    position: absolute;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 100px);
    height: 1px;
    background: var(--bdc-gray);
    z-index: 1;
}

.progress-steps__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 2;
    width: 160px;
}

.progress-steps__circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: white;
    /* border: 2px solid var(--bdc-gray); */
    color: var(--bdc-gray);
    /* font-weight: var(--fw-bold); */
    /* transition: all 0.3s ease; */
}

.progress-steps__item--active .progress-steps__circle {
    background: var(--c-primary);
    border-color: var(--c-primary);
    /* color: white; */
}

.progress-steps__item--completed .progress-steps__circle {
    background: var(--bdc-gray);
    border-color: var(--bdc-gray);
}

.progress-steps__number {
    overflow: hidden;
    text-indent: -10000px;
    line-height: 1;
}

.progress-steps__text {
    font-size: 14px;
    color: var(--c-text);
    text-align: center;
    margin: 0;
    white-space: nowrap;
}

.progress-steps__item--active .progress-steps__text {
    color: var(--c-primary);
    font-weight: var(--fw-bold);
}

.progress-steps {
    /* gap: 78px; */
    margin: 30px 0;
}

.progress-steps::before {
    width: 68%;
}

.progress-steps__circle {
    width: 36px;
    height: 36px;
    background: var(--bdc-gray);
}

.progress-steps__number {
    font-size: 16px;
}

.progress-steps__text {
    font-size: 12px;
    letter-spacing: normal;
    font-size: min(4vw, 1.6rem);
}

.error-message {
    color: crimson;
    font-weight: bold;
    font-size: min(4vw, 1.12rem);
}

/* フォームグループ内のラジオボタンとチェックボックスを一括設定 */
.application-form__group label input[type="radio"],
.application-form__group label input[type="checkbox"],
.application-form__radio-group label input[type="radio"] {
    margin-right: 8px;
    /* ボタンと文字の間の余白 */
}

/* 縦並びを基本にしたい場合（一括設定） */
.application-form__group label {
    display: block;
    /* 縦に並べる */
    margin-bottom: 10px;
    /* 行間 */
    cursor: pointer;
}

@media (min-width: 768px) {
    .progress-steps {
        width: 50rem;
        margin-inline: auto;
    }
}

/* Terms Section */
.terms {
    margin: 2rem 0;
}

.terms__title {
    font-size: clamp(1.6rem, 4vw, 1.8rem);
    font-weight: var(--fw-bold);
    color: var(--c-primary);
    margin-bottom: 1rem;
    text-align: center;
    font-size: min(4vw, 1.12rem);
    letter-spacing: 0;
}

.terms__content {
    height: 10rem;
    overflow-y: auto;
    border: 1px solid var(--bdc-gray);
    padding: 1rem;
    background: #fff;
    border-radius: var(--radius);
}

.terms__section {
    margin-bottom: 1.5rem;
}

.terms__section:last-child {
    margin-bottom: 0;
}

.terms__section-title {
    font-size: 1.4rem;
    font-weight: var(--fw-bold);
    color: var(--c-text);
    margin-bottom: 0.5rem;
    font-size: min(4vw, 1.12rem);
    letter-spacing: normal;
}

.terms__text {
    font-size: 1.3rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
    color: var(--c-text);
    font-size: min(4vw, 1.12rem);
    letter-spacing: normal;
    text-align: justify;
}

.terms__text:last-child {
    margin-bottom: 0;
}

.terms__list {
    margin: 0.5rem 0;
    padding-left: 0;
}

.terms__list--numbered {
    counter-reset: item;
}

.terms__list--numbered .terms__list-item::before {
    counter-increment: item;
    content: counter(item, decimal) '';
}

.terms__list--numbered .terms__list-item:nth-child(1)::before {
    content: '①';
}

.terms__list--numbered .terms__list-item:nth-child(2)::before {
    content: '②';
}

.terms__list--numbered .terms__list-item:nth-child(3)::before {
    content: '③';
}

.terms__list--numbered .terms__list-item:nth-child(4)::before {
    content: '④';
}

.terms__list--numbered .terms__list-item:nth-child(5)::before {
    content: '⑤';
}

.terms__list--numbered .terms__list-item:nth-child(6)::before {
    content: '⑥';
}

.terms__list--numbered .terms__list-item:nth-child(7)::before {
    content: '⑦';
}

.terms__list--numbered .terms__list-item:nth-child(8)::before {
    content: '⑧';
}

.terms__list--numbered .terms__list-item:nth-child(9)::before {
    content: '⑨';
}

.terms__list--numbered .terms__list-item:nth-child(10)::before {
    content: '⑩';
}

.terms__list-item {
    font-size: 1.3rem;
    line-height: 1.6;
    color: var(--c-text);
    margin-bottom: 0.3rem;
    padding-left: 1rem;
    position: relative;
    font-size: min(4vw, 1.12rem);
    letter-spacing: normal;
}

.terms__list-item::before {
    content: '・';
    position: absolute;
    left: 0;
    color: var(--c-text);
}

.terms__list-item:last-child {
    margin-bottom: 0;
}

/* Scrollbar styling for terms content */
.terms__content::-webkit-scrollbar {
    width: 6px;
}

.terms__content::-webkit-scrollbar-track {
    background: var(--bgc-gray);
    border-radius: 3px;
}

.terms__content::-webkit-scrollbar-thumb {
    background: var(--bdc-gray);
    border-radius: 3px;
}

.terms__content::-webkit-scrollbar-thumb:hover {
    background: var(--c-primary-40);
}

/* Terms Agreement */
.application-form__agreement {
    text-align: center;
    margin: 2rem 0;
}

.application-form__agreement-text {
    font-size: min(4vw, 1.6rem);
    font-weight: var(--fw-bold);
    color: var(--c-text);
    margin-bottom: 1rem;
    font-size: min(4vw, 1.12rem);
    letter-spacing: 0;
}

.application-form__agreement-checkbox {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.application-form__agreement-checkbox input[type='checkbox'] {
    /* transform: scale(1.5); */
}

.application-form__agreement-checkbox label {
    font-size: min(4vw, 1.6rem);
    font-weight: var(--fw-bold);
    color: var(--c-text);
    font-size: min(4vw, 1.4rem);
    letter-spacing: 0;
}

@media (min-width: 1025px) {
    .terms__content {
        padding: 1.5rem;
    }

    .terms__title {
        font-size: 2rem;
        font-size: min(4vw, 1.12rem);
        letter-spacing: 0.25em;
    }

    .terms__section-title {
        /* font-size: 1.5rem; */
    }

    .terms__text,
    .terms__list-item {
        /* font-size: 1.4rem; */
    }

    .application-form__agreement-text,
    .application-form__agreement-checkbox label {
        font-size: 1.8rem;
        font-size: min(4vw, 1.6rem);
        letter-spacing: normal;
    }
}

.application-form__button--secondary {
    background-color: var(--bdc-gray);
    color: var(--c-text);
    text-decoration: none;
}

.application-form__button--secondary:hover {
    background-color: var(--c-text);
    color: white;
}

.completion-message {
    border: 1px solid var(--bdc-gray);
    border-radius: var(--radius);
    padding: 1rem 1.5rem;
    margin-block: 1rem;
}

.completion-message__title {
    font-weight: bold;
    font-size: min(4vw, 1.8rem);
    margin-block: 0 1rem;
}

.completion-message__subtitle {
    font-weight: bold;
    font-size: min(3.8vw, 1.4rem);
    margin-block: 0 0.5rem;
}

.completion-message__text {
    font-size: min(3.8vw, 1.4rem);
    margin-block: 1rem 1rem;
    text-align: justify;
}

/* Material Type Group - Conditional Display */
.material-type-group {
    display: none;
    padding-left: 1.5em;
}

.material-type-group.active {
    display: block;
}

.border-bottom {
    border-bottom: 1px solid #e9e9eb;
    color: #424242;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

/* #region MARK:ビジョン選択カード */
.vision-cards {
    display: grid;
    gap: 1.6rem;
}

.vision-cards__item {
    border: 1px solid #dcdcdc;
    border-radius: 4px;
    padding: 1.6rem;
    font-weight: normal;
    display: grid;
    gap: 0.8rem;
    position: relative;
}

.vision-cards__item--recommended {
    overflow: hidden;
}

.vision-cards:has(#campaign-id-1:checked)>[for="campaign-id-1"],
.vision-cards:has(#campaign-id-2:checked)>[for="campaign-id-2"],
.vision-cards:has(#campaign-id-3:checked)>[for="campaign-id-3"] {
    background-color: #eff2fd;
    border-color: #4a73be;
    background-image: url("../images/icon-check-circle.svg");
    background-repeat: no-repeat;
    background-position: top 1rem right 1rem;
    background-size: 2rem 2rem;
}

.vision-cards__badge {
    display: inline-block;
    font-size: 1.2rem;
    padding: 0.2em 1em;
    color: var(--c-primary);
    background: #4b72bf;
    color: #fff;
    transform: skewX(-10deg);
    width: fit-content;
    padding: 0.4rem 0.9rem;
    margin-top: -1.6rem;
}

.vision-cards__badge span {
    display: block;
    transform: skewX(10deg);
}

.vision-cards__name {
    font-size: 1.8rem;
    font-weight: bold;
}

.vision-cards__price {}

.vision-cards__price strong {
    font-size: 1.8rem;
    font-weight: bold;
}

.vision-cards__desc {
    font-size: 1.2rem;
}

.vision-cards__check {
    color: #4a73be;
}

.vision-cards>input[type="radio"],
.vision-cards>input[type="hidden"],
.vision-cards>input[type="radio"]+label {
    visibility: hidden;
    position: absolute;
    bottom: 0;
    right: 0;
}

@media (min-width: 1025px) {
    .vision-cards {}

    .vision-cards__item {}

    .vision-cards__item--recommended {}

    .vision-cards__badge {}

    .vision-cards__name {}

    .vision-cards__price {}

    .vision-cards__desc {}

    .vision-cards__check {}

    .vision-cards>input[type="radio"] {}
}

/* #endregion */
/* #region MARK:数量セレクター */
.qty-selector {
    border-bottom: 1px solid #e9e9eb;
    color: #424242;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding-block: 0.6rem 1.6rem !important;
}

.qty-selector>input[type="text"],
.qty-selector>label {
    display: none;
}

.qty-selector__group {
    border: 1px solid #dcdcdc;
    border-radius: 4px;
    /* padding: 1.6rem; */
    font-weight: normal;
    display: grid;
    /* gap: 0.8rem; */
    /* position: relative; */
    display: grid;
    grid-template-columns: 3.3rem 1fr 3.1rem;
    text-align: center;
}

.qty-selector__btn {
    font-size: 1.8rem;
    background-color: #f1f4fb;
    cursor: pointer;
}

.qty-selector__btn:disabled {
    opacity: 0.2;
    cursor: default;
    /* background-color: #FFF; */
}

.qty-selector__value {
    font-weight: bold;
    padding-block: 0.2rem;
}

.qty-selector__value strong {
    font-size: 1.8rem;
}

.qty-selector__value span {}

@media (min-width: 1025px) {
    .qty-selector {
        width: 40rem;
    }

    .qty-selector__group {}

    .qty-selector__btn {}

    .qty-selector__value {}
}

/* #endregion */
/********************************* 印刷用 */
@media print {
    @page {
        size: 210mm 297mm;
    }

    body {
        font-size: 12pt;
    }

    a[href]:after {
        content: '' !important;
    }

    abbr[title]:after {
        content: '' !important;
    }
}
