/*
Theme Name: 有限会社メテック
Author: more-mise-en
Author URI: http://www.more-mise-en.com
Description: 有限会社メテックオリジナルテーマ
*/

/*****************************************
Resetf
*****************************************/
html{
    background-color: #FFFBEA;
    background-image: url(img/bg_border.png),url(img/bg_border.png);
    background-repeat: repeat-x,repeat-x;
    background-position: center top,center bottom;
    background-size:
}

.sp {display: block;}
.pc {display: none;}

article:last-child{margin-bottom: 75px;}

@media screen and (min-width: 769px){
    .container{
        max-width:1080px;
        margin: 0 auto;
    }
    .sp {display: none;}
    .pc {display: block;}
}

/*****************************************
text
*****************************************/
section{
    width:88%;
    margin:0 auto;
}
.contents.container section{
    padding-top: 24px;
    padding-bottom: 80px;
}

h1:not(.fromt_h1){
    font-size: 4.8rem;
    color: #fff;
    font-weight: bold;
    text-align: center;
    text-shadow: 0 0 8px rgba(0,0,0,0.34);
    background-image: url(img/h1_bg.png);
    padding-top: 10.3rem;
    padding-bottom: 14.5rem;
}

h2:not(.fromt_h2){
    font-size: 2.6rem;
    font-weight: bold;
    padding-top: 20px;

}
h2::before{
    content: '';
    display: block;
    max-width: 952px;
    width:100%;
    height: 23px;
    vertical-align: middle;
    background: url(img/h2_before.png) no-repeat top right;
    background-size: 972px auto;
}
h2::after{
    content: '';
    display: block;
    max-width: 952px;
    width:100%;
    height: 23px;
    vertical-align: middle;
    background: url(img/h2_after.png) no-repeat top right;
    background-size: 972px auto;
}

h3:not(.fromt_h3){
    font-size: 2rem;
    font-weight: bold;
    padding-top: 12px;
}
h3::before{
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: '\f015';
    color: #8CC456;
    margin:0 .3em;
}

.page p{
    font-size: 2rem;
    line-height: 4rem;
    padding: 20px 0;
    margin-left: auto;
    margin-right: auto;
}

.page ul,.page ol{margin:0 2rem;}
.page ol{
	list-style-type: decimal;
	font-size: 2rem;
}
.page ul{list-style-type:square;}
.page ol li{
	margin-bottom:1.8rem;
	font-size: 2rem;
}
section.page img,.caption{width:100%;}
p.caption{
	text-align:center;
	padding:0;
	font-size:1.5rem;
	line-height:1.5rem;
}

@media screen and (min-width: 769px){
	.page div.Cal2{display:flex;}
	.page div.Cal2 img{width:99%;}
	section.page img,.caption{width:48%;}
}

/*外部リンクにアイコンを付ける*/
a[href^="http://"]::after,
a[href^="https://"]::after{
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 1.3rem;
    content: '\f35d';
    margin:0 .3em;
    vertical-align: baseline;
    /* 以下は旧ブラウザ対応用 */
    *zoom: 1;
    *display: inline;
}
/* ドメインを直接指定（ハードコーディングになる） */
a[href*='youtube.com/watch?v=WJC8fb1LgDE']:after,
a[href*='.local']:after,
a[href*='test415.sakura.ne.jp/']:after,
a[href*='matk.jp']:after,
a[href*='matk.sakura.ne.jp']:after{
    content: none;
}

