
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}
body{
    font-family: "Noto Sans JP", sans-serif;
    overflow-x: hidden;
    color: #000;
}
img{
	width: 100%;
    height: auto;
	display: block;
}
section{
    padding: 80px 0;
}
p{
	line-height: 2;
	letter-spacing: 2px;
}
h1,h2,h3,h4,h5,h6{
	font-weight: 500;
	line-height: 1.5;
	letter-spacing: 3px;
}
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
}
th{
    white-space: nowrap;
    font-weight: 500;
}
dt, dd, li {
	line-height: 1.7;
    letter-spacing: 2px;
}
ol>li:not(:last-of-type){
    margin-bottom: 10px;
}

@media screen and (min-width:1200px){
    body{
        display: flex;
    }
    .header-area{
        flex-basis: 15%;
        position: relative;
        z-index: 10;
    }
    .main-content{
        flex-basis: 85%;
    }
}

@media screen and (max-width:768px){
	p{
		font-size: 14px;
	}
    th, td {
        line-height: 1.5;
        font-size: 13px;
        padding: 10px;
    }
    li{
        font-size: 14px;
    }
    section{
        padding: 40px 0;
    }
}

.width-ss{
	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-l{
	max-width: 1400px;
	width: 90%;
	margin-left: auto;
	margin-right: auto;
}
.width-1500{
	max-width: 1500px;
	width: 90%;
	margin-left: auto;
	margin-right: auto;
}
.width-xl{
	max-width: 1600px;
	width: 90%;
	margin-left: auto;
	margin-right: auto;
}


:root {
  --key: #008080;
  --key2: #c26a5a;
  --key3: #b8926d;
  --bg: #fbf7f3;
  --bg2: #f3f6f7;
}

.key{
    color: var(--key);
}
.flex, .flex-al{
	display: flex;
	flex-wrap: wrap;
}
.text-r{
	text-align: right;
}
.text-c{
	text-align: center;
}
.flex-sb, .flex-sb-al{
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}
.flex-btn{
    justify-content: center;
    gap: 5%;
    align-items: center;
}
.rev{
	flex-direction: row-reverse;
}

.sec-title{
    margin-bottom: 80px;
    text-align: center;
}
.sec-title h2{
    font-size: 16px;
    font-weight: 400;
}
.sec-title h2 span{
    font-size: 50px;
    line-height: 1;
    font-weight: bold;
    display: block;
    margin-bottom: 10px;
    color: var(--key);
    font-family: "ab-kirigirisu", "Noto Sans JP", sans-serif;
}
.sec-title h2 small{
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}
.sec-title h2 small::before,.sec-title h2 small::after{
    content: "";
    flex-grow: 0.05;
    border-top: 1px solid;
}

.sec-title p{
    margin-top: 80px;
}
.btn {
  position: relative;
  display: inline-block;
}
.btn::before {
    content: "";
    position: absolute;
    inset: 0;
    transform: translate(6px, 6px);
    background: repeating-linear-gradient(
    135deg,
    transparent 0,
    transparent 4px,
    rgba(0,133,60,0.2) 4px,
    rgba(0,133,60,0.2) 7px
  );
}

.btn .flex{
    align-items: center;
    gap: 5%;
}
.btn a {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 14px 30px;
    font-size: 16px;
    font-weight: bold;
    background: #fff;
    color: var(--key);
    border: 1px solid var(--key);
    text-decoration: none;
    box-sizing: border-box;
    letter-spacing: 2px;
    border-radius: 3px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn a:hover{
    transform: translate(2px, 2px);
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.15);
}

/* 矢印を擬似要素で追加 */
.btn a::after {
  content: "›"; /* または ">" や "→" など */
  font-size: 1.5em;
  margin-left: 0.5em;
  display: inline-block;
  padding-bottom: 4px;
  font-family: "Noto Sans JP", sans-serif;
}
.triangle-down{
    width: 0;
    border-top: 30px solid var(--key);
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
    margin: 30px auto;
}
.cover{
    height: 100%;
    object-fit: cover;
}



@media screen and (max-width:768px){
	.flex,.flex-sb {
		display: block;
	}
.sec-title {
    margin-bottom: 30px;
}
.sec-title h2 {
    font-size: 14px;
    line-height: 1.8;
}
.sec-title h2 span {
    font-size: 30px;
}
.sec-title h2 small{
    font-size: 13px;
    gap: 10px;
}
.sec-title h2 small::before,.sec-title h2 small::after{
    flex-grow: 0.2;
}
.sec-title p {
    margin-top: 30px;
    text-align: left;
}
.btn {
    width: 100%;
}
.flex-btn .btn:not(:last-of-type){
    margin-bottom: 15px;
}
.btn a {
    width: 100%;
    padding: 10px;
    font-size: 14px;
}
.triangle-down {
    border-top: 25px solid var(--key);
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
    margin: 20px auto;
}


}



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

.josefin{
    font-family: 'Josefin Sans', sans-serif;
    line-height: 1;
}
.serif{
    font-family: "Noto Serif JP", serif;
}
.sans{
	font-family: "Noto Sans JP", sans-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 10px;
}
.link{
    text-decoration: underline;
    color: var(--key);
    font-weight: bold;
}


/**********************************************************************/
/*************************  ホバーアニメーション  *************************/
/**********************************************************************/
@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.05);  /* 少し拡大 */
	  opacity: 0.8;            /* ちょっと薄くする */
	}

	.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);
	}
}


/**********************************************************************/
/***********************  スクロールアニメーション  ***********************/
/**********************************************************************/
/* 共通の初期状態 */
/* 1) ベース：transition だけ。transform は書かない */
.sa {
  opacity: 0;
  transition: opacity 1.2s ease, transform 1.2s ease;
  will-change: opacity, transform;
  backface-visibility: hidden;
}

/* 2) 初期オフセット：is-inview が付く“前だけ”適用するのがコツ */
.sa[data-animate="fade-up"]:not(.is-inview)     { transform: translate3d(0, 60px, 0); }
.sa[data-animate="fade-down"]:not(.is-inview)   { transform: translate3d(0,-60px, 0); }
.sa[data-animate="slide-left"]:not(.is-inview)  { transform: translate3d(60px, 0, 0); }
.sa[data-animate="slide-right"]:not(.is-inview) { transform: translate3d(-60px,0, 0); }
.sa[data-animate="zoom-in"]:not(.is-inview)     { transform: scale(0.96); }

/* 3) 終点（表示時）は最後に書く：transform を none に戻す */
.sa.is-inview {
  opacity: 1;
  transform: none;
}

/* 動きが苦手なユーザー配慮 */
@media (prefers-reduced-motion: reduce) {
  .sa {
/*
    transition-duration: 1ms !important;
    transform: none !important;
    opacity: 1 !important;
*/
background: red !important;
  }
}



/**********************************************************************/
/*****************************  カーソル追従アニメーション  *****************************/
/**********************************************************************/
.cursor {
  position: fixed;
  top: 0; left: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,133,60,0.4), rgba(0,133,60,0));
  backdrop-filter: blur(4px);
  pointer-events: none;
  /* transform は JS が更新するので初期だけでOK（-50%はJS側で重ねる） */
  transform: translate(-50%, -50%);
  /* transform の GPU アニメーションは transition いらない（rAFで滑らか） */
  will-change: transform;
  z-index: 9999;
}

/* ホバーで雰囲気を変える例（任意） */
.cursor.hover {
  width: 54px; height: 54px;
  background: radial-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0));
  border: 2px solid rgba(0,0,0,0.35);
  backdrop-filter: none;
  transition: width .25s ease, height .25s ease, border-color .25s ease, background .25s ease;
}

/* 動きを控える設定の配慮（任意） */
@media (prefers-reduced-motion: reduce) {
  .cursor { backdrop-filter: none; }
}

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

/**********************************************************************/
/*****************************  ヘッダー  *****************************/
/**********************************************************************/

