@charset "utf-8";

.header{
    position: relative;
}

.top-header-icon{
    position: absolute;
    top: 0;
    left: 0;
    z-index: 5;
}

.header-icon-box{
    padding: 0 10px;
}

.header-icon-box a{
    display: flex;
    width: fit-content;
}

.header-icon-box-image{
    max-width: 150px;
}

.header-icon-box-text{
    padding: 20px 0;
}

.header-icon-box-text-position{
    padding-left: 30px;
    font-size: 1.5rem;
}

.header-icon-box-text-name-box{
    border-spacing: 20px 0px;
}

.header-icon-box-text-name-yomi td{
    font-size: 1.0rem;
    text-align: center;
    vertical-align: middle;
}

.header-icon-box-text-name{
    font-size: 3.0rem;
    line-height: 1.0;
}

@media screen and (max-width: 800px) {
    .top-header-icon{
        display: none;
    }
}

/* header-fixed */
.header-fixed{
    width: 100%;
    height: 130px;
    padding: 10px 4%;
    background-color: rgba(246, 251, 247, 0.9);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    z-index: 500;
    transition: transform 0.3s ease-in-out; /* スライドイン・アウトのアニメーション */
    transform: translateY(-100%); /* 画面上部から隠す */
}

.header-fixed.visible{
    transform: translateY(0); /* 画面内に表示 */
}

