@import url('https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c:wght@900&display=swap');
body {
    margin: 0;
    font-family: Arial, sans-serif;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 10px;
    width: 95%;
}

.top-image img,
.intro-image {
    width: 100%;
}

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

.intro-image {
    width: 90%;
    margin-left: 5%;
    margin: 40px 5% 20px 5%;
}

.intro-image2 {
    width: 60%;
    margin: 40px 20% 20px 20%;
}

.intro-text {
    width: 95%;
    box-sizing: border-box;
    text-align: center;
    margin: 20px 0;
    border: solid 5px #4abed4;
    /*線色*/
    border-radius: 15px;
    /*角丸*/
    color: #00253c;
}

.three-boxes {
    display: flex;
    justify-content: space-between;
}

.box {
    width: 32%;
    padding: 20px;
    background-color: #f0f0f0;
    text-align: center;
    margin: 10px 0;
    box-sizing: border-box;
}

.three-vertical-boxes .box {
    width: 100%;
    margin: 10px auto;
}

.three-vertical-boxes {
    width: 100%;
    background-color: #e1fafe;
}

.grid-item {
    padding: 20px;
    background-color: #f0f0f0;
    text-align: center;
}

.qa-section .qa-item {
    margin: 10px 0;
}

.qa-question {
    cursor: pointer;
    padding: 10px;
    background-color: #d0d0d0;
}

.qa-answer {
    display: none;
    padding: 10px;
    background-color: #e0e0e0;
}

.three-boxes img {
    width: 32%;
    margin: 10px 0;
}

.card-container {
    background-color: #fff;
    border: 4px solid #4abed4;
    width: 85%;
    margin: auto;
    margin-bottom: 30px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 800px;
}

.side-image1 {
    width: 45px;
    height: auto;
    margin: 0 10px;
}

.side-image2 {
    width: 50%;
    margin: 0 10px;
}

.card-container h2 {
    font-size: 2em;
    color: #00aaff;
    font-weight: bold;
}

.card-content {
    margin-top: 20px;
}

.card-image img {
    width: 100%;
    height: auto;
    background: #000;
    /* Placeholder for the actual image */
}

.rating-points {
    text-align: left;
    margin-top: 20px;
}

.rating-points h3 {
    font-size: 1.2em;
    background-color: #4abed4;
    color: #fff;
    padding: 5px;
    margin-bottom: 10px;
    text-align: center;
}

.rating-points ul {
    list-style: none;
    padding: 0;
}

.rating-points ul li {
    background: url('./img/check.png') no-repeat left center;
    background-size: 20px 20px;
    padding-left: 30px;
    margin-bottom: 10px;
    margin-left: auto;
    width: 92%;
    color: #004d40;
}

.apply-button {
    margin-top: 20px;
    margin-bottom: 20px;
}

p.apply-button {
    width: 70%;
    margin: auto;
    text-align: center;
    display: block;
    padding: 3% 4%;
    background-color: #fbc61a;
    color: #fffee9;
    text-decoration: none;
    font-weight: bold;
    font-size: large;
    box-shadow: 0 0 16px #999;
    border-radius: 10px;
}

.details-container {
    display: flex;
    justify-content: space-around;
    align-items: start;
    margin-top: 40px;
    width: 100%;
    max-width: 800px;
}

.detail-item {
    text-align: center;
    width: 24%;
    /* Adjust width as needed */
}

.detail-item .label {
    display: block;
    font-weight: bold;
    background-color: #4abed4;
    color: #fff;
    padding: 5px;
    margin-bottom: 5px;
    font-size: medium;
}

.detail-item .value {
    align-items: center;
    justify-content: center;
    height: 60px;
    color: #333;
    display: flex;
    font-size: medium;
    color: #004d40;
}

.detail-item .value img {
    height: 60px;
    /* Adjust as needed */
}

.grid-boxes {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 10px;
    padding: 10px;
}

.info {
    border: 3px solid #5cc5d8;
    border-radius: 15px;
    min-width: 250px;
    max-width: 1fr;
    padding: 20px;
    text-align: center;
    font-family: Arial, sans-serif;
    box-sizing: border-box;
}

@media screen and (min-width: 600px) {
    .grid-boxes {
        display: grid;
        gap: 10px;
        grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    }
    .info {
        border: 3px solid #5cc5d8;
        border-radius: 15px;
        padding: 20px;
        text-align: center;
        font-family: Arial, sans-serif;
        box-sizing: border-box;
    }
}

.info-header img {
    width: 100%;
}

.title {
    font-size: 24px;
    margin: auto;
    color: #5cc5d8;
    font-weight: bolder;
    margin-top: 10px;
    margin-bottom: 20px;
    border-bottom: 3px solid #5cc5d8;
    display: inline-block;
    /* 追加: テキストの下にだけ線を引くため */
}

.info-box {
    background-color: #5cc5d8;
    color: #fffee9;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 10px;
}

.info-box:last-of-type {
    margin-bottom: 20px;
}

.info-item {
    text-align: center;
    margin: auto;
    width: 90%;
    /* Adjust width as needed */
}

.info-item .label {
    display: block;
    font-weight: bold;
    background-color: #4abed4;
    color: #fff;
    padding: 2px;
    margin-bottom: 5px;
    font-size: medium;
}

.info-item .value {
    justify-content: center;
    height: 40px;
    color: #333;
    display: flex;
    font-size: x-large;
    color: #004d40;
}

.accordion {
    margin: 4rem auto;
    max-width: 90%;
}

.toggle {
    display: none;
}

.faq {
    position: relative;
    margin-bottom: 1rem;
}

