@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@100..700&family=Noto+Sans+JP:wght@100..900&family=Noto+Serif+JP:wght@200..900&display=swap');

:root {
  --key: #5777A1;
  --sub: #f18d46;
  --bg: #f8f8f8;
  --sen: #f1f1f4;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}
body{
	font-family: "Noto Sans JP", sans-serif;
    overflow-x: hidden;
}
img{
	width: 100%;
    height: auto;
	display: block;
}
p{
	line-height: 1.8;
	letter-spacing: 2px;
}
h1,h2,h3,h4{
	font-weight: 500;
	line-height: 1.5;
	letter-spacing: 3px;
}
h5,h6{
    line-height: 1.5;
    letter-spacing: 2px;
}
table{
	width: 100%;
}
table , td, th {
	border-collapse: collapse;
    letter-spacing: 2px;
	border: 1px solid #d8d8db;
}
th, td{
	padding: 10px 20px;
	height: 25px;
	line-height: 1.5;
    letter-spacing: 2px;
}
th{
    white-space: nowrap;
}
dt, dd, li {
	line-height: 1.5;
    letter-spacing: 2px;
}
section{
    padding: 80px 0;
}
time{
    color: #555;
    font-size: 14px;
    width: 100px;
    display: inline-block;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

@media screen and (max-width:768px){
    p, th, td, li, time {
        font-size: 14px;
    }
    time {
        font-size: 12px;
    }
    section{
        padding: 30px 0;
    }
}

.width-800{
	max-width: 800px;
	width: 90%;
	margin-left: auto;
	margin-right: auto;
}
.width-900{
	max-width: 900px;
	width: 90%;
	margin-left: auto;
	margin-right: auto;
}
.width-s{
	max-width: 1000px;
	width: 90%;
	margin-left: auto;
	margin-right: auto;
}
.width-1100{
	max-width: 1100px;
	width: 90%;
	margin-left: auto;
	margin-right: auto;
}
.width-m{
	max-width: 1200px;
	width: 90%;
	margin-left: auto;
	margin-right: auto;
}
.width-1300{
	max-width: 1300px;
	width: 90%;
	margin-left: auto;
	margin-right: auto;
}
.width-1400{
	max-width: 1400px;
	width: 90%;
	margin-left: auto;
	margin-right: auto;
}
.width-l{
	max-width: 1500px;
	width: 90%;
	margin-left: auto;
	margin-right: auto;
}
.width-full{
	max-width: 2000px;
	margin-left: auto;
	margin-right: auto;
}


.flex, .flex-al{
	display: flex;
	flex-wrap: wrap;
}
.flex-sb, .flex-sb-al{
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}
.rev{
	flex-direction: row-reverse;
}

.text-r{
	text-align: right;
}
.text-c{
	text-align: center;
}

.cover{
    height: 100%;
    object-fit: cover;
}



@media screen and (max-width:768px){
	.flex,.flex-sb {
		display: block;
	}

}


/**********************************************************************/
/*****************************    *****************************/
/**********************************************************************/

.josefin{
    font-family: 'Josefin Sans', sans-serif;
    line-height: 1;
    letter-spacing: 2px;
    color: #777;
}
.serif{
    font-family: "Noto Serif JP", serif;
}
.imp {
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
}

.marker-yellow{
    background: linear-gradient(transparent 60%,#fefd9b 0);
    display: inline!important;
    padding: 0 5px;
}

.font-18{
    font-size: 18px;
}
.kome{
    text-align: right;
    font-size: 15px;
    margin-top: 10px;
}

.sec-title1{
    margin-bottom: 50px;
    text-align: center;
}
.sec-title1 h2{
    position: relative;
}
.sec-title1 h2 strong{
    position: relative;
    z-index: 2;
    font-size: 28px;
}
.sec-title1 h2 span{
    position: absolute;
    z-index: 1;
    font-size: 56px;
    color: rgba(26,26,26,.1);
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-weight: bold;
}
.sec-title1 p{
    display: inline-block;
    text-align: left;
    margin-top: 50px;
}
.sec-title2{
    border-bottom: 1px solid #ccc;
    padding-bottom: 10px;
    margin-bottom: 20px;
}
.sec-title2 h2 strong{
    font-size: 30px;
    display: block;
}
.sec-title2 h2 small{
    font-size: 14px;
    color: #777;
    font-weight: 400;
}

.btn1 a{
    border: 1px solid var(--key);
    color: var(--key);
    font-size: 14px;
    position: relative;
    padding: 10px 30px 10px 15px;
    border-radius: 5px;
    font-weight: bold;
    display: inline-block;
    transition: background-color .2s ease,box-shadow .3s ease,transform .3s ease;
}
.btn1 a::after{
    content: "→";
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    font-size: 12px;
}

.link-btn{
    text-align: right;
    max-width: 900px;
    margin: auto;
    width: 90%;
}
.link-btn a{
    color: var(--key);
    padding: 8px 16px;
    border: 1px solid;
    border-radius: 5px;
    transition: background-color .2s ease,box-shadow .3s ease,transform .3s ease;
}
.btn1 a:hover,.link-btn a:hover{
    background-color: #eff2f6;
}

.f2-bg{
    background: #f2f2f2;
}
.bg-check{
    background-image: linear-gradient(rgba(0,0,0,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(0,0,0,.08) 1px,transparent 1px),linear-gradient(rgba(0,0,0,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(0,0,0,.08) 1px,transparent 1px);
    background-size: 25px 25px,25px 25px,5px 5px,5px 5px;
    background-position: -2px -2px,-2px -2px,-1px -1px,-1px -1px;
}

.bg-line{
    background-image: repeating-linear-gradient(
        90deg,
        #eee,
        #eee 1px,
        transparent 1px,
        transparent
    );
    background-size: 3px 3px;
}

@media screen and (max-width:768px){
    .font-18{
        font-size: 15px;
    }
    .kome {
        font-size: 14px;
        line-height: 1.7;
        text-align: center;
    }
.sec-title1 {
    margin-bottom: 40px;
}
.sec-title1 h2 strong {
    font-size: 20px;
}
.sec-title1 h2 span {
    font-size: 40px;
    white-space: nowrap;
}
.sec-title1 p {
    margin-top: 40px;
}
.sec-title2 h2 strong {
    font-size: 24px;
}
.sec-title2 h2 small {
    font-size: 12px;
}
.btn1{
    text-align: center;
}
.link-btn a {
    padding: 4px 16px;
    font-size: 14px;
}
.marker-yellow{
    padding: 0 3px;
}


}

/**********************************************************************/
/*************************  カード *************************/
/**********************************************************************/
.cards{
    gap: 2%;
    margin-bottom: 50px;
}
.cards article{
    flex: 1;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.2);
}
.cards article a{
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.cards article a:hover {
    transform: translateY(-4px);
}
.card-img{
    position: relative;
}
.card-info{
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.card-info p {
    margin-bottom: 15px;
    line-height: 1.7;
    font-size: 14px;
}
.card-info h3, .card-info h4, .tag-area{
    margin-bottom: 15px;
}
.card-info time {
    position: relative;
    padding-left: 1.2em;
}
.card-info time::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1em;
    height: 1em;
    background: url("../img/clock.svg") no-repeat center / contain;
}

.hashtag-area{
    margin-bottom: 10px;
}
.hashtag{
    font-size: 11px;
    color: #999;
    margin-right: 5px;
    letter-spacing: 1px;
}
.hashtag::before{
    content: "#";
}
.tag{
    font-size: 11px;
    color: #999;
    border: 1px solid;
    padding: 2px 8px;
    border-radius: 30px;
    margin-right: 5px;
    letter-spacing: 1px;
    display: inline-block;
}
.link-info{
    border-top: 1px solid #ddd;
    color: #999;
    font-size: 13px;
    padding-top: 10px;
    margin-top: auto;
}
.link-pict{
    margin-bottom: 0!important;
    position: relative;
    padding-right: 30px;
}
.link-pict::after{
    content: "→";
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    font-size: 12px;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}
.cards article:hover .link-pict::after, .hov-pict:hover .link-pict::after{
    background: var(--key);
    color: #fff;
}

@media screen and (max-width:768px){
	.simple-slider{
		display: flex;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scroll-behavior: smooth;
		-webkit-overflow-scrolling: touch;
		flex-wrap: nowrap;
	}
	.simple-slider article {
        width: 260px;
        flex: 0 0 260px;
        scroll-snap-align: start;
        margin-right: 20px;
        margin-bottom: 20px;
	}
.cards article:not(:last-of-type){
    margin-bottom: 20px;
}
.card-info h4{
    margin-bottom: 5px;
}
.link-pict{
    font-size: 12px!important;
}
h3.link-pict{
    font-size: 14px!important;
}




}

/**********************************************************************/
/*************************  ホバーアニメーション  *************************/
/**********************************************************************/
@media screen and (min-width:768px){
	.hov-underline {
	  position: relative;
	  display: inline-block;
	  text-decoration: none;
	  color: inherit;
	}

	/* 下線の初期状態（非表示） */
	.hov-underline::after {
	  content: "";
	  position: absolute;
	  bottom: -5px;
	  left: 0;
	  height: 2px;
	  width: 100%;
	  background: var(--key);
	  transform: scaleX(0);     /* 横幅を0に */
	  transform-origin: left;   /* 左から伸びる */
	  transition: transform 0.3s ease;
	}
	/* ホバー時にアンダーラインを伸ばす */
	.hov-underline:hover::after {
	  transform: scaleX(1);     /* 横幅を元に戻す */
	}

	.hov-zoom {
	  overflow: hidden;
	}
	.hov-zoom img {
	  transition: transform 0.4s ease, opacity 0.4s ease;
	}
	.hov-zoom:hover img {
	  transform: scale(1.1);  /* 少し拡大 */
	  opacity: 0.7;            /* ちょっと薄くする */
	}

	.hov-opa{
		transition: opacity 0.3s ease;
	}
	.hov-opa:hover{
		opacity: 0.8;
	}
	.hov-btn {
		background-color: transparent;
		transition: all 0.3s ease;
	}
	.hov-btn:hover {
		background-color: rgba(0, 0, 0, 0.05);
		border-color: var(--key);
        color: var(--key);
		transform: translateY(-2px);
	}

	.hov-up {
		transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	}
	.hov-up:hover {
		transform: translateY(-4px);
	}
}


/**********************************************************************/
/*****************************  ヘッダー  *****************************/
/**********************************************************************/
.site-header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 65px;
    border-bottom: 1px solid #f1f1f4;
    background: #fff;
    z-index: 9;
}
.site-header>div{
    align-items: center;
    height: 100%;
}
.site-logo{
    flex-basis: 268px;
}
.header-nav{
    flex: 1;
    font-size: 14px;
}
.header-nav .flex{
    justify-content: end;
    gap: 1.5%;
}
.has-child{
    position: relative;
}
.has-child button{
    display: block;
    padding-right: 20px;
    position: relative;
    letter-spacing: 1px;
}
.has-child button::after{
    content: "";
    position: absolute;
    top: 50%;
    right: 5px;
    background-image: url("../img/yajirusi-down.svg");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    width: 10px;
    height: 10px;
    transform: translateY(-50%);
}
.has-child ul{
    position: absolute;
    background-color: #fff;
    border-radius: .3125rem;
    box-shadow: 0 .1875rem .9375rem rgba(0,0,0,.16);
    margin-top: .75rem;
    opacity: 0;
    padding: 1rem;
    transform: scale(.95) translate(-50%, -.5rem);
    transform-origin: center;
    transition: opacity .15s ease,transform .15s ease;
    white-space: nowrap;
    pointer-events: none;
    z-index: 10;
    left: 50%;
}
.has-child.open ul{
    opacity: 1;
    transform: scale(1) translate(-50%, 0px);
    pointer-events: auto;
}
.has-child ul li:not(:last-of-type){
    margin-bottom: 10px;
}
.nav-btn a{
    padding: 7px 14px;
    background: var(--key);
    color: #fff;
    border-radius: 5px;
}

@media screen and (max-width:1050px){
.site-header {
    height: 48px;
}
.header-nav{
    display: none;
}



}
@media screen and (max-width:768px){
.site-logo {
    flex-basis: 140px;
}




}

/**********************************************************************/
/*************************  ハンバーガーメニュー  *************************/
/**********************************************************************/

.hamburger-area {
    position: fixed;
    top: 19px;
    right: 28px;
    z-index: 100;
    transition: top 0.3s ease;
}
.hamburger {
  position: relative;
  width: 30px;
  height: 24px;
  border: none;
  background: none;
  cursor: pointer;
}
/* 各線（span） */
.hamburger span {
  position: absolute;
  display: block;
  width: 100%;
  height: 3px;
  background-color: #333;
  border-radius: 2px;
  transition: all 0.4s ease;
}
/* 上の線 */
.hamburger span:nth-child(1) {
  top: 0;
}
/* 真ん中の線 */
.hamburger span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}
/* 下の線 */
.hamburger span:nth-child(3) {
  bottom: 0;
}
/* ✕ に変わるときの状態 */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 50%;
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg);
  bottom: auto;
  top: 50%;
}
/* ドロワーメニュー初期状態 */
.drawer-menu {
  position: fixed;
  top: 0;
  right: -100%; /* 画面の外に配置 */
  width: 100%;
  height: 100vh;
  background-color: #fff;
  transition: right 0.4s ease;
  z-index: 90;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  overflow-y: auto;
}
/* 開いた状態 */
.drawer-menu.open {
  right: 0;
}
.drawer-in{
    min-height: 100vh;
}
.drawer-img{
	flex-basis: 40%;
    position: relative;
}
.drawer-img::after{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.3);
}
.drawer-img img{
    height: 100%;
    object-fit: cover;
}
.drawer-text{
    flex-basis: 60%;
    padding: 80px;
}
.drawer-main{
    flex-wrap: nowrap;
    gap: 6%;
}
.drawer-text nav{
    flex-basis: 280px;
}
.drawer-text .footer-support-area {
    margin-bottom: 60px;
}
.drawer-contact-area .footer-sns-in a {
    padding: 0 30px;
}
.drawer-contact-area .footer-sns-area {
    margin-top: 40px;
    margin-bottom: 0;
}
@media screen and (max-width:1300px){
    .drawer-img{
        display: none;
    }
    .drawer-text{
        flex-basis: 100%;
    }
}
.drawer-logo{
    margin-bottom: 50px;
}
.drawer-logo a{
    display: flex;
    align-items: center;
    font-size: 30px;
    letter-spacing: 2px;
    font-weight: 300;
}
.drawer-logo img {
    display: inline-block;
    margin-right: 5px;
    width: 220px;
}
.drawer-main li{
    font-size: 18px;
    font-weight: 500;
}
.drawer-main li a {
    margin-bottom: 30px!important;
}
.drawer-contact-area{
    flex-basis: calc(100% - 280px);
}
.drawer-tel{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    border: 1px solid;
    padding: 10px;
    width: 350px;
    margin: auto auto 30px;
    border-radius: 20px;
}
.drawer-tel-icon {
    flex-basis: 60px;
}
.drawer-tel-r p {
    font-size: 14px;
}
.drawer-tel-r a {
    font-size: 30px;
    padding: 5px 0;
    font-weight: bold;
    font-family: "Noto Serif JP", serif;
}
.drawer-btn {
    background: var(--key);
    text-align: center;
    color: #fff;
    width: 90%;
    margin: 0 auto 20px;
}
.drawer-btn a {
    display: block;
    padding: 15px 0;
}
.drawer-insta {
    width: 80%;
    margin: 40px auto 30px;
}
.drawer-l {
    flex-basis: 62%;
}
.drawer-nav-top nav, .drawer-nav-foot nav {
    flex-basis: 50%;
}
.drawer-flex nav {
    margin-bottom: 30px;
}
.drawer-flex h2 {
    font-family: "Noto Serif JP", serif;
    font-size: 20px;
    letter-spacing: 1px;
    margin-bottom: 15px;
    position: relative;
    font-weight: bold;
}
.drawer-flex h2::before {
    content: "";
    position: absolute;
    width: 18px;
    height: 18px;
    background-image: url("../img/drawer-arrow.svg");
    background-size: contain;
    background-repeat: no-repeat;
    top: 13px;
    left: -27px;
}
.drawer-flex nav li {
    margin-bottom: 26px;
}
.drawer-nav-foot nav div{
	margin-bottom: 40px;
}
.drawer-contact{
    width: 350px;
    margin: auto;
}
.drawer-contact a{
    display: flex;
    align-items: center;
    padding: 15px;
    justify-content: center;
    gap: 10px;
    font-size: 18px;
    margin-bottom: 15px;
    border-radius: 10px;
    border: 1px solid;
    font-weight: 600;
}


