@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap');

/* =============================================
    # reset
============================================= */

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

:where(html, body, header, footer, main, section, article, aside, nav,
       div, h1, h2, h3, h4, h5, h6, p, blockquote,
       ul, ol, dl, dt, dd, li,
       figure, figcaption,
       table, tr, th, td,
       form, fieldset, legend) {
    margin: 0;
    padding: 0;
}

:where(ul, ol, dl) {
    list-style: none;
}

:where(img, video, object, iframe) {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
    border: 0;
}

:where(table) {
    border-collapse: collapse;
    border-spacing: 0;
    table-layout: fixed;
}

:where(th, td) {
    vertical-align: middle;
}

:where(input, button, select, textarea) {
    appearance: none;
    font: inherit;
    color: inherit;
    background: transparent;
    border: 0;
}

/* =============================================
    # 共通設定
============================================= */

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    background: #f6f4f5;
}

body {
    max-width: 800px;
    font-family: 'Noto Sans JP', Meiryo, sans-serif;
    font-size: clamp(15px, 7px + 1.96vw, 32px);
    line-height: 1.8;
    font-weight: 500;
    font-feature-settings: "palt";
    letter-spacing: 0.06em;
    color: #222;
    background: #dff4fd;
    margin: 0 auto;
}

:where(h1, h2, h3, h4, h5, h6, strong, th) {
    font-weight: 600;
}

a {
    color: #05d;
    text-decoration: none;
    transition: opacity .3s, color .3s;
}

@media (hover: hover) {

a:hover {
    text-decoration: underline;
}

a:hover img {
    opacity: .6;
}

}

img {
    transition: opacity .3s;
}

/* =============================================
    # footer
============================================= */

footer {
    font-size: 75%;
    color: #fff;
    text-align: center;
    background: linear-gradient(90deg, #128, #0be);
    padding: 2em 0 10em;
}

/* =============================================
    # nav
============================================= */

nav {
    width: 100%;
    max-width: 800px;
    background: #fff;
    position: fixed;
    bottom: 0;
}

nav h2 {
    display: none;
}

nav ul {
    display: flex;
}

nav ul li {
    flex: 1;
    padding: .5em;
}

nav ul li:nth-child(2) {
    display: none;
}

nav ul li a {
    display: block;
    animation: anime 1s ease 0s infinite alternate;
    transform-origin:center;
}

@keyframes anime {
    0% {transform: scale(0.97,0.97);}
    100% {transform: scale(1,1);}
}

@media (width < 480px) {

nav h2 {
    display: block;
    text-align: center;
    font-size: clamp(15px, 7px + 1.96vw, 32px);
    font-weight: 700;
    padding: .2em 0 0;
}

nav h2 strong {
    color: #d00;
}

nav ul {
    padding: 0 .2em .2em;
}

nav ul li {
    padding: .2em;
}

nav ul li:nth-child(1) {
    display: none;
}

nav ul li:nth-child(2) {
    display: block;
}

}

/* =============================================
    #
============================================= */

.text {
    display: none;
}

/* =============================================
    # Youtube埋め込み
============================================= */

.youtube {
    background: #fff;
    padding: 40px 30px;
}

@media (width < 480px) {

.youtube {
    padding: 20px 10px;
}

}

.youtube iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
}

/* =============================================
    # アコーディオン
============================================= */

.accordion {
    padding: 0 30px 80px;
}

.accordion dl {
    margin: 1em 0;
}

.accordion dt {
    display:block;
    font-weight: 600;
    background: #fff;
    margin: 0 auto 0;
    padding: 20px 50px 20px 90px;
    position: relative;
    cursor:pointer;
}

.accordion dt::before {
    content: "Q";
    display: block;
    width: 50px;
    height: 50px;
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    line-height: 50px;
    background: #128;
    position: absolute;
    top: calc(50% - 25px);
    left: 20px;
    border-radius: 50%;
}

.accordion dt::after {
    content: "";
    display: inline-block;
    position: absolute;
    top: 45%;
    right: 30px;
    width: 10px;
    height: 10px;
    border-right: 3px solid #128;
    border-bottom: 3px solid #128;
    transform: translateY(-50%) rotate(45deg);
    transition: .3s;
}

.accordion dt.open {
    background: #f6f6f6;
}

.accordion dt.open::after {
    transform: rotate(225deg);
}

.accordion dd {
    display:none;
    margin: 0 auto;
    border-top: 1px dashed #ddd;
    background: #fff;
    padding: 40px 50px 40px 90px;
    position: relative;
}

.accordion dd::before {
    content: "A";
    display: block;
    width: 50px;
    height: 50px;
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    line-height: 50px;
    background: #0be;
    position: absolute;
    top: 30px;
    left: 20px;
    border-radius: 50%;
}

@media (width < 480px) {

.accordion {
    padding: 0 10px 40px;
}

.accordion dt {
    padding: 20px 40px 20px 60px;
}

.accordion dt::before {
    width: 40px;
    height: 40px;
    font-size: 16px;
    line-height: 40px;
    background: #128;
    position: absolute;
    top: calc(50% - 20px);
    left: 10px;
}

.accordion dt::after {
    right: 20px;
}

.accordion dd {
    padding: 20px 20px 20px 60px;
}

.accordion dd::before {
    width: 40px;
    height: 40px;
    font-size: 16px;
    line-height: 40px;
    top: 10px;
    left: 10px;
}

}

