:root {
    /* color */
    --main-color: #041e3a;
    --second-color: #2875bc;
    --third-color: #edfcff;
    --fifth-color: ;
    /* 画像 */
    --sp-active-bg: url(https://grant-life.net/wp-content/uploads/2023/06/town001-scaled.jpg);
}

/* =================================== */
/*  共通 */
/* =================================== */
body {
    color: var(--main-color);
    font-family: sans-serif;
    margin: 0;
    padding: 0;
}

a {
    color: var(--main-color);
}

p span {
    display: inline-block;
}

h2 {
    font-size: 2rem;
}

h3, h4 {
    font-size: 1.6rem;
}

h5, p, a, th, td, span, li {
    font-size: 1.3rem;
}

@media (max-width: 1280px) {
    h2 {
        font-size: 1.8rem;
    }

    h3, h4 {
        font-size: 1.5rem;
    }

    h5, p, a, th, td, span, li {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    h2 {
        font-size: 1.6rem;
    }

    h3, h4 {
        font-size: 1.3rem;
    }

    h5, p, a, th, td, span, li {
        font-size: 1.2rem;
    }
}

@media (max-width: 540px) {
    h2 {
        font-size: 1.4rem;
    }

    h3, h4 {
        font-size: 1.2rem;
    }

    h5, p, a, th, td, span, li {
        font-size: 1.1rem;
    }
}

@media (max-width: 430px) {
    h2 {
        font-size: 1.2rem;
    }

    h3, h4 {
        font-size: 1rem;
    }

    h5, p, a, th, td, span, li {
        font-size: 0.9rem;
    }

    div, p, span {
        line-height: 23px;
    }
}

@media (max-width: 412px) {
    h2 {
        font-size: 1.2rem;
    }

    h3, h4 {
        font-size: 1rem;
    }

    h5, p, a, th, td, span, li {
        font-size: 0.9rem;
    }

    div, p, span {
        line-height: 22px;
    }
}

/* ================================================================================================================ */
/* .top-page page.css,single.css 共通パーツ */
/* ================================================================================================================ */
    

    table th span,
    table td span {
        display: inline-block;
    }

    @media (max-width: 1280px) {}

    @media (max-width: 1024px) {
        
    }

    @media (max-width: 912px) {
        
    }

    @media (max-width: 853px) {}

    @media (max-width: 820px) {}

    @media (max-width: 768px) {
        
    }

    @media (max-width: 540px) {
    }

    @media (max-width: 430px) {
        
    }

    @media (max-width: 414px) {}

    @media (max-width: 412px) {
    }

    @media (max-width: 390px) {}

    @media (max-width: 375px) {}

    @media (max-width: 360px) {}

    @media (max-width: 344px) {}


/* ================================================================================================================ */
/* wordpress video */
/* ================================================================================================================ */
.wp-block-video video {
    display: block;
    width: 80%;
    margin: 0 auto;
}

@media (max-width: 820px) {
    .wp-block-video video {
        width: 100%;
    }
}

/* ============================= */
/* table */
/* ============================= */
table {
    width: 60%;
    margin: 0 auto;
    border-collapse: collapse;
}

table tr {
    border-bottom: 1px solid #ccc;
}

table th,
table td {
    padding: 10px;
}

@media (max-width: 912px) {
    table {
        width: 80%;
    }
}

@media (max-width: 768px) {
    table {
        width: 85%;
    }
}

@media (max-width: 540px) {
    table {
        width: 90%;
    }

    table th, table td {
        padding: 5px;
    }
}

@media (max-width: 412px) {
    table {
        width: 100%;
    }
}

/* ============================ */
/* background */
/* ============================ */
.bg-blue01 {
    background-image: url('https://www.grant-life.net/wp-content/uploads/2023/07/bg-banner01.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.bg-blue02 {
    background-image: url('https://www.grant-life.net/wp-content/uploads/2023/08/bg-blue001.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: auto;
}

.bg-blue002 {
    background-image: url('https://www.grant-life.net/wp-content/uploads/2023/08/bg-blue002-2.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: auto;
}

.bg-navy {
    background: #177ab7 !important;
}

.bg-blue {
    background: #36a8f1 !important;
}

.bg-yellow {
    background-color: #f9df17 !important;
}

.bg-orange {
    background-color: #ffc750 !important;
}

.bg-green {
    background-color: #20670e !important;
}

@media (max-width: 390px) {
    .bg-blue02 {
        background: none;
    }
}

/* ==================================== */
/* テキスト */
/* ==================================== */
.text-white {
    color: #fff !important;
    font-weight: 900;
}

.text-red {
    color: #fc450e !important;
    font-weight: 900;
}

.text-yellow {
    color: #f9df17 !important;
    font-weight: 900;
}

.text-navy {
    color: #0d5ca3 !important;
    font-weight: 900;
}


/* ==================================== */
/* ボーダー */
/* ==================================== */
.border-yellow {
    display: inline;
    background-position: left -100% center;
    padding-bottom: 0.4em !important;
    font-weight: bold;
    background-size: 200% 0.6em;
    background-repeat: repeat-x;
    background-image: linear-gradient(to right, rgba(255, 255, 255, 0) 50%, rgb(255, 255, 102) 50%);
    transition: background-position 2s ease 0.1s;
}

/* ==================================== */
/* ボタン */
/* ==================================== */
.btn {
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: inline-block;
    padding: 15px 40px;
    text-align: center;
    outline: none;
    transition: ease .2s;
}

.btn span {
    position: relative;
    font-size: 1.25rem;
    z-index: 3;
}

.bgleft:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    transition: transform .6s cubic-bezier(0.8, 0, 0.2, 1) 0s;
    transform: scale(0, 1);
    transform-origin: right top;
}

.bgleft:hover:before {
    transform-origin: left top;
    transform: scale(1, 1);
}

@media (max-width: 540px) {
    .btn {
        padding: 5px 20px;
    }

    .btn span {
        font-size: 0.8rem;
    }
}

/* btn-color */
/* white */
.btn-white {
    border: 1px solid #fff;
    background: #fff;
}

.btn-white span {
    color: #041e3a;
}

.btn-white:hover span {
    color: #fff;
}

.bgleft-white::before {
    background: #041e3a;
}

/* black */
.btn-black {
    border: 1px solid #041e3a;
    background: #041e3a;
}

.btn-black span {
    color: #fff;
}

.btn-black:hover span {
    color: #041e3a;
}

.bgleft-black::before {
    background: #fff;
}

/* navy */
.btn-navy {
    border: 1px solid #0d5ca3;
    background: #0d5ca3
}

.btn-navy span {
    color: #fff;
}

.btn-navy:hover span {
    color: #0d5ca3;
}

.bgleft-navy::before {
    background: #fff;
}

/* orange */
.btn-orange {
    border: 1px solid #f57e2f;
    background: #f57e2f;
}

.btn-orange span {
    color: #fff;
}

.btn-orange:hover span {
    color: #f57e2f;
}

.bgleft-orange::before {
    background: #fff;
}

/* yellow */
.btn-yellow {
    border: 1px solid #ffc107;
    background: #ffc107;
}

.btn-yellow span {
    color: #fff;
}

.btn-yellow:hover span {
    color: #ffc107;
}

.bgleft-yellow::before {
    background: #fff;
}

/* gra */
.btn-gra {
    border: 1px solid linear-gradient(rgb(0, 217, 255), rgb(52, 119, 213));
    background: linear-gradient(rgb(0, 217, 255), rgb(52, 119, 213));
}

.btn-gra span {
    color: #fff;
}

.btn-gra:hover span {
    color: linear-gradient(rgb(0, 217, 255), rgb(52, 119, 213));
}

.bgleft-gra::before {
    background: linear-gradient(rgb(105, 225, 246), rgb(4, 59, 135));
}

/* ============================ */
/* テキスト　ボーダーレフト */
/* ============================ */
.page-title {
    padding: 20px 0;
}

.page-title>span {
    display: table-cell;
    padding-top: 5px;
    padding-left: 15px;
    vertical-align: middle;
}

.page-title-blue::before {
    content: '';
    display: table-cell;
    width: 8px;
    height: 100px;
    vertical-align: middle;
    background: #7ab7ff;
    background-image: url(data:image/svg+xml,%3c%3fxml%20version%3d%221%2e0%22%3f%3e%3csvg%20xmlns%3d%22http%3a%2f%2fwww%2ew3%2eorg%2f2000%2fsvg%22%20width%3d%22100%25%22%20height%3d%22100%25%22%3e%3cdefs%3e%3clinearGradient%20id%3d%22G%22%20x2%3d%220%25%22%20y2%3d%22100%25%22%3e%3cstop%20style%3d%22stop%2dcolor%3a%23125cb3%22%20offset%3d%220%25%22%2f%3e%3cstop%20style%3d%22stop%2dcolor%3a%23125cb3%22%20offset%3d%2250%25%22%2f%3e%3cstop%20style%3d%22stop%2dcolor%3a%237ab7ff%22%20offset%3d%2250%25%22%2f%3e%3cstop%20style%3d%22stop%2dcolor%3a%237ab7ff%22%20offset%3d%22100%25%22%2f%3e%3c%2flinearGradient%3e%3c%2fdefs%3e%3crect%20width%3d%22100%25%22%20height%3d%22100%25%22%20fill%3d%22url%28%23G%29%22%2f%3e%3c%2fsvg%3e);
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #125cb3), color-stop(50%, #125cb3), color-stop(50%, #7ab7ff), color-stop(100%, #7ab7ff));
    background-image: -webkit-linear-gradient(top, #125cb3 0%, #125cb3 50%, #7ab7ff 50%, #7ab7ff 100%);
    background-image: linear-gradient(to bottom, #125cb3 0%, #125cb3 50%, #7ab7ff 50%, #7ab7ff 100%);
}

@media (max-width: 820px) {
    .page-title>span {
        font-size: 2rem;
    }

    .page-title::before {
        width: 7px;
        height: 70px;
    }

    .policy-sub {
        font-size: 1.4rem;
    }

    .policy-sub-title::before {
        top: 4px;
    }

    .msg {
        padding-top: 20px;
    }
}

@media (max-width: 412px) {
    .page-title>span {
        font-size: 1.3rem;
    }

    .page-title::before {
        width: 5px;
        height: 50px;
    }
}



/* ============================ */
/* page-top */
/* ============================ */
.pagetop {
    display: none;
    position: fixed;
    bottom: 80px;
    right: 15px;
}

.pagetop a {
    display: block;
    background-color: #333333;
    text-align: center;
    color: #fff;
    font-size: 22px;
    text-decoration: none;
    padding: 10px 20px;
    filter: alpha(opacity=50);
    -moz-opacity: 0.5;
    opacity: 0.5;
    border-radius: 50%;
}

.pagetop a:hover {
    opacity: 1;
}

@media (max-width: 844px) {
    .pagetop a {
        font-size: 18px;
        padding: 5px 10px;
    }
}

@media (max-width: 820px) {
    ul.slick-dots {
        height: 20px;
    }
}

/* ============================ */
/* ガイダンス */
/* ============================ */

.guidance {
    display: flex;
    top: 120px;
    padding: 10px 0;
    background: #fff;
    width: 100%;
    box-shadow: 1px 1px 1px #ccc;
    z-index: 15;
}

.home-click {
    margin-left: 20px;
}

.home-click, .guidance-list {
    color: #68ace8;
    padding-right: 10px;
    line-height: 5px;
}

.home-click::after, .guidance-list::after {
    color: #333;
    content: "/";
    padding-left: 10px;
}

@media (max-width: 844px) {
    .guidance {
        top: 81px;
        padding: 3px 0;
        font-size: 15px;
    }

    .home-click {
        margin-left: 10px;
    }

    .home-click, .guidance-list {
        padding-right: 5px;
    }

    .home-click::after, .guidance-list::after {
        padding-left: 5px;
    }
}

@media (max-width: 768px) {
    .guidance {
        top: 71px;
    }
}

@media (max-width: 540px) {
    .guidance {
        top: 59px;
        padding: 2px 0;
        font-size: 13px;
    }
}

@media (max-width: 390px) {
    .guidance {
        top: 59px;
        padding: 2px 0;
        font-size: 11px;
    }
}


/* ======================= */
/* アニメーション */
/* ======================= */
.fadeUp {
    animation-name: fadeUpAnime;
}

.fadeDown {
    animation-name: fadeDownAnime;
}

.fadeLeft {
    animation-name: fadeLeftAnime;
}

.fadeRight {
    animation-name: fadeRightAnime;
}

.fadeUp, .fadeDown, .fadeLeft, .fadeRight {
    animation-duration: 1s;
    animation-fill-mode: forwards;
    opacity: 0;
}

@keyframes fadeUpAnime {
    from {
        opacity: 0;
        transform: translateY(100px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeDownAnime {
    from {
        opacity: 0;
        transform: translateY(-100px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeLeftAnime {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeRightAnime {
    from {
        opacity: 0;
        transform: translateX(100px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* =================================== */
/* splash */
/* =================================== */
.splashbgleft {
    display: none;
}

.splashbgleft {
    display: block;
    content: "";
    width: 100%;
    height: auto;
    top: 0;
    left: 0;
    transform: scaleX(0);
    animation-name: PageAnimeLeft;
    animation-duration: 1.8s;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards;
}

.splashpmleft {
    padding-top: 1px;
    margin-top: 20px;
}

@keyframes PageAnimeLeft {
    0% {
        transform-origin: left;
        transform: scaleX(0);
    }

    50% {
        transform-origin: left;
        transform: scaleX(1);
    }

    50.001% {
        transform-origin: right;
    }

    100% {
        transform-origin: right;
        transform: scaleX(1);
    }
}

.splashbgright {
    display: none;
}

.splashbgright {
    display: block;
    content: "";
    width: 100%;
    height: auto;
    top: 0;
    right: 0;
    transform: scaleX(0);
    animation-name: PageAnimeRight;
    animation-duration: 1.8s;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards;
}

@keyframes PageAnimeRight {
    0% {
        transform-origin: right;
        transform: scaleX(0);
    }

    50% {
        transform-origin: right;
        transform: scaleX(1);
    }

    50.001% {
        transform-origin: left;
    }

    100% {
        transform-origin: left;
        transform: scaleX(1);
    }
}

/* ================================= */
/* 背景アニメーション */
/* ================================= */
/* page.price-template */
.triangle {
    position: absolute;
    top: 7%;
}

.triangle:after {
    content: "";
    position: absolute;
    top: 0%;
    box-sizing: border-box;
    border-right: 100vw solid transparent;
    /* border-left: 50vw solid transparent; */
    border-top: 310px solid #fff;
    z-index: 2;
}

.trianglebg {
    position: absolute;
    width: 100%;
    top: 0;
    background: #a8d4fb;
    border-bottom: 10px solid #f9df17;
    height: 310px;
    z-index: 1;
}