@media screen and (max-width:768px){
	.hamburger-area {
		top: 14px;
		right: 16px;
	}
	.drawer-text {
		padding: 40px 30px;
	}
	.drawer-logo {
		margin: 0 auto 30px;
	}
	.drawer-r {
		margin-bottom: 40px;
	}
    .drawer-tel-r a {
        font-size: 26px;
    }
    .drawer-logo img {
        margin-right: 0;
        width: 180px;
    }
    .drawer-tel {
        width: 100%;
        margin-bottom: 20px;
    }
	.drawer-tel-icon {
		flex-basis: 50px;
	}
    .drawer-contact {
        width: 100%;
    }
    .drawer-contact a {
        margin-bottom: 10px;
        font-size: 15px;
        padding: 12px;
    }
	.drawer-l {
		padding-left: 30px;
	}
    .drawer-nav{
        margin-bottom: 30px;
    }
	.drawer-flex nav li {
		position: relative;
		border-bottom: 1px solid #aaa;
		margin-bottom: 18px;
	}
	.drawer-flex nav li a {
		font-size: 14px;
		padding-bottom: 10px;
		display: block;
	}
	.drawer-flex nav li::after {
		content: "";
		position: absolute;
		width: 20px;
		height: 20px;
		top: 50%;
		transform: translateY(-50%);
		right: 0;
		background-image: url("../img/icon-btn-right-w.png");
		background-size: contain;
		background-repeat: no-repeat;
	}
    .drawer-main li {
        font-size: 15px;
        font-weight: 400;
    }
    .drawer-main li:not(:last-of-type) {
        margin-bottom: 10px;
        border-bottom: 1px solid #ccc;
        padding-bottom: 10px;
    }
}


