@import url('https://fonts.googleapis.com/css2?family=Jost:wght@400;500&display=swap');

.ctrl_wrapper {
    display: none;
}

#seminar_cms_area {
    margin: 0;
}

/* 全幅（100vw）要素による横スクロールを防止 */
#main_contents_wrapper {
    overflow-x: clip;
}

.wb {
    font-family: 'Noto Sans JP', "ヒラギノ角ゴ ProN W3", Hiragino Kaku Gothic ProN, Arial, "メイリオ", Meiryo, sans-serif;
    font-weight: 900;
    letter-spacing: 0.05em;
}

.wl {
    font-family: 'Noto Sans JP', "ヒラギノ角ゴ ProN W3", Hiragino Kaku Gothic ProN, Arial, "メイリオ", Meiryo, sans-serif;
    font-weight: 200;
}

.wmin {
    font-family: 'Noto Serif JP', serif;
}

i,
span {
    font: inherit;
}

.flex {
    display: flex;
    -webkit-display: flex;
    justify-content: space-between;
    -webkit-justify-content: space-between;
    flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    align-items: center;
    -webkit-align-items: center;
    gap: var(--gap-size);
}

.smpbr {
    display: none;
}

.pcbr {
    display: inline;
}

:root {
    --page-color: #0888cf;
    --page-dark-color: #013042;
    --sub-color: #667072;
    --bg-color: #f8f9fb;
    --gray-color: #eeeff3;
    --text-color: #687070;
    --link-color: #097bd1;
    --gap-size: 50px;
    --default-margin: 120px;
}

#contain {
    position: relative;
    display: flow-root;
    padding: 0;
    letter-spacing: 0.04em;
    font-size: 16px;
    color: #333;
    line-height: 2;
    font-weight: 400;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    /* ページ全体の背景色を左右いっぱいに広げる */
    border-image: linear-gradient(var(--bg-color), var(--bg-color)) fill 0 / / 0 100vmax;
}

#contain::after {
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    height: 360px;
    bottom: 0;
    left: 0;
    /* background: linear-gradient(90deg, var(--bg-color), #ffffff); */
    border-image: linear-gradient(var(--bg-color), #ffffff) fill 0 / / 0 100vmax;
}

#contain i,
#contain span {
    font: inherit;
}

#contain img {
    vertical-align: bottom;
}

#contain strong {
    font-weight: bold;
}

#contain a {
    font-weight: bold;
}

@media (hover: hover) {
    #contain a:hover {
        opacity: 0.7;
    }
}

/* 注釈番号（※1など） */
#contain .note {
    margin-left: 0.1em;
    font-size: 0.65em;
    font-weight: normal;
    letter-spacing: 0;
    opacity: 0.7;
}

.content-box {
    margin: var(--default-margin) auto;
}

.content-head {
    margin-bottom: 50px;
    font-size: 2.875em;
    font-weight: bold;
    text-align: center;
    letter-spacing: 0.1em;
    line-height: 1.5;
    font-feature-settings: "palt";
}