.header-fix{
    display: none;
}
.header-logo{
/*    padding-top: 80px;*/
    min-width: 140px;
    width: 70%;
    height: auto;
    margin-left: auto;
    margin-right: auto;
}
.header-nav{
/*    flex-grow: 1;*/
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.header-nav>ul{
    border-top: 1px dashed rgba(0,133,60,0.3);
    font-size: 14px;
}
.header-nav>ul>li>a{
    border-bottom: 1px dashed rgba(0,133,60,0.3);
    padding: 20px 45px 20px 15px;
    position: relative;
    display: block;
}
.header-nav>ul>li>a::after{
    background-image: url("../img/arrow-right-circle.svg");
    content: "";
    background-size: cover;
    width: 20px;
    height: 20px;
    position: absolute;
    right: 20px;
    top: calc(50% - 10px);
    transition: transform 0.3s ease;
}
.header-nav>ul>li.has-child>a::after{
    background-image: url("../img/arrow-right.svg");
}
.header-nav>ul>li>a:hover::after{
    transform: translateX(7px);
}
.header-nav .has-child>div{
    position: absolute;
    top: 0;
    left: 100%;
    width: 300px;
    height: 100dvh;
    z-index: 20;
    background: var(--bg);
    padding: 50px 25px;
    /* 初期状態（非表示） */
    opacity: 0;
    transform: translateX(-10px); /* ← 少し右にずらす */
    pointer-events: none;
    transition: opacity 0.4s ease, transform 0.4s ease;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.1);
}
.header-nav .has-child:hover>div{
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}
.header-nav .has-child.open > div {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}
.header-nav .has-child.open > a:hover + div {
    opacity: 1 !important;
    transform: translateX(0) !important;
}
.header-nav .has-child>div h2{
    color: var(--key);
    font-weight: bold;
    margin-bottom: 30px;
    font-size: 20px;
    text-align: center;
}
.header-nav .has-child>div li{
    padding: 20px;
    border-bottom: 1px dashed rgba(0,0,0,0.3);
    position: relative;
}
.header-nav .has-child>div li::after{
    content: "";
    background-image: url("../img/arrow-right-circle.svg");
    background-size: cover;
    width: 20px;
    height: 20px;
    position: absolute;
    right: 20px;
    top: calc(50% - 10px);
    transition: transform 0.3s ease; 
}
.header-nav .has-child>div li:hover::after{
    transform: translateX(7px);
}
.header-nav .has-child>div li a{
    display: block;
}

.header-contact{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}
.header-contact li{
    background: var(--key);
    color: #fff;
    border-bottom: 1px solid #fff;
    font-size: 14px;
}
.header-contact li a{
    padding: 15px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5%;
    margin-right: 5px;
}
.header-contact li a img{
    width: 25px;
}


@media screen and (min-width:1200px){
/*
    .header-fix{
        position: fixed;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        background: #FFF;
        top: 0px;
        left: 0px;
        height: 100dvh;
        width: 15%;
        z-index: 10;
        box-shadow: 2px 2px 3px rgba(0,0,0,0.1);
    }
*/
.header-fix {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 15%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    background: #fff;
    z-index: 10;
    box-shadow: 2px 2px 3px rgba(0,0,0,0.1);
    padding-bottom: 170px;
}


}



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

.hamburger-area {
    position: fixed;
    top: 19px;
    right: 28px;
    z-index: 100;
}
.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: 3%;
}
.drawer-text nav{
    flex-basis: 350px;
}
.drawer-text .footer-support-area {
    margin-bottom: 60px;
}
@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-nav h3{
    font-size: 22px;
    margin-bottom: 20px;
    border-left: 4px solid var(--key);
    padding: 1px 0 2px 10px;
    margin-left: 10px;
    margin-top: 40px;
    color: var(--key);
    font-family: "ab-kirigirisu", "Noto Sans JP", sans-serif;
}
.drawer-main ul{
    border-top: 1px dashed rgba(0,133,60,0.3);
    margin-bottom: 30px;
}
.drawer-main li{
    font-size: 16px;
}
.drawer-main li a {
    border-bottom: 1px dashed rgba(0,133,60,0.3);
    padding: 15px 45px 15px 15px;
    position: relative;
    display: block;
}
.drawer-main li a::after {
    background-image: url("../img/arrow-right-circle.svg");
    content: "";
    background-size: cover;
    width: 20px;
    height: 20px;
    position: absolute;
    right: 20px;
    top: calc(50% - 10px);
    transition: transform 0.3s ease;
}
.drawer-main li a:hover::after{
    transform: translateX(7px);
}
.drawer-contact-area{
    flex-basis: calc(97% - 350px);
}
.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-family: "ab-kirigirisu", "Noto Sans JP", sans-serif;
    letter-spacing: -4px;
    color: var(--key);
}
.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-contact-area .footer-sns{
    max-width: 350px;
    margin: auto;
}
.footer-sns h3{
    text-align: center;
    margin-bottom: 15px;
}
.drawer-contact{
    width: 350px;
    margin: auto;
}
.event-btn{
    background: var(--key);
    color: #fff;
    font-weight: bold;
}
.drawer-contact a{
    display: flex;
    align-items: center;
    padding: 15px;
    justify-content: center;
    margin-bottom: 15px;
    border-radius: 10px;
    border: 1px solid;
}


@media screen and (max-width:768px){
	.hamburger-area {
		top: 14px;
		right: 16px;
	}
	.drawer-text {
		padding: 40px 30px 80px;
	}
	.drawer-logo {
		margin: 0 auto 30px;
	}
    .drawer-main li {
        font-size: 14px;
    }
    .drawer-logo img {
        margin-right: 0;
        width: 180px;
    }
    .drawer-tel {
        width: 100%;
        margin-bottom: 20px;
    }
	.drawer-tel-icon {
		flex-basis: 40px;
	}
    .drawer-tel-r a {
        font-size: 28px;
    }
    .drawer-contact {
        width: 100%;
    }
    .drawer-contact a {
        margin-bottom: 10px;
        font-size: 14px;
    }
    .footer-sns h3 {
        font-size: 14px;
    }
}

/**********************************************************************/
/***************************  フロントページ  ***************************/
/**********************************************************************/

section.hero-slider{
    position: relative;
    padding: 0;
}
/* ===== トップスライダー ===== */
.front-swiper {
    height: 100dvh;
    position: relative;
}
/*
.front-swiper::after{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
    z-index: 1;
}
*/
.front-swiper .swiper-slide,
.front-swiper .swiper-img { height: 100%; }
.front-swiper .swiper-img img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
/* ズームは .swiper-img に当てる。prev/duplicate-active も対象に含める */
@keyframes zoomUp { from { transform: scale(1); } to { transform: scale(1.15); } }
.front-swiper .swiper-slide-active .swiper-img,
.front-swiper .swiper-slide-duplicate-active .swiper-img,
.front-swiper .swiper-slide-prev .swiper-img {
  animation: zoomUp 9s linear both;
}
/* ===== ズームアニメーション ===== */
.front-swiper img {
  transform: scale(1);
  animation: none;
  transition: transform 1s ease; /* 切替時の微妙な段差対策 */
}
.front-swiper img.zooming {
  animation: zoomInOut 15s ease-in-out infinite alternate;
}
@keyframes zoomInOut {
  0%   { transform: scale(1); }
  100% { transform: scale(1.25); } /* 拡大率はお好みで 1.2〜1.3 */
}
/* ページネーションの位置調整（任意） */
.swiper-pagination {
  bottom: 20px;
}

