/*
Theme Name: グランディア
Theme URL: https://grandia-sell.jp/
Description: グランディア
Author: グランディア
Version: 1
*/
/* html5のブラウザ互換用
----------------------------------------------------------- */
@import url("/wp-content/themes/template/css/reset.css");
@import url("/wp-content/themes/template/css/default.css");


    @charset "utf-8";

    .clearfix {
        display: block;
    }

    body {
        font-family: "Noto Sans JP", sans-serif;
        color: #000;
        font-size: 18px;
        font-weight: 500;
    }

    .sp {
        display: none;
    }

    /* header */
    header {
        width: 100%;
        background-color: #fff;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 999;
    }

    header div {
        width: 100%;
        max-width: 1080px;
        margin: 0 auto;
        display: -webkit-flex;
        display: flex;
        -webkit-justify-content: space-between;
        justify-content: space-between;
        padding: 20px 0;
    }

    header div ul {
        display: -webkit-flex;
        display: flex;
        -webkit-justify-content: space-between;
        justify-content: space-between;
        -webkit-align-items: center;
        align-items: center;
        gap: 10px;
    }

    header div ul li:last-child {
        margin-left: 20px;
    }

    header div ul li a img:hover {
        opacity: .8;
    }

    /* fv */
    #fv {
        position: relative;
        width: 100%;
        max-width: 1200px;
        margin: 0 auto;
        aspect-ratio: 1200 / 790;
        overflow: hidden;
        background-color: #000;
    }

    .slide {
        position: absolute;
        width: 100%;
        height: 100%;
        opacity: 0;
        transition: opacity 1s ease-in-out;
    }

    .slide.active {
        opacity: 1;
        z-index: 1;
    }

    .slide img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    /* テロップ帯 */
    .caption {
        position: absolute;
        bottom: -60px;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.8);
        padding: 12px 50px;
        font-size: 1.2rem;
        transform: translateY(0);
        transition: bottom 0.5s ease-out;
        font-family: 'Yu Mincho', 'Hiragino Mincho Pro', 'MS Mincho', serif;
    }

    .slide.active .caption {
        bottom: 0;
    }

    .caption h2 {
        font-size: 48px;
        color: #d8601f;
    }

    .caption p {
        font-size: 22px;
        color: #d8601f;
    }
    
