@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP&family=Zen+Old+Mincho&display=swap');

@media screen and (max-width: 1280px) {
    html {
        font-size: 14px;
    }
}

@media screen and (max-width: 1024px) {
    html {
        font-size: 10px;
    }
}

body {
    background-color: #181B39;
    color: white;
    /* font-family: 'Inter', sans-serif; */
    font-family: 'Zen Old Mincho', serif;
}

img {
    max-width: 100%;
}

.logo-wrapper {
    overflow-x: hidden;
    fill: white;
    width: auto;
    max-width: 50%;
    height: 100%;
    margin-left: 4rem;
    max-height: 100px;
}

.logo-wrapper img {
    height: 100%;
    width: auto;
}

#header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    height: 20vh;
    width: 100%;
    max-width: 1240px;
    padding-top: 2%;
    padding-right: 5%;
    z-index: 100;
}

/* hamburger icon */
.hamburger {
    width: 30px;
    height: 24px;
    position: relative;
}

/* 画面幅が600px以上の場合のスタイル */
@media (min-width: 600px) {
    .hamburger {
        width: 40px;
        height: 32px;
    }
}

.hamburger_bar {
    display: block;
    width: 100%;
    height: 20%;
    position: absolute;
    left: 0;
    background: white;
}

.hamburger_bar:nth-child(1) {
    top: 0;
}

.hamburger_bar:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger_bar:nth-child(3) {
    top: 100%;
    transform: translateY(-100%);
}

.hamburger_bar:nth-child(3),
.hamburger_bar:nth-child(2) {
    transform-origin: center center;
}

/* hamburger icon */

.navigation {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: fixed;
    bottom: 0;
    left: 100%;
    background-color: white;
    color: #181B39;
    font-size: 2.5rem;
    width: 100vw;
    height: 70vh;
    clip-path: polygon(100% 0,
            50% 0,
            0% 100%,
            100% 100%);
}

.nav-items {
    height: 60%;
    width: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    transform: translateX(60%);
}

.planPage-wrapper {
    overflow-x: hidden;
    max-width: 1240px;
    margin: auto;
    position: relative;
}

.hero-container {
    width: 100%;
    height: 300px;
    overflow-y: hidden;
}


.hero-container img {
    object-fit: cover;
}