/* 見出しのグラデーション文字（紺→青） */
.grad-text {
    display: inline-block;
    background: linear-gradient(90deg, var(--page-dark-color), var(--page-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.content-text {
    color: var(--text-color);
    font-size: 1.1em;
    font-weight: bold;
    line-height: 2.1;
    letter-spacing: 0.05em;
}

#contain .attention {
    margin-top: 1.5em;
    font-size: 0.7em;
    filter: opacity(0.8);
    line-height: 1.8;
    word-break: break-all;
}

br.smpbr {
    display: none;
}

/* ボタン（ダークグラデーション） */
.btn {
    position: relative;
    display: block;
    width: 320px;
    margin: 0 auto;
    padding: 25px 0;
    background: linear-gradient(90deg, #1d1f26 0%, #3b3f4b 38%, #111215 62%, #2a2e37 100%);
    color: #fff;
    font-size: 1.25em;
    font-weight: bold;
    text-align: center;
    line-height: 1;
    letter-spacing: 0.1em;
    border-radius: 2em;
}

#contain .btn {
    color: #fff;
}

.btn::after {
    content: "";
    position: absolute;
    width: 8px;
    height: 8px;
    top: 50%;
    right: 30px;
    transform: translateY(-50%) rotate(-45deg);
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
}

.content-photo {
    width: fit-content;
}

.content-info {
    flex: 1;
}

/* 左右に線が入る小見出し */
.spec-head {
    gap: 0 80px;
    margin-bottom: 30px;
    color: #444;
    font-size: 1.2em;
    font-weight: bold;
    font-feature-settings: "palt";
    letter-spacing: 0.1em;
}

.spec-head::before,
.spec-head::after {
    content: "";
    height: 1px;
    flex-grow: 1;
    background-color: #999;
}

/* reset.cssでpが左寄せになるため、中央寄せの要素は個別に指定 */
.point-icon,
.point-num,
.point-name,
.main-img,
.main-type,
.main-logo,
.spec-img,
.lineup-img,
.lineup-name,
.lineup-text {
    text-align: center;
}

/* アイコン付きの数値 */
.point-list {
    justify-content: flex-start;
    margin-top: 60px;
    padding-left: 10px;
}

.point-list li {
    text-align: center;
}

.point-icon img {
    width: 40px;
    height: 40px;
}

.point-num {
    margin-top: 10px;
    font-family: "Jost", sans-serif;
    font-size: 3.2em;
    font-weight: 500;
    line-height: 1.2;
    /* letter-spacing: 0; */
}

.point-name {
    font-size: 0.9em;
    font-weight: bold;
    line-height: 1.5;
}


/* メインビジュアル */
#main {
    padding: 110px 0 140px;
    text-align: center;
    border-image: linear-gradient(#fff, #f3f4f8) fill 0 / / 0 100vmax;
}

.main-head {
    margin-bottom: 60px;
    font-size: 3.75em;
    font-weight: bold;
    letter-spacing: 0.12em;
    line-height: 1.4;
    font-feature-settings: "palt";
}

.main-img {
    margin-bottom: 70px;
}

.main-type {
    color: var(--text-color);
    font-size: 1.125em;
    font-weight: bold;
    letter-spacing: 0.15em;
    line-height: 1.5;
}

.main-logo {
    margin: 15px 0 70px;
}

/* 全幅の製品画像 */
.main-photo {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    height: 550px;
    background-image: url(../img/main_photo.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-attachment: fixed;
}

/* .main-photo img {
    display: block;
    width: 100%;
    height: auto;
} */

#about {
    margin-top: 0;
    padding-top: 110px;
    border-image: linear-gradient(#f0f1f5, var(--bg-color)) fill 0 / / 0 100vmax;
}

.about-box {
    gap: 0 40px;
}

.about-box .content-photo {
    width: 520px;
    text-align: center;
}

.about-box .content-head {
    text-align: left;
}

/* 円形のフロー図 */
.flow-list {
    gap: 0 75px;
    margin-top: 150px;
}

.flow-list li {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: calc((100% - 300px) / 5);
    max-width: 180px;
    aspect-ratio: 1 / 1;
    background-color: var(--sub-color);
    border-radius: 50%;
    box-shadow: inset 0 0 0 10px var(--sub-color), inset 0 0 0 11px rgba(255 255 255 / 0.6);
    color: #fff;
    font-size: 1.125em;
    font-weight: bold;
    text-align: center;
    line-height: 1.9;
    letter-spacing: 0.08em;
}

/* 円と円の間の右向き矢印（背景画像） */
.flow-list li:not(:last-of-type)::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -48px;
    width: 20px;
    height: 20px;
    transform: translateY(-50%);
    background: url(../img/flow_arrow.svg) no-repeat center / contain;
}

#clothes {
    margin-top: 180px;
    margin-bottom: 110px;
}

.clothes-lead {
    margin-bottom: 90px;
    text-align: center;
}

.clothes-list {
    gap: 0 24px;
}

.clothes-list li {
    width: calc((100% - 48px) / 3);
}

.clothes-list img {
    width: 100%;
    height: auto;
}

#mode {
    margin-top: 110px;
    padding-top: 65px;
    border-image: linear-gradient(var(--gray-color), var(--gray-color)) fill 0 / / 0 100vmax;
}

.mode-box {
    justify-content: flex-start;
    align-items: flex-end;
    gap: 0 80px;
}

.mode-box .content-info {
    flex: none;
    width: 500px;
    padding-bottom: 120px;
}

.mode-box .content-photo {
    width: 550px;
}

.mode-box .content-head {
    text-align: left;
}

#spec {}

.spec-head {
    margin-bottom: 100px;
}

.spec-box {
    align-items: center;
}

.spec-left {
    width: 500px;
    text-align: center;
}