.hero-slider-text{
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    color: #fff;
}
.hero-slider-text h1{
    font-family: "ab-kirigirisu", "Noto Sans JP", sans-serif;
    font-size: 50px;
    text-shadow: 2px 2px 2px rgba(0,0,0,0.5);
}
.f-news{
    position: absolute;
    bottom: 50px;
    right: 50px;
    z-index: 2;
    background: rgba(255,255,255,0.7);
    padding: 20px;
    border-radius: 10px;
    width: 400px;
}
.f-news h2{
    font-family: "ab-kirigirisu", "Noto Sans JP", sans-serif;
    font-size: 26px;
    margin-bottom: 15px;
    color: var(--key);
    font-weight: bold;
}
.f-news h2 span{
    font-family: "Zen Kurenaido", sans-serif;
    font-size: 14px;
    margin-left: 10px;
    transform: translateY(-3px);
    display: inline-block;
}
.f-news h3{
    font-size: 14px;
    margin-bottom: 25px;
    white-space: nowrap;        /* 折り返さない */
    overflow: hidden;           /* はみ出した部分を非表示 */
    text-overflow: ellipsis;    /* 省略記号（…）を表示 */
}
.f-news .swiper-pagination{
    text-align: left;
    padding-left: 10px;
}
.swiper-pagination-bullet-active {
    background: var(--key)!important;
}
.f-concept{
    text-align: center;
/*
    background-image: url("../img/front/f-concept-bg.webp");
    background-size: cover;
*/
    position: relative;
}
.spin {
  display: inline-block;
  animation: spin 18s linear infinite; /* 12秒で1周、等速、無限 */
  will-change: transform;              /* パフォーマンス向上 */
  transform-origin: center;            /* 画像中心で回転 */
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* 動きが苦手なユーザーに配慮（OS設定を尊重） */
@media (prefers-reduced-motion: reduce) {
  .spin { animation: none; }
}
.f-concept-bg1{
    position: absolute;
    width: 320px;
    top: 15%;
    left: 10%;
}

.scroll-rotate {
  transition: transform 0.1s linear;
  will-change: transform;
}

.f-concept::after{
    content: "";
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.6);
    display: block;
    position: absolute;
}
.f-concept>div{
    position: relative;
    z-index: 1;
}
.f-concept-owner{
    width: 190px;
    position: absolute;
    z-index: 1;
    bottom: 15%;
    right: 10%;
    transform-origin: 50% 100%;
    will-change: transform;
}
@media (prefers-reduced-motion: reduce) {
    .f-concept-owner {
        transition: none !important;
        transform: none !important;
    }
}

.f-concept p{
    font-size: 18px;
    margin-bottom: 60px;
    text-shadow:
        1px 1px 0 white,
        -1px -1px 0 white,
        1px -1px 0 white,
        -1px 1px 0 white;
}
.f-event{
    background-color: var(--bg);
}
.f-event-info h3{
    border-bottom: 1px solid #aaa;
    padding-bottom: 10px;
    margin-bottom: 10px;
}
.f-event-info dl{
    font-size: 14px;
    padding: 0 15px;
}
.link-info{
    margin-top: 15px;
    text-align: right;
    font-size: 14px;
}
.f-lineup-items{
    gap: 2px;
}
.f-lineup-item{
    flex: 1;
    display: flex;
    flex-direction: column;
}
.f-lineup-item img{
    aspect-ratio: 3/2;
    object-fit: cover;
}
.f-lineup-info{
    background: var(--bg);
    padding: 30px;
    flex-grow: 1;
    text-align: center;
}
.f-lineup-item h3{
    font-weight: bold;
    font-size: 22px;
    margin-bottom: 15px;
}
.f-lineup-item h3 span{
    font-size: 14px;
}
.f-lineup-item h4{
    margin-bottom: 20px;
    font-weight: bold;
}
.f-lineup-item p{
    display: inline-block;
    text-align: left;
    padding: 0 10px;
    font-size: 15px;
}
.f-lineup .btn-area{
    margin-bottom: 50px;
}
.f-reform-img{
    margin-bottom: 50px;
}
.f-reform-img img{
    object-fit: cover;
    max-height: 400px;
    border-radius: 30px;
}
.f-reform-items{
    margin-bottom: 50px;
}
.f-reform-item{
    flex-basis: 24%;
    border: 1px solid #333;
    padding: 30px;
}
.f-reform-item .icon{
    width: 130px;
    margin: auto;
}
.f-reform-item h3{
    margin-bottom: 15px;
    font-size: 18px;
    text-align: center;
    color: var(--key2);
}
.f-reform-item p{
    line-height: 1.8;
}
.f-event-items{
    gap: 15px;
    margin-bottom: 70px;
}
.f-event-item{
    flex: 1;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.3);
    position: relative;
}
.f-event-status{
    position: absolute;
    top: 0;
    left: 0;
    color: #fff;
    font-size: 16px;
    text-align: center;
    padding: 10px;
    width: 100%;
}
.f-event-status.open{
    background: crimson;
}
.f-event-status.closed{
    background: #999;
}
.f-event-item img{
    aspect-ratio: 1/1;
    object-fit: cover;
}
.f-event-info{
    padding: 20px;
}
.f-event-info dt{
    flex-basis: 50px;
}
.f-event-info dd{
    flex-basis: calc(100% - 50px);
}
.f-event-info dt:not(:last-of-type),.f-event-info dd:not(:last-of-type) {
    border-bottom: 1px dashed #aaa;
    padding-bottom: 5px;
    margin-bottom: 5px;
}
.f-works{
    background: var(--bg);
}

/* レイアウト変数：見える枚数に合わせたカード幅（PCで約5枚） */
.works-marquee { --gap: 12px; overflow: hidden; margin-bottom: 80px; }
@media (min-width: 1024px) {
  .works-marquee { --card-w: calc((100vw - (var(--gap) * 4)) / 5); } /* 5枚見せ */
}
@media (min-width: 600px) and (max-width: 1023.98px) {
  .works-marquee { --card-w: calc((100vw - (var(--gap) * 2)) / 3); } /* 3枚見せ */
}
@media (max-width: 599.98px) {
  .works-marquee { --card-w: calc((100vw - var(--gap)) / 2); }       /* 2枚見せ */
}

