@charset "utf-8";


:root {
    --fg-color: #333;
    --bg-color: #f8f8f8;
    --font-alphabet: 'Impact', 'Noto Sans JP', 'Helvetica Neue', 'Helvetica', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Arial', 'Yu Gothic', 'Meiryo', sans-serif;
    --font-gothic: 'Noto Sans JP', 'Helvetica Neue', 'Helvetica', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Arial', 'Yu Gothic', 'Meiryo', sans-serif;
    --font-mincho: 'Noto Serif JP', 'Times New Roman', 'YuMincho', 'Hiragino Mincho ProN', 'Yu Mincho', 'MS PMincho', serif;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

img {
    display: block;
    margin: 0 auto;
    vertical-align: middle;
    width: 100%;
    max-width: 100%;
    height: auto;
}

a {
    color: var(--fg-color);
    text-decoration: none;
    transition: opacity 0.3s ease-out;
}

@media ( hover: hover ) {
    a:hover {
        opacity: 0.5;
    }
}

@media ( width < 768px ) {
    .pc {
        display: none;
    }
    .sp {
        display: block;
    }
}

@media ( width >= 768px ) {
    .pc {
        display: block;
    }
    .sp {
        display: none;
    }
}


html {
    margin: 0;
    padding: 0;
    width: 100%;
    background: var(--bg-color);
    font-size: clamp( 14px, 3.0vw, 18px );
    overflow-x: hidden;
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    margin: 0 auto;
    padding: 0;
    width: 100%;
    /* max-width: 750px; */
    color: var(--fg-color);
    background: #fff;
    font-family: var(--font-gothic);
    font-weight: 500;
    line-height: 1.5;
    opacity: 0.0;
    animation: anim-fadein 1.0s ease-out 0s forwards;
}

@keyframes anim-fadein {
    0%   { opacity: 0.0; }
    100% { opacity: 1.0; }
}

main {
    margin: 0 auto;
    background: #fff;
}

section {
    position: relative;
    margin: 0 auto;
    width: 100%;
}

.pic {
    margin: 0;
    width: 100%;
}
.pic img {
    width: 750px;
    height: auto;
}

.copy {
    margin: 0 auto;
}

/* NEW */

.cta {
    background-color: #0a4bae;
    text-align: center;
    margin: 0 auto; 
}

@media (min-width: 1024px) {
    .cta {
        width: 100%;
    }
    .cta img {
        width: 70%;
        height: auto;
    }
    .pic {
        margin: 0 auto;
        width: 750px;
    }
    .pic img {
        width: 100%;
        height: auto;
    }
}

.footer {
    background-color: #fff;
    border-top: 1px solid #fff;
    padding: 20px 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.footer-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-link {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #0a4bae;
}

.footer-divider {
    color: #ccc;
    font-size: 14px;
}

.footer-copyright {
    color: #666;
    font-size: 14px;
    font-weight: 400;
}

/* タブレット表示 */
@media (max-width: 768px) {
    .footer-content {
        gap: 12px;
    }

    .footer-links {
        gap: 20px;
    }

    .footer-link {
        font-size: 13px;
    }

    .footer-copyright {
        font-size: 13px;
    }
}

/* スマートフォン表示 */
@media (max-width: 480px) {
    .footer {
        padding: 15px 0;
    }

    .footer-container {
        padding: 0 15px;
    }

    .footer-content {
        gap: 10px;
    }

    .footer-links {
        justify-content: center;
        gap: 6px;
        text-align: center;
    }

    .footer-link {
        font-size: 12px;
    }

    .footer-divider {
        font-size: 12px;
    }

    .footer-copyright {
        font-size: 12px;
        text-align: center;
    }
}

/* よくある質問 */

.qa-section {
    background-color:#d2edff;
    padding: 60px 20px;
}

.qa-container {
    max-width: 600px;
    margin: 0 auto;
}

.qa-item {
    margin-bottom: 20px;
}

.qa-item:last-child {
    margin-bottom: 0;
}

.qa-input {
    display: none;
}

.question {
    background-color: #fff;
    border: 2px solid #333;
    padding: 20px;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: flex-start;
    transition: all 0.3s ease;
}

.question:hover {
    background-color: #f8f9fa;
}

.qa-input:checked + .question {
    border-bottom: none;
}

.question-icon {
    background-color: #ffffff;
    width: 50px!important;
    height: 50px!important;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: bold;
    color: #333;
    margin-right: 20px;
    flex-shrink: 0;
    position: relative;
}

.question-text {
    flex: 1;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    font-weight: 500;
}

.question-arrow {
    font-size: 20px;
    color: #666;
    transition: transform 0.3s ease;
    margin-left: 10px;
}

.qa-input:checked + .question .question-arrow {
    transform: rotate(90deg);
}

.answer {
    background-color: #1e5aa8;
    color: white;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    border: 2px solid #333;
    border-top: none;
}

.qa-input:checked + .question + .answer {
    padding: 20px;
    max-height: 200px;
}

.answer-icon {
    background-color: #1e5aa8;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: bold;
    color: white;
    margin-right: 20px;
    flex-shrink: 0;
}

.answer-text {
    flex: 1;
    font-size: 14px;
    line-height: 1.7;
    color: white;
}

/* スマートフォン表示 */
@media (max-width: 768px) {
    .qa-section {
        padding: 40px 15px;
    }

    .qa-container {
        max-width: 100%;
    }

    .question {
        padding: 15px;
    }

    .question-icon {
        width: 40p!important;
        height: 40px!important;
        font-size: 24px;
        margin-right: 15px;
    }

    .question-icon::after {
        left: 50%;
        transform: translateX(-50%);
        border-left-width: 8px;
        border-right-width: 8px;
        border-top-width: 8px;
    }

    .question-text {
        font-size: 12px;
    }

    .qa-input:checked + .question + .answer {
        padding: 15px;
    }

    .answer-icon {
        width: 40px;
        height: 40px;
        font-size: 24px;
        margin-right: 15px;
    }

    .answer-text {
        font-size: 11px;
    }
}

/* 揺れるボタン */

.yureru-j {
    animation: yureru-j 2s infinite;
}
@keyframes yureru-j {
    0% {
        transform: translate(0px, 10px);
    }
    5% {
        transform: translate(0px, -10px);
    }
    10% {
        transform: translate(0px, 10px);
    }
    15% {
        transform: translate(0px, -10px);
    }
    20% {
        transform: translate(0px, 10px);
    }
    25% {
        transform: translate(0px, -10px);
    }
    30% {
        transform: translate(0px, 0px);
    }
}


/* NEW */


.yureru-j {
    animation: yureru-j 2s infinite;
}
@keyframes yureru-j {
    0% {
        transform: translate(0px, 2px);
    }
    5% {
        transform: translate(0px, -2px);
    }
    10% {
        transform: translate(0px, 2px);
    }
    15% {
        transform: translate(0px, -2px);
    }
    20% {
        transform: translate(0px, 2px);
    }
    25% {
        transform: translate(0px, -2px);
    }
    30% {
        transform: translate(0px, 0px);
    }
}

.fixed-btn {
    display: block;
    position: sticky;
    bottom: 0;
    left: calc( 50% - 0.5 * min( 97.0%, 728px ) );
    width: 97.0%;
    max-width: 728px;
    z-index: 10;
}
@media (min-width: 1024px) {
  .fixed-btn {
    display: none;
  }
}


h1 {
    margin: 0 0 2.0em;
    font-size: 200%;
}
h2 {
    margin: 1.5em 0 0.5em;
    font-size: 150%;
}
p {
    margin: 1.0em 0 0;
    line-height: 1.8;
    letter-spacing: 0.1em;
}
.indent1 {
    margin: 0.5em 0 0 2.5em;
    text-indent: -1.5em;
    line-height: 1.8;
    letter-spacing: 0.1em;
}
.indent2 {
    margin: 0.5em 0 0 3.5em;
    text-indent: -1.5em;
    line-height: 1.8;
    letter-spacing: 0.1em;
}
.indent3 {
    margin: 0.5em 0 0 3.5em;
    line-height: 1.8;
    letter-spacing: 0.1em;
}

.tokusho-table {
    margin: 80px auto 0;
    width: 100%;
    display: grid;
    grid-template-columns: minmax( 200px, 300px ) 1fr;
}
.tokusho-table :where(dt,dd){
    display: block;
    margin: 0;
    padding: 1.0em 0 1.0em;
    width: 100%;
    border-bottom: 1px solid #ccc;
}
.tokusho-table dt.margin {
    margin-top: 3.0em;
}
.tokusho-table dt.margin + dd {
    margin-top: 3.0em;
}
@media ( max-width: 750px ) {
    .tokusho-table {
        margin: 80px auto 0;
        width: 100%;
        display: block;
    }
    .tokusho-table dt {
        display: block;
        margin: 0;
        padding: 2.0em 0 0;
        width: 100%;
        border-bottom: 0;
    }
    .tokusho-table dd {
        padding: 0.5em 0;
        border-bottom: 1px solid #ccc;
    }
    .tokusho-table dt.margin + dd {
        margin-top: 0;
    }
}

footer {
    margin: 0 auto;
    padding: min(6vw, 40px) 0 min(6vw, 75px);
    text-align: center;
    background: #fff;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0 1.0rem;
}
@media screen and (max-width: 750px) { 
    footer {
        margin: 0 auto;
        padding: min( 5vw, 40px ) 0 min( 10vw, 75px );
        text-align: center;
        background: #fff;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 0 1.0rem;
    }
}

footer .pic img {
    margin: 0 auto;
    width: 20%;
}
@media screen and (max-width: 750px) { 
    footer .pic img {
        margin: 0 auto;
        width: 40%;
    }
}

.sec-common{
    padding: 100px 0;
}

.cta-right{
    display: inline-block;
    width: 30vw;
}
.cta-flex{
    width: 25vw;
    display: inline-block;
}
.sec-common-flex{
    display: flex;
    justify-content: space-between;
    width: 60%;
    margin: 0 auto;
}