.caption_red {
        position: absolute;
        bottom: -60px;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.8);
        padding: 12px 50px;
        font-size: 1.2rem;
        transform: translateY(0);
        transition: bottom 0.5s ease-out;
        font-family: 'Yu Mincho', 'Hiragino Mincho Pro', 'MS Mincho', serif;
    }

    .slide.active .caption_red {
        bottom: 0;
    }

    .caption_red h2 {
        font-size: 48px;
        color: #cc3672;
    }

    .caption_red p {
        font-size: 22px;
        color: #cc3672;
    }
    /* fv_bottom */
    #fv_bottom {
        width: 90%;
        max-width: 1080px;
        border: #CEAD84 2px solid;
        position: relative;
        padding: 50px 0;
        text-align: center;
        margin: 4em auto;
    }

    #fv_bottom h2 {
        position: absolute;
        top: -30px;
        font-size: 36px;
        left: 50%;
        background-color: #fff;
        display: inline-block;
        padding: 0 1em;
        transform: translateX(-50%);
        font-family: 'Yu Mincho', 'Hiragino Mincho Pro', 'MS Mincho', serif;
        font-weight: bold;
        color: #CEAD84;
    }

    #fv_bottom p {
        font-size: 24px;
        margin: 0 0 1em;
        font-weight: bold;
    }

    #fv_bottom .red {
        color: #f00000;
    }

    #fv_bottom .big {
        font-size: 1.5em;
    }

    #fv_bottom .line {
        background: linear-gradient(transparent 60%, #ffe400 60%);
    }

    #fv_bottom div {
        text-align: left;
        background-color: #f8f8f8;
        padding: 1em;
        font-size: .8em;
        width: 90%;
        margin: 0 auto;
    }

    /* cta */
    .cta,
    .cta_line {
        background-color: #2b5661;
    }

    a img {
        transition: opacity 0.3s ease;
    }

    .cta>div {
        width: 90%;
        max-width: 1080px;
        margin: 0 auto;
        padding: 0 0 50px;
    }

    .cta_line>div {
        width: 90%;
        max-width: 1080px;
        margin: 0 auto;
        padding: 50px 0;
    }

    .cta div figure {
        text-align: center;
        margin: 0 0 2em;
    }

    .cta div ul {
        display: -webkit-flex;
        display: flex;
        -webkit-justify-content: space-between;
        justify-content: space-between;
        margin: 0 0 1em;
    }

    .cta div ul.mbn {
        margin: 0;
    }

    .cta h2,
    .cta_line h2 {
        text-align: center;
        color: #fff;
        font-size: 36px;
        margin: 0 0 20px;
    }

    .cta_line h2 span {
        display: block;
        font-size: 24px;
    }

    .cta_line div {
        text-align: center;
    }

    /* box01 */
    #box01 {
        margin: 0 0 3em;
        background-color: #f8f8f8;
        padding: 60px 0;
    }

    #box01 article {
        width: 90%;
        max-width: 980px;
        margin: 0 auto 30px;
        box-shadow: 0px 0px 15px 5px #d1d1d1;
        padding: 30px;
        box-sizing: border-box;
    }

    #box01 h2 {
        text-align: center;
        font-size: 48px;
        margin: 0 0 60px;
        font-family: 'Yu Mincho', 'Hiragino Mincho Pro', 'MS Mincho', serif;

    }

    .box01_fade span {
        display: block;
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }

    .box01_fade span.visible {
        opacity: 1;
        transform: translateY(0);
    }

    #box01 article h3 {
        font-size: 30px;
        position: relative;
        cursor: pointer;
    }

    #box01 article h3::after {
        content: "";
        width: 10px;
        height: 10px;
        border-left: 2px solid #000;
        border-bottom: 2px solid #000;
        transform: rotate(-45deg);
        /* ▼ 下向き（閉じてるとき） */
        position: absolute;
        top: 50%;
        right: 10px;
        translate: 0 -50%;
        transition: transform 0.2s ease;
    }

    #box01 article h3.open::after {
        transform: rotate(135deg);
        /* ∧ 上向き（開いてるとき） */
    }

    .box01_content {
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.4s ease, opacity 0.4s ease;
    }

    .box01_content.open {
        max-height: 1000px;
        /* ← ここが十分に大きくないと途中で切れることが！ */
        opacity: 1;
    }

    #box01 article ul li {
        border-bottom: #ccc dashed 1px;
        padding: 1em 0;
    }

    #box01 article ul li span {
        color: #0a6997;
    }

    .box01_btn {
        text-align: center;
        margin: 0 auto;
    }

    .box01_btn img:hover {
        opacity: .8;
    }

    /* box03 */
    #box03 {
        width: 90%;
        max-width: 1080px;
        margin: 0 auto;
        padding: 80px 0;
        font-size: 24px;
    }

    #box03 p {
        margin: 0 0 20px;
        text-align: center;
        line-height: 2;
    }

    #box03>h2 {
        font-size: 2em;
        font-weight: normal;
        font-family: 'Yu Mincho', 'Hiragino Mincho Pro', 'MS Mincho', serif;
        font-weight: 600;
        margin: 0 0 30px;
        text-align: center;
    }

    #box03 div h2 {
        font-size: 2em;
        font-weight: normal;
        font-family: 'Yu Mincho', 'Hiragino Mincho Pro', 'MS Mincho', serif;
        font-weight: 600;
        margin: 0 0 60px;
        text-align: center;
    }

    #box03 div p span {
        font-family: 'Yu Mincho', 'Hiragino Mincho Pro', 'MS Mincho', serif;
        font-weight: 600;
        font-size: 1.5em;
    }

    .fade-lines p {
        opacity: 0;
        transform: translateY(1em);
        transition: all 0.6s ease;
    }

    .fade-lines p.visible {
        opacity: 1;
        transform: translateY(0);
    }

    /* box04 */
    #box04 {
        background-color: #f6f6f6;
    }

    #box04>div {
        width: 100%;
        background-image: url(/wp-content/themes/template/images/box04_bg.webp);
        background-position: center top;
        background-repeat: no-repeat;
        background-size: contain;
        max-width: 1080px;
        margin: 0 auto;
        padding: 7% 0 50px;
    }

    #box04 h2 {
        text-align: center;
        font-size: 48px;
        margin: 0 0 60px;
        font-family: 'Yu Mincho', 'Hiragino Mincho Pro', 'MS Mincho', serif;
    }

    #box04 h2 span {
        display: block;
        font-size: 30px;
    }

    #box04 article {
        background-color: #fff;
        margin: 0 0 30px;
        padding: 0 50px 30px;
        background-position: right 20px top 20px;
        background-repeat: no-repeat;
    }

    #box04 article#box04_01 {
        background-image: url(/wp-content/themes/template/images/box04_step01_bg.webp);
    }

    #box04 article#box04_02 {
        background-image: url(/wp-content/themes/template/images/box04_step02_bg.webp);
    }

    #box04 article#box04_03 {
        background-image: url(/wp-content/themes/template/images/box04_step03_bg.webp);
    }

    .box04_title {
        width: 100%;
        display: -webkit-flex;
        display: flex;
        -webkit-align-items: center;
        align-items: center;
        padding: 0 0 1em;
    }

    .box04_title h3 {
        padding: 0 0 0 30px;
        font-size: 30px;
        color: #2b5661;
    }

    .box04_title h3 span {
        font-size: 24px;
        font-weight: 500;
        display: block;
    }

    /* box05 */
    #box05_title {
        background-color: #2b5661;
        text-align: center;
        padding: 50px 0;
    }

    #box05_title h2 {
        color: #fff;
        font-size: 48px;
        font-family: 'Yu Mincho', 'Hiragino Mincho Pro', 'MS Mincho', serif;
    }

    #box05_title h2 span {
        display: block;
        font-size: 30px;
    }

    #box05 {
        width: 100%;
        max-width: 980px;
        margin: 0 auto;
        padding: 80px 0;
    }

    #box05 article {
        box-shadow: 0px 0px 15px 5px #d1d1d1;
        margin: 0 0 50px;
        padding: 30px 50px;
        box-sizing: border-box;
        background-repeat: no-repeat;
        background-position: right top;
    }

    #box05 article:last-of-type {
        margin: 0;
    }


    #box05 article h3 {
        font-family: 'Yu Mincho', 'Hiragino Mincho Pro', 'MS Mincho', serif;
        font-size: 60px;
    }

    #box05 article#box05_01 h3 {
        color: #d26567;
    }

    #box05 article#box05_02 h3 {
        color: #e8a240;
    }

    #box05 article#box05_03 h3 {
        color: #0a6997;
    }

    #box05 article h4 {
        font-family: 'Yu Mincho', 'Hiragino Mincho Pro', 'MS Mincho', serif;
        font-size: 28px;
    }

    #box05 article#box05_01 h4 span {
        color: #d26567;

    }

    #box05 article#box05_02 h4 span {
        color: #e8a240;

    }

    #box05 article#box05_01 ul {
        margin: 20px 0 0 0;
    }

    #box05 article#box05_01>ul li {
        display: inline-block;
        background-color: #2b5661;
        border-radius: 5px;
        margin: 0 5px 10px 0;
        color: #fff;
        padding: .5em 20px;
    }

    #box05 article#box05_02 table {
        margin: 2em 0 0;
        width: 100%;
        font-size: 16px;
    }

    #box05 article#box05_02 table th {
        text-align: center;
        border: #ccc 1px solid;
        padding: .5em;
        background-color: #2b5661;
        font-weight: bold;
        color: #fff;
    }

    #box05 article#box05_02 table td {
        border: #ccc 1px solid;
        padding: .5em;
    }

    #box05 article#box05_02 p.min {
        font-size: .8em;
    }

    #box05 article#box05_03 h5 {
        text-align: center;
        font-size: 30px;
        margin: 1em 0 1.5em;
        color: #2b5661;
    }

    .box05_03_main {
        display: -webkit-flex;
        display: flex;
        -webkit-justify-content: center;
        justify-content: center;
    }

    .box05_03_main div {
        border: #2b5661 2px solid;
        padding: 2em 3em;
        position: relative;
    }

    .box05_03_main div h6 {
        position: absolute;
        top: -20px;
        left: 50%;
        transform: translateX(-50%);
        font-size: 24px;
        background-color: #fff;
        display: inline-block;
        padding: 0 1em;
        letter-spacing: 2px;
        color: #2b5661;
    }

    .box05_03_main figure {
        padding: 0 30px;
        display: -webkit-flex;
        display: flex;
        -webkit-justify-content: center;
        justify-content: center;
        -webkit-align-items: center;
        align-items: center;
        font-size: 60px;
        font-weight: 100;
        color: #888;
    }

    .more_btn {
        padding: 30px 0 0;
        text-align: center;
        cursor: pointer;
    }

    .more {
        overflow: hidden;
        max-height: 0;
        /* 最初は表示されない */
        padding: 0 0 0;
        display: block;
        /* display: block にしておく */
        transition: max-height 0.4s ease, padding 0.4s ease;
        /* max-height と padding をアニメーション */

    }

    .more.open {
        max-height: 1000px;
        /* 最大の高さを指定 */
        padding: 40px 0 0;
        /* パディングでコンテンツの表示に必要なスペースを確保 */
    }

    #box05 article p span.line {
        background: linear-gradient(transparent 60%, #ffe400 60%);
    }

    #box05 article#box05_01 .more span,
    #box05 article#box05_01 .more strong {
        color: #d26567;
    }

    #box05 article#box05_02 .more span,
    #box05 article#box05_02 .more strong {
        color: #e8a240;
    }

    .box {
        margin: 0 auto 20px;
        border: 2px solid #2b5661;
        color: #000000;
    }

    .box div.title {
        display: inline-flex;
        align-items: center;
        column-gap: 4px;
        position: relative;
        top: -20px;
        left: 10px;
        margin: 0 7px;
        padding: 0 8px;
        background: #fff;
        color: #2b5661;
        font-weight: 600;
        vertical-align: top;
        font-size: 24px;
    }

    .box ul {
        margin: 0;
        padding: 0 1.5em 1.5em 3em;
    }

    .box div.in {
        margin: 0;
        padding: 0 1.5em 1.5em 1.5em;
    }

    .box ul li {
        list-style: disc;
    }

    .box div.in h4 {
        font-size: 24px;
        color: #0a6997;
    }

    .box div.in h4 span {
        font-size: 18px;
    }

    .box div.in p {
        margin: 0 0 30px;
    }

    .box div.in p:last-of-type {
        margin: 0;
    }

    #box05 h2 {
        text-align: center;
        font-size: 36px;
        padding: 80px 0 0;
    }

    #box05 h2 span.line {
        background: linear-gradient(transparent 60%, #ffe400 60%);
    }

    /* box06 */
    #box06 {
        background-color: #f6f6f6;
    }

    #box06>div {
        background-image: url(/wp-content/themes/template/images/box06_bg.webp);
        background-position: center top;
        background-size: contain;
        background-repeat: no-repeat;
        padding: 7% 0 80px;
        width: 100%;
        max-width: 1080px;
        margin: 0 auto;
    }

    #box06 div h2 {
        font-size: 48px;
        text-align: center;
        line-height: 1.3;
        margin: 0 0 50px;
        font-family: 'Yu Mincho', 'Hiragino Mincho Pro', 'MS Mincho', serif;
    }

    #box06_top {
        margin: 0 0 100px;
    }

    #box06_top article {
        background-color: #fff;
        padding: 40px 50px;
        box-sizing: border-box;
    }

    #box06_top article h3 {
        text-align: center;
        font-size: 30px;
        margin: 0 0 20px;
    }

    #box06_top article ul {
        display: -webkit-flex;
        display: flex;
        -webkit-justify-content: space-between;
        justify-content: space-between;
    }

    #box06_top article ul li {
        width: 50%;
        text-align: center;
    }

    #box06_top div {
        margin: 50px 0 0;
        display: -webkit-flex;
        display: flex;
        -webkit-justify-content: space-between;
        justify-content: space-between;
    }

    #box06_top div article {
        width: 48%;
    }

    #box06_top div article figure {
        text-align: center;
    }

    .point {
        position: relative;
        margin: 1.9em auto 0;
        padding: 1em 1.5em;
        border: 2px solid #e8a240;
    }

    .point span {
        position: absolute;
        top: -2em;
        left: -2px;
        padding: .2em 2em .2em 1em;
        background-color: #e8a240;
        color: #fff;
        clip-path: polygon(0 0, calc(100% - 30px) 0, 100% 45px, 100% 100%, 0% 100%);
        font-size: 24px;
        font-weight: 700;
    }

    .point p {
        margin: 0;
        color: #333;
    }

    .achievements {
        display: -webkit-flex;
        display: flex;
        -webkit-justify-content: space-between;
        justify-content: space-between;
        margin: 0 0 80px;
    }

    .achievements:last-of-type {
        margin: 0;
    }

    .achievements .photo {
        width: 500px;
    }

    .achievements .photo h3 {
        margin: 0 0 30px;
        background-color: #2b5661;
        color: #fff;
        font-size: 36px;
        text-align: center;
        line-height: 2;
    }

    .achievements .photo h3 span {
        display: block;
        background-color: #adcfd8;
        color: #000;
        font-size: 18px;
        padding: .5em 0;
        line-height: 1;
        font-weight: normal;
    }

    .achievements .data {
        width: 550px;
    }

    .data_title {
        display: -webkit-flex;
        display: flex;
        -webkit-align-items: center;
        align-items: center;
        margin: 0 0 80px;
    }

    .data_title h3 {
        padding: 0 0 0 30px;
        font-size: 36px;
    }

    .row {
        flex-direction: row-reverse;
    }

    /* box07 */
    #box07 {
        width: 100%;
        max-width: 1080px;
        margin: 0 auto;
        background-image: url(/wp-content/themes/template/images/box07_bg.webp);
        background-size: contain;
        background-position: center top;
        background-repeat: no-repeat;
        padding: 7% 0 80px;
    }

    #box07 h2 {
        text-align: center;
        font-size: 48px;
        margin: 0 0 90px;
        font-family: 'Yu Mincho', 'Hiragino Mincho Pro', 'MS Mincho', serif;
    }

    #box07_top {
        display: -webkit-flex;
        display: flex;
        -webkit-flex-wrap: wrap;
        flex-wrap: wrap;
        -webkit-justify-content: space-between;
        justify-content: space-between;
    }

    #box07_top article {
        width: 49%;
        border: #d1d1d1 1px solid;
        margin: 0 0 2%;
        padding: 1em;
        box-sizing: border-box;
    }

    #box07_top article:first-of-type {
        background-color: #d8eff4;
    }

    #box07_top article:first-of-type .box07_top_title h3 span {
        display: block;
        background-color: #d26567;
        padding: .1em 1em;
        color: #fff;
        font-size: 18px;
        width: 70px;
        text-align: center;
    }

    #box07_top article:first-of-type h4 {
        text-align: center;
        font-size: 1.3em;
        text-decoration: underline;
        color: #d26567;
        padding: .5em 0 0;
    }

    .box07_top_title {
        display: -webkit-flex;
        display: flex;
        -webkit-align-items: center;
        align-items: center;
        margin: 0 0 1em;
    }

    .box07_top_title figure {
        width: 100px;
    }

    .box07_top_title h3 {
        font-size: 30px;
        color: #2b5661;
        padding: 0 0 0 1em;
    }

    #box07_top article:last-of-type {
        background-color: #ebe3d9;
    }

    #box07_top article:last-of-type .box07_top_title h3 span {
        display: block;
        font-size: 12px;
        background-color: #fff;
        padding: .5em 1em;
        color: #d26567;
    }

    #box07_top article p span {
        font-size: .8em;
    }

    #box07_bottom article {
        display: -webkit-flex;
        display: flex;
        -webkit-align-items: center;
        align-items: center;
        margin: 0 0 1em;
        border: #ccc 1px solid;
        padding: 1em;
    }

    #box07_bottom article figure {
        width: 70px;
    }

    #box07_bottom article div {
        padding: 0 0 0 20px;
    }

    #box07_bottom article div h3 {
        color: #2b5661;
    }

    /* box08 */
    #box08 {
        background-color: #f6f6f6;
    }

    #box08>div {
        width: 100%;
        max-width: 1080px;
        margin: 0 auto;
        background-image: url(/wp-content/themes/template/images/box08_bg.webp);
        background-position: center top;
        background-repeat: no-repeat;
        background-size: contain;
        padding: 7% 0 80px;
    }

    #box08 div h2 {
        text-align: center;
        font-size: 48px;
        margin: 0 0 60px 0;
        font-family: 'Yu Mincho', 'Hiragino Mincho Pro', 'MS Mincho', serif;
    }

    #box08 div article {
        background-color: #fff;
        padding: 30px 50px;
        margin: 0 0 30px;
    }

    #box08 div article:last-of-type {
        margin: 0;
    }

    .voice_title {
        display: flex;
        align-items: center;
        cursor: pointer;
        position: relative;
        /* アイコン用余白 */
    }

    .voice_title figure {
        width: 100px;
        margin: 0;
    }

    .voice_title h3 {
        width: 880px;
        box-sizing: border-box;
        padding-left: 30px;
        font-size: 24px;
        margin: 0;
    }

    .voice_title::after {
        content: "";
        width: 10px;
        height: 10px;
        border-left: 2px solid #000;
        border-bottom: 2px solid #000;
        transform: rotate(-45deg);
        /* ▼ 下向き（閉じてるとき） */
        position: absolute;
        top: 50%;
        right: 10px;
        translate: 0 -50%;
        transition: transform 0.2s ease;
    }

    .voice_title.open::after {
        transform: rotate(135deg);
        /* ∧ 上向き（開いてるとき） */
    }

    .voice_content {
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.4s ease, opacity 0.4s ease;
    }

    .voice_content.open {
        max-height: 1000px;
        /* 十分大きな値に */
        opacity: 1;
    }

    .voice_content p {
        margin: 0;
        padding: 30px 0 0;
        line-height: 2;
    }

    .voice_content span {
        display: block;
        text-align: right;
    }

    /* box09 */
    #box09 {
        width: 100%;
        max-width: 980px;
        margin: 0 auto;
        padding: 7% 0 80px;
    }

    #box09 h2 {
        text-align: center;
        font-size: 48px;
        margin: 0 0 60px 0;
        font-family: 'Yu Mincho', 'Hiragino Mincho Pro', 'MS Mincho', serif;
    }

    #box09 article {
        margin: 0 0 30px;
    }

    #box09 article:last-of-type {
        margin: 0;
    }

    .question {
        display: flex;
        align-items: center;
        cursor: pointer;
        position: relative;
        box-shadow: 0px 0px 15px 5px #d1d1d1;
    }

    .question::after {
        content: "";
        width: 10px;
        height: 10px;
        border-left: 2px solid #000;
        border-bottom: 2px solid #000;
        transform: rotate(-45deg);
        /* ▼ */
        position: absolute;
        top: 50%;
        right: 20px;
        translate: 0 -50%;
        transition: transform 0.2s ease;
    }

    .question.open::after {
        transform: rotate(135deg);
        /* ∧ */
    }

    .question p,
    .answer p {
        padding: 0 0 0 20px;
        width: 920px;
        box-sizing: border-box;
    }

    .answer {
        display: flex;
        align-items: center;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        padding: 0;
        transition: max-height 0.4s ease, opacity 0.4s ease, padding 0.4s ease;

    }

    .question figure,
    .answer figure {
        width: 60px;
    }

    .answer.open {
        max-height: 1000px;
        opacity: 1;
        padding: 30px 0 30px;
    }

    /* contact */
    #contact {
        width: 90%;
        max-width: 980px;
        margin: 0 auto;
        padding: 80px 0;
    }

    #contact h2 {
        text-align: center;
        font-size: 48px;
        margin: 0 0 50px 0;
        font-family: 'Yu Mincho', 'Hiragino Mincho Pro', 'MS Mincho', serif;
    }

    #contact p {
        text-align: center;
        margin: 0 0 50px 0;
    }

    #contact table {
        width: 100%;
    }

    #contact table th {
        width: 40%;
        padding: 2%;
        box-sizing: border-box;
        position: relative;
    }

    #contact table th span {
        position: absolute;
        right: 10%;
        top: 50%;
        transform: translateY(-50%);
    }

    #contact table th.soudan span {
        top: 5%;
        transform: translateY(0%);
    }

    #contact table th span {
        color: #f00000;
    }

    #contact table th span.nini {
        color: #7f7f7f;
    }

    #contact table td {
        width: 60%;
        padding: 2%;
        box-sizing: border-box;
    }

    input,
    textarea {
        border: #ccc 1px solid;
        padding: 1em;
        border-radius: 5px;
        font-size: 18px;
        box-sizing: border-box;
    }

    textarea {
        height: 250px;
        margin:1em 0 0;
    }

    input[type="radio"] {
        margin-right: 0.5em;
    }

    #contact table td label {
        display: inline-block;
    }

    #contact table td label:last-of-type {
        /*margin: 0 0 1em;*/
    }

    /* footer */
    footer {
        background-color: #2b5661;
        text-align: center;
        color: #fff;
        padding: 2em 0;
    }

    footer a {
        color: #fff;
        text-decoration: none;
    }