/**********************************************************************/
/***************************  フロントページ  ***************************/
/**********************************************************************/
.home{
    margin-top: 65px;
}
.f-top-slider .swiper-slide {
    opacity: 0.4;
    transition: opacity .3s ease;
}
.f-top-slider .swiper-slide-active {
    opacity: 1;
}
/* 余計な隙間防止 */
.f-top-slider a,
.f-top-slider picture,
.f-top-slider img {
    display: block;
}
@media (max-width: 1199px) {
    .f-top-slider .swiper-slide {
        width: 60%;
    }
    .f-top-slider img {
        width: 100%;
        height: auto;
    }
}
@media (min-width: 1200px) {
    /* スライド幅は「画像そのもの」に任せる */
    .f-top-slider .swiper-slide {
        width: auto;
    }
    /* 高さだけ固定 */
    .f-top-slider picture {
        height: 560px;          /* ← 好きな高さ */
    }
    /* 画像は「切らずに全体表示」 */
    .f-top-slider img {
        height: 100%;
    }
}





.f-top .swiper-pagination {
    position: static;
    margin-top: 16px;
    text-align: center;
}
.f-top .swiper-pagination-bullet {
    width: 12px;   /* デフォルト 8px */
    height: 12px;  /* デフォルト 8px */
}
.f-concept{
    background: #f8f8f8;
}
.f-concept-img{
    flex-basis: 48%;
}
.f-concept-img img{
    height: 100%;
    object-fit: cover;
}
.f-concept-info{
    flex-basis: 48%;
    display: flex;
    flex-direction: column;
    padding: 10px 0;
}
.f-concept-info p{
    margin-bottom: 20px;
}
.f-concept-info .btn1{
    margin-top: auto;
}
.f-event-status{
    position: absolute;
    top: 0;
    left: 0;
    padding: 3px 10px;
    font-size: 12px;
    letter-spacing: 1px;
}
.f-event-status.open{
    background: #ebebeb;
}
.f-event-status.open::before{
    content: "";
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-right: 4px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234A90E2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 10 17 4 12'/%3E%3C/svg%3E");
    vertical-align: middle;
}

.f-event-status.closed{
    background: #333;
    color: #fff;
}
.event-info-in{
    margin-bottom: 5px;
}
.event-info-dl{
    margin-bottom: 5px;
}
.event-info-dl dt {
    flex-basis: 14px;
    display: inline-block;
    line-height: 1;
    color: #aaa;
    transform: translateY(3px);
}
.event-info-dl dd {
    display: inline-block;
    flex-basis: calc(100% - 22px);
    font-size: 12px;
    letter-spacing: 1px;
    color: #777;
}
.f-lineup-info h3{
    font-size: 18px;
}
.f-lineup-info h3 small{
    display: flex;
    font-size: 14px;
    color: #999;
}
.f-lineup-item .card-img img{
    aspect-ratio: 16/9;
    object-fit: cover;
}
.f-works-in>div>h3{
    text-align: center;
    font-size: 20px;
    margin-bottom: 50px;
}
.f-works-in .card-img img{
    aspect-ratio: 16/9;
    object-fit: cover;
}
.f-works-new{
    margin-bottom: 80px;
}
.f-news-item{
    margin-bottom: 15px;
}
.f-news-item a{
    border: 1px solid #f2f2f2;
    padding: 15px 20px;
    align-items: center;
    border-radius: 8px;
    box-shadow: 3px 3px 5px rgba(0,0,0,0.2);
    position: relative;
}
.f-news-info time{
    margin-bottom: 0;
}
.f-news-info .tag{
    width: 90px;
    display: inline-block;
    text-align: center;
    padding: 5px;
    margin-right: 20px;
}
.f-news-items{
    margin-bottom: 60px;
}
.f-news-item:not(:last-of-type){
    margin-bottom: 15px;
}
.f-news-item h3{
    flex-basis: calc(100% - 214px);
}
.f-news-item .link-pict::after {
    right: 0px;
}
.f-blog{
    background:  var(--bg);
}