.spec-table {
    width: 650px;
    border-collapse: collapse;
    border: 1px solid #ccc;
    background-color: #fff;
}

.spec-table th,
.spec-table td {
    height: 60px;
    padding: 10px 20px;
    border-bottom: 1px solid #ccc;
    font-size: 0.9em;
    line-height: 1.6;
    vertical-align: middle;
    text-align: left;
}

.spec-table th {
    width: 200px;
    background-color: #eceef2;
    border-right: 1px solid #ccc;
    font-weight: bold;
}

.spec-table td {
    color: var(--text-color);
}


/* お問い合わせフォーム */
#inquiry {
    margin-top: 135px;
    padding: 90px 60px 80px;
    background: var(--gray-color);
    border-radius: 3px;
}

#inquiry .content-inner {
    max-width: 820px;
    margin: 0 auto;
}

.inquiry-head {
    margin-bottom: 25px;
    text-align: center;
    font-size: 30px;
    font-weight: bold;
    letter-spacing: 0.08em;
}

.inquiry-text {
    color: var(--text-color);
    font-size: 1em;
    text-align: center;
}

#form input[type=text],
#form select,
#form textarea {
    width: 100%;
    height: 56px;
    padding: 0.9em 1.0em;
    background-color: #fff;
    border: 1px solid #c3ced5;
    border-radius: 3px;
}

#form textarea {
    height: 120px;
    resize: vertical;
}

#form input[type=text]:focus,
#form select:focus,
#form textarea:focus {
    border: 1px solid #7d919d;
}

#form input::placeholder {
    color: #ccc;
}

.form-box-wrap {
    margin-top: 50px;
}

.form-box {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 0 30px;
}

.form-box:not(:last-of-type) {
    margin-bottom: 15px;
}

.form-box:first-of-type {
    margin-bottom: 25px;
}

.form-box:has(textarea) {
    align-items: flex-start;
}

.form-box:has(textarea) .form-label {
    padding-top: 0.8em;
}

.form-label {
    flex-shrink: 0;
    width: 200px;
    margin: 0;
    font-size: 16px;
    font-weight: bold;
    font-feature-settings: "palt";
}

#form .form-label .required {
    margin-left: 3px;
    font-size: 10px;
    color: #f33;
}

.form-input {
    flex: 1;
}

.form-input.form-input-short {
    flex: none;
    width: 240px;
}

.form-radio {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 30px;
}

.form-radio label {
    display: inline-flex;
    align-items: center;
    gap: 0 8px;
    margin: 0;
    color: var(--text-color);
    font-size: 15px;
    cursor: pointer;
}

.form-radio label:has(input:checked) {
    color: var(--link-color);
    font-weight: bold;
}

.form-radio input[type=radio] {
    position: relative;
    width: 24px;
    height: 24px;
    margin: 0;
    padding: 0;
    background-color: #fff;
    border: 1px solid #aaa;
    border-radius: 50%;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
}

.form-radio input[type=radio]:checked {
    border: 2px solid var(--link-color);
}

.form-radio input[type=radio]:checked::before {
    content: "";
    position: absolute;
    width: 12px;
    height: 12px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--link-color);
    border-radius: 50%;
}

.form-button-box {
    margin-top: 25px;
    text-align: center;
}

.form-btn {
    position: relative;
    display: inline-block;
    width: 320px;
    border: none;
    cursor: pointer;
}

.form-btn::after {
    display: none;
}

@media (hover: hover) {
    .form-button-box .form-btn:hover {
        opacity: 0.7;
    }
}

#form.loaded {
    display: none;
}

#form-complete {
    display: none;
}

#form.loaded+#form-complete {
    display: block;
}

.form-complete-head {
    margin-top: 30px;
    text-align: center;
}

.form-policy {
    margin-top: 40px;
    text-align: center;
}

.form-policy-text {
    color: var(--text-color);
    text-align: center;
    font-size: 14px;
}

.form-policy-text a {
    color: var(--link-color);
    text-decoration: underline;
}

.form-policy label {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 0 7px;
    margin-top: 15px;
    margin-right: 0;
    color: var(--text-color);
    cursor: pointer;
    font-size: 14px;
}

.form-policy label:has(#form-policy:checked) {
    font-weight: bold;
    color: var(--link-color);
}

#form-policy {
    position: relative;
    margin: 0;
    padding: 0;
    width: 20px;
    height: 20px;
    box-shadow: 0 0 0 1px #aaa inset;
    border-radius: 2px;
    background-color: #fff;
    -webkit-appearance: none;
    appearance: none;
}

