@charset "utf-8";

html {
    font-size: 16px;
    letter-spacing: 0.05em;
}

body {
    background-color: #f7f6f6;
    color: #111;
}

.main {
    max-width: 600px;
    width: 100%;
    margin: auto;
    text-align: left;
    align-items: center;
    background-color: #FFF;
}

a:hover {
    opacity: .8;
}

@media screen and (max-width:599px) {
    .pc-btn {
        display: none;
    }

    .pc-btn a {
        display: none;
        width: 0;
        height: 0;
    }

    .sp-btn {
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    .sp-btn.is-visible {
        opacity: 1;
        visibility: visible;
    }

    .sp-btn {
        position: fixed;
        bottom: 0;
        z-index: 999;
    }

    .sp-btn a {
        display: block;
        width: 100%;
    }

}

@media screen and (min-width:600px) {
    .pc-btn {
        position: fixed;
        bottom: 20px;
        right: 20px;
        z-index: 999;
        width: 200px;
    }

    .pc-btn a {
        display: block;
        width: 100%;
    }

    #sp-btn {
        display: none;
    }

    #sp-btn a {
        display: none;
        width: 0;
        height: 0;
    }
}

.copy-toast {
    position: fixed;
    top: 50%;
    left: 50%;
    width: calc(100% - 32px);
    max-width: 560px;
    transform: translate(-50%, -50%) scale(0.9);
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    padding: 20px 16px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
    pointer-events: none;
}

.copy-toast.is-show {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.copy-toast-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: #0abab5;
    color: #fff;
    border-radius: 50%;
}

footer {
    background: #222;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

@media screen and (max-width: 765px) {}

footer .nav li {
    font-size: 12px;
    list-style: none;
    display: inline-block;
}

footer a {
    color: #fff;
    text-decoration: none;
    padding: 0 10px;
}

.copyright {
    font-size: 11px;
    margin: 0;
    padding: 10px 0;
}

.hidden {
    animation: fade .2s ease-in-out forwards;
    pointer-events: none;
    /* 重要 */
}

@keyframes fade {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

.visible {
    animation: fadeOut .2s ease-in-out forwards;
    pointer-events: all;
    /* 重要 */
}

@keyframes fadeOut {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}


/* ボタンのキラリエフェクト */
.reflection {
    display: block;
    position: relative;
    overflow: hidden;
}

.reflection:after {
    content: "";
    height: 100%;
    width: 30px;
    position: absolute;
    top: -180px;
    left: 0;
    opacity: 0;
    transform: rotate(45deg);
    animation: reflection 2s ease-in-out infinite;
}

.reflection:after {
    background-color: #fff;
}

@keyframes reflection {
    0% {
        transform: scale(0) rotate(45deg);
        opacity: 0;
    }

    80% {
        transform: scale(0) rotate(45deg);
        opacity: 0.5;
    }

    81% {
        transform: scale(4) rotate(45deg);
        opacity: 1;
    }

    100% {
        transform: scale(50) rotate(45deg);
        opacity: 0;
    }
}

.w-90 {
    width: 90%;
}

/* ============================================ */
/* フォームのヘッダーのロゴ調整 */
/* ============================================ */

header .flex-1 {
    flex: none !important;
}

/* ============================================ */
/* 共通 */
/* ============================================ */
.aga-section-title {
    position: relative;
    font-size: 24px;
    font-weight: bold;
    padding-bottom: 18px;
    text-align: center;
}

@media (min-width: 480px) {
    .aga-section-title {
        font-size: 32px;
    }
}

.aga-section-title::after {
    content: "";
    display: block;
    position: absolute;
    bottom: 0;
    left: calc(50% - 50px);
    width: 100px;
    height: 4px;
    background-color: #0abab5;
}

.aga-section-sub-title {
    font-weight: bold;
    margin-bottom: 32px;
    text-align: center;
}

@media (min-width: 480px) {
    .aga-section-sub-title {
        font-size: 20px;
    }
}

.aga-text-center {
    text-align: center;
}

.aga-mt-16 {
    margin-top: 16px;
}

.aga-mt-24 {
    margin-top: 24px;
}

.aga-mt-32 {
    margin-top: 32px;
}

.aga-mb-8 {
    margin-bottom: 8px;
}

.aga-mb-16 {
    margin-bottom: 16px;
}

.aga-mb-24 {
    margin-bottom: 24px;
}

.aga-mb-32 {
    margin-bottom: 32px;
}

.aga-mb-64 {
    margin-bottom: 64px;
}

.text-color-black {
    color: #111;
}

.text-color-white {
    color: #fff;
}

.text-color-red {
    color: #e60012;
}

.text-color-blue {
    color: #0abab5;
}

.text-color-orange {
    color: #f66909;
}

/* デフォルト: PCサイズ */
.br-sp {
    display: none;
}

.br-pc {
    display: inline;
}

/* スマホサイズ */
@media (max-width: 480px) {
    .br-sp {
        display: inline;
    }

    .br-pc {
        display: none;
    }
}