#contact table td span.wpcf7-list-item{
margin: 0 1em 0 0;
}

#from_btn {
text-align: center;
padding: 1em 0 0 0;
}

#from_btn .send {
border: none;
    padding: 1em;
    border-radius: 5px;
    font-size: 24px;
    box-sizing: border-box;
    background: #ffbe0e;
    width: 300px;
    color: #fff;
    font-weight: bold;
    cursor:pointer
}
#from_btn span.wpcf7-spinner{
display: block;
}

#thanks {
text-align: center;
    padding: 10em 1em;
}

#thanks h2{
margin: 0 0 1em 0;
    font-size: 1.5em;
}

#thanks a{
display: block;
    padding: 1em;
    text-decoration: none;
    color: red;
}
    /*スマホ
------------------------------*/

    @media screen and (max-width: 750px) {
        .pc {
            display: none;
        }

        .sp {
            display: block;
        }

        body {
            font-size: 14px;
            letter-spacing: 0;
        }

        /* header */

        header div {
            display: -webkit-flex;
            display: flex;
            -webkit-justify-content: space-between;
            justify-content: space-between;
            -webkit-align-items: center;
            align-items: center;
            padding: 0;
        }

        header div h1 {
            width: 50%;
            padding: 0 5%;
            box-sizing: border-box;
        }

        header div ul {
            display: -webkit-flex;
            display: flex;
            -webkit-justify-content: space-between;
            justify-content: space-between;
            -webkit-align-items: center;
            align-items: center;
            gap: 0;
            margin-left: auto;
            width: 50%;
        }

        header div ul li:last-child {
            margin-left: 0px;
        }

        /* テロップ帯 */
        .caption {
            padding: 6px 10px;
            box-sizing: border-box;
        }

        .caption h2 {
            font-size: 18px;
            color: #d8601f;
            letter-spacing: 0;
            font-weight: bold;
        }

        .caption p {
            font-size: 10px;
            color: #d8601f;
            font-weight: bold;
        }
        .caption_red {
            padding: 6px 10px;
            box-sizing: border-box;
        }

        .caption_red h2 {
            font-size: 18px;
            color: #cc3672;
            letter-spacing: 0;
            font-weight: bold;
        }

        .caption_red p {
            font-size: 10px;
            color: #cc3672;
            font-weight: bold;
        }
        /* fv_bottom */
        #fv_bottom {
            border: #CEAD84 1px solid;
            padding: 25px 0;
            margin: 4em auto;
        }

        #fv_bottom h2 {
            top: -18px;
            font-size: 24px;
            padding: 0 .5em;
            width: 90%;
            box-sizing: border-box;
        }

        #fv_bottom p {
            font-size: 18px;
            margin: 0 auto 1em;
            font-weight: bold;
            width: 90%;
        }


        #fv_bottom div {
            text-align: left;
            background-color: #f8f8f8;
            padding: 1em;
            font-size: .8em;
            width: 80%;
            margin: 0 auto;
        }

        /* cta */

        .cta>div {
            width: 90%;
            margin: 0 auto;
            padding: 0 0 2em;
        }

        .cta_line>div {
            width: 90%;
            margin: 0 auto;
            padding: 2em 0;
        }

        .cta div figure {
            margin: 0 auto 1em;
            width: 50%;
        }

        .cta div ul {
            display: -webkit-flex;
            display: flex;
            -webkit-flex-direction: column;
            flex-direction: column;
            margin: 0 0 0em;
        }

        .cta div ul li {
            margin: 0 0 1em;
        }

        .cta div ul.mbn {
            margin: 0;
        }

        .cta h2,
        .cta_line h2 {
            font-size: 18px;
            margin: 0 0 1em;
        }

        .cta_line h2 span {
            font-size: 12px;
        }

        /* box01 */
        #box01 {
            margin: 0 0 0em;
            padding: 3em 0;
        }

        #box01 article {
            margin: 0 auto 1.5em;
            box-shadow: 0px 0px 7px 3px #d1d1d1;
            padding: 1em;
        }

        #box01 h2 {
            text-align: center;
            font-size: 24px;
            margin: 0 auto 1em;
        }

        .box01_fade span {
            display: block;
            opacity: 0;
            transform: translateY(20px);
            transition: opacity 0.6s ease, transform 0.6s ease;
        }

        .box01_fade span.visible {
            opacity: 1;
            transform: translateY(0);
        }

        #box01 article h3 {
            font-size: 18px;
        }


        .box01_btn {
            text-align: center;
            margin: 0 auto;
            width: 70%;
        }

        .box01_btn img:hover {
            opacity: .8;
        }

        /* box03 */
        #box03 {
            width: 90%;
            max-width: 1080px;
            margin: 0 auto;
            padding: 2em 0;
            font-size: 16px;
        }

        #box03 p {
            margin: 0 0 20px;
            text-align: center;
            line-height: 2;
        }

        #box03>h2 {
            font-size: 24px;
            margin: 0 0 1em;
            text-align: center;
        }

        /* box04 */

        #box04>div {
            padding: 7% 0 2em;
        }

        #box04 h2 {
            font-size: 24px;
            margin: 0 auto 1em;
            letter-spacing: 0;
        }

        #box04 h2 span {
            font-size: 16px;
        }

        #box04 article {
            margin: 0 auto 1em;
            padding: 0 1em 1em;
            width: 94%;
            box-sizing: border-box;
        }

        #box04 article#box04_01 {
            background-image: none;
        }

        #box04 article#box04_02 {
            background-image: none;
        }

        #box04 article#box04_03 {
            background-image: none;
        }

        .box04_title {
            width: 100%;
            display: -webkit-flex;
            display: flex;
            -webkit-align-items: flex-start;
            align-items: flex-start;
            padding: 0 0 1em;
        }

        .box04_title figure {
            width: 15%;
        }

        .box04_title h3 {
            padding: .5em 0 0 1em;
            font-size: 18px;
            color: #2b5661;
            width: 85%;
            box-sizing: border-box;
        }

        .box04_title h3 span {
            font-size: 12px;
            font-weight: 500;
            display: block;
        }

        /* box05 */
        #box05_title {
            padding: 1em 0;
        }

        #box05_title h2 {
            font-size: 24px;
        }

        #box05_title h2 span {
            font-size: 14px;
        }

        #box05 {
            width: 94%;
            margin: 0 auto;
            padding: 2em 0;
        }

        #box05 article {
            box-shadow: 0px 0px 7px 3px #d1d1d1;
            margin: 0 0 2em;
            padding: 1em 1.5em;
        }


        #box05 article h3 {
            font-size: 36px;
        }


        #box05 article h4 {
            font-size: 18px;
        }


        #box05 article#box05_01 ul {
            margin: .5em 0 0 0;
        }

        #box05 article#box05_01>ul li {
            border-radius: 3px;
            margin: 0 2px 4px 0;
            color: #fff;
            padding: .2em 10px;
            font-size: 11px;
        }

        #box05 article#box05_02 table {
            margin: 1em 0 0;
            font-size: 12px;
        }


        #box05 article#box05_03 h5 {
            font-size: 24px;
            margin: 1em 0 1em;
            color: #2b5661;
        }

        .box05_03_main {
            display: -webkit-flex;
            display: flex;
            -webkit-flex-direction: column;
            flex-direction: column;
        }

        .box05_03_main div {
            border: #2b5661 1px solid;
            padding: 2em 1em;
            position: relative;
        }

        .box05_03_main div h6 {
            position: absolute;
            top: -15px;
            left: 50%;
            transform: translateX(-50%);
            font-size: 18px;
            background-color: #fff;
            display: inline-block;
            padding: 0 1em;
            letter-spacing: 2px;
            color: #2b5661;
        }

        .box05_03_main figure {
            padding: 0 30px;
            display: -webkit-flex;
            display: flex;
            -webkit-justify-content: center;
            justify-content: center;
            -webkit-align-items: center;
            align-items: center;
            font-size: 60px;
            font-weight: 100;
            color: #888;
        }

        .more_btn {
            padding: 30px 0 0;
            text-align: center;
            cursor: pointer;
        }

        .more {
            overflow: hidden;
            max-height: 0;
            /* 最初は表示されない */
            padding: 0 0 0;
            display: block;
            /* display: block にしておく */
            transition: max-height 0.4s ease, padding 0.4s ease;
            /* max-height と padding をアニメーション */
        }

        .more.open {
            max-height: 1000px;
            /* 最大の高さを指定 */
            padding: 40px 0 0;
            /* パディングでコンテンツの表示に必要なスペースを確保 */
        }



        .box div.title {
            display: inline-flex;
            align-items: center;
            column-gap: 4px;
            position: relative;
            top: -20px;
            left: 10px;
            margin: 0 7px;
            padding: 0 8px;
            background: #fff;
            color: #2b5661;
            font-weight: 600;
            vertical-align: top;
            font-size: 18px;
        }

        .box div.in h4 {
            font-size: 18px;
            color: #0a6997;
        }

        .box div.in h4 span {
            font-size: 18px;
        }

        .box div.in p {
            margin: 0 0 30px;
        }

        .box div.in p:last-of-type {
            margin: 0;
        }

        #box05 h2 {
            text-align: center;
            font-size: 18px;
            padding: 80px 0 0;
        }

        #box05 h2 span.line {
            background: linear-gradient(transparent 60%, #ffe400 60%);
        }

        /* box06 */
        #box06 {
            background-color: #f6f6f6;
        }

        #box06>div {
            background-image: url(/wp-content/themes/template/images/box06_bg.webp);
            background-position: center top;
            background-size: contain;
            background-repeat: no-repeat;
            padding: 7% 0 2em;
            width: 100%;
            max-width: 1080px;
            margin: 0 auto;
        }

        #box06 div h2 {
            font-size: 24px;
            text-align: center;
            line-height: 1.3;
            margin: 0 0 1em;
        }

        #box06_top {
            margin: 0 0 2em;
        }

        #box06_top article {
            padding: 2em;
            width: 90%;
            margin: 0 auto;
        }

        #box06_top article h3 {
            text-align: center;
            font-size: 18px;
            margin: 0 0 1em;
        }

        #box06_top article ul {
            display: -webkit-flex;
            display: flex;
            -webkit-flex-direction: column;
            flex-direction: column;
        }

        #box06_top article ul li {
            width: 100%;
            text-align: center;
        }

        #box06_top article ul li:first-of-type {
            margin: 0 0 2em;
        }

        #box06_top div {
            margin: 1em 0 0;
            display: -webkit-flex;
            display: flex;
            -webkit-flex-direction: column;
            flex-direction: column;
        }

        #box06_top div article {
            width: 90%;
            margin: 0 auto;
        }

        #box06_top div article:first-of-type {
            margin: 0 auto 1em;
        }

        #box06_top div article figure {
            text-align: center;
        }

        .point {
            position: relative;
            margin: 1.9em auto 0;
            padding: 1em 1.5em;
            border: 2px solid #e8a240;
        }

        .point span {
            position: absolute;
            top: -2em;
            left: -2px;
            padding: .2em 2em .2em 1em;
            background-color: #e8a240;
            color: #fff;
            clip-path: polygon(0 0, calc(100% - 30px) 0, 100% 45px, 100% 100%, 0% 100%);
            font-size: 16px;
            font-weight: 700;
        }

        .point p {
            margin: 0;
            color: #333;
        }

        .achievements {
            display: -webkit-flex;
            display: flex;
            -webkit-flex-direction: column;
            flex-direction: column;
            margin: 0 auto 2em;
            width: 90%;
        }

        .achievements:last-of-type {
            margin: 0 auto;
        }

        .achievements .photo {
            width: 100%;
            margin: 0 0 1em;
        }

        .achievements .photo h3 {
            margin: 0 0 1em;
            font-size: 18px;
        }

        .achievements .photo h3 span {
            font-size: 14px;
        }

        .achievements .data {
            width: 100%;
        }

        .data_title {
            display: -webkit-flex;
            display: flex;
            -webkit-align-items: center;
            align-items: center;
            margin: 0 0 4em;
        }

        .data_title figure {
            width: 10%;
        }

        .data_title h3 {
            padding: 0 0 0 1em;
            font-size: 18px;
        }

        .row {
            display: -webkit-flex;
            display: flex;
            -webkit-align-items: center;
            align-items: center;
        }

        /* box07 */
        #box07 {
            padding: 7% 0 2em;
        }

        #box07 h2 {
            font-size: 24px;
            margin: 0 0 1em;
        }

        #box07_top {
            display: -webkit-flex;
            display: flex;
            -webkit-flex-direction: column;
            flex-direction: column;
            width: 90%;
            margin: 0 auto;
        }

        #box07_top article {
            width: 100%;
            border: #d1d1d1 1px solid;
            margin: 0 0 1em;
            padding: 1em;
        }


        #box07_top article:first-of-type .box07_top_title h3 span {
            font-size: 12px;
        }


        .box07_top_title figure {
            width: 15%;
        }

        .box07_top_title h3 {
            width: 85%;
            font-size: 24px;
            padding: 0 0 0 .5em;
            box-sizing: border-box;
        }


        #box07_top article:last-of-type .box07_top_title h3 span {
            font-size: 10px;
        }


        #box07_bottom article {
            margin: 0 auto 1em;
            width: 90%;
            box-sizing: border-box;
        }

        #box07_bottom article figure {
            width: 15%;
        }

        #box07_bottom article div {
            padding: 0 0 0 1em;
            width: 85%;
            box-sizing: border-box;
        }

        #box07_bottom article div h3 {
            font-size: 18px;
        }

        #box07_bottom article div p {
            font-size: 12px;
        }

        /* box08 */

        #box08>div {
            width: 100%;
            max-width: 1080px;
            margin: 0 auto;
            background-image: url(/wp-content/themes/template/images/box08_bg.webp);
            background-position: center top;
            background-repeat: no-repeat;
            background-size: contain;
            padding: 7% 0 2em;
        }

        #box08 div h2 {
            font-size: 24px;
            margin: 0 0 1em 0;
        }

        #box08 div article {
            background-color: #fff;
            padding: 1em;
            margin: 0 auto 1em;
            width: 90%;
            box-sizing: border-box;
        }

        #box08 div article:last-of-type {
            margin: 0 auto;
        }

        .voice_title {
            display: flex;
            align-items: center;
            cursor: pointer;
            position: relative;
            /* アイコン用余白 */
        }

        .voice_title figure {
            width: 15%;
            margin: 0;
        }

        .voice_title h3 {
            width: 85%;
            box-sizing: border-box;
            padding-left: 1em;
            padding-right: 2em;
            font-size: 16px;
            margin: 0;
            box-sizing: border-box;
        }

        /* box09 */
        #box09 {
            width: 90%;
            margin: 0 auto;
            padding: 7% 0 2em;
        }

        #box09 h2 {
            text-align: center;
            font-size: 24px;
            margin: 0 0 1em 0;
            font-family: 'Yu Mincho', 'Hiragino Mincho Pro', 'MS Mincho', serif;
        }

        #box09 article {
            margin: 0 0 1em;
        }



        .question {
            display: flex;
            align-items: center;
            cursor: pointer;
            position: relative;
            box-shadow: none;
        }

        .question::after {
            content: "";
            width: 10px;
            height: 10px;
            border-left: 2px solid #000;
            border-bottom: 2px solid #000;
            transform: rotate(-45deg);
            position: absolute;
            top: 50%;
            right: 0;
            translate: 0 -50%;
            transition: transform 0.2s
        }

        .question p,
        .answer p {
            padding: 0 2.5em 0 1em;
            width: 85%;
            box-sizing: border-box;
        }

        .answer p {
            padding: 0 0 0 1em;
        }

        .answer {
            display: flex;
            align-items: center;
            max-height: 0;
            overflow: hidden;
            opacity: 0;
            padding: 0;
            transition: max-height 0.4s ease, opacity 0.4s ease, padding 0.4s ease;

        }

        .question figure,
        .answer figure {
            width: 15%;
        }

        /* contact */
        #contact {
            width: 90%;
            padding: 2em 0;
        }

        #contact h2 {
            font-size: 24px;
            margin: 0 0 1em 0;
        }

        #contact p {
            text-align: center;
            margin: 0 0 2em 0;
        }

        #contact table {
            width: 100%;
        }

        #contact table th {
            width: 100%;
            display: block;
            padding:2em 0 2% 0;
            box-sizing: border-box;
            position: relative;
            font-weight: bold;
        }

        #contact table th span {
            position: static;
            right: 10%;
            top: 50%;
            transform: translateY(-50%);
            padding:0 0 0 1em;
        }

        #contact table th.soudan span {
            top: 5%;
            transform: translateY(0%);
        }

        #contact table th span {
            color: #f00000;
        }

        #contact table th span.nini {
            color: #7f7f7f;
        }

        #contact table td {
            width: 100%;
            display: block;
            padding: 2% 0;
            box-sizing: border-box;
        }

        input,
        textarea {
            border: #ccc 1px solid;
            padding: 1em;
            border-radius: 5px;
            font-size: 14px;
            box-sizing: border-box;
        }

        textarea {
            height: 250px;
        }

        input[type="radio"] {
            margin-right: 0.5em;
            padding: 0;
        }

        #contact table td label {
            display: inline-block;
        }

        #contact table td label:last-of-type {
            margin: 0 0 1em;
        }

        /* footer */
        footer {
            background-color: #2b5661;
            text-align: center;
            color: #fff;
            padding: 2em 0;
        }

        footer a {
            color: #fff;
            text-decoration: none;
        }

#from_btn .send {
border: none;
    padding: 1em;
    border-radius: 10px;
    font-size: 18px;
    box-sizing: border-box;
    background: #ffbe0e;
    width: 250px;
    color: #fff;
    font-weight: bold;
    cursor:pointer
}
    }