.header-icon{
    min-width: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-nav{
    position: relative;
    z-index: 1;
    width: 65%;
}

.header-fixed .header-nav-list{
    max-width: 940px;
    margin: 0 auto;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

/* 項目数によって変更あり */
.header-nav-list>li{
    width: calc(100% / 6); /* 現在5項目のため、(100% / 5) */
    max-width: 100px;
    margin: 0;
    display: flex;
}

.header-nav-list>li>.header-nav-item-box{
    display: block;
    position: relative;
    z-index: 2;
    background-color: #fff;
    border: 2px solid #008232;
    box-shadow: 0 0 4px gray;
    color: #008232;
    text-align: center;
    line-height: 1.5;
    width: 100%;
    border-radius: 20px;
    padding: 75px 5px 8px 5px;
    transition: 0.3s;
}

.header-nav-list>li>.header-nav-item-box:hover{
    background-color: #008232;
    color: #fff;
    transition: 0.3s;
}

.header-nav-list>li.active>.header-nav-item-box{
    background-color: #008232;
    border-color: #008232;
    color: #fff;
}

.header-nav-list>li.home>.header-nav-item-box::before{
    background-image: url(../images/header/home-green.webp);
}

.header-nav-list>li.home:hover>.header-nav-item-box::before{
    background-image: url(../images/header/home-white.webp);
}

.header-nav-list>li.active.home>.header-nav-item-box::before{
    background-image: url(../images/header/home-white.webp);
}

.header-nav-list>li.blog>.header-nav-item-box::before{
    background-image: url(../images/header/blog-green.webp);
}

.header-nav-list>li.blog:hover>.header-nav-item-box::before{
    background-image: url(../images/header/blog-white.webp);
    transition: 0.3s;
}

.header-nav-list>li.active.blog>.header-nav-item-box::before{
    background-image: url(../images/header/blog-white.webp);
}

.header-nav-list>li.policy>.header-nav-item-box::before{
    background-image: url(../images/header/policy-green.webp);
}

.header-nav-list>li.policy:hover>.header-nav-item-box::before{
    background-image: url(../images/header/policy-white.webp);
    transition: 0.3s;
}

.header-nav-list>li.active.policy>.header-nav-item-box::before{
    background-image: url(../images/header/policy-white.webp);
}

.header-nav-list>li.profile>.header-nav-item-box::before{
    background-image: url(../images/header/profile-green.webp);
}

.header-nav-list>li.profile:hover>.header-nav-item-box::before{
    background-image: url(../images/header/profile-white.webp);
    transition: 0.3s;
}

.header-nav-list>li.active.profile>.header-nav-item-box::before{
    background-image: url(../images/header/profile-white.webp);
}

.header-nav-list>li.report>.header-nav-item-box::before{
    background-image: url(../images/header/report-green.webp);
}

.header-nav-list>li.report:hover>.header-nav-item-box::before{
    background-image: url(../images/header/report-white.webp);
    transition: 0.3s;
}

.header-nav-list>li.active.report>.header-nav-item-box::before{
    background-image: url(../images/header/report-white.webp);
}

.header-nav-list>li.council>.header-nav-item-box::before{
    background-image: url(../images/header/council-green.webp);
}

.header-nav-list>li.council:hover>.header-nav-item-box::before{
    background-image: url(../images/header/council-white.webp);
    transition: 0.3s;
}

.header-nav-list>li.active.council>.header-nav-item-box::before{
    background-image: url(../images/header/council-white.webp);
}

.header-nav-list>li.support>.header-nav-item-box::before{
    background-image: url(../images/header/support-green.webp);
}

.header-nav-list>li.support:hover>.header-nav-item-box::before{
    background-image: url(../images/header/support-white.webp);
    transition: 0.3s;
}

.header-nav-list>li.active.support>.header-nav-item-box::before{
    background-image: url(../images/header/support-white.webp);
}

.header-nav-list>li.contact>.header-nav-item-box::before{
    background-image: url(../images/header/contact-green.webp);
}

.header-nav-list>li.contact:hover>.header-nav-item-box::before{
    background-image: url(../images/header/contact-white.webp);
    transition: 0.3s;
}

.header-nav-list>li.active.contact>.header-nav-item-box::before{
    background-image: url(../images/header/contact-white.webp);
}

.header-nav-list>li.others>.header-nav-item-box::before{
    background-image: url(../images/header/others-green.webp);
}

.header-nav-list>li.others:hover>.header-nav-item-box::before{
    background-image: url(../images/header/others-white.webp);
    transition: 0.3s;
}

.header-nav-list>li.active.others>.header-nav-item-box::before{
    background-image: url(../images/header/others-white.webp);
}

.header-nav-list>li.about>.header-nav-item-box::before{
    background-image: url(../images/okayama-ishin-logo-tra.webp);
}

.header-nav-list>li>.header-nav-item-box::before{
    position: absolute;
    content: "";
    width: 50px;
    height: 50px;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    top: 15px;
    left: calc(50% - 24px);
}

.header-nav-item-title{
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

@media screen and (min-width: 1200px) {
    .header-nav-list>li{
        max-width: 110px;
    }
}

@media screen and (max-width: 1200px) {
    .header-icon{
        width: 250px;
    }

    .header-fixed{
        padding: 10px 2%;
    }

    .header-nav-list{
        gap: 20px;
    }

    .header-nav-item-title{
        font-size: 0.6rem;
    }
}

@media screen and (max-width: 1000px) {
    .header-nav-list{
        gap: 10px;
    }
}

@media screen and (max-width: 800px) {
    .header-fixed{
        height: 100px;
    }
    .header-nav{
        display: none;
    }
}

.header-fixed .header-icon-box{
    padding: 0;
}

.header-fixed .header-icon-box-image{
    display: flex;
    max-width: 100px;
    align-items: center;
}

.header-fixed .header-icon-box-text-position{
    padding-left: 15px;
    font-size: 1.2rem;
}

.header-fixed .header-icon-box-text-name-yomi td{
    font-size: 0.8rem;
}

.header-fixed .header-icon-box-text-name{
    font-size: 1.75rem;
    line-height: 1.3;
}


/* fixed sns */
.fixed-sns {
    position: fixed;
    right: 0;
    bottom: 15%;
    z-index: 30;
    /* 初期状態はリストを右側に隠す */
    transform: translateX(calc(100% - 90px)); 
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

/* アクティブ（開いた）状態 */
.fixed-sns.is-active {
    transform: translateX(0);
}

.fixed-sns-box {
    display: flex;
    align-items: center;
    gap: 15px;
    background-color: #f6d851;
    border-radius: 40px 0 0 40px; /* 角丸を少し強めてモダンに */
    box-shadow: -2px 0 10px rgba(0,0,0,0.2);
    padding: 10px 25px 10px 15px;
}

.fixed-sns-toggle {
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

/* SNSの文字：開いている時は消す */
.fixed-sns-label {
    font-size: 1.2rem;
    font-weight: 800;
    white-space: nowrap;
    margin-left: 5px;
    transition: opacity 0.3s, visibility 0.3s;
    opacity: 1;
    display: inline-block;
}

.is-active .fixed-sns-label {
    opacity: 0;
    width: 0; /* スペースを詰めたい場合 */
    margin: 0;
    transform: scale(0);
}

.fixed-sns-toggle-button {
    position: relative;
    width: 20px;
    height: 20px;
}

.fixed-sns-toggle-button i::before,
.fixed-sns-toggle-button i::after {
    content: "";
    position: absolute;
    left: 5px;
    width: 12px;
    height: 3px;
    background-color: #333;
    border-radius: 2px;
    transition: transform 0.3s ease;
}

/* 閉じている時：矢印を左向き「＜」に */
.fixed-sns-toggle-button i::before {
    top: 5px;
    transform: rotate(-45deg);
}
.fixed-sns-toggle-button i::after {
    bottom: 5px;
    transform: rotate(45deg);
}

/* 開いている時：矢印を右向き「＞」に反転 */
.is-active .fixed-sns-toggle-button i::before {
    transform: rotate(45deg);
}
.is-active .fixed-sns-toggle-button i::after {
    transform: rotate(-45deg);
}


.fixed-sns-list {
    display: flex;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.fixed-sns-item {
    width: 45px;
    height: 45px;
    background-color: #fff;
    border-radius: 50%; /* 円形にするとよりSNSボタンらしくなります */
    overflow: hidden;
    transition: transform 0.2s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.fixed-sns-item:hover {
    transform: translateY(-3px) scale(1.1);
}

.fixed-sns-item a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.fixed-sns-item img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.fixed-sns-item-icon-x img{
    width: 25px;
    height: 25px;
}

.fixed-sns-item-icon-youtube img{
    border-radius: 50%;
}

@media screen and (max-width: 800px) {
    .fixed-sns {
        bottom: 200px;
    }
    .fixed-sns-box {
        display: flex;
        align-items: center;
        gap: 0;
        background-color: rgba(255, 255, 255, 0);
        border-radius: none; /* 角丸を少し強めてモダンに */
        box-shadow: none;
        padding: 10px 0px 10px 15px;
    }
    .fixed-sns-toggle {
        background-color: #f6d851;
        border-radius: 10px 0 0 10px;
        padding: 10px 5px;
    }    
    .fixed-sns-list {
        flex-flow: column;
        background-color: #f6d851;
        padding: 10px;
        border-radius: 10px 0 0 10px;
    }
}

@media screen and (max-width: 480px) {
    /* スマホでは文字が即座に消えるようにすると、リストがすぐ見えて快適です */
    .is-active .fixed-sns-label {
        display: none; 
    }
}


/* header-contact-modal */
.header-contact-modal {
    position: fixed;
    top: 50%;
    left: 0;
    transform: translateY(-50%) translateX(-100%); /* 画面左に隠す */
    transition: transform 0.4s ease-in-out;
    z-index: 650;
    display: flex;
    align-items: center;
}

/* モーダルが開いている時 */
.header-contact-modal.is-open {
    transform: translateY(-50%) translateX(0);
}

/* お問い合わせボタン（縦書き・左端固定） */
.header-contact-modal-button {
    position: absolute;
    left: 100%; /* 親要素の右端（隠れている時は画面左端に見える） */
    top: 50%;
    transform: translateY(-50%);
    background-color: #f6d851;
    color: #333;
    font-weight: 600;
    padding: 20px 10px;
    cursor: pointer;
    border-radius: 0 8px 8px 0;
    white-space: nowrap;
    writing-mode: vertical-rl; /* 縦書き */
    letter-spacing: 0.1em;
}

/* メニューが開いている時のボタンの色 */
.header-contact-modal-button.is-menu-open {
    background-color: rgba(0, 0, 0, 0) !important;
    color: rgba(0, 0, 0, 0)  !important; /* 背景が暗くなるので文字を白に */
}

.header-contact-modal.is-open .header-contact-modal-button{
    background-color: rgba(255, 255, 255, 0);
    color: #fff;
    font-weight: 400;
}

/* フォーム本体 */
.header-contact-modal-body {
    width: 90vw;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    background-color: #CCE6D6;
    border-radius: 20px;
    padding: 30px 20px;
    box-shadow: 5px 0 15px rgba(0,0,0,0.2);

    /* --- スクロールバーを非表示にする設定 --- */
    -ms-overflow-style: none;  /* IE, Edge用 */
    scrollbar-width: none;     /* Firefox用 */
}

/* Chrome, Safari用 */
.header-contact-modal-body::-webkit-scrollbar {
    display: none;
}

/* フォーム内の簡易調整 */
.form-table { width: 100%; border-collapse: collapse; }
.form-table th { text-align: left; padding: 10px 0; font-size: 14px; display: block; }
.form-table td { display: block; margin-bottom: 15px; }
.m-input { width: 100%; padding: 10px; border: 1px solid #ccc; box-sizing: border-box; }
.m-required { background: #ff4d4d; color: #fff; font-size: 10px; padding: 2px 4px; margin-left: 5px; vertical-align: middle; }
.contact-form-button { width: 100%; padding: 15px; color: #fff; border: none; cursor: pointer; margin-top: 10px; }


@media screen and (max-width: 800px) {
    .contact-form-button{
        padding: 15px 15px 75px 15px;
    }
}

.header-contact-modal-title{
    font-size: 1.5rem;
    font-weight: 800;
    text-align: center;
}

.header-contact-modal-body-item{
    background-color: #fff;
    border: 2px solid #008232;
    border-radius: 20px;
    box-shadow: 0 0 4px gray;
    padding: 15px 10px;
    margin: 15px 0;
    transition: transform 0.3s ease;
}

.header-contact-modal-body-item a{
    display: block;
}

.header-contact-modal-body-item:hover{
    transform: scale(1.02);
}    


.header-contact-modal-body-item p{
    font-size: 1.0rem;
}


/* header-fixed-line */
.header-fixed-line{
    position: relative;
}

.header-fixed-line a{
    position: fixed;
    left: 2%;
    bottom: 10%;
    z-index: 30;
    background-color: #fff;
    border-radius: 50%;
    box-shadow: 0 0 8px gray;
    text-align: center;
    padding: 15px;
    width: 125px;
    height: 125px;
    transition: transform 0.3s;
}

.header-fixed-line a:hover{
    transform: scale(1.05);
}

.header-fixed-line-image img{
    width: 50px;
}

.header-fixed-line-box p{
    font-size: 0.8rem;
    font-weight: 600;
}


@media screen and (max-width: 800px) {
    .header-fixed-line{
        display: none;
    }
}

@media screen and (max-width: 800px) {
    .header-fixed-line a{
        left: 3%;
        bottom: 200px;
    }
}

@media screen and (max-width: 480px) {
    .header-fixed-line a{
        bottom: 180px;
        width: 110px;
        height: 110px;
    }
    .header-fixed-line-box p{
        font-size: 0.6rem;
    }
}



/* header-sp */
.header-sp {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch; /* iOS用 */
}

.header-sp-menu{
    position: fixed;
    z-index: 700;
    overflow-x: auto;
    bottom: 35px;
    right: 0;
    width: 100%;
    height: 95px;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
}

@media screen and (min-width: 700px) {
    .header-sp-menu{
        right: auto;        
    }
    .header-sp-menu-box{
        left: 50%;
        transform: translateX(-50%);
    }
}

.header-sp-menu-box {
    position: relative;
    width: max-content; 
    padding: 10px 15px;
    margin: 0 20px;
    background-color: rgba(0, 0, 0, 0.1); /* 背景色 */
    border: 1px solid rgba(255, 255, 255, 0.4); /* ボーダー */
    border-right-color: rgba(255, 255, 255, 0.2);
    border-bottom-color: rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    -webkit-backdrop-filter: blur(10px); /* ぼかしエフェクト */
    backdrop-filter: blur(3px);
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.5); /* 薄い影 */
}

.header-nav-list {
    display: flex;
    flex-wrap: nowrap; 
    gap: 10px;

}

.header-nav-list>li.header-sp-menu-nav-item{
    width: 66px;
    max-width: 100px;
    margin: 0;
    display: flex;
    scroll-snap-align: center;
}

.header-nav-list>li.header-sp-menu-nav-item>.header-nav-item-box{
    display: block;
    position: relative;
    z-index: 2;
    background-color: rgba(255, 255, 255, 0.7);
    border: 0;
    box-shadow: 0;
    color: #008232;
    text-align: center;
    line-height: 1.5;
    width: 100%;
    padding: 45px 5px 10px 5px;
    transition: 0.3s;
    cursor: pointer;
}

.header-nav-list>li.header-sp-menu-nav-item>.header-nav-item-box:hover{
    background-color: rgba(0, 165, 86, 0.7);
    color: #fff;
    transition: 0.3s;
}

.header-nav-list>li.header-sp-menu-nav-item.active>.header-nav-item-box{
    background-color: rgba(0, 165, 86, 0.7);
    border-color: #008232;
    color: #fff;
}

.header-nav-list>li.header-sp-menu-nav-item>.header-nav-item-box::before{
    position: absolute;
    content: "";
    width: 30px;
    height: 30px;
    top: 15px;
    left: calc(50% - 15px);
}

.header-nav-list>li.header-sp-menu-nav-item.header-sp-menu-button>.header-nav-item-box::before{
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    top: 0;
}

.header-sp-menu-nav-item-title{
    font-size: 0.5rem
}

.header-menu-modal{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999;
    cursor: pointer;
}

.menu-modal-open-button{
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -55%);
    width: 30px;
    height: 30px;
    z-index: 999;
}

.menu-modal-open{
    content: "";
    position: center;
    z-index: 999;
    width: 10px;
    display: block; 
}

.menu-modal-open i{
    content: "";
    position: absolute;
    background-color: #008232;
    top: calc(50% - 0px);
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 2px;
    transition: .25s;
}

.menu-modal-open::before{
    content: "";
    position: absolute;
    background-color: #008232;
    top: calc(50% - 5px);
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 2px;
    transition: .25s;
}

.menu-modal-open::after{
    content: "";
    position: absolute;
    background-color: #008232;
    top: calc(50% - -5px);
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 2px;
    transition: .25s;
}

.header-nav-list>.header-nav-item.header-sp-menu-nav-item.header-sp-menu-button:hover .menu-modal-open i,.header-nav-list>.header-nav-item.header-sp-menu-nav-item.header-sp-menu-button:hover .menu-modal-open::before,.header-nav-list>.header-nav-item.header-sp-menu-nav-item.header-sp-menu-button:hover .menu-modal-open::after{
    background-color: #fff;
    transition: .25s;
}

.header-nav-item.header-sp-menu-nav-item.header-sp-menu-button.active .menu-modal-open i{
    display: none;
}

.header-nav-item.header-sp-menu-nav-item.header-sp-menu-button.active .menu-modal-open::before{
    background-color: #fff;
    transform: rotate(45deg);
    transition: .25s;
    top: 15px;
    left: 0;
}

.header-nav-item.header-sp-menu-nav-item.header-sp-menu-button.active .menu-modal-open::after{
    background-color: #fff;
    transform: rotate(-45deg);
    transition: .25s;
    top: 15px;
    left: 0;
}

.menu-modal-overlay{
    display: none;
    position: fixed;
    z-index: 500;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.8);
}

.header-sp{
    display: none;
}

@media screen and (max-width: 800px) {
    .header-sp{
        display: block;
    }
}

.header-sp-swiper {
    position: fixed !important;
    display: none !important; /* JSのクラス追加まで非表示 */
    bottom: 140px; 
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 500px;
    height: 70%;
    z-index: 800 !important;
}

.header-sp-swiper.is-active {
    display: block !important;
}


.header-sp-swiper .swiper-slide {
    padding: 20px;
    box-sizing: border-box;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.header-sp-swiper-slide-header {
    flex-shrink: 0;
    margin: 0 auto 10px;
    width: fit-content;
}

.header-sp-swiper-slide-header p{
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    margin: 0 auto;
    width: fit-content;
    padding: 0 0 5px;
    border-bottom: 2px solid #008232;
}

.header-sp-swiper-slide-body{
    flex-grow: 1;
    overflow-y: auto;
}

.swiper-slide .header-nav-list{
    display: grid;
    grid-template-columns: repeat(auto-fit, 100px);
    gap: 10px 10px;
    margin: 0 auto;
    justify-content: center;
}

.swiper-slide .header-nav-item{
    width: 200px;
}

.menu-modal-overlay.is-visible {
    display: block;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.header-sp-swiper-slide-item{
    position: relative;
    margin: 15px 3%;
    padding: 10px 5px;
    border: 2px solid #008232;
    border-radius: 5px;
    box-shadow: 4px 4px gray;
    font-size: 1.1rem;
    font-weight: 600;
    top: 0;
    left: 0;
    transition: all 0.3s ease;
}

.header-sp-swiper-slide-item>a{
    display: block;
}

.header-sp-swiper-slide-item:hover{
    box-shadow: 0 0 rgba(255, 255, 255, 0);
    top: 2px;
    left: 2px;
}

.header-sp-swiper-slide-body-contact-desc{
    font-size: 1.0rem;
    font-weight: 500;
    margin-bottom: 10px;
}

@media screen and (max-width: 343px) {
    .header-sp-swiper-slide-header p{
        font-size: 1.0rem;
    }
    .header-sp-swiper-slide-item{
        font-size: 0.8rem;
    }
}

.header-nav-item.others a{
    cursor: none;
}

.page-top{
    height: 50px;
    width: 50px;
    position: fixed;
    right: 30px;
    bottom: 30px;
    background: #fff;
    border: solid 2px #008232;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    transition: transform 0.3s ease-in-out; /* スライドイン・アウトのアニメーション */
    transform: translateY(600%); /* 画面上部から隠す */
}

.pagetop__arrow {
    height: 10px;
    width: 10px;
    border-top: 3px solid #008232;
    border-right: 3px solid #008232;
    transform: translateY(20%) rotate(-45deg);
}

.page-top.visible{
    transform: translateY(0); /* 画面内に表示 */
}

@media screen and (max-width: 800px) {
    .page-top{
        right: 15px;
        bottom: 135px;
    }
}


/* contact */

.form-table th{
    text-align: start;
    display: block !important;
    padding: 3px 0;

}

.form-table td{
    display: flex !important;
    gap: 2%;
    padding: 3px 0;
}

.form-table td .m-input-horizontal-col2{
    width: 48%;
}

.m-required{
    display: inline-block;
    background-color: #e83929;
    width: 40px;
    padding: 5px 0 6px;
    margin-left: 20px;
    color: #fff;
    font-size: 13px;
    font-size: .8125rem;
    text-align: center;
    line-height: 1;
    border-radius: 3px;
}

.wpcf7-form-control{
    width: 100%;
    margin: 3px 0;
    padding: 1px 3px;
    background-color: #fff;
    border: 1px solid #333;
    border-radius: 5px;
}

.contact-form-button{
    display: flex;
    justify-content: center;
    width: fit-content;
    margin: 15px auto 5px;
}

.contact-form-button-box{
    padding: 2px 5px;
    background-color: #008232;
    border: 2px solid #008232;
    border-radius: 5px;
    color: #fff;
    font-size: 1.0rem;
    box-shadow: 0 0 8px gray;
}

.contact-form-button-box:hover{
    background-color: #CCEDDD;
    color: #333;
    font-weight: 600;
    border: 2px solid #008232;
}

.header-contact-modal-body iframe,.page-contact{
    width: 480px;
    height: 1700px;
}

@media screen and (max-width: 550px) {
    .header-contact-modal-body iframe,.page-contact{
        width: 350px;
    }
}

@media screen and (max-width: 400px) {
    .header-contact-modal-body iframe,.page-contact{
        width: 300px;
    }
}

.page-contact{
    display: block;
    margin: 0 auto;
}

.header-sp-swiper-slide-body-contact-body iframe{
    display: block;
    margin: 0 auto;
    width: 370px;
    height: 2000px;
}

@media screen and (max-width: 560px) {
    .header-sp-swiper-slide-body-contact-body iframe{
        width: 320px;
    }
}

@media screen and (max-width: 460px) {
    .header-sp-swiper-slide-body-contact-body iframe{
        width: 270px;
    }
}

@media screen and (max-width: 420px) {
    .header-sp-swiper-slide-body-contact-body iframe{
        width: 220px;
        height: 2200px;
    }
}

@media screen and (max-width: 360px) {
    .header-sp-swiper-slide-body-contact-body iframe{
        width: 200px;
        height: 2400px;
    }
}