@media (max-width: 768px) {
    .f-top-slider .swiper-slide {
        width: 80%;
    }
.f-lineup-items{
    margin-bottom: 0;
}
.f-lineup-info h3 small {
    font-size: 12px;
}
.f-works-in>div>h3 {
    font-size: 16px;
    margin-bottom: 20px;
}
.f-news-items {
    margin-bottom: 40px;
}
.f-news-info{
    margin-bottom: 8px;
}
.f-news-info .tag {
    width: 80px;
    padding: 2px;
}
.f-news-item a {
    padding: 15px;
}





}


/**********************************************************************/
/***************************  contact-link  ***************************/
/**********************************************************************/
.contact-area-in>p{
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 40px;
}
.contact-items{
    gap: 3.5%;
}
.contact-items div{
    flex-basis: 31%;
}

@media screen and (max-width:768px){
    .contact-area-in>p {
        font-size: 16px;
        margin-bottom: 30px;
    }
.contact-items{
    gap: 10px;
}
.contact-items div{
    flex-basis: calc(50% - 5px);
}
}

/**********************************************************************/
/*****************************  ページ共通  *****************************/
/**********************************************************************/
.breadcrumb{
    margin-top: 65px;
    border-bottom: 1px solid var(--sen);
    padding: 10px 0;
    font-size: 12px;
    font-weight: 500;
}
.breadcrumb ul{
    align-items: center;
    gap: 20px;
}
.breadcrumb ul a{
    color: var(--key);
}
.page-title{
    padding: 64px;
    text-align: center;
    border-bottom: 1px solid var(--sen);
}
.page-title h1 strong{
    font-size: 36px;
    display: block;
}
.page-title h1 small{
    font-size: 18px;
    color: #949497;
    font-weight: 400;
}
.thanks-kome{
    font-size: 14px;
}

@media screen and (max-width:768px){
.breadcrumb {
    margin-top: 50px;
}
.breadcrumb ul {
    gap: 5px;
}
.breadcrumb li{
    font-size: 12px;
}
.breadcrumb li:not(:last-of-type){
    margin-right: 10px
    
}
.page-title {
    padding: 44px 10px;
}
.page-title h1 strong {
    font-size: 24px;
}
.page-title h1 small {
    font-size: 14px;
}




}


/**********************************************************************/
/*****************************  会社概要  *****************************/
/**********************************************************************/
.com1-1{
    margin-bottom: 60px;
}
.com1 h2{
    margin-bottom: 30px;
    font-weight: bold;
    font-size: 20px;
    text-align: center;
}
.com2{
    background: #f8f8f8;
}
.map{
    width: 100%;
    height: 450px;
    margin-bottom: 20px;
}

@media screen and (max-width:768px){
.com1-1 {
    margin-bottom: 30px;
}
.com1 h2 {
    margin-bottom: 20px;
    font-size: 16px;
}
.company-page th {
    padding: 10px;
    font-size: 13px;
    white-space: nowrap;
}
.company-page td {
    padding: 10px;
    font-size: 13px;
}
.map {
    height: 300px;
}


}

/**********************************************************************/
/*****************************  メッセージ  *****************************/
/**********************************************************************/
.mes1-item{
    align-items: center;
}
.mes1-img{
    flex-basis: 40%;
}
.mes1-img p{
    margin-top: 10px;
    max-width: 280px;
    margin-left: auto;
}
.mes1-info{
    flex-basis: 55%;
}
.mes1-info h2{
    font-size: 24px;
    border-bottom: 1px solid var(--sen);
    padding-bottom: 15px;
    margin-bottom: 15px;
    font-weight: bold;
}