.question,
.anser {
    transform: translateZ(0);
    transition: all 0.3s;
}

.question {
    border-bottom: 2px dashed #5cc5d8;
    font-size: 160%;
    padding: 1rem 2.2rem 0 1rem;
    display: block;
    color: #5cc5d8;
    font-weight: bolder;
}

.anser {
    max-height: 0;
    overflow: hidden;
    margin-bottom: 40px;
    color: #00253c;
    font-weight: bold;
}

.question span {
    font-size: 150%;
    padding-right: 0.6rem;
    color: #5cc5d8;
    line-height: 0;
}

.question:after,
.question:before {
    content: "";
    position: absolute;
    right: 1.25rem;
    top: 0;
    bottom: 0;
    margin: auto;
    width: 2px;
    height: 1.25rem;
    background-color: #5cc5d8;
    transition: all 0.3s;
}

.question:after {
    transform: rotate(90deg);
}

.anser div {
    margin: 0;
    padding: 2rem 1rem 2rem;
    line-height: 1.8;
}

.toggle:checked+.question+.anser {
    max-height: 500px;
    transition: all 1.5s;
}

.toggle:checked+.question:before {
    transform: rotate(225deg) !important;
}

.toggle:checked+.question:after {
    transform: rotate(-45deg) !important;
}

.footer {
    background-color: #333;
    color: white;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer .logo {
    font-size: 14px;
    /* font-weight: bold; */
    right: 0;
}

.footer .links {
    display: flex;
    gap: 15px;
}

.footer a {
    color: white;
    font-size: 11px;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

p.text {
    text-align: center;
    font-weight: bold;
    margin: 0;
}

.text {
    position: relative;
    font-size: 45px;
    font-weight: 900;
    color: #064054;
    -webkit-text-stroke: 6px #064054;
    font-family: "M PLUS Rounded 1c", sans-serif;
}

.text::before {
    content: attr(data-text);
    font-family: "M PLUS Rounded 1c", sans-serif;
    position: absolute;
    font-weight: 900;
    color: #5cc5d8;
    -webkit-text-stroke: 1px #FFF;
}

.sp {
    display: none;
}

.pc {
    display: block;
}

.button11 {
    background-image: url('./img/survey1.png');
    background-size: 100% 100%;
    /* 画像をボタンのサイズに完全にフィットさせる */
    background-position: center;
    background-repeat: no-repeat;
    /* 画像が繰り返されるのを防ぐ */
    margin: auto;
    width: 30vw;
    height: calc(30vw * (513 / 3317));
    text-align: center;
    white-space: nowrap;
}

.btn_cont {
    display: flex;
    justify-content: center;
    /* 水平方向に中央揃え */
    align-items: center;
    /* 垂直方向に中央揃え */
    width: 100%;
}

@media screen and (max-width: 600px) {
    .btn_cont {
        display: flex;
        justify-content: center;
        /* 水平方向に中央揃え */
        align-items: center;
        /* 垂直方向に中央揃え */
        width: 100%;
    }
    .button11 {
        background-image: url('./img/survey1.png');
        background-size: 100% 100%;
        /* 画像をボタンのサイズに完全にフィットさせる */
        background-position: center;
        background-repeat: no-repeat;
        /* 画像が繰り返されるのを防ぐ */
        margin: auto;
        width: 60vw;
        height: calc(60vw * (513 / 3317));
        text-align: center;
        white-space: nowrap;
    }
    .sp {
        display: block;
    }
    .pc {
        display: none;
    }
    .detail-item .label {
        display: block;
        font-weight: bold;
        background-color: #4abed4;
        color: #fff;
        padding: 5px;
        margin-bottom: 5px;
        font-size: smaller;
    }
    .detail-item .value {
        align-items: center;
        justify-content: center;
        height: 60px;
        color: #333;
        display: flex;
        font-size: smaller;
    }
    .question {
        font-size: 100%;
    }
    .accordion {
        margin: auto;
    }
    .anser {
        font-size: small;
    }
    .anser div {
        padding: 0;
    }
    .text {
        position: relative;
        font-size: 25px;
        font-weight: 900;
        color: #064054;
        -webkit-text-stroke: 4px #064054;
        font-family: "M PLUS Rounded 1c", sans-serif;
    }
    .container {
        width: 100%;
        padding: 0;
    }
    .three-boxes {
        width: 95%;
        margin-left: 2.5%;
    }
    .apply-button a {
        font-size: medium;
    }
}

.shiny-btn {
    position: relative;
    display: block;
    text-align: center;
    text-decoration: none;
    color: #fff;
    /*background-color: #000;*/
    overflow: hidden;
}

.shiny-btn::after {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 50px;
    height: 50px;
    background-image: linear-gradient(100deg, rgba(255, 255, 255, 0) 10%, rgba(255, 255, 255, 1) 100%, rgba(255, 255, 255, 0) 0%);
    /* ã‚¢ãƒ‹ãƒ¡ãƒ¼ã‚·ãƒ§ãƒ³ */
    animation-name: shiny;
    animation-duration: 5s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}

@keyframes shiny {
    0% {
        transform: scale(0) rotate(25deg);
        opacity: 0;
    }
    50% {
        transform: scale(1) rotate(25deg);
        opacity: 1;
    }
    100% {
        transform: scale(50) rotate(25deg);
        opacity: 0;
    }
}

a:-webkit-any-link {
    cursor: inherit !important;
    text-decoration: none !important;
}

.info-apply-button {
    background-color: #ffd62c;
    color: #fffee9;
    padding: 5px 10px;
    border-radius: 10px;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    font-weight: bold;
}