/* =============================================
    #
============================================= */

#section10 {
    background: #fff;
    padding: 0 30px 80px;
}

@media (width < 480px) {

#section10 {
    padding: 0 10px 40px;
}

}

.terms {
}

.terms h3 {
    border-bottom: 5px solid;
    margin: .75em 0 .5em;
}

.terms h3 span {
    display: inline-block;
    color: #fff;
    background: #222;
    padding: 0 .75em;
}

.terms h4 span {
    display: inline-block;
    border: 2px solid #222;
    margin: .5em 0 0;
    padding: 0 .75em;
    border-radius: 3em;
}

.terms p,
.terms ul {
    margin: .5em 0;
}

.list {
    list-style: circle;
}

.list li {
    margin: 0 0 0 1.5em;
}

/* =============================================
    # モーダル
============================================= */

.modal {
    display: flex;
    position: fixed;
    inset: 0;
    z-index: 1000;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 10px;
    visibility: hidden;
    transition: visibility .2s ease-out;
}

.modal.is-open {
    visibility: visible;
    transition: visibility 0s;
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, .8);
    opacity: 0;
    transition: opacity .2s ease-out;
}

.modal.is-open .modal-overlay {
    opacity: 1;
}

.modal-window {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: auto;
    background: #fff;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, .15);
    opacity: 0;
    transform: scale(.95);
    transition: transform .2s ease-out, opacity .2s ease-out;
}

.modal.is-open .modal-window {
    opacity: 1;
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 16px;
    width: 40px;
    height: 40px;
    font-size: 32px;
    line-height: 1;
    color: #888;
    cursor: pointer;
}

.modal-title {
    font-size: 28px;
    font-weight: 800;
    color: #333;
    text-align: center;
    margin: 0 0 .8em;
}

.modal-submit {
    display: block;
    position: relative;
    width: 360px;
    max-width: 100%;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    background: linear-gradient(#3b4, #081);
    margin: 1.5em auto 0;
    padding: 18px 0;
    border-radius: 10px;
}

.modal-submit::after {
    content: "›";
    position: absolute;
    top: 50%;
    right: 1em;
    font-size: 1.4em;
    line-height: 1;
    transform: translateY(-50%);
}

body.modal-active {
    overflow: hidden;
}

.modal-form {
    font-size: 16px;
    line-height: 1.6;
    letter-spacing: normal;
    color: #333;
}

.form-row {
    display: grid;
    grid-template-columns: 12.5em 1fr;
    align-items: center;
    gap: .5em 1em;
    margin: 0 0 1em;
}

.form-label {
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 .25em;
}

.req,
.opt {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    margin-right: .5em;
    padding: 4px 10px;
    border-radius: 3px;
    vertical-align: middle;
}

.req {
    background: #d00;
}

.opt {
    background: #999;
}

.modal-form input[type="text"],
.modal-form input[type="number"],
.modal-form input[type="tel"],
.modal-form input[type="email"],
.modal-form textarea {
    width: 100%;
    font-size: 16px;
    background: #fff;
    border: 2px solid #ddd;
    border-radius: 5px;
    padding: 14px;
}

.modal-form input::placeholder,
.modal-form textarea::placeholder {
    color: #ccc;
}

.modal-form input:focus,
.modal-form textarea:focus {
    outline: 2px solid #0be;
    border-color: #0be;
}

.modal-form textarea {
    resize: vertical;
}

.field-age {
    display: flex;
    align-items: center;
    gap: .5em;
}

.field-age input {
    width: 8em;
}

.field-age .suffix {
    flex: none;
}

.form-choices {
    border: 2px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
}

.choice {
    display: flex;
    align-items: center;
    gap: .5em;
    padding: 12px 14px;
    border-top: 1px solid #eee;
    cursor: pointer;
}

.choice:first-child {
    border-top: 0;
}

.choice input[type="checkbox"],
.choice input[type="radio"] {
    appearance: auto;
    -webkit-appearance: auto;
    width: 1.1em;
    height: 1.1em;
    accent-color: #128;
}

@media (width < 480px) {

.modal-window {
    padding: 40px 16px 24px;
}

.form-row {
    grid-template-columns: 1fr;
    gap: .3em;
    margin: 0 0 1.2em;
}

.modal-title {
    font-size: 22px;
}

}

/* =============================================
    #
============================================= */

#thanks {
    background: #fff;
    padding: 40px 40px 80px;
}

@media (width < 480px) {

#thanks {
    padding: 20px 20px 40px;
}

}

.icon {
    display: block;
    width: 50%;
    max-width: 320px;
    margin: 0 auto 2em;
}

.tel {
    display: block;
    width: 80%;
    max-width: 480px;
    margin: 2em auto;
}

#thanks h2 {
    font-weight: 800;
    text-align: center;
    margin: 1em 0;
}

#thanks p {
    margin: 1em 0;
}

#thanks p a {
    display: block;
    width: 60%;
    max-width: 360px;
    text-align: center;
    background: #ddd;
    margin: 2em auto;
    padding: .5em 0;
    border-radius: 3em;
}