/**********************************************************************/
/*****************************  コンセプト  *****************************/
/**********************************************************************/
.con1-item:not(:last-of-type){
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--sen);
}
.con1-img{
    flex-basis: 48%;
    height: 100%;
    object-fit: cover;
}
.con1-info{
    flex-basis: 48%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.con1-info h2{
    font-size: 28px;
    color: var(--key);
    border-bottom: 1px solid var(--sen);
    padding-bottom: 15px;
    margin-bottom: 25px;
}

@media screen and (max-width:768px){
.con1-img {
    margin-bottom: 15px;
}
.con1-info h2 {
    font-size: 20px;
    padding-bottom: 15px;
    margin-bottom: 20px;
}
.con1-item:not(:last-of-type) {
    margin-bottom: 2rem;
    padding-bottom: 0;
    border: none;
}



}


/**********************************************************************/
/*****************************  ラインナップ  *****************************/
/**********************************************************************/
.line3{
    background: #fafafa;
}
.line-item:not(:last-of-type){
    border-bottom: 1px solid #ebebeb;
    padding-bottom: 50px;
    margin-bottom: 50px;
}
.line-img{
    flex-basis: 52%;
}
.line-img img{
    height: 100%;
    object-fit: cover;
}
.line-info{
    flex-basis: 44%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.line-info h3{
    font-size: 32px;
    border-bottom: 1px solid var(--sen);
    padding-bottom: 15px;
    margin-bottom: 25px;
}
.line-info h3 small{
    font-size: 14px;
    color: #777;
    font-weight: 400;
    display: block;
}

@media screen and (max-width:768px){
    section.line2{
        padding-bottom: 0;
    }
    .line-item:not(:last-of-type) {
        border-bottom: none;
        padding-bottom: 0px;
        margin-bottom: 40px;
    }
    .line-info h3 {
        font-size: 24px;
        margin-bottom: 20px;
        margin-top: 10px;
    }
    .line-info h3 small {
        font-size: 12px;
        letter-spacing: 1px;
    }






}

/**********************************************************************/
/*****************************  会社情報  *****************************/
/**********************************************************************/
.corp-item img{
    aspect-ratio: 3/2;
    object-fit: cover;
}

/**********************************************************************/
/*****************************  カタログ  *****************************/
/**********************************************************************/
.catalog-top-img{
    margin-bottom: 80px;
}

@media screen and (max-width:768px){
    .catalog-img {
        margin-bottom: 0;
        padding: 0;
    }
}

/**********************************************************************/
/*****************************  家づくりの流れ  *****************************/
/**********************************************************************/
.flow-page h2{
    font-size: 32px;
    font-weight: bold;
    text-align: center;
    border-bottom: 2px solid var(--sen);
    padding-bottom: 15px;
    margin-bottom: 70px;
    position: relative;
}
.flow-page h2::after{
    content: "";
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    height: 2px;
    width: 80px;
    background: #5777a1;
}
.flow1 p{
    font-size: 18px;
    text-align: center;
}
.flow1 p strong{
    display: block;
    margin-top: 30px;
}
.flow2{
    background: #f8f8f8;
}
.flow-item{
    align-items: center;
}
.flow-item:not(:last-of-type){
    margin-bottom: 60px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 60px;
}
.flow-img{
    flex-basis: 300px;
}
.flow-info{
    flex-basis: calc(100% - 330px);
}
.flow-info h3{
    font-size: 28px;
    border-bottom: 1px solid #ddd;
    margin-bottom: 15px;
    padding-bottom: 10px;
}
.flow-info p{
    margin-bottom: 20px;
}
.link-btn2 a{
    display: inline-block;
    position: relative;
    background: #5777a1;
    padding: 10px 20px 10px 40px;
    color: #fff;
    border-radius: 5px;
    font-size: 14px;
}
.link-btn2 a::before{
    content: "";
    background-image: url("../img/allow-r-w.svg");
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 15px;
    height: 15px;
}

@media screen and (max-width:768px){
.flow-page h2 {
    font-size: 22px;
    margin-bottom: 30px;
}
.flow1 p {
    font-size: 15px;
    letter-spacing: 1px;
}
.flow1 p strong {
    font-size: 16px;
}
.flow-item:not(:last-of-type) {
    margin-bottom: 30px;
    padding-bottom: 30px;
}
.flow-info h3 {
    font-size: 22px;
    margin-top: 15px;
}
.link-btn2{
    text-align: center;
}


}


/**********************************************************************/
/*****************************  お金のこと  *****************************/
/**********************************************************************/
.money1 h2{
    margin-bottom: 30px;
}
.money1>p{
    margin-bottom: 50px;
}
.money-item:not(:last-of-type){
    border-bottom: 2px solid var(--sen);
    padding-bottom: 40px;
    margin-bottom: 40px;
}
.money-item-img{
    flex-basis: 48%;
}
.money-item-info{
    flex-basis: 48%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.money-item-info h3{
    font-size: 26px;
    border-bottom: 1px solid var(--sen);
    padding-bottom: 15px;
    margin-bottom: 15px;
}
.money2 h2{
    border-left: 5px solid var(--key);
    padding: 5px;
    text-align: center;
    font-size: 32px;
    margin-bottom: 50px;
}
@media screen and (max-width:768px){
.money1 h2 {
    margin-bottom: 20px;
    font-size: 15px;
}
.money-item-info h3 {
    font-size: 18px;
    margin-top: 15px;
}
.money-item:not(:last-of-type) {
    padding-bottom: 20px;
    margin-bottom: 20px;
}
.money2 h2 {
    font-size: 20px;
    margin-bottom: 30px;
}


}


/**********************************************************************/
/*****************************  子育て  *****************************/
/**********************************************************************/
.kosodate-page{
    padding-top: 80px;
}
.kosodate-page section{
    padding-top: 0;
}
.kosodate-page h2{
    font-size: 26px;
    border-left: 8px solid var(--key);
    padding: 0 0 2px 12px;
    margin-bottom: 30px;
}
.kosodate-page h3{
    font-size: 22px;
    margin-bottom: 15px;
    border-bottom: 1px solid #ddd;
    padding: 0 10px 10px;
}
.kos2>div:not(:last-of-type){
    margin-bottom: 50px;
}
.kos2 h4{
    margin: 20px 0 10px;
    font-size: 18px;
}
.kos-img{
    margin-bottom: 20px;
}
.kos4 p{
    margin-bottom: 50px;
}
.kos4-link{
    background: #f8f8f8;
    padding: 20px;
    text-align: right;
    margin-top: 20px;
    border-left: 8px solid #949497;
}
.kos4-link a{
    color: blue;
    text-decoration: underline;
    font-style: italic;
}

@media screen and (max-width:768px){
.kosodate-page h2 {
    font-size: 20px;
    margin-bottom: 20px;
    border-left: 6px solid var(--key);
}
.kosodate-page h3 {
    font-size: 16px;
    margin-bottom: 10px;
    padding: 0 5px 5px;
}
.kos2 h4 {
    font-size: 16px;
}
.kos2>div:not(:last-of-type) {
    margin-bottom: 40px;
}
.kos4-link {
    padding: 15px;
}
.kos4-link a {
    line-height: 1.7;
    font-size: 14px;
}


}


/**********************************************************************/
/*****************************  信州  *****************************/
/**********************************************************************/
.shinshu1 p{
    color: #414143;
    text-align: center;
    margin-bottom: 80px;
}
@media screen and (max-width:768px){
    .shinshu1 p {
        margin-bottom: 40px;
        text-align: left;
    }
}
/**********************************************************************/
/*****************************  保証・サポート  *****************************/
/**********************************************************************/
.warranty1 h2{
    font-size: 40px;
    display: flex;
    align-items: center;
    gap: 2%;
    margin-bottom: 50px;
}
.warranty1 h2::before, .warranty1 h2::after{
    content: "";
    border-top: 1px solid #aaa;
    flex-grow: 1;
}
.warranty1 p:not(:last-of-type), .warranty1>div{
    margin-bottom: 30px;
}

@media screen and (max-width:768px){
.warranty1 h2 {
    font-size: 24px;
    margin-bottom: 30px;
}
}
/**********************************************************************/
/*****************************  コンタクト  *****************************/
/**********************************************************************/
.form-title{
    margin-bottom: 40px;
}
.form-title p{
    text-align: center;
}
.form-area {
    background: var(--bg);
}
.form-area form{
    padding: 50px;
    background: #fff;
    box-shadow: 3px 3px 5px rgba(0,0,0,0.2);
}
.wpcf7{
    letter-spacing: 1px;
}
.form-title{
    text-align: center;
}
.form-title h2{
    font-size: 24px;
    margin-bottom: 60px;
    display: inline-block;
    position: relative;
}
.form-title h2::after{
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background: #333;
}
.form-group {
    margin-bottom: 30px;
}
.form-group.text-c {
    margin-bottom: 0px;
}
.form-label {
    font-size: 16px!important;
    margin-bottom: 15px!important;
    display: flex;
    align-items: center;
}
.required {
    color: #fff;
    background: var(--key);
	border: 1px solid var(--key);
    margin-left: 10px;
    font-size: 12px;
    padding: 3px 10px;
    letter-spacing: 2px;
}
.optional {
    color: var(--key);
	border: 1px solid var(--key);
    margin-left: 10px;
    font-size: 12px;
    padding: 3px 10px;
    letter-spacing: 2px;
}
.input-group.has-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    width: 100%;
    line-height: 1;
}
.input-label {
    width: 100px;
	font-size: 13px;
	color: #949497;
}
.input-group p span{
    width: 100%;
}
.has-label span, .input-3items{
    width: calc(100% - 100px)!important;
}
.input-3items{
    align-items: center;
    gap: 1.5%;
}
.input-3items>span{
    flex: 1;
}
.input-3items>span:not(:first-of-type){
    text-align: center;
}
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-size: 14px;
    margin-bottom: 10px;
}
input[type="checkbox"] {
    -webkit-appearance: checkbox;
    appearance: checkbox;
    flex: 0 0 18px;
    cursor: pointer;
}
.checkbox-group .wpcf7-list-item-label {
    flex: 1 1 auto; /* 残りを自動で折り返して使う */
    word-break: break-word;
}
.form-message-text{
    color: #949497;
    font-size: 13px;
    margin-bottom: 15px;
}
input, select, textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    letter-spacing: 2px;
}
textarea {
    resize: vertical;
}
.hogo{
    margin-bottom: 30px!important;
}
.hogo a,.contact-bottom-p a{
    letter-spacing: 1px;
    color: blue;
    text-decoration: underline;
}
.submit-button {
    width: 250px;
    text-align: center;
    background: var(--key);
    margin: 0 auto;
    display: inline-block;
    color: #fff;
    padding: 15px;
    letter-spacing: 2px;
    border-radius: 5px;
}
.wpcf7-spinner{
    display: none!important;
}
.wpcf7-not-valid-tip {
    font-size: 14px;
    margin: 10px 0;
    color: red;
    display: inline-block;
}
.contact-bottom-p{
    margin-top: 20px;
    line-height: 1.5;
}
.form-harf{
    flex-basis: 48%;
}
.form .screen-reader-response{
    display: none;
}