#form-policy:checked::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: var(--link-color);
    border-radius: 2px;
}

#form-policy:checked::after {
    content: "";
    position: absolute;
    width: 9px;
    height: 5px;
    top: 4px;
    left: 3px;
    border-left: 3px solid #fff;
    border-bottom: 3px solid #fff;
    transform: rotate(-45deg);
    z-index: 1;
}

/* ラインナップ */
#lineup {
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

#lineup .content-head {
    margin-bottom: 75px;
    color: #333;
}

.lineup-list {
    gap: 0;
    align-items: stretch;
}

.lineup-list li {
    width: 50%;
    padding: 75px 40px;
    background-color: #fff;
    border: 1px solid #e5e5e5;
    text-align: center;
}

.lineup-list li + li {
    border-left: none;
}

.lineup-img {
    margin-bottom: 40px;
}

.lineup-name {
    margin-bottom: 25px;
    font-family: "Jost", sans-serif;
    font-size: 1.75em;
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: 0.02em;
}

.lineup-text {
    margin-bottom: 35px;
    font-size: 1em;
    font-weight: bold;
    line-height: 2;
}

#lineup .attention {
    width: 50%;
    margin-top: 30px;
    font-size: 0.75em;
    text-align: center;
}




@media (hover: hover) {}

/* コンテンツ幅（1200px）より画面が狭い場合 */
@media (max-width: 1240px) {
    #contain img {
        max-width: 100%;
        height: auto;
    }

    .content-box {
        padding-left: 20px;
        padding-right: 20px;
    }

    .main-photo {
        height: 480px;
    }

    #inquiry {
        margin-left: 20px;
        margin-right: 20px;
    }

    .about-box .content-photo {
        width: 40%;
    }

    .mode-box {
        gap: 0 40px;
    }

    .mode-box .content-info {
        flex: 1;
        width: auto;
    }

    .mode-box .content-photo {
        width: 45%;
    }

    .spec-left {
        width: 40%;
    }

    .spec-table {
        width: auto;
        flex: 1;
    }
}

@media (max-width: 768px) {
    #contain img {
        width: 100%;
        height: auto;
    }

    #contain .main-img img {
        width: 260px;
    }

    #contain .main-logo img {
        width: 220px;
    }

    .main-photo {
        width: 100vw;
        height: 40vh;
        background-size: cover;
    }

    #contain .point-icon img {
        width: 40px;
    }

    .about-box {
        gap: 0 40px;
    }

    .about-box .content-photo {
        width: 200px;
    }

    .flow-list {
        gap: 0 40px;
    }

    .flow-list li {
        width: calc((100% - 160px) / 5);
        box-shadow: inset 0 0 0 6px var(--sub-color), inset 0 0 0 7px rgba(255 255 255 / 0.6);
        font-size: 0.7em;
        line-height: 1.6;
        letter-spacing: 0;
    }

    .flow-list li:not(:last-of-type)::after {
        right: -30px;
    }

    .mode-box .content-photo {
        width: 40%;
    }

    .spec-left {
        width: 35%;
    }

    .spec-table {
        width: auto;
        flex: 1;
    }

    .lineup-list li {
        padding: 40px 25px;
    }

    #contain .lineup-img img {
        width: 80%;
    }
}

