* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
    color: inherit;
}

.mobile {
    display: none;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 5rem; /* 80px */
    padding: 0.625rem; /* 10px */
    background-color: #ffffff79;
    backdrop-filter: blur(5px);
    color: #000000;
    z-index: 4;
}

html {
    font-size: 16px;
}

body {
    font-family: "Noto Serif JP", serif;
    overflow-x: hidden;
    overflow-y: scroll;
    text-align: center;
}

.top {
    height: 100vh;
    position: relative;
    z-index: 5;
}

.top::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(../asset/photo01.png);
    background-size: cover;
    background-position: center;
    filter: blur(5px) brightness(1.2);
    z-index: 0;
}

.top::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.4);
    z-index: 1;
}

.top div {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    position: relative;
    z-index: 2;
}

.top div ul li img {
    width: 37.5rem; /* 600px */
}

.top div ul li p {
    font-size: 1.4rem;
    letter-spacing: 0.35rem;
    font-family: "Yuji Syuku", serif;
}

.intro {
    z-index: 20;
    position: relative;
}

.introduction {
    background-color: #ffecec;
    width: 100vw;
    border-radius: 8.9vw 8.9vw 0 0; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.pre-main {
    margin-top: 8.9375rem; /* 143px */
    width: 84%;
    background-color: white;
    border-radius: 2.9375rem; /* 47px */
    align-items: center;
    filter: drop-shadow(0 0 0.05625rem rgba(0, 0, 0, 0.26)); /* 0.9rem */
    transition: 0.5s;
    margin-bottom: 8.9375rem; /* 143px */
}

.pre-main:hover {
    margin-top: 8.9375rem;
    width: 84%;
    background-color: white;
    border-radius: 2.9375rem;
    align-items: center;
    filter: drop-shadow(0 0 0.03125rem rgba(0, 0, 0, 0.26)); /* 0.5rem */
}

.introduction div h2 {
    font-size: 3.12rem;
    margin-top: 5rem; /* 80px */
    margin-bottom: 1.875rem; /* 30px */
    font-weight: 200;
}

.introduction div p {
    font-size: 1.25rem;
    letter-spacing: 0.2rem;
    line-height: 200%;
    margin-bottom: 5rem; /* 80px */
    font-weight: 200;
}

.main {
    position: relative;
    background-color: #ffffff;
    width: 100vw;
    border-radius: 8.9vw 8.9vw 0 0; /* 172px */
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

.main > div {
    margin-left: 16rem;
    margin-right: 16rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    height: auto;
    margin-bottom: 3.75rem; /* 60px */
}

.main div h2 {
    font-size: 3.12rem;
    margin-top: 5rem;
    margin-bottom: 1.875rem;
    font-weight: 200;
}

.main div p {
    font-size: 1.25rem;
    letter-spacing: 0.3rem;
    line-height: 200%;
    margin-bottom: 0;
    font-weight: 200;
}

.profile_your_img {
    position: relative;
    margin-top: auto;
}

.profile_your_img img {
    border-radius: 30%;
    width: 15.625rem; /* 250px */
    display: block;
    margin: 0 auto;
}

.introduce {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    filter: drop-shadow(0.25rem 0.25rem 0.5rem rgba(0, 0, 0, 0.2));
    background-color: transparent;
    text-align: center;
}

.blog_link_btn {
    text-decoration: none;
    border: 1px solid black;
    border-radius: 1.875rem; /* 30px */
    padding: 0.3125rem 0;
    background-color: transparent;
    color: rgb(0, 0, 0);
    font-weight: 300;
    width: 15.625rem; /* 250px */
    height: 2.5rem; /* 40px */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1.25rem; /* 20px */
    cursor: pointer;
    transition: .2s cubic-bezier(0.45, 0, 0.55, 1);
}

.blog_link_btn:hover {
    color: #ffffff;
    border: 1px solid rgb(255, 255, 255);
    background-color: rgb(250, 178, 193);
}

.contact-form div p {
    letter-spacing: 0.1rem;
    margin-bottom: 0.625rem; /* 10px */
}

.contact-form div div div p {
    letter-spacing: 0.1rem;
}

.contact-form div {
    width: 100%;
}

.contact-form ul {
    display: flex;
    gap: 1.25rem; /* 20px */
    width: 100%;
}

.contact-form ul li {
    width: 100%;
}

.contact-form button {
    padding: 0.3125rem 0;
    border: 1px solid black;
    width: 100%;
    height: 3.75rem; /* 60px */
    border-radius: 0.625rem; /* 10px */
    transition: .2s cubic-bezier(0.45, 0, 0.55, 1);
}

.contact-form button:hover {
    padding: 0.3125rem 0;
    border: 1px solid black;
    background-color: rgb(250, 178, 193);
    border-radius: 0.625rem;
}

.contact-form button.active {
    background-color: rgb(243, 128, 151);
    color: rgb(255, 255, 255);
    font-weight: 400px;
    border: 1px solid rgb(255, 255, 255);
}

.contact-form .content {
    display: none;
    margin-top: 0.625rem; /* 10px */
}

.content h4 {
    font-size: 1.3rem;
    margin-top: 1.5rem;
    color: #aa4464;
    border-left: 0.25rem solid #fcb1c3; /* 4px */
    padding-left: 0.5rem;
    margin-bottom: 0.625rem; /* 10px */
}

.class_link_btn {
    display: flex; /* 中央揃えのために必要 */
    align-items: center;      /* 垂直方向中央 */
    justify-content: center;  /* 水平方向中央 */
    text-align: center;

    padding: 0.3125rem 0;
    border: 1px solid black;
    width: 100%;
    height: 2.5rem;   /* 40px */
    border-radius: 0.625rem;
    transition: .2s cubic-bezier(0.45, 0, 0.55, 1);
    margin: 1.875rem 0; /* 30px */
}

.class_link_btn:hover {
    background-color: rgb(243, 128, 151);
    color: rgb(255, 255, 255);
    font-weight: 400px;
    border: 1px solid rgb(255, 255, 255) !important;
}

.access {
    display: flex;
    flex-direction: column;
}

table {
    border-collapse: collapse;
    padding: 0;
    color: #000000;
}

table tr {
    background-color: #fff;
    padding: .35em;
    border-bottom: 1px dotted #000000;
}

table th,
table td {
    padding: 1em 0.625rem 1em 0.625rem;
}

.tbody th {
    color: #000000;
}

.txt {
    text-align: left;
    font-size: 0.85em;
}

.price {
    text-align: right;
}

iframe {
    border: #000 solid 0.0625rem; /* 1px */
    border-radius: 0.625rem;
    height: 60vh;
    width: 100%;
    text-align: center;
    top: 50%;
    left: 50%;
    margin-top: 3.75rem; /* 60px */
}


@media (max-width: 1440px) { /* 1440px */
    .main > div {
        margin-left: 5rem;
        margin-right: 5rem;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        height: auto;
        margin-bottom: 3.75rem; /* 60px */
    }
}

@media (max-width: 1087px) { /* 1087px */
    .main div p {
        font-size: 1.25rem;
        letter-spacing: 0.1rem;
        line-height: 200%;
        margin-bottom: 0;
        font-weight: 200;
    }

    .pre-main {
        margin-top: 3.125rem; /* 50px */
        width: 100%;
        background-color: rgba(255, 255, 255, 0);
        border-radius: 2.9375rem; /* 47px */
        align-items: center;
        filter: drop-shadow(0 0 0.9rem rgba(0, 0, 0, 0.26));
        transition: 0.5s;
        margin-bottom: 3.125rem; /* 50px */
    }

    .pre-main:hover {
        margin-top: 3.125rem;
        width: 100%;
        background-color: rgba(255, 255, 255, 0);
        border-radius: 2.9375rem;
        align-items: center;
        filter: drop-shadow(0 0 0.9rem rgba(0, 0, 0, 0.26));
        transition: 0.5s;
        margin-bottom: 3.125rem;
    }

    .introduction {
        background-color: #ffecec;
        width: 100vw;
        border-radius: 3.125rem 3.125rem 0 0; /* 50px */
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .main {
        position: relative;
        background-color: #ffffff;
        width: 100vw;
        border-radius: 3.125rem 3.125rem 0 0; /* 50px */
        display: flex;
        flex-direction: column;
        justify-content: center;
        text-align: left;
    }
}

@media (max-width: 989px) {
    .introduce {
        position: relative;
        display: flex;
        flex-direction: row;
        align-items: center;
        filter: drop-shadow(0.25rem 0.25rem 0.5rem rgba(0, 0, 0, 0.2)); /* 4px 4px 8px */
        background-color: transparent;
        text-align: center;
        width: 100%;
        gap: 1.25rem; /* 20px */
    }

    .profile_your_img img {
        border-radius: 30%;
        width: 15vw;
        display: block;
        margin: 0 auto;
    }

    .blog_link_btn {
        text-decoration: none;
        border: 1px solid black;
        border-radius: 100vw;
        padding: 0.3125rem 0; /* 5px */
        background-color: transparent;
        color: rgb(0, 0, 0);
        font-weight: 300;
        width: 100%;
        height: 15vw;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: 1.25rem; /* 20px */
        cursor: pointer;
        transition: .2s cubic-bezier(0.45, 0, 0.55, 1);
    }
}

@media (max-width:750px) {
    .top div ul li img {
        width: 80%;
    }
}

@media (max-width: 600px) {
    html {
        font-size: 14px; /* 読みやすさ重視 */
        font-weight: 500;
    }

    .laptop {
        display: none;
    }

    .mobile {
        display: block;
    }

    .introduction {
        background-color: #ffecec;
        width: 100vw;
        border-radius: 0; /* スマホでは角丸をなくす */
        padding: 2rem 1rem;
        box-sizing: border-box;
    }

    .pre-main > p {
        margin-left: 2rem;
        margin-right: 2rem;
    }

    .main {
        width: 100vw;
        border-radius: 0;
        padding: 2rem 1rem;
        box-sizing: border-box;
    }

    .main > div {
        margin: 0;
        padding: 0 1.5rem;
        flex-direction: column;
        gap: 2rem;
        margin-bottom: 30px;
    }

    .top div ul li img {
        width: 90%;
        max-width: 300px;
        margin: 0 auto;
        display: block;
    }

    .introduction div h2 {
        font-size: 1.8rem;
        margin-top: 3rem;
        margin-bottom: 1.5rem;
        font-weight: 600;
        text-align: center;
    }

    .introduction div p {
        font-size: 1rem;
        letter-spacing: 0.1rem;
        line-height: 1.8;
        text-align: left;
        margin-bottom: 3rem;
    }

    .blog_link_btn,
    .class_link_btn,
    .contact-form button {
        width: 100%;
        font-size: 1rem;
    }

    
    .blog_link_btn{
        width: 100%;
        font-size: 1rem;
        height: 4rem;
        background-color: #fcb1c3;
    }

    .class_link_btn{
        background-color: #fcb1c3;
    }


    .introduce {
        flex-direction: column;
        gap: 1rem;
    }

    .profile_your_img img {
        width: 60%;
        max-width: 200px;
        border-radius: 20%;
        margin: 0 auto;
    }

    .contact-form {
        border-top: 1px solid #ccc;
        padding: 2rem 1rem;
        margin-bottom: 20px;
    }

    .contact-form ul {
        flex-direction: column;
        gap: 1rem;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .contact-form .content {
        text-align: center;
    }

    
    .contact-form h4 {
        text-align: left;
    }

    iframe {
        height: 300px;
    }

    table th, table td {
        padding: 0.5rem;
        font-size: 0.9rem;
        text-align: left;
    }
}