/* Privacy Policy Modal */
.pp-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    visibility: hidden;
    pointer-events: none;
}
.pp-modal.is-open { display: block; }
.pp-modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0); transition: background 0.5s ease }
.pp-modal.is-open .pp-modal__backdrop{
    background: rgba(0,0,0,0.5);
}
.pp-modal__dialog {
    position: relative; max-width: 720px; margin: 5vh auto; background: #fff;
    padding: 40px; border-radius: 12px; max-height: 85vh; overflow-y: auto;
    transform: translateY(-20px);
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
    will-change: opacity, transform;
}
.pp-modal.is-open {
    visibility: visible;
    pointer-events: auto;
}
.pp-modal.is-open .pp-modal__dialog {
    transform: translateY(0);
    opacity: 1;
}
#pp-title{
    text-align: center;
    margin-bottom: 30px;
    font-size: 26px;
    border-bottom: 1px solid #aaa;
    padding-bottom: 10px;
    color: var(--key);
}
.policy-modal h4{
    margin: 15px 0;
    border-left: 3px solid var(--key);
    padding: 5px 0 5px 15px;
    font-size: 18px;
}
.policy-modal p{
    font-size: 15px;
}
.policy-modal .com-name{
    margin: 20px auto;
    border: 1px solid #aaa;
    padding: 10px 15px;
}
.policy-modal .privacy-date{
    text-align: right;
    font-size: 14px;
}
.pp-modal__close { position: absolute; top: 1rem; right: 1rem; font-size: 1.5rem; background: none; border: 0; cursor: pointer; }


@media screen and (max-width:768px){
    .form-area form {
        padding: 30px 20px;
        margin-top: 20px;
    }
	.contact-form {
		padding: 30px 0;
	}
    .contact-form form {
        padding: 30px 25px;
    }
	.input-label {
		width: 80px;
	}
	input, select, textarea {
		font-size: 14px;
	}
    .form-title h2 {
        font-size: 18px;
        margin-bottom: 50px;
    }
	.form-label {
		font-size: 14px!important;
	}
	.required{
		white-space: nowrap;
		width: 60px;
		text-align: center;
	}
	.optional {
		width: 70px;
		text-align: center;
	}
    .contact-bottom-p {
        font-size: 13px;
    }
    .kiboubi .input-group.has-label {
        display: block;
    }
    .kiboubi .input-label {
        margin-bottom: 7px;
        display: inline-block;
        white-space: nowrap;
    }
    .has-label span, .input-3items {
        width: 100%!important;
    }
    .input-3items>span:first-of-type{
        flex-basis: 100%;
        margin-bottom: 5px;
    }



    .pp-modal__dialog { margin: 4vh auto; border-radius: 12px; padding: 1rem; }

}
/**********************************************************************/
/*****************************  ポリシー  *****************************/
/**********************************************************************/
.policy1 h2{
    font-size: 26px;
    margin-bottom: 20px;
    border-left: 8px solid var(--key);
    padding-left: 12px;
    font-weight: bold;
}
.policy1 h3{
    font-size: 22px;
    margin-bottom: 20px;
}
.policy1 p{
    margin-bottom: 30px;
    padding: 0 15px;
}

/**********************************************************************/
/*************************  アコーディオンメニュー *************************/
/**********************************************************************/

.accordion{
	border: 2px solid #ddd;
	margin-bottom: 50px;
}
.accordion-header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #f1f1f4;
}
.accordion-pict{
	width: 20px;
}
.accordion-header p{
	flex-basis: calc(100% - 80px);
}
.toggle-pict{
	width: 30px;
}
.toggle-pict img{
	transition: opacity 0.2s;
}
.accordion-content{
    padding: 0 20px;
	max-height: 0;
	overflow: hidden;
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s ease-out;
}
.accordion-content.open{
	opacity: 1;
	visibility: visible;
	padding: 20px;
}
.accordion-content:not(:last-of-type).open{
	border-bottom: 2px solid #ddd;
}
.accordion-content .tag{
	margin-bottom: 0;
	cursor: pointer;
}
.search .accordion-content.open{
	max-height: 300px;
}
.search .accordion-content .a-tag-block{
    align-items: center;
	flex-wrap: wrap;
}
.search .accordion-content p{
	margin: 0 20px 0 5px;
}
.a-tag-title{
    flex-basis: 120px;
    display: flex;
    align-items: center;
}
.a-tag-area{
    flex-basis: calc(100% - 120px);
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.a-tag-area .tag{
    margin: 0;
}
.a-tag-block + .a-tag-block {
    margin-top: 15px;
}
.filter-clear{
    border-top: 1px solid #f1f1f4;
    margin-top: 20px;
    padding-top: 20px;
}
.filter-clear a{
    font-size: 12px;
    padding: 7px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
}
.tax-title{
    border-bottom: 1px solid #f1f1f4;
    padding-bottom: 5px;
    margin-bottom: 50px;
    margin-top: -10px;
    font-size: 24px;
}
.tax-title span{
    color: var(--key);
}


@media screen and (max-width:768px){
	.accordion {
		margin-bottom: 30px;
	}
    .accordion-pict {
        width: 15px;
    }
    .a-tag-title {
        margin-bottom: 5px;
    }
	.accordion p{
		line-height: 1.6;
	}
	.accordion-header {
		padding: 5px 10px;
	}
	.toggle-pict {
		width: 20px;
	}
	.accordion-content{
		padding: 0 10px;
	}
	.accordion-content.open {
		padding: 10px;
	}
	.search .accordion-content.open {
		max-height: 200px;
        gap: 3px;
	}
    .filter-clear{
        margin-top: 5px;
        font-size: 12px;
        padding: 5px 10px;
    }
.tax-title {
    margin-bottom: 20px;
    font-size: 18px;
}
    
}

/**********************************************************************/
/*****************************  アーカイブ  *****************************/
/**********************************************************************/
.archive-items.cards {
    margin-bottom: 0px;
}
.archive-items article{
    flex: 0 0 23.5%;
    margin-bottom: 30px;
}
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
}
.page-num {
    display: inline-block;
    padding: 8px 12px;
    text-decoration: none;
    color: #333;
    border: 1px solid #ccc;
    border-radius: 4px;
    transition: background 0.3s;
}
.page-num:hover {
    background: #f0f0f0;
}
.page-num.current {
    background: var(--key);
    color: #fff;
    border-color: var(--key);
}