.quickly {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.quickly .section-title {
    align-self: flex-start;
    font-size: 2.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid white;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.quickly .section-description {
    align-self: flex-start;
    font-size: 1.2rem;
    margin-bottom: 2rem;
    width: 80%;
}

.quickly .section-title,
.quickly .section-description {
    margin-left: 10%;
}

.section-table {
    background-color: #E7E4C6;

    height: auto;
    width: 80%;

    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-table .choices {
    margin: 2rem 1rem;
    display: flex;
    gap: 2rem;
    color: black;
    width: 120%;
}

.section-table .choices>* {
    background-color: white;
    height: auto;
    width: 40%;
    box-shadow: 5px 7px 4px 0px rgba(0, 0, 0, 0.30);
}

@media screen and (max-width: 600px) {
    .section-table .choices {
        flex-direction: column;
        align-items: center;
    }

    .section-table .choices>* {
        width: 70%;
    }
}

.section-table .choices .choice-title {
    padding: 1rem 1rem 0 0;
    font-size: 2rem;
    text-align: end;
}

.section-table .choices .choice-subtitle {
    padding: 0 1rem 0.5rem 0;
    font-size: 1.5rem;
    text-align: end;
}

.section-table .choices .choice-titles {
    border-bottom: 10px solid #454A85;
}

.section-table .choices p {
    padding: 1.5rem;
}

.section-table .plus {
    width: 15%;
    height: 15%;
    align-self: center
}

.option-addon-container {
    width: 90%;
    display: flex;
    justify-content: space-between;
}

.section-table .options {
    margin-left: 2rem;
    margin-bottom: 2rem;
    align-self: flex-start;
    color: black;
    width: 40%;
    display: flex;
    gap: 2rem;
    flex-direction: column;
}

.section-table .options>div {
    background-color: white;
    padding: 2rem;
    width: auto;
    box-shadow: 5px 7px 4px 0px rgba(0, 0, 0, 0.30);
}

.addons {
    justify-content: flex-end;
    height: 50%;
    width: 50%;
    color: black;
    background-color: white;
    box-shadow: 5px 7px 4px 0px rgba(0, 0, 0, 0.30);
    margin-bottom: 2rem;
}

.addons p {
    padding: 2rem;
}

.addons .addon-title {
    padding: 1rem 1rem 0 0;
    font-size: 2rem;
    text-align: end;
}

.addons .addon-subtitle {
    padding: 0 1rem 0.5rem 0;
    font-size: 1.5rem;
    text-align: end;
    border-bottom: 10px solid #454A85;
}

.custom {
    margin: 2rem auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 80%;
}

.custom .section-title {
    font-size: 2.5rem;
    align-self: flex-start;
    border-bottom: 2px solid white;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.custom .section-description {
    font-size: 1.2rem;
    align-self: flex-start;
    width: 100%;
}

.custom .contact-btn {
    align-self: flex-start;
    margin-top: 1rem;
    font-size: 1rem;
    padding: 1rem 2.5rem;
    border: 5px solid white;
}

.flow {
    display: flex;
    flex-direction: column;
    min-height: 600px;
}

.flow .section-title {
    margin-top: 2rem;
    align-self: center;
    font-size: 2.5rem;
    border-bottom: 2px solid white;
    padding-bottom: 0.5rem;
}

.flow .flow-list {
    margin-bottom: 10rem;
    margin-top: 3rem;
    font-size: 1.5rem;
    position: relative;
    align-self: center;
    width: 90%;
    height: 600px;
}

.flow .bullet-line {
    position: absolute;
    height: 500px;
    top: 0;
    left: 50%;
    transform: translate(-50%, 0);
}

.flow .flow-list .flow-item1,
.flow-item2,
.flow-item3,
.flow-item4,
.flow-item5 {
    position: absolute;
}

.flow-item1,
.flow-item2,
.flow-item5 {
    text-align: end;
}

.flow .flow-list .flow-line {
    position: relative;
    width: 200px;
    height: 40px;
    background-color: #454A85;
    z-index: -1;
    transform: translate(0, -40%);
    opacity: 0.5
}

.flow .flow-list .flow-item1 {
    top: 0;
    right: 20%;
}

.flow .flow-list .flow-item2 {
    top: 20%;
    right: 20%;
}

.flow .flow-list .flow-item3 {
    top: 40%;
    left: 20%;
}

.flow .flow-list .flow-item4 {
    top: 60%;
    left: 20%;
}

.flow .flow-list .flow-item5 {
    top: 80%;
    right: 20%;
}

.flow .flow-list .flow-img {
    z-index: -2;
    height: 200px;
    position: absolute;
    opacity: 0.8;
}

.flow .flow-list .flow-img1 {
    top: 0;
    left: 20%;
}

.flow .flow-list .flow-img2 {
    top: 40%;
    right: 20%;
}

.flow .flow-list .flow-img3 {
    top: 75%;
    left: 20%;
}

@media screen and (max-width: 1024px) {
    .flow .flow-list .flow-item1 {
        top: 0;
        right: 10%;
    }

    .flow .flow-list .flow-item2 {
        top: 20%;
        right: 10%;
    }

    .flow .flow-list .flow-item3 {
        top: 40%;
        left: 10%;
    }

    .flow .flow-list .flow-item4 {
        top: 60%;
        left: 10%;
    }

    .flow .flow-list .flow-item5 {
        top: 80%;
        right: 10%;
    }

    .flow .flow-list .flow-img {
        z-index: -2;
        height: 200px;
        position: absolute;
        opacity: 0.8;
    }

    .flow .flow-list .flow-img1 {
        top: 0;
        left: 10%;
    }

    .flow .flow-list .flow-img2 {
        top: 40%;
        right: 10%;
    }

    .flow .flow-list .flow-img3 {
        top: 75%;
        left: 10%;
    }
}

@media screen and (max-width: 800px) {
    .flow .flow-list .flow-item1 {
        top: 0;
        right: 0%;
    }

    .flow .flow-list .flow-item2 {
        top: 20%;
        right: 0%;
    }

    .flow .flow-list .flow-item3 {
        top: 40%;
        left: 0%;
    }

    .flow .flow-list .flow-item4 {
        top: 60%;
        left: 0%;
    }

    .flow .flow-list .flow-item5 {
        top: 80%;
        right: 0%;
    }

    .flow .flow-list .flow-img {
        z-index: -2;
        height: 200px;
        position: absolute;
        opacity: 0.8;
    }

    .flow .flow-list .flow-img1 {
        top: 0;
        left: 0%;
    }

    .flow .flow-list .flow-img2 {
        top: 40%;
        right: 0%;
    }

    .flow .flow-list .flow-img3 {
        top: 75%;
        left: 0%;
    }
}

.flow .annotation {
    padding: 2rem;
    color: black;
    background-color: #E7E4C6;
    width: 80%;
    align-self: center;
}

.details {
    font-family: 'Arial', sans-serif;
    padding: 40px;
    /* background-color: #f7f7f7; */
    color: #333;
    max-width: 700px;
    margin: 2rem auto 0 auto;
}

.price-title {
    text-align: center;
    font-size: 32px;
    font-weight: bold;
    border-bottom: 3px solid #333;
    padding: 10px 0;
    margin-bottom: 30px;
}

.details .section-title {
    margin-top: 2rem;
    align-self: center;
    font-size: 2.5rem;
    border-bottom: 2px solid white;
    padding-bottom: 0.5rem;
    color: white;
    text-align: center;
    margin-bottom: 2rem;
}

.price-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    font-size: 20px;
}

.price-item {
    padding: 10px;
    background-color: #fff;
    border: 2px solid #e5e5e5;
}

.notes {
    margin-top: 30px;
    font-size: 18px;
    background-color: #fff;
    padding: 20px;
    border: 2px solid #e5e5e5;
}

.form {
    font-family: 'Arial', sans-serif;
    padding: 40px;
    /* background-color: #f7f7f7; */
    color: #333;
    max-width: 700px;
    margin: 2rem auto 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.form .section-title {
    width: 100%;
    margin-top: 2rem;
    align-self: center;
    font-size: 2.5rem;
    border-bottom: 2px solid white;
    padding-bottom: 0.5rem;
    color: white;
    text-align: center;
    margin-bottom: 2rem;
}

.form-inner {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 500px;
}

.form-group {
    margin-bottom: 15px;
}

.form-label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333333;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 16px;
    color: #6B7280;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus,
.form-textarea:focus {
    border-color: #6A64F1;
    box-shadow: 0 0 8px rgba(106, 100, 241, 0.1);
}

.form-textarea {
    resize: none;
}

.form-button {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    background-color: #181B39;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s, box-shadow 0.2s;
}

.form-button:hover {
    background-color: #574b90;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}


.footer-container {
    background-color: #464A85;
    height: 5rem;
    width: 100%;
    margin-top: 4rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-container span {
    font-size: 1rem;
}