/*a[href*=''],*/
.page a:not(a[href*='/privacy']),
.page a:not(.more-link){
    font-size: 1.6rem;
    font-weight: bold;
    color:#ffffff;
    display: inline-block;
    background-color: #8CC456;
    border-radius:10px;
    box-sizing: border-box;
    max-width: 100%;
    width:490px;
    height:auto;
    padding: 2rem 3rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.scrollable-table table{
    border-collapse: collapse;
    margin: 1em 0;
    max-width: 100%;
}
.scrollable-table th{
    background-color: #eee;
    text-align: center;
}
.scrollable-table th,
.scrollable-table td{
    border: solid 1px #ccc;
    padding: 3px 5px;
    white-space: nowrap;
}
.scrollable-table {
    overflow-x: auto;
    margin-bottom: 1em;
}


section table{width:100%;}
section th,section td,section li{
    font-family:"Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", "メイリオ", sans-serif !important;
    font-size: 1.6rem;
}
section th{
    width:30%;
    font-weight: bold;
    color: #fff;
    text-align: center;
    vertical-align: middle;
    background-color:#8CC456;
}
section td{
    background-color: #FFFBEA;
    padding-left: 10px;
    padding-top:15px;
    padding-bottom:15px;
}


/*****************************************
物件情報
*****************************************/
.details_archive{
    display: flex;
    flex-direction: column;
}
.details_archive table{
    margin-bottom: 1rem;
}
.details_archive th{
    width:25%;
}

.details_archive a{
    color:#8CC456;
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    padding:5px 0;
}


/*物件ページ*/
.bands{margin-bottom: 60px;}

figure.appearance{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin: 0 auto;
}
figure.appearance ul,
figure.other ul{
    width:100%;
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 10px;
}
figure.appearance ul{justify-content: space-around;}
figure.other ul{justify-content: center;}
figure.appearance ul li{
    width:48%;
    margin:0s 3px;
}
figure.other ul li{
    width:19%;
    margin:5px 3px;
}
img.pictmain,img.pictsub{width:100%;}
.pricerevision{
    color: #f00;
    font-weight: bold;
    font-size: 1.6rem;
}
.pricerevision.list{
    display: block;
    font-size: 1.3rem;
}

.property_map {
    position: relative;
    width: 100%;    /* 左右に余白が必要なら値を変更してもOK */
    height: 0;
    padding-bottom: 56.25%;    /* padding-topでもOK */
    overflow: hidden;
}
.property_map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;    /* 必要であれば!importantを付けてください */
    height: 100%;    /* 必要であれば!importantを付けてください */
}


div.details{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}
.details table{
    width:450px;
    max-width: 100%;
}
.bands p{font-size: 1.6rem;}
.bands div{padding-bottom: 30px;}

dl,dt,dd {
    box-sizing: border-box;
}

dt,dd {
    font-size: 1.6rem;
    padding: 10px 10px 0 10px;
}
dt {
    width: 50%;
    float: left;
    background-color: #ccc;
}
dd {
    margin-left: 40%;
    padding-bottom: 10px;
}
dd:after {
    content: '';
    display: block;
    clear: both;
}


table.facility th,table.facility td{
    background-color: #fff;
    color: #000;
}

.surrounding dt,.surrounding dd{
    background-color: #fff;
}

@media screen and (min-width: 577px){
    dl{width: 48%;}
    .surrounding{
        display: flex;
        justify-content: space-between;
    }
}
@media screen and (min-width: 769px){
}

.page .aligncenter{
    display: block;
    margin-right: auto;
    margin-left: auto;
}


/*****************************************
あとでけす
*****************************************/
header{/*background-color: aqua;*/}
article{background-color:#fff;}

footer{/*background-color: aqua;*/}

/*****************************************
header
*****************************************/
header{width:100%;}

.container>div{
    justify-content: space-between;
    margin-top: 50px;
    margin-bottom: 2%;
}
.hLogo{
    margin: 0 auto 0 5%;
    width: 68%;
}
#hLogo1{width:50%;}
#hLogo2{width:100%;}


#toggle {
    display: block;
    background: #0F88D1;
    color: #fff;
    text-align: center;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    position: absolute;
    top: 5%;
    right: 3%;
    z-index: 10;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}
.trigger,
.trigger span {
    display: inline-block;
    -webkit-transition: all .4s;
    transition: all .4s;
}
.trigger {
    position: relative;
    width: 28px;
    height: 19px;
}
.trigger span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #FFF;
    border-radius: 4px;
}
.trigger span:nth-of-type(1) {
    top: 0;
}
.trigger span:nth-of-type(2) {
    top: 8px;
}
.trigger span:nth-of-type(2)::after {
    position: absolute;
    top: 0;
    left: 0;
    content: '';
    width: 100%;
    height: 3px;
    background-color: #fff;
    border-radius: 4px;
    -webkit-transition: all .4s;
    transition: all .4s;
}
.trigger span:nth-of-type(3) {
    bottom: 0;
}
.trigger.active span:nth-of-type(1) {
    -webkit-transform: translateY(8px) scale(0);
    transform: translateY(8px) scale(0);
}
.trigger.active span:nth-of-type(2) {
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}
.trigger.active span:nth-of-type(2)::after {
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
}
.trigger.active span:nth-of-type(3) {
    -webkit-transform: translateY(-8px) scale(0);
    transform: translateY(-8px) scale(0);
}