@media screen and (max-width:768px){
    .archive-items article:last-of-type{
        margin-bottom: 0;
    }
    .pagination {
        margin-bottom: 30px;
    }
}


/** 施工事例 **/
.works-page .card-img img, .blog-page .card-img img, .f-blog .card-img img{
    aspect-ratio: 16/9;
    object-fit: cover;
}

/** スタッフ **/
.staff-items{
    gap: 2%;
}
.staff-item{
    flex-basis: 23.5%;
    margin-bottom: 30px;
}
.staff-info{
    border-bottom: 1px solid var(--sen);
    padding: 10px 20px;
}
.staff-info h3{
    font-size: 20px;
    position: relative;
}
.staff-info h3::after{
    content: "→";
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    font-size: 12px;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}
.staff-item a:hover .staff-info h3::after{
    background: var(--key);
    color: #fff;
}
.katagaki{
    font-size: 12px;
    color: #777;
    margin-bottom: 5px;
}
.shikaku{
    font-size: 12px;
}


/**********************************************************************/
/*****************************  シングル  *****************************/
/**********************************************************************/
.single-page{
    padding: 50px 0;
    background: #f2f2f2;
}
.single-bg{
    background: #fff;
    padding: 50px;
}
.single-main{
    max-width: 800px;
    margin: auto;
}
.single-title{
    margin-bottom: 30px;
}
.single-title h1{
    font-size: 27px;
    margin-bottom: 15px;
    font-weight: bold;
}
.s-top-img{
    margin-bottom: 30px;
}

.single-in h2{
    font-size: 26px;
    font-weight: bold;
    letter-spacing: 1px;
    line-height: 1.3;
    margin: 40px 0 24px;
    padding: 2px 0 4px 12px;
    position: relative;
    border-left: 7px solid var(--key);
}
.single-in h3{
    font-weight: 500;
    margin-bottom: 20px;
}
.single-in p{
    margin: 15px auto 20px;
}
.single-in ul{
    background-color: #f8f8f8;
    padding: 1rem;
    margin: 15px auto 20px;
}
.single-in ul li{
    padding-left: 1rem;
    position: relative;
    margin-bottom: 5px;
}
.single-in ul li::before{
    background-color: var(--key);
    content: "";
    display: block;
    height: .5em;
    left: 0;
    position: absolute;
    top: .65em;
    width: .5em;
}
.single-in .wp-block-image{
    margin: 20px auto;
}
.single-in a{
    color: #007fff;
    -webkit-text-decoration: underline;
    text-decoration: underline;
    text-underline-offset: .2em;
}
.single-in .wp-block-button a{
    color: #fff;
    -webkit-text-decoration: none;
    text-decoration: none;
}
.sns-link{
    border-top: 1px solid #ccc;
    margin: 50px 0 40px;
    padding-top: 30px;
}
.sns-link p{
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
}
.sns-btn{
    gap: 12px;
}
.sns-btn a{
    flex-basis: 25px;
}
.sns-btn a img{
    color: #aaa;
    opacity: 0.5;
}
.back-btn a{
    background: var(--key);
    color: #fff;
    font-size: 14px;
    padding: 8px 20px;
    text-decoration: none;
    border-radius: 5px;
    display: inline-block;
}

/** イベント **/
.s-event-status{
    margin-top: 15px;
}
.s-event-status span{
    display: inline-block;
    border: 1px solid #aaa;
    border-radius: 20px;
    padding: 2px 8px;
    color: #777;
    font-size: 12px;
}
.s-event-status .open::before{
    content: "";
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-right: 4px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234A90E2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 10 17 4 12'/%3E%3C/svg%3E");
    vertical-align: middle;
}
.s-event-page h3{
    font-size: 22px;
}
.s-eve-table{
    margin: 50px 0;
}
.event-form{
    background: #fff;
    padding: 50px;
    margin-top: 80px;
}
.s-event-page .single-in p img, .s-event-page .single-in .wp-block-image img{
    max-width: 400px;
    max-height: 400px;
    object-fit: contain;
    margin: auto;
}
.s-event-page .single-in .wp-block-image{
    text-align: center;
}


/** ブログ **/
.s-blog-top-p{
    margin-bottom: 20px;
}

.s-blog-page .single-in h3{
    font-weight: 500;
    margin-bottom: 20px;
    padding: 15px;
    text-align: center;
    position: relative;
}
.s-blog-page .single-in h3::before, .s-blog-page .single-in h3::after{
    content: "";
    border: 1px solid #949497;
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}
.s-blog-page .single-in h3::before, .s-blog-page .single-in h3::after{
    left: 0;
    top: 0;
}
.s-blog-page .single-in h3::after{
    top: 4px;
    left: 4px;
}
.s-blog-page .single-in p img, .s-blog-page .single-in .wp-block-image img{
    max-width: 400px;
    max-height: 400px;
    object-fit: contain;
    margin: auto;
}
.s-blog-page .single-in .wp-block-image{
    text-align: center;
}
.s-blog-mokuji{
    background-color: #f8f8f8;
    border: 1px solid #f1f1f4;
    border-radius: 8px;
    margin: 24px auto 19px;
    padding: 24px;
}
.s-blog-mokuji h2{
    border-bottom: 1px solid #f1f1f4;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 12px;
    padding-bottom: 12px;
}
.toc-h2{
    font-size: 14px;
    margin: 8px;
}
.toc-h3{
    font-size: 13px;
    margin: 4px 0;
    color: #777;
    padding-left: 30px;
}
.toc-h3::before{
    content: "・";
}
/* 目次で飛ぶ先（h2/h3）に、ヘッダー分の余白を確保 */
.single-page h2[id],
.single-page h3[id] {
    scroll-margin-top: 75px; /* 65px + 少し余裕 */
}

/** 施工事例 **/
.s-work-imgs{
    margin-bottom: 50px;
}
.p-gallery-swiper {
    max-width: 980px;
    margin: 0 auto;
}
.p-gallery-main {
    width: 100%;
}
.p-gallery-main-img {
    width: 100%;
    height: auto;
    display: block;
}
.p-gallery-thumbs {
    margin-top: 12px;
    display: flex;
    justify-content: center; /* サムネを中央寄せ */
}
.p-gallery-thumbs .swiper-wrapper {
    justify-content: center; /* スライドが少ない時も中央寄せ */
}
.p-gallery-thumbs .swiper-slide {
    width: 90px;            /* サムネ幅（好みで） */
    opacity: 0.6;
    cursor: pointer;
}
.p-gallery-thumbs .swiper-slide-thumb-active {
    opacity: 1;
}
.p-gallery-thumb-img {
    width: 100%;
    height: auto;
    display: block;
}
/* メインのスライド枠に縦横比を持たせる */
.p-gallery-main .swiper-slide {
    aspect-ratio: 4 / 3;
    max-height: 70vh;       /* 画面が低い時の暴走防止 */
}
/* 画像を枠いっぱいに表示して、はみ出しはトリミング */
.p-gallery-main .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.p-gallery-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    pointer-events: none; /* ここ重要 */
    z-index: 10;
}
.p-gallery-prev,
.p-gallery-next {
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 50%;
    pointer-events: auto; /* ここ重要 */
    cursor: pointer;
    border: 1px solid #d8d8db;
    position: relative;
}
.p-gallery-prev{
    left: 10px;
}
.p-gallery-next{
    right: 10px;
}
.p-gallery-prev::before,
.p-gallery-next::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    border-top: 1px solid #333;
    border-right: 1px solid #333;
}
.p-gallery-prev::before{
    transform: translate(-50%, -50%) rotate(225deg);
    left: 55%;
}
.p-gallery-next::before {
    transform: translate(-50%, -50%) rotate(45deg);
    left: 45%;
}


