/*
Theme Name: PLE-template
*/

@import url(https://fonts.googleapis.com/earlyaccess/notosansjapanese.css);
@import url("https://cdn.jsdelivr.net/npm/bootstrap@5.3.8/dist/css/bootstrap.min.css");
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.13.1/font/bootstrap-icons.min.css");


/* ----- common setteing ----- */

:root{
	--main-color: #27546b;
}
* {
	margin: 0px;
	padding: 0px;
        box-sizing: border-box;
	zoom: 1;
}
html {
	overflow-y:scroll;
}
body {
	color: #000000;
	font-size: 14px;
	font-family: 'Noto Sans Japanese', sans-serif;
	line-height: 1;
	background: #ffffff;
}
ul,ol{
        padding-left: 0;
        margin-bottom: 0;
}
li {
	list-style-type: none;
	zoom: normal;
}
img {
	max-width: 100%;
	height: auto;
	vertical-align: top;
	border-style: none;
}
p, li, table{
        text-align: justify;
}
p, li, figure{
        margin-bottom: 0;
}
.clearfix {zoom:1;}
.clearfix:after{
	content: " ";
	display: block;
	visibility: hidden;
	clear: both;
	height: 0.1px;
	font-size: 0.1em;
	line-height: 0;
}
input[type="submit"]{
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
a {
    display: block;
    color: inherit;
    text-decoration: none;
    transition: all ease .3s;
}
a[href^="tel:"] {
    color: inherit;
}
a:hover {
    opacity: 0.5;
}
section p a,
section ol.decimal a,
section ul.disc a,
table a,
section dl a{
    display: inline;
    text-decoration: underline;
    word-break: break-all;
}
/* youtube iframe */
.youtube{
     position: relative;
     padding-bottom: 56.25%; /*アスペクト比 16:9の場合の縦幅*/
     height: 0;
     overflow: hidden;
}
.youtube iframe{
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
}
/* img */
figure.object-fit {
    position: relative;
    overflow: hidden;
}
figure.object-fit>img {
    object-fit: cover;
    min-width: 100%;
    min-height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
/* edit link */
.post-edit{
    position: fixed;
    bottom: 12px;
    left: 12px;
    z-index: 500;
}
.post-edit-link{
    display: inline;
    font-size: 0.8rem !important;
    text-decoration: underline;
}
.order-1{
	order: 1;
}
.order-2{
	order: 2;
}
.order-3{
	order: 3;
}
.text-keep{
	word-break: keep-all;
}

.text-white{
        color: #ffffff;
}
.text-black{
        color: #000000;
}
.bg-white{
        background: #ffffff;
}
.btn{
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        justify-content: start;
}
.btn.center{
        justify-content: center;
}
.btn.right{
        justify-content: end;
}
.btn>a{
    display: flex;
    gap: 0.5em;
    justify-content: center;
    align-items: center;
        color: #ffffff;
        font-size: 1rem;
        font-family: var(--font-maru);
        line-height: 1.5;
        text-align: center;
        padding: 0.6rem 2rem;
        background: #05425D;
        border: solid 3px #1878A3;
        border-radius: calc(1px / 0);
}
.btn>a i{
    font-size: 1.3em;
}
.btn>a.btn-small{
    min-width: 180px;
}
.btn>a.btn-middle{
    min-width: 280px;
}
.btn>a.btn-large{
        min-width: 480px;
        padding: 1rem 2rem;
}
.slash-baloon{
        width: fit-content;
        font-size: 1rem;
        line-height: 1.6;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 0.8rem;
        position: relative;
}
.slash-baloon:before,
.slash-baloon:after{
        content: "";
        display: block;
        width: 1.3em;
        height: 1px;
        border-top: solid 1px #ffffff;
        position: absolute;
        bottom: 0.5em;
}
.slash-baloon:before{
        left: -1.5em;
        transform: rotate(55deg);
}
.slash-baloon:after{
        right: -1.5em;
        transform: rotate(-55deg);
}

/* ----- PC (min-width: 1024px) ----- */
@media (min-width: 1024px){

	body {
		font-size: 14px;
	}
	.inner {
	    width: 100%;
	    padding-left: 40px;
	    padding-right: 40px;
	    margin-right: auto;
	    margin-left: auto;
	}
	@media (max-width: 899px){
		.inner{
		    padding-left: 28px;
		    padding-right: 28px;
		}
	}
	/* width */
	.w-wide{
	    max-width: 1480px;
	}
	.w-large{
	    max-width: 1280px;
	}
	.w-middle{
	    max-width: 1080px;
	}
	.w-small{
	    max-width: 880px;
	}
	.pcNone{
	        display: none !important;
	}

	/* header */
	#header{
	        width: 100%;
	        padding-top: 28px;
	        padding-bottom: 28px;
	        z-index: 100;
		background: #ffffff;
	}
	#header .inner{
	        display: flex;
	        justify-content: space-around;
	        gap: 40px;
	}
	#header *.sitelogo,
	#js-menu *.sitelogo{
	        max-width: 280px;
	        width: 30%;
	        margin-right: auto;
	        margin-bottom: 0;
	}
	#head-menu-wrap{
	        display: grid;
	        gap: 12px;
	}

	/* mainmenu */
	.menu {
	        position: fixed;
	        top: 0;
	        left: 0;
	        display: flex;
	        align-items: start;
	        width: 100%;
	        height: 100%;
	        background: rgba(51, 51, 51, 0.85);
	        opacity: 0;
	        pointer-events: none;
	        visibility: hidden;
	        transition: all 0.3s ease;
	        transition-property: opacity, pointer-events, visibility;
	        z-index: 500;
	}
	.menu.is-show {
	    opacity: 1;
	    pointer-events: auto;
	    visibility: visible;
	}
	.menu__content {
	        padding-top: 24px;
	}
	.header__menu {
	        position: absolute;
	        top: 28px;
	        right: 40px;
	        cursor: pointer;
	        height: 28px;
	        font-size: 108%;
	        line-height: 28px;
	        padding-left: 40px;
	        background: url(images/common/menu_bk.png) no-repeat center left;
	        background-size: 24px auto;
	        z-index: 100;
	}
	#header.is-show .header__menu{
	        opacity: 0;
	}
	.button-close {
	        cursor: pointer;
	        position: absolute;
	        top: 34px;
	        right: 40px;
	        color: #ffffff;
	        font-size: 108%;
	        padding-left: 40px;
	        background: url(images/common/close_wh.png) no-repeat center left;
	        background-size: 27px 28px;
	        z-index: 501;
	}
	#mainmenu{
	        padding: 16px 28px;
	        background: #ffffff;
	        border-radius: calc(1px / 0);
	}
	#mainmenu>ul{
	        display: flex;
	        flex-wrap: wrap;
	        gap: 0.3rem 1.5rem;
	}
	#mainmenu>ul>li{
	        font-size: 1rem;
	        line-height: 1.6;
	}
	#mainmenu>ul>li>a{
	        display: block;
	}
	#submenu{
	        padding-right: 28px;
	}
	#submenu ul{
		display: flex;
	        flex-wrap: wrap;
	        gap: 2rem;
	        justify-content: end;
	}
	#submenu ul>li{
	        font-size: 0.9rem;
	}
	#submenu ul>li>a{
	}
	#submenu ul>li>a>i{
                margin-right: 0.3em;
	}

	/* header scrolled*/
	#header.is-scrolled{
		background: rgba(255, 255, 255, 0.95);
	        padding-top: 16px;
	        padding-bottom: 16px;
	        position: fixed;
	        top: 0;
	        left: 0;
	        z-index: 100;
	        box-shadow: 0 0 8px rgba(0, 0, 0, 0.16);
	}
	#header.is-scrolled .sitelogo{
	        max-width: 120px;
	}
	#header.is-scrolled #submenu{
	        padding-right: 0;
	}
	#header.is-scrolled #submenu ul>li{
	        font-size: 0.8rem;
	}
	#header.is-scrolled #mainmenu{
		padding: 0;
		background: transparent;
	}
	#header.is-scrolled #mainmenu>ul>li{
		font-size: 0.95rem;
	}
	@media (max-width: 1079px){
		#header .inner {
		        justify-content: flex-end;
		        gap: 0 20px;
		 }
		#header .sitelogo{
	            max-width: 200px;
		}
		#header #submenu ul>li{
		        font-size: 0.8rem;
		}
		#header #mainmenu>ul>li{
			font-size: 0.9rem;
		}
	}
	@media (max-width: 899px){
		#header #mainmenu>ul{
		        gap: 0.3rem 1rem;
		}
		#header #mainmenu>ul>li{
			font-size: 0.8rem;
		}
	}

	/* footer */
	#footer{
	        display: grid;
	        gap: 48px;
	        padding-top: 48px;
	        padding-bottom: 64px;
	        border-top: solid 1px #E0E0E0;
	}
	#footnav{
	}
	#footnav nav{
	        display: flex;
	        flex-wrap: wrap;
	        gap: 48px 40px;
	        justify-content: space-around;
	}
	#footnav nav>ul{
	        display: flex;
	        flex-direction: column;
	        gap: 0.8em;
	}
	#footnav nav>ul>li{
	        font-size: 0.9rem;
	        line-height: 1.6;
	}
	#footnav nav>ul>li>a{
	}
	#footnav nav>ul.product{
	        min-width: 480px;
	}
	#footnav nav>ul.product div{
	        display: flex;
	        gap: 24px;
	        justify-content: space-between;
	}
	#footnav nav ul.sub-nav{
	        display: flex;
	        flex-direction: column;
	        gap: 0.4em;
	        margin-top: 0.8em;
	}
	#footnav nav ul.sub-nav>li{
	        font-size: 0.85rem;
	        line-height: 1.5;
	}
	#footnav nav ul.sub-nav>li>a{
	        position: relative;
	        padding-left: 1.25em;
	}
	#footnav nav ul.sub-nav>li>a:before{
		content: "−";
	        color: #888888;
	        position: absolute;
	        left: 0;
	        top: 0.1em;
	}
	#footer aside.instagram-bnr{
	        max-width: 500px;
		margin: 48px auto 0;
	}
	#copyright{
	        font-size: 0.8rem;
	        line-height: 1.4;
	        text-align: center;
	}

	/* pagetop */
	#pagetop{
	    position: fixed;
	    right: 12px;
	    bottom: 120px;
	}
	#pagetop a{
	    display: block;
	    width: 60px;
	    height: 28px;
	    text-indent: -9999px;
	    background: url(images/common/pagetop.png) no-repeat center center;
	    background-size: contain;
	}

	/* margin - padding */
	.mt0{ margin-top: 0; !important }
	.mt8{ margin-top: 8px; !important }
	.mt16{ margin-top: 16px; !important }
	.mt24{ margin-top: 24px; !important }
	.mt40{ margin-top: 40px; !important }
	.mt48{ margin-top: 48px; !important }
	.mt64{ margin-top: 64px; !important }
	.mt80{ margin-top: 80px; !important }
	.mt120{ margin-top: 120px; !important }

	.mb0{ margin-bottom: 0; !important }
	.mb8{ margin-bottom: 8px; !important }
	.mb16{ margin-bottom: 16px; !important }
	.mb24{ margin-bottom: 24px; !important }
	.mb40{ margin-bottom: 40px; !important }
	.mb48{ margin-bottom: 48px; !important }
	.mb64{ margin-bottom: 64px; !important }
	.mb80{ margin-bottom: 80px; !important }
	.mb120{ margin-bottom: 120px; !important }

	.pt0{ padding-top: 0; !important }
	.pt8{ padding-top: 8px; !important }
	.pt16{ padding-top: 16px; !important }
	.pt24{ padding-top: 24px; !important }
	.pt40{ padding-top: 40px; !important }
	.pt48{ padding-top: 48px; !important }
	.pt64{ padding-top: 64px; !important }
	.pt80{ padding-top: 80px; !important }
	.pt120{ padding-top: 120px; !important }

	.pb0{ padding-bottom: 0; !important }
	.pb8{ padding-bottom: 8px; !important }
	.pb16{ padding-bottom: 16px; !important }
	.pb24{ padding-bottom: 24px; !important }
	.pb40{ padding-bottom: 40px; !important }
	.pb48{ padding-bottom: 48px; !important }
	.pb64{ padding-bottom: 64px; !important }
	.pb80{ padding-bottom: 80px; !important }
	.pb120{ padding-bottom: 120px; !important }



	/* pages */

	#page-header{
	        padding-top: 180px;
	        padding-bottom: 28px;
	        margin-bottom: calc(108px + 64px);
	        background: #f2f2f2;
	        position: relative;
	}
	#page-header .pageTitle{
	        font-size: 2.8rem;
	        font-weight: 500;
	}
	#breadcrumb{
	        margin-top: 1.5rem;
	}
	#breadcrumb ol{
	        display: flex;
	        flex-wrap: wrap;
	        gap: 0.75em;
	        font-size: 0.9rem;
	        line-height: 1.6;
	}
	#breadcrumb ol > li:not(:last-child)::after {
	        content: "/";
	        margin-left: 0.75em;
	        color: gray;
	}
	#breadcrumb ol>li>a{
	        display: inline;
	        color: inherit;
	        text-decoration: underline;
	}
	#contents section .b-border-title{
		font-size: 1.8rem;
	        line-height: 0.9;
	        margin-bottom: 0.8em;
	        padding-bottom: 0.6em;
	        border-bottom: solid 2px;
	        border-color: var(--main-color);
	}
	section p,
	section li{
	        font-size: 0.9rem;
	        line-height: 1.8;
	        text-align: justify;
	}
	section ol,
	section ul{
	        font-size: 1rem;
	}
	section ol.decimal,
	section ul.disc{
	        display: grid;
	        gap: 0.3em;
	        margin-left: 1.25em;
	        list-style-position: outside;
	}
	section ul.disc li{
	    list-style-type: disc;
	}
	section ol.decimal li{
	    list-style-type: decimal;
	}
	section table{
	        width: 100%;
	        font-size: 1rem;
	        border-collapse: separate;
	        border-spacing: 1px;
	        background: #cccccc;
	}
	section table tr>*{
	        font-size: 100%;
	        line-height: 1.6;
	        text-align: justify;
	        padding: 0.8em 1em;
	}
	section table thead th{
	        text-align: center;
	        background: #e5e5e5;
	}
	section table tbody th{
	        background: #e5e5e5;
	}
	section table tbody td{
	        background: #ffffff;
	}
	section dl.tableDl{
	        display: flex;
	        flex-wrap: wrap;
	        width: 100%;
	        background: #f2f2f2;
	        border: solid 1px #cccccc;
	        border-top: none;
	}
	section dl.tableDl dt,
	section dl.tableDl dd{
	        font-size: 1rem;
	        line-height: 1.6;
	        text-align: justify;
	        padding: 0.8em 1em;
	        margin-bottom: 0;
	        border-top: solid 1px #cccccc;
	}
	section dl.tableDl dt{
	        width: 160px;
	        font-weight: 600;
	}
	section dl.tableDl dd{
	        width: calc(100% - 160px);
	        background: #ffffff;
	        border-left: solid 1px #cccccc;
	}

	#contents .img2,
	#contents .img3,
	#contents .img4{
	        display: flex;
	        flex-wrap: wrap;
	        gap: 28px;
	}
	#contents .img2>*,
	#contents .img3>*,
	#contents .img4>*{
	        flex: 1;
	}
	#contents .img2 figure{
	        width: calc((100% - 28px) / 2);
	}
	#contents .img3 figure{
	        width: calc((100% - 56px) / 3);
	}
	#contents .img4 figure{
	        width: calc((100% - 84px) / 4);
	}
	#contents figcaption{
	        font-size: 90%;
	        line-height: 1.6;
	        text-align: justify;
	        padding-top: 0.8em;
	}
	#contents .flex-wrap{
	        display: flex;
	        flex-wrap: wrap;
	        justify-content: space-between;
	}
	#contents .flex-wrap>div.text-wrap{
	        width: calc(65% - 28px);
	}
	#contents .flex-wrap>figure{
	        width: 35%;
	}
	#contents .flex-wrap>*.left{
	        order: 1;
	}
	#contents .flex-wrap>*.right{
	        order: 2;
	}

	/* single post */
	article{
	}
	article .post-header{
	        padding-bottom: 1rem;
	        margin-bottom: 1.8rem;
	        border-bottom: dotted 2px #cccccc;
	}
	article .post-header .post-title{
	        color: var(--main-color);
	        font-size: 2.1rem;
	        font-weight: bold;
	        line-height: 1.6;
	        margin-bottom: 1rem;
	}
	article .post-header p.date{
		font-size: 0.9rem;
	        line-height: 1;
	}
	article .post-header .themes{
	        display: flex;
	        flex-wrap: wrap;
	        align-items: center;
	        gap: 0.6em;
	        font-size: 0.9rem;
	        margin-bottom: 1rem;
	}
	article .post-header .themes>span,
	article .post-header .themes>a{
	        display: inline-block;
	        font-weight: 500;
	        padding: 0.5em 1.5em;
	        border-radius: 2px;
	        background: #e5e5e5;
	        border-radius: 40px;
	}
	article .letterbody{
	        font-size: 1rem;
	        line-height: 1.8;
	}
	article .wp-block-heading{
	        color: var(--main-color);
	        font-size: 1.8rem;
	        line-height: 1.6;
	        margin-bottom: 0.3em;
	}
	article div.letterbody p,
	article div.letterbody wp-block-embed,
	article div.letterbody .wp-block-image{
	    margin-bottom: 2em;
	}
	article div.letterbody .btn{
	        margin-top: 2em;
	        margin-bottom: 2em;
	}
	article .letterbody figure.entry-thumbnail{
	    margin-bottom: 2em;
	}

	nav.post-navigation{
	        display: flex;
	        flex-direction: column;
	        gap: 0.8rem;
	        margin: 2.5rem 0;
	}
	nav.post-navigation div{
	        width: fit-content;
	        max-width: calc(100% - 40px);
	        min-width: 80%;
	}
	nav.post-navigation div.prev-post{
	        text-align: right;
	        margin-left: auto;
	}
	nav.post-navigation div.next-post{
	        text-align: left;
	        margin-right: auto;
	}
	nav.post-navigation div a{
	        color: inherit;
	        font-size: 1rem;
	        font-weight: normal;
	        line-height: 1.5;
	        padding: 1.5em 2em;
	        background: #e5e5e5;
	        border-radius: 8px;
	        position: relative;
	}
	nav.post-navigation div.prev-post a:before,
	nav.post-navigation div.next-post a:before{
	        width: fit-content;
	        color: #ffffff;
	        font-size: 0.8rem;
	        background: var(--main-color);
	        border-radius: 40px;
	        position: absolute;
	        top: -0.7em;
	        padding: 0.3em 1em;
	        z-index: 10;
	}
	nav.post-navigation div.prev-post a:before{
	        content: "前の記事";
	        right: 2em;
	}
	nav.post-navigation div.next-post a:before{
	        content: "次の記事";
	        left: 2em;
	}

	.archive-title{
		color: #333333;
	        font-size: 1.6rem;
	        font-weight: bold;
	        line-height: 1.6;
	        margin-bottom: 0.5em;
	}
	ul.info-list{
	        display: flex;
	        flex-direction: column;
	        gap: 0.8rem;
	        margin-bottom: 2rem;
	}
	ul.info-list li{
	}
	ul.info-list li a{
	        display: grid;
	        gap: 0.5rem;
	        text-decoration: none;
	        padding: 0.3rem 1.25rem;
	        border-left: solid 3px;
	        border-color: var(--main-color);
	}
	ul.info-list li p.date{
	        font-size: 0.8rem;
	        line-height: 1;
	}
	ul.info-list li p.title{
	        font-size: 1rem;
	        font-weight: 500;
	        line-height: 1.4;
	}

	ul.post-list{
		display: grid;
	        gap: 20px;
	        margin-bottom: 2em;
	        grid-template-columns: repeat(3, 1fr);
	}
	ul.post-list>li{
	        background: #ffffff;
	        box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
	        border-radius: 8px;
	        overflow: hidden;
	}
	@media (min-width: 1180px){
		ul.post-list{
	        	grid-template-columns: repeat(3, 1fr);
		}
	}
	@media (max-width: 1179px){
		ul.post-list{
	        	grid-template-columns: repeat(2, 1fr);
		}
	}
	ul.post-list>li>a{
	}
	ul.post-list>li figure.entry-thumbnail{
	    width: 100%;
	    aspect-ratio: 5 / 3;
	    overflow: hidden;
	}
	ul.post-list>li .text-wrap{
	    padding: 1.25em;
	    color: #00a0e9;
	}
	ul.post-list>li .text-wrap p.title{
        	color: #000000;
	        font-size: 1.1rem;
	        line-height: 1.4;
	}
	ul.post-list>li .text-wrap p.date{
	        color: #666666;
	        font-size: 0.85rem;
	        margin-bottom: 0.6em;
	}


	/* pagenavi */
	.wp-pagenavi{
	        display: flex;
	        flex-wrap: wrap;
	        justify-content: center;
	        align-items: center;
	        gap: 1rem 0.6em;
	        margin-top: 2rem;
	        margin-bottom: 2rem;
	}
	.wp-pagenavi>*{
		font-size: 1.0rem;
	}
	.wp-pagenavi>span.pages{
	        width: 100%;
	        color: #666666;
	        font-size: 0.9rem;
	        text-align: center;
	}
	.wp-pagenavi>span.current,
	.wp-pagenavi>a.page{
	        aspect-ratio: 1 / 1;
	        display: grid;
	        justify-content: center;
	        align-items: center;
	        width: 3em;
	        border-radius: 50%
	}
	.wp-pagenavi>span.current{
	        color: #ffffff;
	        font-weight: bold;
	        background: var(--main-color);
	        transform: scale(1.0);
	}
	.wp-pagenavi>a.page{
	        background: #cccccc;
	        transform: scale(0.8);
	}
	.wp-pagenavi>a.nextpostslink,
	.wp-pagenavi>a.previouspostslink{
	        display: inline;
	        font-size: 0.9rem;
	        text-decoration: underline;
	}

	/* ----- home ----- */
	#homeContents .section{
	    padding-top: 4rem;
	    padding-bottom: 4rem;
	}
	#homeContents #mv{
	        color: #ffffff;
	        min-height: 380px;
	        padding-top: 80px;
	        padding-bottom: 80px;
	        position: relative;
	        background: var(--main-color);
	        overflow: hidden;
	}
	#homeContents #mv .bg-image{
	    position: absolute;
	    top: 50%;
	    left: 50%;
	    object-fit: cover;
	    transform: translate(-50%, -50%);
	    z-index: 0;
	    min-width: 100%;
	    min-height: 100%;
	}
	#homeContents #mv:before{
	        content: "";
	        display: block;
	        height: 100%;
	        background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.3) 75%, rgba(0, 0, 0, 0.3) 100%);
	        position: absolute;
	        left: 0;
	        right: 0;
	        bottom: 0;
	        z-index: 2;
	}
	#homeContents #mv .text-wrap{
	        position: absolute;
	        top: 50%;
	        left: 8vw;
	        transform: translateY(-50%);
	        z-index: 10;
	        text-shadow: 0 0 6px rgba(0, 0, 0, 0.3);
	}
	#homeContents #mv h2.cc{
	    font-size: 3.1rem;
	    line-height: 1.6;
	}
	#homeContents #mv .text-wrap p{
	    font-size: 1.6rem;
	    line-height: 1.6;
	}
	.section-title{
	        font-size: 2.3rem;
	        line-height: 1.6;
	        margin-bottom: 1em;
	}
	.section-title small.en{
	        color: var(--main-color);
	        font-size: 65%;
	        font-weight: 300;
	        margin-left: 0.3em;
	}

	/* contact form 7 */
	.wpcf7-form{
	}
	.wpcf7-form p>label{
	        width: 100%;
	        margin-bottom: 1.5em;
	}
	.wpcf7-form p .wpcf7-form-control-wrap{
	        display: block;
	        margin-top: 0.5rem;
	}
	.wpcf7-form p textarea{
		width: 100%;
	}
	.wpcf7-form input[type="submit"]{
	        min-width: 120px;
	        color: #ffffff;
	        font-size: 1rem;
	        font-weight: bold;
	        text-align: center;
	        padding: 0.8em 2em;
	        border-radius: 3px;
	        border: none;
	        background: var(--main-color);
	}

}