/* トラック全体を等速で左へ */
.works-marquee__track {
  display: flex;
  width: max-content;  /* 中身の合計幅で広がる */
  animation: works-marquee 60s linear infinite; /* 時間↑でゆっくり */
}
.works-marquee__row { display: flex; }
.works-card {
  flex: 0 0 var(--card-w);
  display: flex; flex-direction: column; gap: 6px;
  text-decoration: none; color: inherit;
  margin-right: var(--gap);
  position: relative;
}
/* 4:3の箱に収める（CSSで見た目トリミング） */
.works-thumb { width: 100%; aspect-ratio: 4/3; overflow: hidden; border-radius: 10px; background:#f3f3f3; }
.works-thumb img { width:100%; height:100%; object-fit:cover; display:block; }
/* タイトル1行省略 */
.works-title {
  font-size: .92rem; line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
}

/* 完全等速ループ：同一列が2回分あるので -50% 移動で継ぎ目ゼロ */
@keyframes works-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.f-blog-swiper{
    width: 95%;
}
.f-blog-swiper .swiper-wrapper{
    margin-bottom: 50px;
}
/* カード本体：縦並びにして下まで伸ばす */
.f-blog-item{
  display: flex;
  flex-direction: column;
  width: 200px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 3px 3px 5px rgba(0,0,0,0.1);
}

/* 画像は一定比率で固定 */
.f-blog-item > div{
  aspect-ratio: 3 / 2;
  overflow: hidden;
}
.f-blog-item > div img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 外側：見た目（余白）担当。overflow/line-clamp は持たせない */
.post-title {
  padding: 20px;
  /* 高さを揃えたいなら「外側」で確保しておくと安全 */
  --lines: 3;
  --lh: 1.7;
  /* 3行分 + 上下パディング（20px+20px）を最小高さに */
  min-height: calc(1em * var(--lh) * var(--lines) + 40px);
  box-sizing: border-box; /* パディング込みで高さ計算 */
  
}

/* 内側：行数制限を厳密に適用する担当 */
.post-title__clamp {
  line-height: var(--lh);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: var(--lines);
  overflow: hidden;                 /* ← クリップは内側に閉じ込める */
  height: calc(1em * var(--lh) * var(--lines)); /* きっちり3行分 */
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 2px;
}

@media screen and (max-width:768px){
.front-swiper {
    height: 90dvh;
}
.hero-slider-text h1 {
    font-size: 30px;
}
.hero-slider-text {
    height: 90dvh;
}
.f-news {
    bottom: 30px;
    right: 30px;
    left: 30px;
    z-index: 2;
    width: calc(100% - 60px);
    padding: 10px 20px;
}
.f-news h2 {
    font-size: 20px;
    margin-bottom: 5px;
}
.f-news h2 span {
    font-size: 12px;
    transform: translateY(-2px);
}
.f-news h3 {
    font-size: 13px;
    margin-bottom: 15px;
}
.f-news .text-r a{
    font-size: 13px;
}
.f-concept p {
    font-size: 14px;
    margin-bottom: 50px;
    text-align: left;
}
.f-concept p span{
    display: block;
    text-align: center;
    font-size: 16px;
}
.f-concept-bg1 {
    width: 220px;
    top: 14%;
    left: 2%;
}
.f-concept-owner {
    width: 100px;
    bottom: 5%;
    right: 5%;
}
.f-event-item:not(:last-of-type) {
    margin-bottom: 20px;
}
.f-event-info dl {
    padding: 0 10px;
}
.f-event-items {
    margin-bottom: 50px;
}
.f-reform-img {
    margin-bottom: 30px;
}
.f-reform-item {
    padding: 15px;
    margin-bottom: 15px;
}
.f-reform-item h3 {
    margin-bottom: 10px;
    font-size: 15px;
}
.f-reform-info{
    display: flex;
    align-items: center;
    gap: 5%;
}
.works-marquee {
    margin-bottom: 40px;
}




}



/**********************************************************************/
/**********************  共通パーツコンタクトエリア  **********************/
/**********************************************************************/
.contact-area{
    background-image: url("../img/catalog.webp");
    padding: 80px 0;
    background-size: cover;
    background-position: center;
}
.contact-area-in{
    background: rgba(255,255,255,0.75);
    padding: 50px;
    border-radius: 30px;
}
.contact-area-in h2{
    text-align: center;
    margin-bottom: 40px;
}
.contact-area-in h2 span{
    font-family: "ab-kirigirisu", "Noto Sans JP", sans-serif;
    font-size: 50px;
    display: flex;
    align-items: center;
    gap: 5%;
    justify-content: center;
    margin-bottom: 0px;
    color: var(--key);
}
.contact-area-in h2 span::before, .contact-area-in h2 span::after{
    content: "";
    flex-grow: 0.2;
    border-top: 1px solid #333;
    margin-top: 10px;
}
.contact-area-in>p{
    text-align: center;
    margin-bottom: 50px;
}
.contact-link-area{
    background: #fff;
    padding: 30px;
}
.contact-link-area>div{
    flex-basis: calc(50% - 1px);
}
.contact-link-tel{
    border-right: 1px dashed #aaa;
    text-align: center;
}
.contact-link-tel a{
    font-size: 50px;
    letter-spacing: -5px;
    color: var(--key3);
    font-weight: bold;
    margin-bottom: 10px;
    display: block;
    font-family: "ab-kirigirisu", "Noto Sans JP", sans-serif;
}
.contact-link-tel dl{
    justify-content: center;
    align-items: center;
    gap: 4%;
}
.contact-link-tel dt{
    font-size: 14px;
    display: inline-block;
    background: rgba(184, 146, 109, 0.3);
    padding: 5px 15px;
    border-radius: 5px;
}
.contact-link-tel dd{
    font-size: 18px;
}
.contact-link-btn{
    text-align: center;
}
.contact-link-btn p{
    margin-bottom: 10px;
}
.contact-link-btn a{
    background: var(--key);
    display: inline-block;
    max-width: 380px;
    width: 90%;
    color: #fff;
    padding: 13px;
    position: relative;
    border-radius: 10px;
}
.contact-link-btn a:first-of-type{
    margin-bottom: 13px;
}
.contact-link-btn a::after{
    content: "›";
    font-size: 1.5em;
    display: inline-block;
    padding-bottom: 4px;
    font-family: "Noto Sans JP", sans-serif;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

@media screen and (max-width:768px){
    .contact-area {
        padding: 30px 0;
    }
    .contact-area-in {
        padding: 20px;
        border-radius: 20px;
    }
    .contact-area-in h2 span {
        font-size: 30px;
        gap: 3%;
    }
    .contact-area-in h2 {
        margin-bottom: 20px;
        font-size: 14px;
    }
    .contact-area-in>p {
        margin-bottom: 20px;
        text-align: left;
        line-height: 1.8;
        font-size: 13px;
    }
    .contact-link-area {
        padding: 20px;
    }
.contact-link-tel {
    border-right: none;
    border-bottom: 1px dashed #aaa;
    margin-bottom: 15px;
    padding-bottom: 5px;
}
.contact-link-tel a {
    font-size: 32px;
    letter-spacing: -5px;
}
.contact-link-tel dt {
    width: 100%;
    padding: 2px;
}
.contact-link-tel dd {
    font-size: 16px;
    margin: 8px;
}
.contact-link-btn a {
    max-width: none;
    width: 100%;
    padding: 10px;
    font-size: 14px;
}



}

/**********************************************************************/
/******************************  footer  ******************************/
/**********************************************************************/
.footer{
    border-top: 1px solid #f1f1f4;
    padding-top: 50px;
    text-align: center;
}
.footer .flex{
    justify-content: center;
    gap: 5%;
    align-items: center;
}
.footer-logo{
    width: 250px;
    margin: 0 auto 30px;
}
.footer-sns{
    padding: 20px;
}
.footer-sns .flex{
    align-items: center;
    gap: 10px;
    justify-content: flex-start;
}
.footer-sns a img{
    width: 40px;
}
.map-area{
    width: 60%;
    height: 360px;
}
.copy-text{
    background: var(--bg);
    margin-top: 50px;
    font-size: 13px;
    padding: 10px;
}

@media screen and (max-width:768px){
    .footer-logo {
        width: 160px;
    }
    .map-area {
        width: 100%;
    }
}


/**********************************************************************/
/*****************************  page共通  *****************************/
/**********************************************************************/
.page, .single, .archive{
	margin-top: 20px;
}
.breadcrumb{
    margin-bottom: 25px;
}
.breadcrumb ul{
    display: flex;
    align-items: center;
    font-size: 12px;
    color: #333;
    flex-wrap: wrap;
}
.breadcrumb ul li{
    letter-spacing: 2px;
    line-height: 1.5;
}
.breadcrumb ul li:not(:last-of-type)::after{
	content: "＞";
	font-size: 12px;
	margin: 0 15px;
}
.page-header{
    position: relative;
    padding: 0;
}
.page-header-img{
    height: 400px;
}
.page-header-text{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0,0,0,0.2);
}
.header-text{
    font-family: "ab-kirigirisu", "Noto Sans JP", sans-serif;
    color: #fff;
    font-size: 50px;
    text-align: center;
    font-weight: 700;
    text-shadow: 2px 2px 2px rgba(0,0,0,0.3);
}
.header-text span{
    display: block;
    font-size: 20px;
    font-weight: 500;
}

.page-top{
    text-align: center;
}
.page-top h2{
    color: var(--key);
    font-size: 28px;
    font-family: "ab-kirigirisu", "Noto Sans JP", sans-serif;
}
.page-top p{
    margin-top: 40px;
    font-size: 18px;
    line-height: 2.2;
}

.p-sec-title{
    display: flex;
    align-items: center;
    font-size: 28px;
    gap: 30px;
    margin-bottom: 50px;
    font-weight: bold;
    color: var(--key);
}
.p-sec-title::after, .p-sec-title::before{
    content: "";
    border-top: 1px solid;
    flex-grow: 1;
}
.p-sec-title2{
    text-align: center;
    font-size: 28px;
    margin-bottom: 70px;
    color: var(--key);
    font-weight: bold;
    font-family: "ab-kirigirisu", "Noto Sans JP", sans-serif;
}
.page-foot{
    text-align: center;
}
.page-foot .line{
    width: 2px;
    height: 100px;
    margin: 0 auto 30px;
    background: var(--key);
}
.page-foot h3{
    font-size: 24px;
    margin-bottom: 50px;
    color: var(--key);
    font-family: "ab-kirigirisu", "Noto Sans JP", sans-serif;
}
.page-foot p{
    font-size: 18px;
    line-height: 2.2;
}
.top-btn{
    margin-bottom: 60px;
}
.junbi-title{
    font-size: 24px;
    margin-bottom: 30px;
}

@media screen and (max-width:768px){
    .page, .single, .archive {
        margin-top: 20px;
    }
	.breadcrumb {
		padding-bottom: 10px;
		margin-bottom: 0px;
	}
    .breadcrumb ul {
        font-size: 12px;
        gap: 5px;
    }
    .breadcrumb ul li:not(:last-of-type)::after {
        margin: 0 10px;
    }
    .page-header-img {
        height: 220px;
    }
    .header-text {
        font-size: 32px;
    }
    .header-text span {
        font-size: 16px;
    }
    .page-top h2 {
        font-size: 22px;
    }
    .page-top p {
        margin-top: 20px;
        font-size: 14px;
    }
    .p-sec-title {
        font-size: 18px;
        gap: 20px;
        margin-bottom: 30px;
    }
    .p-sec-title2 {
        font-size: 22px;
        margin-bottom: 30px;
    }
    .page-foot .line {
        height: 60px;
        margin: 0 auto 20px;
    }
    .page-foot h3 {
        font-size: 20px;
        margin-bottom: 30px;
    }
    .page-foot p {
        font-size: 14px;
        line-height: 2.2;
    }
    .junbi-title {
        font-size: 18px;
    }
}

/**********************************************************************/
/************************  コンセプトページ  ************************/
/**********************************************************************/
.concept1{
    background: var(--bg);
    padding: 0;
}
.concept1-info{
    flex-basis: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.concept1-info h3{
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 5%;
    color: var(--key2);
}
.concept1-img{
    flex-basis: 50%;
}
.concept2{
    background: var(--bg2);
}
.concept2-item:not(:last-of-type){
    margin-bottom: 70px;
}
.concept2-info{
    flex-basis: 55%;
    background: #fff;
    padding: 50px calc(10% + 50px) 50px 50px;
    margin-top: 7%;
    margin-right: -5%;
    box-shadow: 2px 2px 3px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.rev .concept2-info{
    padding: 50px 50px 50px calc(10% + 50px);
    margin-left: -5%;
    margin-right: 0;
}
.concept2-info h4{
    font-size: 24px;
    margin-bottom: 5%;
    color: var(--key3);
}
.concept2-img{
    flex-basis: 55%;
    margin-left: -5%;
    margin-bottom: 7%;
    position: relative;
}
.rev .concept2-img{
    margin-left: 0;
    margin-right: -5%;
}

@media screen and (max-width:768px){
.concept1-info {
    padding: 30px;
}
.concept1-info h3 {
    font-size: 18px;
    margin-bottom: 15px;
}
.concept2-item:not(:last-of-type) {
    margin-bottom: 30px;
}
.concept2-info, .rev .concept2-info {
    padding: 20px;
    margin-left: 0;
    margin-right: 0;
}
.concept2-info h4 {
    font-size: 17px;
    text-align: center;
}
.concept2-img {
    margin-left: 0!important;
    margin-right: 0!important;
}


}

/**********************************************************************/
/************************  ラインナップページ  ************************/
/**********************************************************************/
.hana{
    background: rgba(228, 176, 123, 0.2);
}
.shiori{
    background: rgba(99, 195, 142, 0.1);
}
.sakura{
    background: rgba(226, 141, 122, 0.1);
}
.lineup-item-top{
    text-align: center;
    margin-bottom: 60px;
}
.lineup-item-top h3{
    font-size: 26px;
    margin-bottom: 40px;
    font-family: "ab-kirigirisu", "Noto Sans JP", sans-serif;
}
.lineup-item-top h3 small{
    font-family: "Zen Kurenaido", sans-serif;
    display: block;
    font-size: 15px;
    margin-top: 15px;
}
.lineup-item-top-img{
    max-width: 600px;
    margin: 0 auto 20px;
}
.lineup-flex{
    margin-bottom: 50px;
}
.lineup-img{
    flex-basis: 55%;
    margin-right: -5%;
    position: relative;
    margin-bottom: 7%;
}
.lineup-info{
    flex-basis: 55%;
    margin-left: -5%;
    background: #fff;
    padding: 50px 50px 50px calc(10% + 50px);
    border-radius: 30px;
    margin-top: 5%;
    box-shadow: 2px 2px 3px rgba(0,0,0,0.1);
}
.lineup-info p{
    margin-bottom: 20px;
}
.lineup-info h4{

}
.spec {
  list-style: none;
  margin: 15px 0 0;
  padding: 0;
  border-top: 1px solid #e5e5e5;
}
.spec li {
  position: relative;
  padding: 0.7em 0 0.7em 1.6em;
  border-bottom: 1px solid #e5e5e5;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #444;
}
/* 行頭にアイコン風マーク */
.spec li::before {
  content: "";
  position: absolute;
  left: 0.4em;
  top: 1.4em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.hana .spec li::before {
  background-color: #d7b8b2;
}
.shiori .spec li::before {
  background-color: rgba(99, 195, 142, 0.7);
}
.sakura .spec li::before {
  background-color: rgba(226, 141, 122, 0.7);
}

.lineup-info h4 {
    margin-top: 1.8em;
    font-size: 20px;
    letter-spacing: 0.05em;
    border-left: 4px solid #d7b8b2;
    padding-left: 0.6em;
    font-family: "ab-kirigirisu", "Noto Sans JP", sans-serif;
}
.hana .lineup-info h4 {
  border-left: 4px solid #d7b8b2;
}
.shiori .lineup-info h4 {
  border-left: 4px solid rgba(99, 195, 142, 0.5);
}
.sakura .lineup-info h4 {
  border-left: 4px solid rgba(226, 141, 122, 0.5);
}
.lineup-img img{
    border-radius: 30px;
}



/**********************************************************************/
/************************  リフォームリノベページ  ************************/
/**********************************************************************/

.reform1{
    background: var(--bg);
}
.reform1-in{
    background: #fff;
    box-shadow: 3px 3px 5px rgba(0,0,0,0.2);
    padding: 40px 0 40px 40px;
    border-radius: 20px;
}
.reform1 h2{
    text-align: center;
    color: var(--key);
    font-weight: bold;
    font-size: 20px;
    margin-bottom: 30px;
}
.reform1 ul li{
    position: relative;
    padding-left: 30px;
    border-bottom: 1px dashed #aaa;
    padding-bottom: 5px;
}
.reform1 ul li:not(:last-of-type){
    margin-bottom: 15px;
}
.reform1 ul li::before{
    content: "";
    position: absolute;
    background-image: url("../img/icon-check.svg");
    width: 20px;
    height: 20px;
    background-size: cover;
    display: block;
    top: 4px;
    left: 0;
}
.reform1-img{
    flex-basis: calc(100% - 535px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 30px;
}
.reform1-img img{
    max-width: 300px;
}
.reform2{
    background: var(--bg);
}
.reform2-items{
    justify-content: center;
    gap: 30px;
}
.reform2-item{
    flex-basis: calc(33% - 20px);
    padding: 30px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 3px 3px 5px rgba(0,0,0,0.3);
}
.reform2-img{
    width: 110px;
    margin: 20px auto 40px;
}
.reform2-info h3{
    font-size: 18px;
    border-bottom: 1px solid var(--key);
    padding-bottom: 5px;
    margin-bottom: 15px;
    text-align: center;
}
.reform3-items{
    gap: 30px;
}
.reform3-item{
    flex-basis: calc(33% - 20px);
}
.reform3-img img{
    aspect-ratio: 3/2;
    object-fit: cover;
}
.reform3-info h3{
    margin: 15px 0 10px;
    font-size: 18px;
}
.reform4-items>p{
    background: #fbfadf;
    padding: 5px 20px;
    margin-bottom: 20px;
    font-size: 20px;
    text-align: center;
}
.reform4-item{
    background: #fbfadf;
    padding: 30px;    
}
.reform4-items.reform4-items2>p, .reform4-items.reform4-items2 .reform4-item{
    background: #fdf3eb;
}
.reform4-info{
    flex-basis: 46%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.reform4-info>div{
    align-items: center;
    margin-bottom: 10px;
}
.reform4-info .num{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    background: #008080;
    border-radius: 50%;
    color: #fff;
    font-size: 12px;
    line-height: 1;
    font-weight: bold;
}
.reform4-info .num span{
    font-size: 28px;
    line-height: 1;
}
.reform4-info h3{
    flex-basis: calc(100% - 75px);
    font-size: 20px;
}
.reform4-btn div{
    flex-basis: 48%;
    color: #fff;
    background: #db5872;
}
.reform4-btn img{
    width: 32px;
}
.reform4-btn a{
    display: flex;
    align-items: center;
    padding: 5px;
    justify-content: center;
    gap: 4%;
}
.reform4-img{
    flex-basis: 50%;
}
.reform4-btn{
    margin-top: auto;
}
.reform4 .triangle-down{
    border-top: 30px solid #db5872;
}
.reform5-item{
    flex-basis: 49%;
    box-shadow: 3px 3px 5px rgba(0,0,0,0.3);
    padding: 20px 20px 10px;
    align-items: center;
    margin-bottom: 30px;
    background: var(--bg);
}
.reform5-item div{
    flex-basis: calc(50% - 30px);
}
.reform5-item div img{
    aspect-ratio: 1/1;
    object-fit: cover;
}
.reform5-item .triangle-right{
    width: 0;
    border-left: 20px solid var(--key);
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
}

.reform6{
    background: var(--bg);
}
.qa-item{
    border-bottom: 1px solid #BFBFBF;
    padding-bottom: 20px;
    margin-bottom: 20px;
}
.qa-item dt{
    position: relative;
    padding: 0 20px;
    font-size: 18px;
    color: var(--key);
}
.qa-item dt::after{
    content: "+";
    font-weight: bold;
    font-size: 30px;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
}
.qa-item.open dt::after{
    content: "ー";
    font-size: 30px;
}
.qa-item dd{
    display: flex;
    padding: 0 20px;
    width: 90%;
    height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    line-height: 2;
    flex-wrap: wrap;
}
.qa-item dd>p{
    flex-basis: 90%;
}
.qa-item dd a{
    flex-basis: 100%;
    text-align: center;
}
.qa-item dd a p{
    display: inline-block;
    border: 1px solid;
    padding: 5px 50px;
}
.qa-item.open dd{
    padding-top: 20px;
    color: #db5872;
}
.qa-item dt span, .qa-item dd span{
    font-size: 22px;
    margin-right: 1rem;
    line-height: 1;
    display: inline-block;
}
.qa-item dt span{
    transform: translateY(1px);
}
.qa-item dd span{
    transform: translateY(5px);
}

@media screen and (max-width:768px){
.reform1-in {
    padding: 30px 20px;
    border-radius: 15px;
}
.reform1 h2 {
    font-size: 18px;
    margin-bottom: 20px;
}
.reform1-in ul{
    margin-bottom: 20px;
}
.reform1-img img {
    max-width: 200px;
}
.reform3-item {
    margin-bottom: 20px;
}
.reform3-info{
    text-align: center;
}
.reform3-info h3 {
    margin: 10px 0 5px;
    font-size: 16px;
}
.reform2-items {
    width: 90%;
    margin: auto;
}
.reform2-item {
    padding: 20px;
}
.reform2-item:not(:last-of-type) {
    margin-bottom: 20px;
}
.reform2-img {
    width: 80px;
    margin: 10px auto 15px;
}
.reform2-info h3 {
    font-size: 16px;
}
.reform4-items>p {
    padding: 5px 10px;
    font-size: 17px;
}
.reform4-info .num {
    width: 50px;
    height: 50px;
    font-size: 10px;
}
.reform4-info .num span {
    font-size: 22px;
}
.reform4-info h3 {
    flex-basis: calc(100% - 65px);
    font-size: 18px;
}
.reform4-info p{
    margin-bottom: 15px;
}
.reform4-btn div {
    font-size: 14px;
    margin-bottom: 10px;
}
.reform4-btn img {
    width: 28px;
}
.reform4 .triangle-down {
    border-top: 25px solid #db5872;
}
.reform5-item {
    margin-bottom: 20px;
}
.qa-item dt {
    padding: 0 30px 0 10px;
    font-size: 15px;
    text-indent: -15px;
    margin-left: 15px;
}
.qa-item dt::after {
    right: 5px;
}
.qa-item dt span, .qa-item dd span {
    font-size: 20px;
    margin-right: 5px;
}
.qa-item dd {
    padding: 0;
    width: 100%;
}


}

/**********************************************************************/
/**************************  会社概要ページ  **************************/
/**********************************************************************/
.company1{
    background: var(--bg);
}
.company1-info{
    flex-basis: 62%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.company1-info h3{
    font-size: 20px;
    margin-bottom: 30px;
    text-align: center;
}
.company1-info span{
    display: block;
    text-align: right;
    letter-spacing: 5px;
    margin-top: 30px;
    font-size: 22px;
    font-family: "ab-kirigirisu", "Noto Sans JP", sans-serif;
}
.company1-img{
    flex-basis: 35%;
}
.company2{
    padding-bottom: 0;
}
.company2 dl{
    display: flex;
}
.company2 dl:not(:last-of-type) {
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 10px;
    margin-bottom: 10px;
}
.company2 dt{
    flex-basis: 200px;
    background: rgba(0,128,128,0.2);
    padding: 20px;
    border-radius: 5px;
    line-height: 1.8;
}
.company2 dd{
    flex-basis: calc(100% - 200px);
    padding: 20px 30px;
    line-height: 1.8;
}

@media screen and (max-width:768px){
    .company1-info h3 {
        font-size: 16px;
        margin-bottom: 20px;
    }
.company1-img {
    width: 90%;
    margin: 0 auto 15px;
}
.company1-info span {
    font-size: 18px;
}
.company2 {
    border-bottom: 1px solid #e5e5e5;
}
.company2 dl {
    display: block;
    border-bottom: none!important;
    padding-bottom: 0px!important;
    margin-bottom: 0px!important;
}
.company2 dt {
    padding: 5px 20px;
    text-align: center;
}
.company2 dd {
    padding: 10px 20px;
    font-size: 14px;
}

}

/**********************************************************************/
/*************************  プライバシーポリシー **************************/
/**********************************************************************/
.policy {
    padding: 80px;
    background: #fbf7f3;
    border: 1px solid #ccc;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,.04);
    line-height: 1.9;
}
.policy h2 {
    line-height: 1.4;
    color: var(--key);
    margin: 1.8rem 0 0.6rem;
    font-size: 20px;
}
.policy p,.policy ul {
    margin: 0 0 1rem;
    color: #333;
}
.policy ul {
    padding-left: 1.2em;
}
.policy li {
    margin: 0.3rem 0;
    position: relative;
    padding-left: 0.8em;
}
.policy li::before {
    content: "";
    position: absolute;
    left: 0; top: 0.45em;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #d8b999;
}
.policy .privacy-date{
    text-align: right;
    margin-top: 0.5rem;
}
.policy .com-name{
    border-top: 1px solid #aaa;
    padding-top: 30px;
    margin-top: 30px;
}
.policy .privacy-date p {
    display: inline-block;
    padding: 0.25rem 0.6rem;
    font-size: 0.9em;
    color: #555;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 999px;
    margin-bottom: 0;
}

@media screen and (max-width:768px){
.policy {
    padding: 30px 20px;
}
.policy h2 {
    font-size: 17px;
}
.policy ul {
    padding-left: 10px;
}
.policy li::before {
    top: 9px;
}
.policy .privacy-date p {
    border-radius: 20px;
    padding: 0.5rem 1rem;
    line-height: 1.8;
}


}

/**********************************************************************/
/**************************  一覧ページ共通  **************************/
/**********************************************************************/
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5em;
    margin-top: 3em;
}

.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 0.95em;
    text-decoration: none;
    color: #333;
    background: #f2f2f2;
    transition: all 0.25s ease;
}

/* ホバー時 */
.pagination .page-numbers:hover {
    background: var(--key);
    color: #fff;
}

/* 現在のページ */
.pagination .page-numbers.current {
    background: var(--key);
    color: #fff;
    font-weight: 600;
}

/* 「前へ」「次へ」ボタン */
.pagination .prev,
.pagination .next {
    width: auto;
    padding: 0 1.2em;
    border-radius: 50px;
    background: #eee;
}

.pagination .prev:hover,
.pagination .next:hover {
    background: var(--key);
    color: #fff;
}

/**********************************************************************/
/**************************  お客様の声一覧  **************************/
/**********************************************************************/
.a-voice-main{
    padding-top: 0;
}
.a-voice-item{
    padding: 80px 0;
}
.a-voice-item:nth-of-type(odd){
    background: var(--bg);
}
.a-voice-item h3{
    text-align: center;
    color: var(--key);
    font-size: 24px;
    margin-bottom: 30px;
}
.a-voice-thumb{
    flex-basis: 48%;
}
.a-voice-info{
    flex-basis: 48%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5%;
}

@media screen and (max-width:768px){
    .a-voice-page .page-top h2 {
        font-size: 20px;
    }
.a-voice-item {
    padding: 40px 0;
}
.a-voice-item h3 {
    font-size: 17px;
    margin-bottom: 20px;
}
.a-voice-thumb {
    margin-bottom: 15px;
}
.a-voice-info p{
    margin-bottom: 30px;
}


}
/**********************************************************************/
/**************************  イベント一覧  **************************/
/**********************************************************************/
.a-event-main{
    background: var(--bg);
}
.a-event-item{
    margin-bottom: 20px;
    border-bottom: 1px solid #aaa;
    padding-bottom: 20px;
}
.a-event-thumb{
    flex-basis: 30%;
}
.a-event-info{
    flex-basis: 65%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.a-event-item a:hover .a-event-info{
    opacity: 0.3;
}
.a-event-status{
    width: 200px;
    text-align: center;
    padding: 5px;
    display: inline-block;
    margin-bottom: 10px;
    color: #fff;
    border-radius: 10px;
}
.a-event-status.open{
    background: crimson;
}
.a-event-status.closed{
    background: #999;
}
.a-event-title{
    font-size: 22px;
    margin-bottom: 13px;
}
.a-event-detail{
    background: #fff;
    padding: 15px;
    font-size: 14px;
}
.a-event-text{
    margin-bottom: 15px;
}
.a-event-detail{
    gap: 7px;
}
.a-event-detail dt{
    flex-basis: 60px;
    background: var(--key);
    color: #fff;
    text-align: center;
    display: inline-block;
}
.a-event-detail dd{
    flex-basis: calc(100% - 72px);
}

@media screen and (max-width:768px){
.a-event-thumb {
    margin-bottom: 15px;
}
.a-event-status {
    width: 100%;
    font-size: 14px;
}
.a-event-title {
    font-size: 18px;
    margin-bottom: 5px;
}
.a-event-detail {
    padding: 10px;
}


}


/**********************************************************************/
/*****************************  ブログ一覧  *****************************/
/**********************************************************************/
.a-blog-main{
    padding-top: 0;
}
.a-blog-items{
    gap: 2%;
}
.a-blog-item{
    flex-basis: 32%;
    box-shadow: 3px 3px 5px rgba(0,0,0,0.1);
    border-radius: 5px;
    margin-bottom: 30px;
}
.a-blog-thumb img{
    object-fit: cover;
    aspect-ratio: 3/2;
}
.a-blog-title{
    padding: 20px;
}

@media screen and (max-width:768px){
    .a-blog-title {
        padding: 20px 15px;
        font-size: 14px;
    }
}
/**********************************************************************/
/**************************  ニュース一覧  **************************/
/**********************************************************************/
.news-main{
    background: var(--bg);
    margin-bottom: 50px;
}
.a-news-item a{
    border-bottom: 1px solid #aaa;
    padding-bottom: 20px;
}
.a-news-item:not(:last-of-type) a{
    margin-bottom: 20px;
}
.a-news-item time{
    width: 115px;
    padding-left: 30px;
    position: relative;
    display: inline-block;
    transform: translateY(6px);
    letter-spacing: 2px;
    font-size: 14px;
}
.a-news-item time::before{
    content: "";
    width: 0;
    border-left: 10px solid var(--key);
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    position: absolute;
    top: 1px;
    left: 0;
}
.a-news-title{
    flex-basis: calc(100% - 140px);
    font-size: 18px;
}

@media screen and (max-width:768px){
    .a-news-title {
        font-size: 15px;
        margin-top: 15px;
        padding: 0 2%;
    }
}


/**********************************************************************/
/**************************  施工事例一覧  **************************/
/**********************************************************************/

.works-main{
    background: var(--bg);
}
.a-works-items{
    gap: 2%;
}
.a-works-item{
    flex-basis: 32%;
    margin-bottom: 50px;
}
.a-works-item {
    margin-bottom: 30px;
}

/**********************************************************************/
/**************************  シングル共通  **************************/
/**********************************************************************/
.single-page{
    margin-bottom: 50px;
}
.s-event-main{
    padding: 50px 0;
}
.single-main h2{
    text-align: center;
    color: var(--key);
    font-size: 28px;
    margin-bottom: 60px;
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: center;
    margin-top: 50px;
}
.single-main h2::before,.single-main h2::after{
    content: "";
    flex-grow: 1;
    border-top: 2px solid var(--key);
}
.single-main h3{
    font-size: 24px;
    border-left: 5px solid var(--key);
    padding: 5px 0 5px 20px;
    margin-top: 30px;
    margin-bottom: 30px;
    font-weight: bold;
}
.single-main h4{
    border-bottom: 1px solid;
    padding: 0 20px 8px;
    margin-bottom: 20px;
    margin-top: 30px;
    font-size: 20px;
    font-weight: bold;
}
.single-main h5{
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 20px;
    text-decoration: underline;
}
.single-main h6{
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 20px;
}
.single-main ul{
    margin: 30px 0;
    padding-left: 20px;
    font-weight: bold;
}
.single-main li{
    margin-bottom: 10px;
}
.single-main p{
    margin-bottom: 20px;
}
.single-main a{
    text-decoration: underline;
    color: blue;
}
.single-main .wp-block-image{
    margin: 40px auto 20px;
}
.single-nav__pager{
    justify-content: center;
    gap: 5%;
    margin: 100px auto 50px;
}
.single-nav-btn a{
    border: 1px solid;
    display: inline-block;
    padding: 15px 80px;
    color: #000;
    text-decoration: none;
}

@media screen and (max-width:768px){
    .single-main h2 {
        font-size: 18px;
        margin-bottom: 20px;
        margin-top: 30px;
        font-weight: bold;
    }
    .single-main h3 {
        font-size: 18px;
        padding: 5px 0 5px 15px;
        margin: 20px auto;
    }
    .single-main h4 {
        padding: 0 10px 8px;
        margin-bottom: 15px;
        margin-top: 20px;
        font-size: 15px;
    }
    .single-main h5 {
        font-size: 14px;
        margin-bottom: 15px;
    }
    .single-main h6 {
        font-size: 14px;
        margin-bottom: 15px;
    }
    .single-main ul {
        margin: 20px 0;
        padding-left: 15px;
    }
    .single-nav__pager {
        margin: 50px auto 15px;
    }
    .single-nav-btn{
        flex: 1 0 auto;
    }
    .single-nav-btn a {
        padding: 10px;
        display: block;
        text-align: center;
    }

}

/**********************************************************************/
/**************************  シングルブログ  **************************/
/**********************************************************************/
.s-blog-thumb{
    margin-bottom: 30px;
}
.single-blog h1{
    font-size: 28px;
    margin-bottom: 5px;
    font-weight: bold;
    color: var(--key);
}
.single-blog time{
    letter-spacing: 1px;
    background: #777;
    color: #fff;
    padding: 5px 20px;
    display: inline-block;
    margin-bottom: 20px;
}

@media screen and (max-width:768px){
    .single-blog h1 {
        font-size: 20px;
    }

}
/**********************************************************************/
/**************************  シングルニュース  **************************/
/**********************************************************************/
.single-news{
    margin-top: 50px;
}
.single-news h1{
    font-size: 28px;
    margin-bottom: 5px;
    display: flex;
    gap: 2%;
    align-items: center;
    color: var(--key);
    font-weight: bold;
}
.single-news h1::after{
    content: "";
    border-top: 1px solid;
    flex-grow: 1;
}
.single-news time{
    letter-spacing: 1px;
    background: #777;
    color: #fff;
    padding: 5px 20px;
    display: inline-block;
    margin-bottom: 20px;
}

@media screen and (max-width:768px){
    .single-news {
        margin-top: 30px;
    }
.single-news h1 {
    font-size: 18px;
    display: block;
}
.single-news time {
    margin-bottom: 0;
    font-size: 13px;
}
.single-main h3 {
    font-size: 18px;
    border-left: 5px solid var(--key);
    padding: 5px 0 5px 15px;
    margin-top: 20px;
    margin-bottom: 20px;
    font-weight: bold;
}


}

/**********************************************************************/
/**************************  シングルイベント  **************************/
/**********************************************************************/
.s-event-title{
    margin-bottom: 30px;
    align-items: center;
}
.s-event-status{
    display: inline-block;
    color: #fff;
    padding: 10px;
    flex-basis: 140px;
    text-align: center;
    font-size: 18px;
    margin-bottom: 15px;
}
.s-event-status.open{
    background: crimson;
}
.s-event-status.closed{
    background: #999;
}

.s-event-title h1{
    flex-basis: calc(100% - 150px);
    font-size: 28px;
}
.s-event-top{
    padding-top: 0;
}
.s-event-thumb{
    flex-basis: 40%;
}
.s-event-info{
    flex-basis: 57%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.s-event-info h2{
    background: var(--key);
    text-align: center;
    color: #fff;
    padding: 5px;
    font-size: 20px;
    margin-bottom: 30px;
}
.s-event-detail{
    border-top: 1px solid #A6A6A6;
}
.s-event-detail dt{
    flex-basis: 130px;
    border-bottom: 1px solid #a6a6a6;
    padding: 15px;
    background: #cce5e5;
    display: flex;
    align-items: center;
    justify-content: center;
}
.s-event-detail dd{
    flex-basis: calc(100% - 130px);
    border-bottom: 1px solid #a6a6a6;
    padding: 15px 20px;
}
.s-event-main{
    background: var(--bg);
}
.s-event-tokuten{
    padding: 50px 0 50px;
}
.s-event-tokuten-in{
    border: 4px solid crimson;
    border-radius: 30px;
}
.s-event-tokuten-in>div{
    padding: 30px;
}
.s-event-tokuten-in h2{
    background: crimson;
    text-align: center;
    color: #fff;
    padding: 10px;
    font-size: 23px;
    border-radius: 25px 25px 0 0;
    margin: 0;
    display: block;
}
.s-event-tokuten-info{
    padding: 30px;
    flex-basis: 57%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.s-event-tokuten-info p{
    font-size: 18px;
    line-height: 2.2;
}
.s-event-tokuten-img{
    flex-basis: 40%;
}
.event-closed{
    text-align: center;
    font-size: 20px;
}
.single-event .contact-form {
    border-top: 1px solid #ccc;
    border-radius: 0;
}

@media screen and (max-width:768px){
.s-event-status {
    display: block;
    padding: 7px;
    margin-bottom: 15px;
}
.s-event-title h1 {
    font-size: 18px;
    text-align: center;
}
.s-event-info h2 {
    font-size: 18px;
    margin-bottom: 15px;
}
.s-event-detail dt {
    padding: 5px;
    font-size: 14px;
}
.s-event-detail dd {
    padding: 15px;
    font-size: 14px;
}





}

/**********************************************************************/
/**************************  シングルワークス  **************************/
/**********************************************************************/
.single-works h1{
    text-align: center;
    font-size: 24px;
    margin: 30px auto;
}
.works-comment{
    border: 1px solid;
    padding: 30px;
    max-width: 950px;
    margin: 0 auto 30px;
}
.s-works-topimg img{
    max-height: 800px;
    object-fit: cover;
}
.works-imgs{
    margin-bottom: 80px;
}
/* ギャラリー全体をflexに */
.single-works .wp-block-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-start;
}

/* 各画像ブロック */
.single-works .wp-block-gallery .wp-block-image {
  flex: 0 0 calc((100% - 24px) / 3)!important; /* ← 3列（gap×2ぶん引いて3等分） */
  margin: 0;
  position: relative;
  aspect-ratio: 1 / 1;               /* 正方形化 */
  overflow: hidden;
  border-radius: 8px;
}

/* 画像をトリミングしてフィット */
.single-works .wp-block-gallery .wp-block-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* キャプションがある場合（任意） */
.single-works .wp-block-gallery .wp-element-caption {
  margin-top: 6px;
  font-size: 0.9rem;
}

/* レスポンシブ */
@media (max-width: 1024px) {
  .single-works .wp-block-gallery .wp-block-image {
    flex: 0 0 calc((100% - 12px) / 2)!important; /* 2列 */
  }
}
@media (max-width: 768px) {
.single-works h1 {
    text-align: left;
    font-size: 16px;
    margin: 20px auto;
}
.works-comment {
    padding: 20px;
    margin: 0 auto 20px;
}


}


/**********************************************************************/
/**************************  プライバシー  **************************/
/**********************************************************************/
.page-id-55 .img-pattern{
    display: none;
}
.page-id-55 .header-text{
    color: #000;
}
.page-id-55 .header-text span{
    color: #999;
}
.policy-main{
    margin-bottom: 80px;
}
.policy-main h2{
    border-left: 7px solid var(--key);
    padding: 3px 0 3px 10px;
    margin-bottom: 20px;
    font-size: 26px;
    font-weight: 700;
}
.policy-main h3{
	font-size: 24px;
	margin-bottom: 20px;
    font-weight: 700;
}
.policy-main p{
	margin-bottom: 30px;
    font-weight: 300;
}
.policy-main ul{
    background: #f8f8f8;
    padding: 20px;
    margin-bottom: 30px;
}
.policy-main li{
    text-indent: -20px;
    margin-left: 20px;
    line-height: 1.5;
}
.policy-main li:not(:last-of-type){
    margin-bottom: 20px;
}

@media screen and (max-width:768px){
    .policy-main {
        margin-bottom: 50px;
    }
	.policy-main h2 {
		border-left: 5px solid var(--key);
		margin-bottom: 10px;
		font-size: 18px;
	}
	.policy-main h3 {
		font-size: 16px;
		margin-bottom: 10px;
	}
    .policy-main li {
        font-size: 14px;
        line-height: 1.7;
    }
    .policy-main li:not(:last-of-type) {
        margin-bottom: 15px;
    }
}

/**********************************************************************/
/**************************  コンタクトフォーム  **************************/
/**********************************************************************/

.tel-btn{
    text-align: center;
    margin-bottom: 50px;
}
.tel-btn a{
    background: #555;
    display: inline-block;
    padding: 10px 30px;
    color: #fff;
    border-radius: 10px;
}
.tel-btn a div{
    font-family: "ab-kirigirisu", "Noto Sans JP", sans-serif;
    font-size: 30px;
    letter-spacing: -3px;
    gap: 10px;
}
.tel-btn img{
    width: 40px;
}
.contact-form {
    padding: 60px 40px 30px;
    background: #f9f9f9;
    border-radius: 5px;
    box-shadow: 3px 3px 2px rgba(0,0,0,0.1);
}
.wpcf7{
    letter-spacing: 1px;
}
.form-title{
    text-align: center;
    margin-bottom: 60px;
}
.form-title h2{
    font-family: "ab-kirigirisu", "Noto Sans JP", sans-serif;
    font-size: 30px;
    color: var(--key);
    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: var(--key);
}
.form-group {
    margin-bottom: 30px;
}
.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: 70px;
	font-size: 13px;
	color: #949497;
}
.input-group p span{
    width: 100%;
}
.has-label span{
    width: calc(100% - 70px)!important;
}
.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-top: 10px;
}
.contact-bottom-p{
    margin-top: 20px;
    line-height: 1.5;
}
.form-harf{
    flex-basis: 48%;
}
.input-group3{
    display: flex;
    align-items: center;
}
.has-label3 {
    margin-bottom: 15px;
}
.input-group3 .input-label{
    flex-basis: 100px;
}
.input-3items{
    flex-basis: calc(100% - 100px);
    display: flex;
    align-items: center;
}
.input-group3:last-of-type{
    margin-bottom: 0!important;
}
.input-3items>span{
    flex-basis: 30%;
}
.input-3items>span:not(:first-of-type){
    margin: 0 5px 0 15px;
}

/* 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);
    font-family: "ab-kirigirisu", "Noto Sans JP", sans-serif;
}
.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){
	.contact-form {
		padding: 30px 0 10px;
	}
	.input-label {
		width: 70px;
	}
	input, select, textarea {
		font-size: 14px;
	}
    .form-title {
        margin-bottom: 40px;
    }
    .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;
    }
.input-3items {
    flex-wrap: wrap;
    gap: 5px;
}
.input-3items>span:first-of-type {
    flex-basis: 100%;
}
.input-3items>span:not(:first-of-type) {
    margin: 0;
}
/* 日付入力の共通スタイル（PC/スマホ） */
input[type="date"] {
    box-sizing: border-box;
    width: 100%;
    height: 35px;                 /* 好きな高さに調整 */
    padding: 8px 12px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;

    -webkit-appearance: none;     /* iOSのデフォ見た目を外す */
    appearance: none;
}

/* iOS Safari向けの微調整（必要なら） */
input[type="date"]::-webkit-date-and-time-value {
    text-align: left;
    padding: 0;
}


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

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

.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;
}
.mt-auto{
    margin-top: auto;
}

@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;
  }
  /*スマホのみ表示ブロック*/
}