.s-work-info{
    text-align: center;
}
.s-work-info h2{
    margin-bottom: 30px;
}
.s-work-info-soudan{
    margin-bottom: 30px;
    padding-bottom: 30px;
    line-height: 1.5;
    border-bottom: 2px dotted #d8d8db;
}
.s-work-info-comment{
    line-height: 1.5;
}

/** スタッフ **/
.s-staff-title{
    border-bottom: 1px solid #ddd;
    padding-bottom: 15px;
    margin-bottom: 30px;
}
.s-staff-title h1{
    line-height: 1;
    font-size: 28px;
    margin-bottom: 10px;
}
.s-staff-title small{
    font-size: 14px;
    color: #949497;
    margin-top: 8px;
}
.s-staff-img{
    flex-basis: 320px;
}
.s-staff-info{
    flex-basis: calc(100% - 360px);
}
.s-staff-info h2{
    margin: 50px 0 30px;
    padding: 20px;
    background: #f8f8f8;
    color: #626264;
    border-left: 7px solid #949497;
}
.s-staff2 h2{
    border-bottom: 1px solid var(--sen);
    margin-bottom: 40px;
    font-size: 32px;
    padding-bottom: 8px;
}
.s-staff2 h2 small{
    font-size: 20px;
    color: #777;
    margin-left: 10px;
    font-weight: 400;
}

@media screen and (max-width:768px){
.single-page {
    padding: 20px 0;
}
.single-bg {
    padding: 20px;
}
.single-title {
    margin-bottom: 15px;
}
.single-title h1 {
    font-size: 20px;
}

.single-in h2 {
    font-size: 20px;
    margin: 20px 0 15px;
    padding: 2px 0 4px 10px;
    border-left: 5px solid var(--key);
}
.s-event-page h3 {
    font-size: 16px;
    letter-spacing: 2px;
}

.s-top-img {
    margin-bottom: 20px;
}
.sns-link {
    margin: 30px 0;
    text-align: center;
    padding-top: 10px;
}
.sns-btn {
    justify-content: center;
}
.back-btn{
    text-align: center;
}
.event-form {
    padding: 30px 10px;
    margin-top: 20px;
}

/** 施工事例 **/
.s-work-imgs {
    margin-bottom: 30px;
}
.s-work-info h2 {
    margin-bottom: 20px;
}
.s-work-info-soudan {
    margin-bottom: 15px;
    padding-bottom: 15px;
}
.s-work-info-comment {
    text-align: left;
}

/**イベント**/
.s-eve-table {
    margin: 20px 0;
}
.s-eve-table th, .s-eve-table td{
    font-size: 13px;
    padding: 6px 12px;
}

/**ブログ**/
.s-blog-mokuji {
    padding: 15px;
}
.s-blog-page .single-in h3 {
    padding: 12px;
}

/**スタッフ**/
.s-staff-img {
    padding: 12px;
}
.s-staff-title {
    margin-bottom: 20px;
}
.s-staff-title h1 {
    font-size: 24px;
}
.s-staff-title p{
    font-size: 12px;
}
.s-staff-info h2 {
    margin: 30px 0 20px;
    padding: 15px;
}
.staff-list{
    margin-bottom: 30px;
}
.s-staff2 h2 {
    margin-bottom: 30px;
    font-size: 24px;
    padding-bottom: 8px;
    line-height: 1.2;
}
.s-staff2 h2 strong{
    display: block;
}
.s-staff2 h2 small {
    margin-left: 0;
}




}

/**********************************************************************/
/*****************************  フッター  *****************************/
/**********************************************************************/
.footer{
    padding-top: 60px;
}
.footer-sns-area{
    margin-bottom: 60px;
}
.footer-sns-in{
    justify-content: center;
}
.footer-sns-in a{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 0 40px;
}
.footer-sns-in a:not(:last-of-type){
    border-right: 1px solid #ccc;
}
.footer-sns-in a img{
    max-height: 40px;
    max-width: 40px;
    object-fit: contain;
}
.footer-main{
    padding-bottom: 60px;
    align-items: center;
}
.footer-logo{
    width: 200px;
    margin-bottom: 30px;
}
.footer-info p{
    font-size: 13px;
    line-height: 1.7;
}
.footer-main .pc{
    flex-basis: calc(100% - 220px);
}
.footer-nav{
    display: flex;
    font-size: 14px;
}
.footer-nav ul:first-of-type{
    margin-left: auto;
}
.footer-nav ul:not(:last-of-type){
    padding-right: 10%;
}
.footer-nav ul li{
    margin-bottom: 20px;
    white-space: nowrap;
}


.copyright{
    background: #000;
    color: #fff;
    text-align: center;
    padding: 10px;
    font-size: 14px;
}

@media screen and (max-width:768px){
.footer-sns-area {
    margin-bottom: 40px;
}
.footer-sns-in a:not(:last-of-type) {
    border-right: none;
    margin-bottom: 15px;
}
.footer-sns-in a img {
    max-height: 30px;
    max-width: 30px;
}
.footer-logo {
    width: 160px;
    margin-bottom: 20px;
}
.footer-info p {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #d8d8db;
}
.footer-nav {
    justify-content: space-between;
}
.footer-nav ul:first-of-type {
    margin-left: 0;
}
.footer-main {
    padding-bottom: 10px;
}
.copyright p{
    font-size: 12px;
}


}

/**********************************************************************/
/*****************************  マージン  *****************************/
/**********************************************************************/

.mb-0{
    margin-bottom: 0!important;
}
.mb-5{
	margin-bottom: 5px!important;
}
.mb-10{
	margin-bottom: 10px!important;
}
.mb-20{
	margin-bottom: 20px!important;
}
.mb-30{
	margin-bottom: 30px!important;
}
.mb-50{
	margin-bottom: 50px!important;
}
.mb-80{
	margin-bottom: 80px!important;
}
.mb-100{
	margin-bottom: 100px!important;
}
.mt-30{
	margin-top: 30px;
}
.mt-50{
	margin-top: 50px;
}

@media screen and (max-width:768px){
    .mb-0-sp{
        margin-bottom: 0!important;
    }
	.mb-30{
		margin-bottom: 20px!important;
	}
	.mb-50{
		margin-bottom: 30px!important;
	}
	.mb-80{
		margin-bottom: 30px!important;
	}
	.mb-100{
		margin-bottom: 50px!important;
	}
	.mt-30{
		margin-top: 20px!important;
	}
	.mt-50{
		margin-top: 20px!important;
	}
}

/**********************************************************************/
/**************************  PCスマホ切り替え  **************************/
/**********************************************************************/

.pc {
  display: block !important;
}
/*pcのみ表示ブロック*/
.sp {
  display: none !important;
}
/*スマホのみ表示ブロック*/
@media screen and (max-width: 768px) {
  .pc {
    display: none !important;
  }
  /*pcのみ表示ブロック*/
  .sp {
    display: block !important;
  }
  /*スマホのみ表示ブロック*/
}