/* ----- SP/tablet (max-width: 1023px) ----- */
@media (max-width: 1023px){

	.spNone{
	    display: none !important;
	}
	@media (min-width: 767px){
		html{
		        font-size: 95%;
		}
	}
	@media (max-width: 766px){
		html{
	        font-size: 80%;
		}
	}
	body{
	    font-size: 1.4rem;
	    -webkit-text-size-adjust: 100%;
	}
	.inner {
	        padding-left: 28px;
	        padding-right: 28px;
	}
	@media (max-width: 766px){
		.inner {
		        padding-left: 20px;
		        padding-right: 20px;
		}
	}

	/* header */
	#header{
	        width: 100%;
	        padding-top: 20px;
	        padding-bottom: 20px;
	}
	#header *.sitelogo,
	#js-menu *.sitelogo{
	        width: 200px;
	        margin-right: auto;
	        margin-bottom: 0;
	}

	/* main navi */
	.menu {
	        position: fixed;
	        top: 0;
	        left: 0;
	        display: flex;
	        align-items: start;
	        width: 100%;
	        height: 100%;
	        background: rgba(51, 51, 51, 0.85);
	        opacity: 0;
	        pointer-events: none;
	        visibility: hidden;
	        transition: all 0.3s ease;
	        transition-property: opacity, pointer-events, visibility;
	        z-index: 500;
	}
	.menu.is-show {
	    opacity: 1;
	    pointer-events: auto;
	    visibility: visible;
	}
	.menu__content {
	        width: 100%;
	        padding-top: 56px;
	}
	.header__menu {
	        position: fixed;
	        top: 36px;
	        right: 20px;
	        cursor: pointer;
	        height: 24px;
	        font-size: 1rem;
	        line-height: 24px;
	        padding-left: 32px;
	        background: url(images/common/menu_bk.png) no-repeat center left;
	        background-size: 20px auto;
	        z-index: 100;
	}
	#header.is-show .header__menu{
	        opacity: 0;
	}
	.button-close {
	        cursor: pointer;
	        position: absolute;
	        top: 36px;
	        right: 20px;
	        color: #ffffff;
	        font-size: 85%;
	        line-height: 24px;
	        padding-left: 32px;
	        background: url(images/common/close_wh.png) no-repeat center left;
	        background-size: 18px auto;
	        z-index: 501;
	}
	#mainmenu{
	        display: flex;
	        flex-wrap: wrap;
	        gap: 1.5em 20px;
	        margin: 28px auto;
	}
	#mainmenu>ul{
	        display: grid;
	        width: 100%;
	        border-top: solid 1px #ffffff;
	}
	#mainmenu>ul>li{
	        font-size: 1.2rem;
	        line-height: 1.6;
	        font-weight: 400;
	        border-bottom: solid 1px #ffffff;
	}
	#mainmenu>ul>li>a{
	        color: #ffffff;
	        padding: 0.8em 0;
	}
	#submenu{
	        padding-right: 28px;
	}
	#submenu ul{
	        display: flex;
	        flex-wrap: wrap;
	        gap: 1em 1.8rem;
	        justify-content: start;
	}
	#submenu ul>li{
		font-size: 1.05rem;
	}
	#submenu ul>li>a{
	        color: #ffffff;
	        display: inline;
	        text-decoration: underline;
	}
	#submenu ul>li>a>i{
                margin-right: 0.3em;
	}

	/* footer */
	#footer{
	        display: grid;
	        gap: 48px;
	        padding-top: 48px;
	        padding-bottom: 64px;
	        border-top: solid 1px #E0E0E0;
	}
	#footnav{
	}
	#footnav nav{
	        display: flex;
	        flex-wrap: wrap;
	        gap: 48px 40px;
	        justify-content: space-around;
	}
	#footnav nav>ul{
	        display: flex;
	        flex-direction: column;
	        gap: 0.8em;
	}
	#footnav nav>ul>li{
	        font-size: 0.9rem;
	        line-height: 1.6;
	}
	#footnav nav>ul>li>a{
	}
	#footnav nav>ul.product{
	        min-width: 480px;
	}
	#footnav nav>ul.product div{
	        display: flex;
	        gap: 24px;
	        justify-content: space-between;
	}
	#footnav nav ul.sub-nav{
	        display: flex;
	        flex-direction: column;
	        gap: 0.4em;
	        margin-top: 0.8em;
	}
	#footnav nav ul.sub-nav>li{
	        font-size: 0.85rem;
	        line-height: 1.5;
	}
	#footnav nav ul.sub-nav>li>a{
	        position: relative;
	        padding-left: 1.25em;
	}
	#footnav nav ul.sub-nav>li>a:before{
		content: "−";
	        color: #888888;
	        position: absolute;
	        left: 0;
	        top: 0.1em;
	}
	#footer aside.instagram-bnr{
	        max-width: 500px;
		margin: 48px auto 0;
	}
	#copyright{
	        font-size: 0.8rem;
	        line-height: 1.4;
	        text-align: center;
	}

	/* pagetop */
	#pagetop{
	    position: fixed;
	    right: 12px;
	    bottom: 80px;
	}
	#pagetop a{
	    display: block;
	    width: 40px;
	    height: 20px;
	    text-indent: -9999px;
	    background: url(images/common/pagetop.png) no-repeat center center;
	    background-size: contain;
	}



	/* margin - padding */
	.mt0{ margin-top: 0; !important }
	.mt8{ margin-top: 8px; !important }
	.mt16{ margin-top: 16px; !important }
	.mt24{ margin-top: 24px; !important }
	.mt40{ margin-top: 40px; !important }
	.mt48{ margin-top: 48px; !important }
	.mt64{ margin-top: 64px; !important }
	.mt80{ margin-top: 80px; !important }
	.mt120{ margin-top: 120px; !important }

	.mb0{ margin-bottom: 0; !important }
	.mb8{ margin-bottom: 8px; !important }
	.mb16{ margin-bottom: 16px; !important }
	.mb24{ margin-bottom: 24px; !important }
	.mb40{ margin-bottom: 40px; !important }
	.mb48{ margin-bottom: 48px; !important }
	.mb64{ margin-bottom: 64px; !important }
	.mb80{ margin-bottom: 80px; !important }
	.mb120{ margin-bottom: 120px; !important }

	.pt0{ padding-top: 0; !important }
	.pt8{ padding-top: 8px; !important }
	.pt16{ padding-top: 16px; !important }
	.pt24{ padding-top: 24px; !important }
	.pt40{ padding-top: 40px; !important }
	.pt48{ padding-top: 48px; !important }
	.pt64{ padding-top: 64px; !important }
	.pt80{ padding-top: 80px; !important }
	.pt120{ padding-top: 120px; !important }

	.pb0{ padding-bottom: 0; !important }
	.pb8{ padding-bottom: 8px; !important }
	.pb16{ padding-bottom: 16px; !important }
	.pb24{ padding-bottom: 24px; !important }
	.pb40{ padding-bottom: 40px; !important }
	.pb48{ padding-bottom: 48px; !important }
	.pb64{ padding-bottom: 64px; !important }
	.pb80{ padding-bottom: 80px; !important }
	.pb120{ padding-bottom: 120px; !important }

	.slash-baloon{
	        font-size: 1.2rem;
	}
	.btn>a {
	    font-size: 1rem;
	    padding: 0.8em 1.5rem;
            word-break: keep-all;
	}
	.btn>a.btn-small {
		min-width: 160px;
	        padding: 0.6em 1rem;
	}
	.btn>a.btn-middle {
	    min-width: 200px;
	}
	.btn>a.btn-large {
	    min-width: 280px;
	}

	/* pages */

	#page-header{
	        padding-top: 80px;
	        margin-bottom: calc(108px + 64px);
	        background: #f2f2f2;
	        position: relative;
	}
	#page-header .pageTitle{
	        font-size: 2.4rem;
	        font-weight: 500;
	}
	#breadcrumb{
	        margin-top: 1.5rem;
	}
	#breadcrumb ol{
	        display: flex;
	        flex-wrap: wrap;
	        gap: 0.75em;
	        font-size: 1rem;
	        line-height: 1.6;
	}
	#breadcrumb ol > li:not(:last-child)::after {
	        content: "/";
	        margin-left: 0.75em;
	        color: gray;
	}
	#breadcrumb ol>li>a{
	        display: inline;
	        color: inherit;
	        text-decoration: underline;
	}
	#contents section .b-border-title{
	        font-size: 1.4rem;
	        line-height: 1.4;
	        margin-bottom: 1em;
	        padding-bottom: 0.4em;
	        border-bottom: solid 2px;
	        border-color: var(--main-color);
	}
	section p,
	section li{
	        font-size: 1rem;
	        line-height: 1.8;
	        text-align: justify;
	}
	section ol,
	section ul{
	        font-size: 1rem;
	}
	section ol.decimal,
	section ul.disc{
	        display: grid;
	        gap: 0.3em;
	        margin-left: 1.25em;
	        list-style-position: outside;
	}
	section ul.disc li{
	    list-style-type: disc;
	}
	section ol.decimal li{
	    list-style-type: decimal;
	}
	section table{
	        width: 100%;
	        border-collapse: separate;
	        border-spacing: 1px;
	        background: #cccccc;
	}
	section table tr>*{
	        font-size: 100%;
	        line-height: 1.6;
	        text-align: justify;
	        padding: 0.8em 1em;
	}
	section table thead th{
	        text-align: center;
	        background: #e5e5e5;
	}
	section table tbody th{
	        background: #e5e5e5;
	}
	section table tbody td{
	        background: #ffffff;
	}
	section dl.tableDl{
	        display: flex;
	        flex-wrap: wrap;
	        width: 100%;
	        background: #f2f2f2;
	        border: solid 1px #cccccc;
	        border-top: none;
	}
	section dl.tableDl dt,
	section dl.tableDl dd{
	        font-size: 1rem;
	        line-height: 1.6;
	        text-align: justify;
	        padding: 0.8em 1em;
	        margin-bottom: 0;
	        border-top: solid 1px #cccccc;
	}
	section dl.tableDl dt{
	        width: 160px;
	        font-weight: 600;
	}
	section dl.tableDl dd{
	        width: calc(100% - 160px);
	        background: #ffffff;
	        border-left: solid 1px #cccccc;
	}

	#contents .img2,
	#contents .img3,
	#contents .img4{
	        display: flex;
	        flex-wrap: wrap;
	        gap: 28px;
	}
	#contents .img2>*,
	#contents .img3>*,
	#contents .img4>*{
	        flex: 1;
	}
	#contents .img2 figure{
	        width: calc((100% - 28px) / 2);
	}
	#contents .img3 figure{
	        width: calc((100% - 56px) / 3);
	}
	#contents .img4 figure{
	        width: calc((100% - 84px) / 4);
	}
	#contents figcaption{
	        font-size: 90%;
	        line-height: 1.6;
	        text-align: justify;
	        padding-top: 0.8em;
	}
	#contents .flex-wrap{
	        display: flex;
	        flex-wrap: wrap;
	        justify-content: space-between;
	}
	#contents .flex-wrap>div.text-wrap{
	        width: calc(65% - 28px);
	}
	#contents .flex-wrap>figure{
	        width: 35%;
	}
	#contents .flex-wrap>*.left{
	        order: 1;
	}
	#contents .flex-wrap>*.right{
	        order: 2;
	}


	article .post-header{
	        padding-bottom: 1rem;
	        margin-bottom: 1.8rem;
	        border-bottom: dotted 2px #cccccc;
	}
	article .post-header .post-title{
	        color: var(--main-color);
	        font-size: 2.1rem;
	        font-weight: bold;
	        line-height: 1.6;
	        margin-bottom: 0.3em;
	}
	article .post-header p.date{
		font-size: 1rem;
	        line-height: 1;
	}
	article .post-header .themes{
	        display: flex;
	        flex-wrap: wrap;
	        align-items: center;
	        gap: 0.6em;
	        font-size: 0.9rem;
	        margin-bottom: 1rem;
	}
	article .post-header .themes>span,
	article .post-header .themes>a{
	        display: inline-block;
	        font-weight: 500;
	        padding: 0.5em 1.5em;
	        border-radius: 2px;
	        background: #e5e5e5;
	        border-radius: 40px;
	}
	article .letterbody{
	        font-size: 1rem;
	        line-height: 1.8;
	}
	article .wp-block-heading{
	        color: var(--main-color);
	        font-size: 1.6rem;
	        line-height: 1.6;
	        margin-bottom: 0.3em;
	}
	article div.letterbody p,
	article div.letterbody wp-block-embed,
	article div.letterbody .wp-block-image{
	    margin-bottom: 2em;
	}
	article div.letterbody .btn{
	        margin-top: 2em;
	        margin-bottom: 3.5em;
	}
	article .letterbody figure.entry-thumbnail{
	    margin-bottom: 2em;
	}

	nav.post-navigation{
	        display: flex;
	        flex-direction: column;
	        gap: 1rem;
	        margin: 2.5rem 0;
	}
	nav.post-navigation div{
	        width: 100%;
	        max-width: calc(100% - 20px);
	}
	nav.post-navigation div.prev-post{
	        text-align: right;
	        margin-left: auto;
	}
	nav.post-navigation div.next-post{
	        text-align: left;
	        margin-right: auto;
	}
	nav.post-navigation div a{
	        color: inherit;
	        font-size: 1rem;
	        font-weight: normal;
	        line-height: 1.5;
	        padding: 1.5em 2em;
	        background: #e5e5e5;
	        border-radius: 8px;
	        position: relative;
	}
	nav.post-navigation div.prev-post a:before,
	nav.post-navigation div.next-post a:before{
	        width: fit-content;
	        color: #ffffff;
	        font-size: 0.8rem;
	        background: var(--main-color);
	        border-radius: 40px;
	        position: absolute;
	        top: -0.7em;
	        padding: 0.3em 1em;
	        z-index: 10;
	}
	nav.post-navigation div.prev-post a:before{
	        content: "前の記事";
	        right: 2em;
	}
	nav.post-navigation div.next-post a:before{
	        content: "次の記事";
	        left: 2em;
	}

	.archive-title{
		color: #333333;
	        font-size: 1.6rem;
	        font-weight: bold;
	        line-height: 1.6;
	        margin-bottom: 0.5em;
	}
	ul.info-list{
	        display: flex;
	        flex-direction: column;
	        gap: 0.8rem;
	        margin-bottom: 2rem;
	}
	ul.info-list li{
	}
	ul.info-list li a{
	        display: grid;
	        gap: 0.5rem;
	        text-decoration: none;
	        padding: 0.3rem 1.25rem;
	        border-left: solid 1px;
	        border-color: var(--main-color);
	}
	ul.info-list li p.date{
	        font-size: 1rem;
	        line-height: 1;
	}
	ul.info-list li p.title{
	        font-size: 1.1rem;
	        font-weight: 500;
	        line-height: 1.6;
	}

	ul.post-list{
		display: grid;
	        gap: 20px;
	        margin-bottom: 2em;
	        grid-template-columns: repeat(2, 1fr);
	}
	ul.post-list>li{
	        background: #ffffff;
	        box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
	        border-radius: 8px;
	        overflow: hidden;
	}
	ul.post-list>li>a{
	}
	ul.post-list>li figure.entry-thumbnail{
	    width: 100%;
	    aspect-ratio: 5 / 3;
	    overflow: hidden;
	}
	ul.post-list>li .text-wrap{
	    padding: 16px 12px;
	    color: #00a0e9;
	}
	ul.post-list>li .text-wrap p.title{
        	color: #000000;
	        font-size: 1.1rem;
	        line-height: 1.4;
	}
	ul.post-list>li .text-wrap p.date{
	        color: #666666;
	        font-size: 0.9rem;
	        margin-bottom: 0.6em;
	}

	/* pagenavi */
	.wp-pagenavi{
	        display: flex;
	        flex-wrap: wrap;
	        justify-content: center;
	        align-items: center;
	        gap: 1rem 0.3em;
	        margin-top: 2rem;
	        margin-bottom: 2rem;
	}
	.wp-pagenavi>*{
		font-size: 1.0rem;
	}
	.wp-pagenavi>span.pages{
	        width: 100%;
	        color: #666666;
	        font-size: 0.85rem;
	        text-align: center;
	}
	.wp-pagenavi>span.current,
	.wp-pagenavi>a.page{
	        aspect-ratio: 1 / 1;
	        display: grid;
	        justify-content: center;
	        align-items: center;
	        width: 4em;
	        border-radius: 50%
	}
	.wp-pagenavi>span.current{
	        color: #ffffff;
	        font-weight: bold;
	        background: var(--main-color);
	        transform: scale(1.0);
	}
	.wp-pagenavi>a.page{
	        background: #cccccc;
	        transform: scale(0.8);
	}
	.wp-pagenavi>a.nextpostslink,
	.wp-pagenavi>a.previouspostslink{
	        display: inline;
	        font-size: 0.9rem;
	        text-decoration: underline;
	}


	/* ----- home ----- */
	#homeContents .section{
	    padding-top: 4rem;
	    padding-bottom: 4rem;
	}
	#homeContents #mv{
	        color: #ffffff;
	        min-height: 380px;
        	padding: 40px 20px;
	        position: relative;
	        background: var(--main-color);
	        overflow: hidden;
	}
	#homeContents #mv .bg-image{
	    position: absolute;
	    top: 50%;
	    left: 50%;
	    object-fit: cover;
	    transform: translate(-50%, -50%);
	    z-index: 0;
	    min-width: 100%;
	    min-height: 100%;
	}
	#homeContents #mv:before{
	        content: "";
	        display: block;
	        height: 100%;
	        background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.3) 75%, rgba(0, 0, 0, 0.3) 100%);
	        position: absolute;
	        left: 0;
	        right: 0;
	        bottom: 0;
	        z-index: 2;
	}
	#homeContents #mv .text-wrap{
	        width: fit-content;
	        max-width: calc(100% - 40px);
	        word-break: keep-all;
		position: absolute;
	        top: 50%;
	        left: 50%;
	        transform: translate(-50%, -50%);
	        text-shadow: 0 0 6px rgba(0, 0, 0, 0.3);
	        z-index: 10;
	}
	#homeContents #mv h2.cc{
	        font-size: 3.1rem;
	        line-height: 1.3;
	        margin-bottom: 0.4em;
	}
	#homeContents #mv .text-wrap p{
	        font-size: 1.2rem;
	        line-height: 1.6;
	}
	.section-title{
	        font-size: 160%;
	        line-height: 1.6;
	        margin-bottom: 1em;
	}
	.section-title small.en{
	        color: var(--main-color);
	        font-size: 65%;
	        font-weight: 300;
	        margin-left: 0.3em;
	}

	/* contact form 7 */
	.wpcf7-form{
	}
	.wpcf7-form p>label{
	        width: 100%;
	        margin-bottom: 1.5em;
	}
	.wpcf7-form p .wpcf7-form-control-wrap{
	        display: block;
	        margin-top: 0.5rem;
	}
	.wpcf7-form p textarea{
		width: 100%;
	}
	.wpcf7-form input[type="submit"]{
	        min-width: 120px;
	        color: #ffffff;
	        font-size: 1rem;
	        font-weight: bold;
	        text-align: center;
	        padding: 0.8em 2em;
	        border-radius: 3px;
	        border: none;
	        background: var(--main-color);
	}

}