@media (max-width: 599px) {
    :root {
        --gap-size: 25px;
        --default-margin: 45px;
    }

    #contain {
        font-size: 14px;
        line-height: 1.7;
    }

    #contain,
    #contain-current {
        padding: 0;
    }

    br.smpbr {
        display: inline !important;
    }

    br.pcbr {
        display: none;
    }

    div.page_scroll.cv_btn,
    .practice-info-box,
    div.sp_line {
        display: none;
    }

    .content-box {
        margin: 45px auto 0 auto;
        padding: 0 15px;
    }

    .content-head {
        margin-bottom: 25px;
        font-size: 1.8em;
    }

    .content-text {
        font-size: 1.0em;
        line-height: 2;
        letter-spacing: 0.04em;
    }

    .content-text br {
        display: none;
    }

    .content-text br.smpbr {
        display: inline;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        padding: 20px 0;
    }

    .spec-head {
        gap: 0 15px;
        margin-bottom: 20px;
        font-size: 1.1em;
    }

    .point-list {
        justify-content: center;
        margin-top: 25px;
        padding-left: 0;
    }

    .point-num {
        font-size: 2.2em;
    }

    #main {
        padding: 50px 15px 60px;
    }

    .main-head {
        margin-bottom: 30px;
        font-size: 2.0em;
    }

    .main-img {
        margin-bottom: 30px;
    }

    #contain .main-img img {
        width: 200px;
    }

    .main-logo {
        margin-bottom: 30px;
    }

    #contain .main-logo img {
        width: 180px;
    }

    #about {
        margin-top: 0;
        padding-top: 45px;
    }

    .about-box {
        flex-direction: column;
        gap: var(--gap-size) 0;
    }

    .about-box .content-photo {
        width: 140px;
        margin: 0 auto;
    }

    .about-box .content-head {
        text-align: center;
    }

    /* SP時は縦並び＋下向き矢印に切り替え */
    .flow-list {
        flex-direction: column;
        gap: 40px 0;
        margin-top: 50px;
    }

    .flow-list li {
        width: 100%;
        padding: 1.5em 0;
        max-width: none;
        box-shadow: inset 0 0 0 5px var(--sub-color), inset 0 0 0 6px rgba(255 255 255 / 0.6);
        font-size: 1.0em;
        line-height: 1.7;
        aspect-ratio: auto;
        border-radius: 5px;
    }

    .flow-list li br {
        display: none;
    }

    /* 矢印を90度回転させて下向きに */
    .flow-list li:not(:last-of-type)::after {
        top: auto;
        right: auto;
        bottom: -30px;
        left: 50%;
        transform: translateX(-50%) rotate(90deg);
    }

    #clothes {
        margin-top: 60px;
        margin-bottom: 0;
    }

    .clothes-lead {
        margin-bottom: 25px;
        text-align: left;
    }

    .clothes-list {
        flex-direction: column;
        gap: 10px 0;
    }

    .clothes-list li {
        width: 100%;
    }

    #mode {
        padding-top: 45px;
        margin-top: 45px;
    }

    .mode-box {
        flex-direction: column;
        align-items: center;
        gap: 30px 0;
    }

    .mode-box .content-info {
        padding-bottom: 0;
    }

    .mode-box .content-head {
        text-align: center;
    }

    .mode-box .content-photo {
        width: 75%;
    }

    .spec-box {
        flex-direction: column;
        gap: 25px 0;
    }

    .spec-left {
        width: 50%;
    }

    .spec-table {
        width: 100%;
    }

    .spec-table th,
    .spec-table td {
        height: 52px;
        padding: 10px;
        font-size: 0.9em;
    }

    .spec-table th {
        width: 38%;
    }


    #inquiry {
        padding: 25px 15px;
        margin-top: 45px;
        margin-left: 0;
        margin-right: 0;
        border-radius: 0;
    }

    .inquiry-head {
        margin-bottom: 20px;
        font-size: 18px;
    }

    .inquiry-text {
        font-weight: normal;
        text-align: left;
    }

    .inquiry-text br {
        display: none;
    }

    .form-box-wrap {
        margin-top: 25px;
    }

    .form-box {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px 0;
    }

    .form-box:not(:last-of-type) {
        margin-bottom: 15px;
    }

    .form-label {
        width: 100%;
    }

    .form-input,
    .form-input-short {
        width: 100%;
    }

    .form-radio {
        margin-top: 10px;
        gap: 8px 20px;
    }

    .form-radio label {
        width: 100%;
        padding: 12px 15px;
        border: 1px solid #c3ced5;
        border-radius: 5px;
    }

    .form-radio label:has(:checked) {
        border: 1px solid var(--page-color);
    }

    .form-button-box {
        margin-top: 20px;
    }

    .form-btn {
        display: block;
        width: 100%;
        max-width: none;
    }

    #lineup {
        margin-bottom: 45px;
    }

    #lineup .content-head {
        margin-bottom: 25px;
    }

    .lineup-list {
        flex-direction: column;
    }

    .lineup-list li {
        width: 100%;
        padding: 30px 20px;
    }

    .lineup-list li + li {
        border-left: 1px solid #e5e5e5;
        border-top: none;
    }

    .lineup-img {
        margin-bottom: 20px;
    }

    .lineup-name {
        margin-bottom: 10px;
        font-size: 1.4em;
    }

    .lineup-text {
        margin-bottom: 20px;
    }

    #lineup .attention {
        width: 100%;
        text-align: center;
    }

}