.toggleWrap {
    background: rgba(54, 150, 218, 0.95);
    padding: 70px 0px 10px 0px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.mainNav li img{
    height: 22px;
    width: auto;
    margin-right: 8px;
    vertical-align:middle;
}
.navItem {
    display: block;
    color:#fff;
    font-size: 17px;
    font-weight: bold;
    padding: 15px 0;
    text-align: center;
    border-bottom: 1px solid #ccc;
}
.navItem:hover {
    background-color: #9DDAFF;
}

.hide {
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
}
.animation {
    -webkit-transition-property: opacity, visibility;
    transition-property: opacity, visibility;
    -webkit-transition-duration: .3s;
    transition-duration: .3s;
    -webkit-transition-timing-function: ease-in;
    transition-timing-function: ease-in;
}
.no-scroll {
    overflow: hidden;
}

@media screen and (min-width: 769px){
    header>div{
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
        }


    div.contact{
        height:51px;
        position: relative;
    }
    .contact_btn{
        font-size: 22px;
        font-weight: bold;
        color: #0F88D1;
        text-align: center;
        width:195px;
        height:51px;
        border: solid 1px #707070;
        border-radius: 10px;
        background-color: #fff;
        padding-top: 8px;
    }
    div.contact img{
        height: 22px;
        width: auto;
        margin-right: 8px;
        vertical-align:middle;
    }

    .hLogo{
        display: flex;
        flex-direction: column;
        margin: 0;
        width:675px;
    }
    #hLogo1{
        width:140px;
        margin-bottom: 10px;
    }
    #hLogo2{width:675px;}
    .tel p{
        font-size: 17px;
        font-weight: bold;
    }
    .tel p span{color:#FF4600;}


    #toggle {display: none;}
    .toggleWrap {
        background: none;
        height: auto;
        position: static;
        padding: 0;
    }
    .mainNav {
        display: flex;
        justify-content:space-around;
        max-width: 1080px;
        margin: 0 auto;
        background-color: #3696da;
        height: 44px;
        margin-bottom: 27px;
    }
    .mainNav li{flex-grow: 1;}
    .mainNav li+ li{
        border-left: 1px solid #fff;
    }
    .navItem {
        padding: 10px 15px;
        border-bottom:hidden;
        position: relative;
    }
    .navItem:before{
        content: '';
        position: absolute;
        display: block;
        width:0;
        height: 0;
        /*transition: all .2s ease;*/
        left: 0;
        right: 0;
        bottom: 1px;
        margin: 0 auto;
        border-top: 15px solid #3696da;
        border-right: 15px solid transparent;
        border-left: 15px solid transparent;
    }
    .navItem:hover:before{
        bottom: -10px;
        border-top: 15px solid #9DDAFF;
        border-right: 15px solid transparent;
        border-left: 15px solid transparent;
    }
    .animation {
        -webkit-transition: none;
        transition: none;
    }
    .hide {
        opacity: 1;
        visibility: visible;
    }
}

/*****************************************
footer
*****************************************/
footer{padding-bottom: 65px;}
.footer{
    border-top: solid 1px #707070;
    border-bottom: solid 1px #707070;
    width:100%;
    background-color: #fff;
}

.fMenu{
    max-width: 1080px;
    width:100%;
    min-height: 66px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
.fMenu li{
    font-size: 1.7rem;
    flex-flow: row;
    text-align: center;
    flex-grow:1;
}
.fMenu li::before{
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: '\f0da';
    margin:0 .3em;
    color:#005C7F;
}

footer div img{
    display: block;
    margin: 0 auto 10px;
}

.copyright{margin-top: 60px;}

@media screen and (min-width: 769px){
    footer div{
        display: flex;
        align-items: flex-end;
    }
    footer div img{margin:0 42px 0 90px;}
}

.pager ul{
    display: flex;
    justify-content: center;
}
.pager ul li{
    list-style-type: none;
}
.pager ul li:not(:last-child){
    border-right:2px solid #ccc;
}

address{
    font-size: .8rem;
    font-style: normal;
    text-align: center;
}

/*****************************************
frontpage
*****************************************/
.front.container{
    width: 90%;
    margin: 0 auto;
}
.mainview{
    background-image: url(img/hv.png);
    background-size: cover;
    margin-bottom: 5%;
}
.mainview hr{
    width:122px;
    text-align:left;
    margin-left:5%;
    margin-top: 25px;
    margin-bottom: 21px;
}
.mainview p{
    color: #fff;
    margin-left: 5%;
    font-weight: bold;
}
.mv_txt1{
    padding-top: 106px;
    font-size: 23px;
    line-height: 1.6;
}
.mv_txt2{
    padding-bottom: 106px;
    font-size: 16px;
    line-height: 2;
}
@media screen and (max-width: 576px){
    .mv_txt1{
        padding-top: 60px;
        font-size: 15px;
    }
    .mv_txt2{
        padding-bottom: 60px;
        font-size: 13px;
    }
}

.frontbanner{width:90%;}

.frontpage contents{
    margin-top: 3%;
    margin-bottom: 3%;
}
.frontIframe{
    margin: 0 auto;
    min-height: 240px;
    max-height:720px;
}

.fp_assess{margin-bottom: 5%;}
.fp_l,.fp_r{margin-bottom: 10%;}
.fp_new,.fp_assess,
.fp_faq,.fp_movie{
    border:solid 1px #707070;
    background-size:contain;
    background-color: #fff;
}
.fp_assess{position: relative;}

.fp_assess img,.fp_faq img{width:100%;}
.fp_assess p{
    position: absolute;
}
.fp_as_t1{
    font-size: 40px;
    font-weight: bold;
    top: 43%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
	text-shadow: 0 0 30px #ffff;
}
.fp_as_t2{
    font-size: 24px;
    top: calc(55% - 10px);
    left: calc(50% - 108px);
}

.fp_new p{
    font-size: 29px;
    font-weight: bold;
    letter-spacing:3px;
    text-align: center;
    padding-top: 19px;
}
.fp_new hr{
    border-width: 3px 0 0 0;
    border-style: double;
    border-color: #A5CF79;
    margin-left: 3%;
    margin-right: 3%;
}

.more_new{position: relative;}
.more_new a{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    color:#fff;
    font-size: 18px;
    border-radius: 3px;
    background-color: #0F88D1;
}
.more_btn_all a::before,
.more_new a::before,
.more_btn_l a::before{
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: '\f138';
    margin:0 .5em;
}

div.more_btn_all{
    padding-left: 0;
    color:#0F88D1;
    font-size: 26px;
    font-weight: bold;
    text-align: center;
    background:linear-gradient(180deg,#E0E65C 0%,#E0E65C 50%,#D7DD56 50%,#D7DD56 100%);
}
.more_btn_l{
    color:#fff;
    font-size: 16px;
    font-weight: bold;
    background-color: #0F88D1;
    padding-top:10px;
    padding-bottom:10px;
    text-align: center;
}

.fp_movie{
    position: relative;
    margin-bottom: 5%;
}
.fp_movie_bg{
    max-width: 1046px;
    width:100%;
}
.fp_movie_txt,
.fp_movie_play{position: absolute;}
.fp_movie_txt{
    width: 60%;
    bottom: 25px;
    left:0px;
}
.fp_movie_play{
    width:90px;
    top:calc( 50% - 45px );
    left: calc( 50% - 45px );
}

.fp_banner{margin-bottom: 3%;}
.fp_banner img{width: 100%;}

@media screen and (min-width: 576px){
    .NewList{
        display: flex;
        align-items: center;
    }
    .fp_bottom img{
        width:100%;
        align-self: end;
    }
    .fp_movie{
        width:97%;
        margin: 0 auto 5%;
    }
    .fp_movie_play{
        width:128px;
        top:calc( 50% - 64px );
        left: calc( 50% - 64px );
    }
    .fp_movie_txt{
        width:42%;
        top: calc(50% - 42px);
        left:20px;
    }
}

@media screen and (min-width: 769px){
    .fp_banner{
        max-width:800px;
        margin: 0 auto;
    }
    .frontpage contents{
        display: flex;
        justify-content: space-between;
        margin-top: 3%;
    }
    .fp_l,.fp_r{
        margin-top:0;
        margin-bottom:10%;
        margin-left: auto;
        margin-right: auto;
        width:48%;
    }
    .fp_r{
        flex-direction: column;
        background-image: url("img/bottom.png");
        background-repeat: no-repeat;
        background-position: bottom;
        background-size: contain;
    }
    .fp_assess{
        position: relative;
        margin-bottom: 10%;
    }
    .more_btn,.more_btn_all{width:100%;}
    .NewList_txt>table{width:100%;}
}


/*****************************************
form
*****************************************/
div.wpcf7{
    max-width:100%;
    margin: 0 auto;
}
.must {background: #FF1A00;}
.free {background: #999;}

.must,.free {
    color: #FFF;
    border-radius: 3px;
    font-size: 12px;
    margin-right: 10px;
    padding: 5px 10px;
    letter-spacing: 0.2em;
}
/* フォーム入力項目 */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 select,
.wpcf7 textarea {
    width: 100%;
    padding: 8px 15px;
    margin-right: 10px;
    margin-top: 10px;
    border: 1px solid #ddd;
    border-radius: 3px;
}

/* 送信ボタン */
input.sub-btn {
    width: 300px;
    height: 60px;
    background: #F90;
    color: #FFF;
    font-size: 2rem;
    font-weight: bold;
    letter-spacing: 0.2em;
    border: 1px solid #ffae13;
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
    -o-transition: 0.3s;
    -ms-transition: 0.3s;
    transition: 0.3s;
}
span.wpcf7-list-item-label{
    font-size: 1.8rem;
}
a.privacy-policy{
    font-weight: bold;
    color: #FF1A00;
    text-decoration : underline;
}

/* 送信ボタンホバー */
input.sub-btn:hover{
    background: #FFF;
    color: #F90;
}

/* 送信ボタン中央寄せ */
.center {
    text-align:center;
}

.screen-reader-response,
.screen-reader-response ul,
.screen-reader-response li,
.wpcf7-not-valid-tip,
.wpcf7-validation-errors{font-size: 1.3rem;}

.wpcf7-not-valid-tip,
.wpcf7-validation-errors{color:#FF1A00;}

.movie-ttl {
    text-align: center;
    font-size: 34px;
    font-weight: 100;
    margin-bottom: 20px;
}
.mil-embed-eNb8nL {
    margin-bottom: 60px;
}

@media screen and (max-width: 768px){
	.movie-ttl {
    font-size: 20px;
    margin-bottom: 10px;
}
.mil-embed-eNb8nL {
    margin-bottom: 30px;
}
}



/*240326add*/

h2.fromt_h2::before {
    content: none;
}
h2.fromt_h2::after {
    content: none;
}

h3.fromt_h3::before {
    content: none;
}
h3.fromt_h3::after {
    content: none;
}

.mainview div {
    color: #fff;
    margin-left: 5%;
    font-weight: bold;
}

h3.fromt_h3 {
    color: #fff;
    font-weight: bold;
    font-size: 23px;
    line-height: 1.6;
}

h2.fromt_h2 {
    display: inline;
    color: #fff;
    font-weight: bold;
    font-size: 23px;
    line-height: 1.6;
}
.post_flex {
    display: flex;
	margin-bottom: 30px;
}
.post_flex figure img {
    width: 300px;
    height: auto;
    object-fit: cover;
}
.post_flex figure {
    margin: 0;
}
.post_flex h2 {
    margin-left: 30px;
	width: 100%;
    line-height: 2;
}
.post_flex h2 a {
    display: block;
    margin: 30px 0;
}
.category-name {
    display: table;
    background-color: #F7931E;
    color: #fff;
    font-size: 14px;
    line-height: 1;
    font-weight: 700;
    padding: 7px 10px;
    text-align: center;
}
.ttl a {
    display: block;
    font-weight: 700;
}
section.post_box {
    display: flex;
    flex-direction: row-reverse;
	justify-content: space-between;
    width: 96%;
}
.post_box .l-col {
    width: 23%;
}
.post_box .r-col {
    width: 75%;
}
.post_box .widget li{
position: relative;
margin-bottom: 0;
}
.post_box .widget li::before{
content: "";
position: absolute;
display: block;
top:calc(50% - 4px);
left: 10px;
width: 7px;
height: 7px;
border-top: #00afcc 2px solid;
border-right: #00afcc 2px solid;
transform: rotate(45deg);
}
.post_box .widget li a{
display: block;
padding: 15px 10px 10px 30px;
}
.widget .snav-list {
    margin-top: 15px;
}
.widget-title {
    color: #fff;
    text-align: center;
    background-color: #3696da;
    padding: 15px 0;
}
.post_box .widget-title {
    font-size: 18px;
}
.page_navi {
    display: flex;
	justify-content: space-between;
}
.page a:not(a[href*='/privacy']), .page a:not(.more-link) .page_navi a {
    width: 49%;
    display: block;
}
.widget .snav-list {
    list-style: none;
    margin: 15px 0;
}
.page .widget .snav-list  a:not(a[href*='/privacy']), .page .widget .snav-list :not(.more-link) {
    background-color: unset;
    margin: 0;
	text-align: left;
    font-weight: unset;
    color: unset;
    width: unset;
}
.wp-pagenavi {
    font-size: 1.6rem;
}
.wp-pagenavi span.current {
    float: left;
    display: block;
    font-size: 1.6rem;
    font-weight: normal;
    background-color: #3696da;
    border: #3696da 1px solid;
    color: #fff;
    padding: 15px 0;
    margin: 0 10px 0 0;
    width: 60px;
    text-align: center;
}
.wp-pagenavi a {
    float: left;
    display: block;
    border: #dedede 1px solid;
    padding: 15px 0;
    margin: 0 10px 0 0;
    width: 60px;
    text-align: center;
}
.post_box .single_box .ttl {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 21px;
    font-weight: 700;
    text-align: left;
	padding-bottom: 0;
}
.post_box .single_box .date {
    display: block;
    font-size: 1.8rem;
    float: left;
    padding: 8px 10px 8px 0;
    margin-top: 0;
    line-height: 1;
}
@media screen and (max-width: 576px){
    h3.fromt_h3 {
        font-size: 15px;
    }
	h2.fromt_h2 {
		font-size: 15px;
	}
}
@media screen and (max-width: 768px){
h1:not(.fromt_h1) {
    font-size: 2.8rem;
    padding-top: 2.3rem;
    padding-bottom: 5.5rem;
}
h1:not(.fromt_h1) img {
    width: 5%;
    padding-bottom: 10px;
}
section.post_box {
    display: block;
    width: 96%;
}
.post_flex {
    display: block;
    margin-bottom: 30px;
}
.post_flex h2 {
    margin-left: 0;
    margin: 0 auto;
    width: 92%;
    line-height: 2;
}
.post_box .r-col {
    width: 100%;
}
.post_box .l-col {
    width: 98%;
    margin: 0 auto;
}
.post_flex figure {
    margin: 0 auto;
    text-align: center;
}
.post_flex figure img {
    width: 100%;
    height: auto;
    text-align: center;
}
.fp_as_t1{
    font-size: 27px;
    top: 40%;
}
.fp_as_t2{
    font-size: 20px;
    top: calc(55% - 10px);
    left: calc(55% - 108px);
}
.fp_l, .fp_r {
    margin-bottom: 0%;
}
}

/*20250213add 記事テンプレート 片山*/

#sub_contents h2.wp-block-heading {
    margin: 2.8rem 0;
    background: #f6e3b6;
    text-align: left;
    border: none;
    border-left: 4.5px solid #002300;
    font-size: 2.8rem;
    font-weight: 600;
    color: #333;
    line-height: 1.7;
    padding: 9px 20px 9px 25px;
}
#sub_contents h2.wp-block-heading:before {
    content:none;
}
#sub_contents h2.wp-block-heading:after {
    content:none;
}
#sub_contents h3.wp-block-heading {
    display: flex;
    margin-top: 40px;
    position: relative;
    font-size: 2.25rem;
    font-weight: 600;
    line-height: 1.7;
    text-align: left;
    margin-bottom: 30px;
    margin-top: 0;
    border-bottom: solid 1px #002300;
}

#sub_contents h4.wp-block-heading {
    font-weight: bold;
        font-size: 2rem;
}
.hd_box h1:not(.fromt_h1) {
    font-size: 1.5rem;
    background: no-repeat;
    padding: 0;
    margin-bottom: 10px;
    color: #333;
    text-shadow: 0 0 BLACK;
}
.hd_ct {
    display: flex;
    justify-content: space-between;
}
@media screen and (max-width: 768px) {
#sub_contents h2.wp-block-heading {
    margin: 2.2rem 0;
    font-size: 2.2rem;
}    
#sub_contents h3.wp-block-heading {
    font-size: 2rem;
}  
#sub_contents .hd_box h1:not(.fromt_h1) {
    font-size: 1.45rem;
}
.container>div.hd_box {
    margin: 20px auto 0;
    width: 95%;
}
}

/* 250421add
TOPの挨拶追加
-------------------------------------------------------------- */
.greeting-section {
  padding: 2em 1em;
}

.greeting-title h2 {
  color: #FF7C46;
}

.greeting-content p {
  font-size: 14px;
  margin-bottom: 1.5em;
  line-height: 1.9;
}