@charset "utf-8";

h2 {

}
.TitleType1 {
    font-size: 48px;
	margin: 0 auto;
    text-align: center;
}
.TitleType2 {
    font-size: 32px;
	letter-spacing: 0;
}
.TitleType3 {
    font-size: clamp(18px, 3.0vw, 24px);
	letter-spacing: 0;
}
h3 {
    font-size: clamp(1.6rem, 3.0vw, 40px);
    margin: 0 auto;
    font-weight: 400;
}
/***** 共通リンクアニメ *****/
a.anim {
    transition: transform 0.3s, background-color 0.3s, box-shadow 0.3s;
}
a.anim:hover {
	opacity: 0.8;
    transform: translateY(-3px) scale(1.0);
}
/***** スクロールアニメ *****/
.blur{
  opacity: 0;
  filter: blur(12px);
  transform: translateY(70px) scale(0.98);
  transition:
    opacity 0.75s cubic-bezier(.22,.61,.36,1),
    transform 0.75s cubic-bezier(.16,1,.3,1), /* ←グッと来て最後ゆるむ */
    filter 0.75s ease;
  will-change: transform, opacity, filter;
}

.blur.scrollin{
  opacity: 1;
  filter: blur(0);
  transform: translateY(0) scale(1);
}
/***** コンテンツスクロールBox *****/
.ScrollBox {
	max-height: clamp(320px, 55vh, 720px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch; /* iPhone慣性スクロール */
   padding: 16px;
}


/***** 共通背景カラー *****/
.bg-gray {background: #F5F5F4;}
.bg-green {background: #4E6F2F;}
.bg-sgreen {background: #C5CDA4;}
.bg-tgreen {background: #E8EBDB;}
.bg-blue {background: #A4CDCD;}
.bg-purple {background: #CDA4BD;}
.bg-white {background: #FFFFFF;}
/***** 共通フォントカラー *****/
.Col-blue {color: #A4CDCD!important;}
.Col-sblue {color: #D2E6E6!important;}
.Col-dgreen {color: #4E6F2F!important;}
.Col-green {color: #C5CDA4!important;}
.Col-sgreen {color: #E8EBDB!important;}
.Col-white {color: #FFFFFF!important;}
.Col-purple {color:#CDA4BD!important;}
.Col-spurple {color: #E6D2DE!important;}

/***** 共通タイトルスタイルメイン *****/
.TitleArea-main {
	display: flex;
	justify-content: center;
	flex-direction: column;
	align-items: center;
}


/***** 共通タイトルスタイルview more有り *****/
.TitleArea-view {
	display: flex;
	justify-content: space-between;
}
/***** 共通タイトルスタイルview more無し中央 *****/
.TitleArea {
	display: flex;
    margin: 96px auto;
}
/***** 共通タイトルスタイルview more無し中央 *****/
.TitleBox {
	margin-bottom: clamp(80px, 12vw, 160px);
}
.animated-link {
    display: inline-flex;
    align-items: center; 
    text-decoration: none;
    font-size: 16px; 
    color: #474747;
    transition: transform 0.3s ease-out, color 0.3s ease-out; 
    position: relative; 
    padding-right: 25px; 
}
.animated-link .link-text {
    padding-bottom: 1px; 
    position: relative;
    z-index: 10;
}
.animated-link .link-text::before {
    content: '';
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 20%; 
    height: 1px;
    background-color: #474747;
    transition: width 0.3s ease-out, background-color 0.3s ease-out;
    z-index: 5;
}
.animated-link::after {
    content: '';
    display: block;
    position: absolute;
    top: 53%;
    right: 0;
    --arrow-thickness: 1px;
    width: 10px;
    height: 10px;
    border-top: var(--arrow-thickness) solid #474747;
    border-right: var(--arrow-thickness) solid #474747;
    transform: translateY(-50%) rotate(45deg);
    transition: all 0.3s ease-out;
}
.animated-link:hover {
    transform: translateX(3px); 
    color: #4E6F2F; 
}
.animated-link:hover .link-text::before {
    width: 100%;
    background-color: #4E6F2F;
}
.animated-link:hover::after {
    right: -5px; 
    border-top-color: #4E6F2F; 
    border-right-color: #4E6F2F; 
}
.small {font-size: 12px;}
.fwb {font-weight:600;} /* 太文字に */

@media (max-width: 480px){
.TitleArea-view {
	display: block;
}
}
/********************
*
*共通コンテンツスタイル
*
********************/
.first{
  padding-top: clamp(120px, 18vw, 240px);
     display: flex;
    justify-content: center;
}
.Second {
  padding-top: clamp(80px, 12vw, 160px);
  display: flex;
  justify-content: center;
}
.container {
	display:flex;
  flex-direction: column;
}
.section {
	position: relative;
}
.Contents {
	position: relative;
	width: 100%;
    max-width: 1240px;
	padding: 0 20px;
	margin: auto;
}

/* パンくず */
.Breadcrumb {
  padding: 0 16px;
  margin: 0;
  width: 100%;
  text-align: left;
  box-sizing: border-box;
}

.Breadcrumb ol {
  display: inline-flex;
  gap: 6px;
  padding: 0;
  margin: 0;
  list-style: none;
  font-size: clamp(0.6rem, 0.8vw, 0.8rem);
  align-items: center;
  flex-wrap: wrap;
    line-height: 1.0;
}

.Breadcrumb li {
  display: flex;
  align-items: center;
}

.Breadcrumb li a {
  text-decoration: none;
  transition: opacity 0.2s;
}

.Breadcrumb li a:hover {
  opacity: 0.6;
}

/* ▼ 区切り（> マーク）を自動生成 */
.Breadcrumb li:not(:last-child)::after {
  content: ">";
  margin-left: 6px;
  color: #555;
}

/**********************
共通アクションエリア
**********************/
.ActionArea {
    padding: clamp(40px, 6vw, 80px) 0;
    position: relative;
    align-items: center;
		margin-top: clamp(80px, 12vw, 160px);;
}
.ActionArea h2 {
	margin: 0;
}
.AcBox {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    justify-content: center;
	margin:clamp(40px, 6vw, 80px) auto clamp(40px, 6vw, 80px);
}
.AcBox .is-half {
	width: 50%;
    text-align: center;
    padding: 16px;
}
.AcBox .is-tel a,
.AcBox .is-webres  a {
    padding: 16px;
}


@media (max-width: 768px){
.ActionArea {
        padding: 24px 0;
        align-items: center;
        column-gap: clamp(16px, 3vw, 64px);
        justify-content: center;
}
.AcBox {
	text-align: center;
	margin-bottom: clamp(32px, 6vw, 64px);
}
.AcBox .is-half{ width: 100%; margin-bottom: 16px; padding:0; }
}

/********************
ヘッダーの全体スタイル
********************/
.header {
    width: 100%;
    position: relative;
    z-index: 10;
    background: #C5CDA4;
    display: flex;
    justify-content: center;
    align-items: center;
}
/* コンテナのスタイル */
.header-area {
	margin: 0 auto;
    padding: 16px;
    box-sizing: border-box;
    display: block;
    align-items: center;
}
.header-container {
    display: flex;
    justify-content: center;
    align-items: center;
}
/* ロゴのスタイル */
.site-logo {
	display: flex;
    justify-content: center;
    align-items: center;
	margin: auto;
}
.site-logo img {
    max-width: 60px;
}
.site-logo  a img {
	display: block;
}
@media (max-width: 768px){
.header {
    xposition: fixed;
}
/* コンテナのスタイル */
.site-logo img {
    max-width: 44px;
}
.header-area {
	padding: 13px;
}
}

/********** ヘッダーメニュー **********/

/* ハンバーガーボタン */
.button{
  border-radius: 50px;
  background: #B1B994;
  line-height: 1;
  box-shadow: none;
  appearance: none;
  cursor: pointer;
  position: absolute;
  top: 16px;
  right: 32px;
  z-index: 1010;
  padding: 13.5px 17px;
  border: 1px solid #B1B994;
  box-sizing: border-box;
  transition: background-color .2s ease, border-color .2s ease;
}
.button:hover{
  background: #fff;
}

/* ハンバーガー線 */
.button .line-box .line{
  display: block;
  width: 24px;
  height: 1px;
  background: #fff;
  margin: 7px 0;
  transition: background-color .2s ease;
}
.button .line-box .line:nth-child(3){
  width: 16px;}
.button:hover .line-box .line{ background: #B1B994; }
.button:hover .line-box .line:nth-child(3){
  width: 24px;
  transition: width 0.3s ease-out, background-color 0.3s ease-out;}
/* 背景スクロール抑止 */
body.no-scroll{ overflow: hidden; }

/* dialog（displayはいじらない） */
.dialog{
  padding: 0;
  border: none;
  background: transparent;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .25s ease, visibility .25s ease;
}
.dialog::backdrop{
  background: rgba(0,0,0,.45);
  opacity: 0;
  transition: opacity .25s ease;
}
.dialog.-open{
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.dialog.-open::backdrop{ opacity: 1; }

/* ★ズレない土台：必ず全画面 fixed */
.mobile-menu-container{
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100dvh;
  background: transparent;
  overflow: hidden;
  z-index: 1000;
}
@supports (height: 100svh){
  .mobile-menu-container{ height: 100svh; }
}

/* ★右パネル本体：ここだけスライドする（max640） */
.mobile-menu-panel{
  position: absolute;
  top: 0;
  right: 0;
  width: min(640px, 100vw);
  height: 100%;
  background: #fff;
  box-sizing: border-box;

  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 16px 16px calc(16px + env(safe-area-inset-bottom));

  transform: translate3d(100%,0,0);
  transition: transform .45s cubic-bezier(.2,.7,.3,1);
  will-change: transform;

  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* 開いたら右→左 */
.dialog.-open .mobile-menu-panel{
  transform: translate3d(0,0,0);
}

/* 中身の“ふわっ”（必要なものだけ） */
.dialog .mod-links .is-half,
.dialog .menu-item,
.dialog .Bnr-area,
.dialog .social-links,
.dialog .close-button{
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .35s ease, transform .35s ease;
}
.dialog.-open .mod-links .is-half,
.dialog.-open .menu-item,
.dialog.-open .Bnr-area,
.dialog.-open .social-links,
.dialog.-open .close-button{
  opacity: 1;
  transform: translateY(0);
}

/* 二回目以降の保険（白化対策） */
.dialog.-open .mod-links .is-half,
.dialog.-open .menu-item,
.dialog.-open .Bnr-area,
.dialog.-open .social-links,
.dialog.-open .close-button{
  opacity: 1 !important;
  transform: none !important;
}

/* 順番ディレイ（必要なら） */
.dialog.-open .mod-links .is-half{ transition-delay: .10s; }
.dialog.-open .Bnr-area{ transition-delay: .70s; }
.dialog.-open .social-links{ transition-delay: .80s; }
.dialog.-open .close-button{ transition-delay: .10s; }

/* nav中身（現状踏襲） */
.mod-navbox{ padding: 32px 16px; }
.mod-links{
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  justify-content: center;
}
.is-half{ width: 50%; text-align: center; }
.is-triple{ width: 33.33%; }

.is-tel a {
	color: #fff;
	text-decoration: none;
	display: block;
	padding: 8px 16px;
    background: #4E6F2F;
}
.is-webres a {
	color: #fff;
	text-decoration: none;
	display: block;
	padding: 8px 16px;
	background: #D98A52;
}
.info-nam{ font-size: 24px; letter-spacing: 0; }
.info-nam a,
.info-nam a:hover {
	color:#FFFFFF;
text-decoration: none;
}
/* メニュー（#menu-menu1） */
#menu-menu1 li{
  width: 33.333%;
  box-sizing: border-box;
  position: relative;
  border-bottom: 1px solid #DADADA;
}
#menu-menu1 li::after{
  content: "";
  position: absolute;
  height: 80px;
  width: 1px;
  background-color: #DADADA;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto 0;
}
#menu-menu1 li:nth-child(3n)::after{ content: none; }

#menu-menu1 li a{
  padding: 16px 0;
  display: block;
  text-align: center;
  text-decoration: none;
  color: #474747;
  transition: background-color .25s ease, color .25s ease;
}
#menu-menu1 li a:hover{
  background: #4E6F2F;
  color: #fff;
}
#menu-menu1 li a .menu-subtitle{ font-weight: 600; }
#menu-menu1 li a .menu-subtitle::after{
  content: "";
  display: block;
  width: 16px;
  height: 2px;
  background: #4E6F2F;
  margin: 8px auto;
}
#menu-menu1 li a .nav-label{ font-size: 12px; }

/* バナー */
.Bnr-area{
  display: flex;
  justify-content: center;
  margin-top: 24px;
}
.Bnr-area a img{ max-width: 300px; }

/* SNS */
.social-links{
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin: 24px auto 0;
}
.social-links a{
  display: block;
  transition: transform .25s ease;
}
.social-links a:hover{ transform: translateY(-6px) scale(1.05); }

.social-links a img{
	max-width:32px;
}

/* 閉じるボタン（X） */
.button.close-button{
  position: absolute;
  top: 16px;
  right: 32px;
  padding: 18px;
  background: #c8c8c8;
  border: none;
  border-radius: 50px;
  transition: background-color .15s ease;
  z-index: 1011;
}
.button.close-button:hover{ background: #474747; }
.button.close-button .line-box .line{ background: #474747; }
.button.close-button:hover .line-box .line{ background: #fff; }
.button.close-button .line-box .line:first-child{ transform: translateY(4px) rotate(45deg); }
.button.close-button .line-box .line:last-child { transform: translateY(-4px) rotate(-45deg); }

/* 640px以下 */
@media (max-width: 768px){
.button{
  top: 13px;
  right: 16px;
  padding: 5.5px 9px;
}
/* 閉じるボタン（X） */
.button.close-button{
  top: 13px;
  right: 16px;
  padding: 10px;
}

  .is-half{ width: 100%; margin-bottom: 8px; }
  #menu-menu1 li{ width: 50%; }
  #menu-menu1 li:nth-child(3n)::after{ content: ""; }
  #menu-menu1 li:nth-child(2n)::after{ content: none; }
  .mobile-menu-panel{ width: 100vw; } /* SPはフル幅で安定 */
}

/* モーション軽減 */
@media (prefers-reduced-motion: reduce){
  .dialog::backdrop,
  .mobile-menu-panel,
  .mod-links .is-half,
  .menu-item,
  .Bnr-area,
  .social-links,
  .close-button{
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

@media (max-width: 767px) {
#Contents {
    max-width: 100%;
}
}
@media (max-width: 480px) {

.section {
    padding: 0 24px;
}
}

/******************************
*
*フッター
*
******************************/

.footer .TitleType2 {
    margin: 0 auto 40px;
} 

footer {
    background: #5E6052;
    color: #FFF;
    position: relative;
    padding: clamp(80px, 12vw, 160px) 0 clamp(48px, 8vw, 80px);
	display: flex;
    justify-content: center;
}
footer a,
footer p a {
	color: #FFF!important;
	text-decoration: none!important;
}
.footerInfo {
	margin-top: clamp(48px, 8vw, 80px);
    display: flex;
    justify-content: space-between;
	gap: 32px;
}
.footerInfo dl {
	margin: 0;
	width: 100%;
	display: flex; 
    flex-wrap: wrap;
	align-items: baseline;
}
.footerInfo dl dt {
	font-size: 24px;
    width: 180px;
    margin: 0;
	margin-bottom: 8px;
}
.footerInfo dl dd {
    width: calc(100% - 180px);
    margin: 0;
	margin-bottom: 24px;	
}
span.ShopName {
	font-size: 20px;
	display: block;
	line-height: 1.0;
}
span.Bold {
	font-weight: 600;
}
.footer .CompanyImgs {
    text-align: right;
}
.footer .CompanyImgs .AcBox {
	display: block;
	margin: 0 auto;
    text-align: center;
}
.footer .CompanyImgs .AcBox .is-half {
    width: 100%;
    text-align: center;
	padding: 0;
	margin-bottom: 8px;
}
.Flogo {
	display: flex;
    align-items: center;
    justify-content: center;
    margin: 80px auto;
}
.footerMenu {
}
.footerMenu ul {
    display: flex;
    justify-content: center;
	flex-wrap: wrap;
	gap: 30px 30px;
	list-style: none;
    padding: 0;
    margin: 0;
}
.footerMenu ul li a {
	display: block;
	position: relative;
    padding-bottom: 8px;
	overflow: hidden;
}
.footerMenu ul li a::after {
    content: "";
    display: block;
    position: absolute;
    bottom: 0;
    transition: width 0.3s ease-out, left 0.3s ease-out; 
    height: 1px;
    background-color: #C8C8C8; 
    width: 50%;
    left: 25%; /* 100%幅の25%の位置から開始 = 50%幅で中央 */
}
.footerMenu ul li a:hover::after {
    width: 100%; 
    left: 0;     /* 左端を0%に戻す */
}
.footer .social-links a img {
	max-width: 32px;
}
.footer hr {
  margin-bottom: 0;
}
.copyright {
	text-align: center;
	margin: 5px auto;
}

/***** 追尾ページTOP *****/
.back-to-top {
	position: fixed;
    bottom: 16px;
    right: 16px;
    display: none;
    background-color: #FFF;
    color: #B1B994;
    padding: 30px;
    border-radius: 50px;
    text-align: center;
    text-decoration: none;
    font-size: 32px;
    z-index: 1000;
	border: 2px solid #B1B994;
    line-height: 1.0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, background-color 0.3s, box-shadow 0.3s;
	opacity: 0.8;
}

/* ホバー時のアニメーション */
.back-to-top:hover {
    background-color: #B1B994;
    transform: translateY(-10px) scale(1.1); /* 上に浮き上がり、少し大きくなる */
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
	color: #FFFFFF;
}

@media (max-width: 1024px){
.footerInfo dl {
    display: block;
}
.footer .CompanyImgs {
    text-align: center;
    margin-top: 40px;
}

}
@media (max-width: 768px){
.footerInfo {
    display: block;
}
.footerInfo dl dt {
    width: 100%;
}
.footerInfo dl dd {
    width: 100%;
    padding-left: 1rem;
}
}
/***** NewsArea *****/
.NewsArea {
    padding: clamp(40px, 6vw, 80px) 0;
	display: flex;
    justify-content: center;
}
.NewsArea h2 {
	margin: 0;
}
/***** InstaArea *****/
.InstaArea {
    padding: clamp(40px, 6vw, 80px) 0;
	display: flex;
    justify-content: center;
    overflow-x: clip;
}
.InstaArea h2 {
	margin: 0;
}
.Insta-list {
	margin: clamp(40px, 6vw, 80px) 0;
}
/***** GalleryArea *****/
.GalleryArea {
    padding: clamp(48px, 8vw, 80px) 0 clamp(80px, 12vw, 160px);
	display: flex;
    justify-content: center;
}
.GalleryArea h2 {
	margin: 0;
}


/* =========================
   Gallery Grid（3列固定）
========================= */
.GalleryGrid{
  list-style: none;
  margin: 80px auto 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(12px, 1.5vw, 18px);
}

/* タイル */
.GalleryItem{
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #eee;
}
.GalleryItem img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  transition: transform .6s ease, filter .6s ease;
}
.GalleryItem:hover img{
  transform: scale(1.08);
  filter: contrast(1.03) saturate(1.05);
}

/* SPは2列 */
@media (max-width: 780px){
  .GalleryGrid{ grid-template-columns: repeat(2, 1fr); }
}

/* =========================
   Gallery Reveal（専用）
========================= */
.GalleryGrid .gallery-reveal{
  opacity: 0;
  filter: blur(12px);
  transform: translateY(70px) scale(0.98);
  transition:
    opacity .75s cubic-bezier(.22,.61,.36,1),
    transform .75s cubic-bezier(.16,1,.3,1),
    filter .75s ease;
  will-change: transform, opacity, filter;
}
.GalleryGrid .gallery-reveal.is-show{
  opacity: 1;
  filter: blur(0);
  transform: translateY(0) scale(1);
}

/* =========================
   Modal
========================= */
.GalleryModal{
  border: none;
  padding: 0;
  width: min(980px, 92vw);
  background: transparent;
}
.GalleryModal::backdrop{ background: rgba(0,0,0,.65); }
.GalleryModal__img{
  width: 100%;
  height: auto;
  display: block;
}
.GalleryModal__close{
  position: absolute;
  top: -44px;
  right: 0;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(0,0,0,.35);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
}


/***** gmap *****/
.gmap {

overflow: hidden;
position: relative;
height: 450px;
}
.gmap iframe {
position: absolute;
left: 0;
top: 0;
height: 100%;
width: 100%;
}


/********** 下部リンクバナーセクション **********/
.LinksArea {
	padding: clamp(40px, 6vw, 80px);
	display: flex;
    justify-content: center;
}
.LinksArea ul {
	padding: 0;
	display: flex;
    justify-content: center;
    gap: 32px;
}
.LinksArea ul li {
}
.LinksArea ul li a {
	display: block;
    transition: transform 0.3s, background-color 0.3s, box-shadow 0.3s;
}
.LinksArea ul li a:hover {
transform: scale(1.02);
}

/**************************************
  MV：フルスクリーン動画
**************************************/
.mv{
  position: relative;
  height: 100svh;
  min-height: 100vh;
  overflow: hidden;
}

.mv video{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.mv-img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;   /* ← これが肝 */
  object-position: center;
  z-index: 0;
}
.mv-dot{
  position: absolute;
  inset: 0;
  z-index: 1;
  background: url("./mov/pattern-04.png") repeat;
  opacity: 0.6;
  pointer-events: none;
}

.mv::after{
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: rgba(0,0,0,0.25);
}

/* overlay：中身を配置するためにflex化 */
.mv-overlay{
  position: absolute;
  z-index: 3;
  top: -30%;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(10px, 2.0vw, 18px);
  padding: clamp(18px, 3vw, 40px);
  xpointer-events: none; /* ロゴ/文字をクリックさせないなら */
}

/* ロゴ */
.mv-overlay h1{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
}
.mv-overlay h1 img{
  display: block;
  width: 192px;
  height: auto;
}

/* 手書きテキスト（前に出した完成形） */
.Cabin.handwrite{
    position: absolute;
    right: 0;
	xtop: 68%;
    bottom: 15%;
    margin: 0;
    color: #fff;
    font-family: "Cabin Sketch", sans-serif;
    --charDelay: 0.06s;
    --drawTime: 0.22s;
    --lineGap: 0.20s;
    --size: clamp(32px, 5.5vw, 64px);
    display: flex;
    flex-direction: column;
    --charDelay: 0.06s;
    --drawTime: 0.22s;
    --lineGap: 0.20s;
    --size: clamp(28px, 5.5vw, 64px);
    padding: 1rem;
}

/* 2行 */
.handwrite-line{
  display: block;
  font-size: var(--size);
  line-height: 1.15;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

/* 1文字 */
.handwrite-char{
  display: inline-block;
  position: relative;

  opacity: 0;
  transform: translateY(0.10em) rotate(-1deg);
  filter: blur(0.3px);

  -webkit-mask-image: linear-gradient(#000 0 0);
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: 0% 100%;
  -webkit-mask-position: 0 0;

  animation:
    charReveal var(--drawTime) ease-out forwards,
    charInk 0.45s ease-out forwards;
  animation-delay:
    calc(var(--d) * var(--charDelay)),
    calc(var(--total) + 0.1s);
}

/* まだ開始しない状態（止める） */
.Cabin.handwrite:not(.hw-start) .handwrite-char{
  animation-play-state: paused;
  opacity: 0; /* 途中で見えないように */
}

/* 開始 */
.Cabin.handwrite.hw-start .handwrite-char{
  animation-play-state: running;
}

@keyframes charReveal{
  to{
    opacity: 1;
    transform: translateY(0) rotate(0deg);
    filter: blur(0px);
    -webkit-mask-size: 100% 100%;
  }
}

@keyframes charInk{
  to{
    text-shadow:
      0 0 0.5px rgba(255,255,255,0.35),
      0 0 10px rgba(255,255,255,0.08);
  }
}



/*********************************
 * First Section
 *********************************/

/* 50:50 フル幅 */
.FirstGrid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  min-height: clamp(560px, 48vw, 680px);
}

/* 左：背景画像 */
.FirstBg{
  background: url("./img/top/1st_img.jpg") center / cover no-repeat;
}
.FirstBg-hair{
  background: url("./img/hair/1st_img.jpg") center / cover no-repeat;
}
.FirstBg-kimono{
  background: url("./img/kimono/1st_img.jpg") center / cover no-repeat;
}
.FirstBg-beauty{
  background: url("./img/beauty/1st_img.jpg") center / cover no-repeat;
}
.FirstBg-photo{
  background: url("./img/photo/1st_img.jpg") center / cover no-repeat;
}
/* 右：テキスト（中央寄せ＋中身は左寄り） */
.FirstBody{
  position: relative;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;   /* ★ 枠の中央に寄せる */
  overflow: hidden;
}

/*********************************
 * Futures Section
 *********************************/

.Futures-odd {
	margin-bottom: clamp(80px, 12vw, 160px);
}
.Futures-even {
	margin-bottom: clamp(80px, 12vw, 160px);
}
/* 50:50 フル幅 */
.FuturesGrid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  min-height: clamp(300px, 40vw, 450px);
}

/* ヘアーカット画像 */
.hairBg1{
  background: url("./img/hair/futures_img01.jpg") center / cover no-repeat;
}
.hairBg2{
  background: url("./img/hair/futures_img02.jpg") center / cover no-repeat;
}
.hairBg3{
  background: url("./img/hair/futures_img03.jpg") center / cover no-repeat;
}
.hairBg4{
  background: url("./img/hair/futures_img04.jpg") center / cover no-repeat;
}
.hairBg5{
  background: url("./img/hair/futures_img05.jpg") center / cover no-repeat;
}

/* 着物画像 */
.kimonoBg1{
  background: url("./img/kimono/futures_img01.jpg") center / cover no-repeat;
}
.kimonoBg2{
  background: url("./img/kimono/futures_img02.jpg") center / cover no-repeat;
}
.kimonoBg3{
  background: url("./img/kimono/futures_img03.jpg") center / cover no-repeat;
}
.kimonoBg4{
  background: url("./img/kimono/futures_img04.jpg") center / cover no-repeat;
}
.kimonoBg5{
  background: url("./img/kimono/futures_img05.jpg") center / cover no-repeat;
}
/* ビューティー画像 */
.beautyBg1{
  background: url("./img/beauty/futures_img01.jpg") center / cover no-repeat;
}
.beautyBg2{
  background: url("./img/beauty/futures_img02.jpg") center / cover no-repeat;
}
.beautyBg3{
  background: url("./img/beauty/futures_img03.jpg") center / cover no-repeat;
}
.beautyBg4{
  background: url("./img/beauty/futures_img04.jpg") center / cover no-repeat;
}
.beautyBg5{
  background: url("./img/beauty/futures_img05.jpg") center / cover no-repeat;
}
/* ビューティー画像 */
.photoBg1{
  background: url("./img/photo/futures_img01.jpg") center / cover no-repeat;
}
.photoBg2{
  background: url("./img/photo/futures_img02.jpg") center / cover no-repeat;
}
.photoBg3{
  background: url("./img/photo/futures_img03.jpg") center / cover no-repeat;
}
.photoBg4{
  background: url("./img/photo/futures_img04.jpg") center / cover no-repeat;
}
.photoBg5{
  background: url("./img/photo/futures_img05.jpg") center / cover no-repeat;
}
/* 右：テキスト（中央寄せ＋中身は左寄り） */
.FuturesBody{
  position: relative;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: self-start;   /* ★ 枠の中央に寄せる */
  overflow: hidden;
}


/* =========================
   Greeting（下 → 上 / 途切れなし）
========================= */

.GreetingMarquee{
  position: absolute;
  top: 0;
  left: 0;
  width: 120px;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}
.FuturesBody .GreetingMarquee {
  right: 0;
  left: inherit;
  width: 60px;
}
/* 2本のtrackを縦に積む */
.GreetingMarquee__inner{
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  will-change: transform;
  animation: greetingFlowDown 28s linear infinite; /* 速度調整ここ */
}
/* 1本分の文字列スタイル */
.GreetingMarquee__track{
  writing-mode: vertical-rl;
  white-space: nowrap;
  font-family: "Lora", serif;
  font-size: clamp(72px, 8vw, 130px);
  letter-spacing: .14em;
  line-height: 1;
  color: rgba(255,255,255,.55);
  opacity: .25;
}
/* 1本分の文字列スタイル */
.FuturesBody .GreetingMarquee__track{
  font-family: "Lora", serif;
  font-size: clamp(50px, 8vw, 64px);
  letter-spacing: 2rem;
  opacity: 1;
}

/* 上→下へ。-50% → 0 で 1本分ぶんだけ下がる */
@keyframes greetingFlowDown{
  from { transform: translateX(-50%) translateY(-50%); }
  to   { transform: translateX(-50%) translateY(0); }
}

/* テキストブロック全体を“左寄せの箱”にする */
.FirstBody > h2,
.FirstBody > p{
  width: 100%;
  max-width: 768px;      /* ← 好きな幅に調整 */
  text-align: left;      /* ← 中身は左寄せ */
  padding: 0 0 0 120px;
}
.FirstBody h2 {
	font-size: 48px;
	line-height: 1.3;
    margin: 0;
    letter-spacing: 0.1em;
}
.FirstBody p.FirstCatch {
font-size: 24px;
    margin: 16px 0 0;
    text-align: left;
	font-weight: 600;
}
.FirstBody p.FirstText {
    margin: 48px 0 0;
}

/* テキストブロック全体を“左寄せの箱”にする */
.FuturesBody > h3,
.FuturesBody > p{
  width: 100%;
  max-width: 460px;      /* ← 好きな幅に調整 */
  text-align: left;
  z-index: 1;
}
.FuturesBody h3 {
	font-size: 40px;
	line-height: 1.3;
    margin: 0;
    letter-spacing: 0.1em;
}
.FuturesBody p.FuturesCatch {
font-size: 20px;
    margin: 16px 0 0;
    text-align: left;
	font-weight: 600;
}
.FuturesBody p.FuturesTaxt {
    margin: 48px 0 0;
}

/* モーション配慮 */
@media (prefers-reduced-motion: reduce){
  .GreetingMarquee__track{
    animation: none;
    transform: translateX(-50%) translateY(0);
  }
}

/**************************************
  TOPサービスカテゴリーグリット
**************************************/

/* =========================
   Circle Arrow Button
========================= */
.CircleArrowBtn {
    position: absolute;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #FBFCF8;
    display: block;
    transition: transform 0.3s, background-color 0.3s, box-shadow 0.3s;
    z-index: 2;
    bottom: 16px;
    right: 16px;
}

/* 配置調整用（好きに上書きOK） */
.CircleArrowBtn.is-abs {
  right: 24px;
  bottom: 24px;
}

/* 矢印（角だけ） */
.CircleArrowBtn::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  border-top: 1px solid #474747;
  border-right: 1px solid #474747;
  transform: translate(-50%, -50%) rotate(45deg);
  transition: all .3s ease;
}

/* hover */
.CircleArrowBtn:hover {
    transform: translateY(-10px) scale(1.1);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

/* 50:50 フル幅 */
.TopGrid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  min-height: clamp(300px, 48vw, 480px);
  margin-bottom: clamp(80px, 12vw, 160px);

}

/* 左：背景画像 */
.TopGridBg01 {
  background: url("./img/top/topgrid-img01.jpg") center / cover no-repeat;
}
.TopGridBg02 {
  background: url("./img/top/topgrid-img02.jpg") center / cover no-repeat;
}
.TopGridBg03 {
  background: url("./img/top/topgrid-img03.jpg") center / cover no-repeat;
}

/* 右：テキスト */
.TopBody{
  position: relative;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  border-radius: 0 100px 0 0;
}

/* テキストブロック全体を“左寄せの箱”にする */
.TopBody > h2,
.TopBody > p{
  width: 100%;
  max-width: 768px;      /* ← 好きな幅に調整 */
  text-align: left;      /* ← 中身は左寄せ */
    padding: 0 15%;
}
.TopBody h2 {
	font-size: 32px;
	line-height: 1.3;
    margin: 0;
    letter-spacing: 0.1em;
}
.TopBody p.TopCatch {
font-size: 20px;
    margin: 16px 0 0;
    text-align: left;
	font-weight: 600;
}
.TopBody p.TopText {
    margin: 48px 0 56px;
}

/* =========================
   レスポンシブ
========================= */
@media (max-width: 960px){
.FirstBg,
.FirstBg-hair,
.FirstBg-beauty,
.FirstBg-kimono,
.FirstBg-photo {
  height: auto;                 /* ← 明示 */
  min-height: unset;            /* ← 既存を完全解除 */
  aspect-ratio: 4 / 3;
  background-position: center top;
  background-size: cover;
}
  .FirstGrid,
  .FuturesGrid{
    grid-template-columns: 1fr;
  }

  .GreetingMarquee{
    width: 72px;
  }

  .FirstBody > h2,
  .FirstBody > p{
    padding-left: 72px;
  }

  .TopGridBg01,
  .TopGridBg02,
  .TopGridBg03 {
    min-height: 0;                 /* 既存があれば無効化 */
    aspect-ratio: 4 / 3;           /* ← 写真が綺麗に見える比率 */
    background-position: center top;
  }
  .TopGrid{
    grid-template-columns: 1fr;
  }
.TopBody {
    border-radius: 0;
	align-items: flex-start;
}
.TopBody > h2,
.TopBody > p{
  width: 100%;
  max-width: 768px;      /* ← 好きな幅に調整 */
  text-align: left;      /* ← 中身は左寄せ */
  padding: 0;
}
/* ヘアーカット画像 */
.hairBg1,
.hairBg2,
.hairBg3,
.hairBg4,
.hairBg5,
.kimonoBg1,
.kimonoBg2,
.kimonoBg3,
.kimonoBg4,
.kimonoBg5,
.beautyBg1,
.beautyBg2,
.beautyBg3,
.beautyBg4,
.beautyBg5,
.photoBg1,
.photoBg2,
.photoBg3,
.photoBg4,
.photoBg5 {
    min-height: 0;
    aspect-ratio: 4 / 3;
    background-position: center top;
}

}

@media (max-width: 640px){

.FirstBody h2,
.TopBody h2 {
    font-size: 30px;
}
.FirstBody p.FirstCatch,
.TopBody p.TopCatch {
    font-size: 18px;
}
}

/**********************
料金表スタイル
**********************/
.PriceArea {
	margin-top: clamp(80px, 12vw, 160px);
	display: flex;
    justify-content: center;
}
.Price-inner {
	padding: 40px;
}
.PriceArea .TitleArea {
	display: flex;
    margin: 96px auto 46px;
}
.Price-list {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: flex-start;
	column-gap: clamp(24px, 3vw, 64px);
    row-gap: clamp(32px, 6vw, 64px);
}
.Price-Box {
	position: relative;
}
.Price-Box h3 {
	font-size:clamp(1.2rem, 3.0vw, 24px);
	letter-spacing: 0;
    border-bottom: 1px solid #B5B5B5;
    margin-bottom: 24px;
}
.Price-Box ul {
	margin: 0;
	padding:0;
}
.Price-Box ul li {
	position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 16px;
    padding: 16px 0;

}
.Price-Box ul li h4 {
	flex: 1 1 auto;
    display: flex;
    align-items: baseline;
    margin: 0;
}
.Price-Box ul li h4::after{
  content: "";
  flex: 1;                  /* タイトルの右側の余白を埋める */
  border-bottom: 1px dotted currentColor;
  margin: 0 12px;
  transform: translateY(-0.15em); /* 点線の位置を少し上に */
  opacity: .6;
}
.Price-Box ul li .Fee {
	flex: 0 0 auto;
    margin: 0;
    white-space: nowrap;
    font-weight: 700;
}
.Price-Box ul li .Text {
	flex: 0 0 100%;
	line-height: 1.6;
}

@media (max-width:768px){
.Price-inner {
	padding: 0;
}
.Price-list {
    grid-template-columns: repeat(1, 1fr);
}
}
ul.FlowArea {
    padding: 0 40px !important;
    margin: 0;
}
.FlowArea li {
    display: block;
    padding: 30px;
}

/**********************
流れスタイル 
**********************/
.FlowArea li {
	display: flex;
	position: relative;
	width: 100%;
    margin:27px auto 80px;
    background: #FFFFFF;
    max-width: 1080px;
    box-shadow: 0px 2px 8px rgba(71, 71, 71, 0.15);
	padding: 60px;
	gap: 80px;
	align-items: center;
}
.FlowArea li .FlowNo {
    font-size: clamp(1.2rem,2vw,24px);
    font-weight: 600;
    padding: 0;
    margin: 0;
}
.FlowArea li .FlowNo span.Nomber {
    color: #4E6F2F;
    font-size: clamp(2.2rem,3vw,48px);
    font-weight: 800;
    padding: 0 0 0 0.2em;
}
.FlowArea li .FlowInfo .EnTitle {
    position: absolute;
    padding: 4px 32px;
    color: #FFFFFF;
    font-size: clamp(1.2rem,2.0vw,24px);
    left: 40px;
    top: -27px;
}
.FlowArea li .FlowInfo h3 {
	font-size: clamp(1.2rem,2.0vw,24px);
    font-weight: 600;
    letter-spacing: 0.1em;
	margin-bottom: 24px;
	line-height: 1.4;
}
@media (max-width:768px){
ul.FlowArea {
    padding: 0 40px !important;
    margin: 0;
}
.FlowArea li {
    display: block;
    padding: 30px;
}

}
@media (max-width:480px){
ul.FlowArea {
    padding: 0 8px !important;
    margin: 0;
}
.FlowArea li {
    padding: 16px;
}
.FlowArea li .FlowInfo .EnTitle {
    left: 16px;
    top: -27px;
}
}

/*********************************
 * FAQ 完成CSS
 * - 画像どおり：Q横に質問 / A横に回答（左に■）
 * - 右端に矢印：閉=↑ / 開=↓（回転アニメ）
 * - 開閉：PCは開く / SPは閉じる（aria-expandedで制御）
 *********************************/

:root{
  --faq-label-w: 64px;      /* 左の■幅 */
  --faq-row-h: 64px;        /* 行の高さ */
  --faq-border: #d9d9d9;    /* 枠/区切り線 */
  --faq-bg: #F6F6F4;        /* 背景（薄いグレー） */
  --faq-q-bg: #4E6F2F;      /* Q：緑 */
  --faq-a-bg: #D98A52;      /* A：オレンジ */
  --faq-text: #474747;
}

/* 一覧 */
.faq-list{
  padding: 0 8px;
  display: grid;
  gap: 14px;
}

/* 1セット */
.faq-item{
  border: 1px solid var(--faq-border);
  background: var(--faq-bg);
  overflow: hidden;
}

/* Q行 / A行 共通：2カラム */
.faq-row{
  display: grid;
  grid-template-columns: var(--faq-label-w) 1fr;
}

/* Qボタン（ここが矢印配置の基準） */
.faq-q{
  width: 100%;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  text-align: left;
  position: relative; /* ←矢印が飛ぶのを防ぐ重要ポイント */
}

/* タップ/クリックでは出さない */
.faq-q:focus{ outline: none; }

/* キーボード操作（Tab移動）の時だけ出す */
.faq-q:focus-visible{
  outline: 2px solid var(--faq-a-bg);
  outline-offset: 2px;
}

/* 左の■（Q/A） */
.faq-badge{
  display: grid;
  place-items: center;
  width: var(--faq-label-w);
  min-height: var(--faq-row-h);
  color: #fff;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: .06em;
}
.faq-badge--q{ background: var(--faq-q-bg); }
.faq-badge--a{ background: var(--faq-a-bg); }

/* 右側テキスト */
.faq-text{
  padding: 16px 20px;
  color: var(--faq-text);
  font-size: clamp(14px, 1.6vw, 16px);
  line-height: 1.9;
  margin: 0;
}

/* Qの文章は少し強め + 右に矢印分の余白 */
.faq-q .faq-text{
  font-size: clamp(15px, 1.7vw, 17px);
  font-weight: 500;
  padding-right: 56px; /* ←矢印スペース */
}

/* A行の区切り */
.faq-a{
  border-top: 1px solid var(--faq-border);
}

/* 回答内の整形（WPのp/ulなど） */
.faq-a .faq-text > *{ margin: 0; }
.faq-a .faq-text p + p{ margin-top: 10px; }
.faq-a .faq-text ul,
.faq-a .faq-text ol{ margin-top: 10px; padding-left: 1.2em; }
.faq-a .faq-text a{ text-decoration: underline; }

/* 旧アイコンが残ってる場合の保険（いらなければ削除OK） */
.faq-icon{ display:none !important; }

/* =========================
   右端の矢印（↑↓回転）
========================= */
.faq-arrow{
  position: absolute;
  right: 18px;
  top: 50%;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  pointer-events: none;
}

/* くの字（chevron） */
.faq-arrow::before{
  content:"";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--faq-q-bg);
  border-bottom: 2px solid var(--faq-q-bg);

  /* 閉：↑ */
  transform: rotate(-135deg);
  transition: transform .25s ease;
}

/* 開：↓ */
.faq-q[aria-expanded="true"] .faq-arrow::before{
  transform: rotate(45deg);
}

/* =========================
   開閉（既存仕様）
   PCは開く / SPは閉じる
   ※JSが display を block/grid にしない前提が理想
========================= */
@media (max-width:768px){
  .faq-a{ display:none; }
  .faq-q[aria-expanded="true"] + .faq-a{ display:grid; }
}
@media (min-width:769px){
  .faq-a{ display:grid; }
}

/* =========================
   SP微調整
========================= */
@media (max-width:560px){
  :root{
    --faq-label-w: 52px;
    --faq-row-h: 56px;
  }
  .faq-text{ padding: 12px 14px; }
  .faq-q .faq-text{ padding-right: 46px; }
  .faq-arrow{ right: 12px; }
}

/***** タブ切り替え  *****/
.tab-wrap {
    display: flex;
    flex-wrap: wrap;
    margin: clamp(80px, 12vw, 160px) 0 0;
	gap: 0 3%;
}

.tab-wrap:after {
    content: '';
    width: 100%;
    height: 0;
    background: #d3d3d3;
    display: block;
    order: -1;
}

.tab-label {
    background: #DCE1C8;
	color: #7E7E7E;
    white-space: nowrap;
    text-align: center;
    order: -1;
    position: relative;
    z-index: 1;
    cursor: pointer;
    border-radius: 0 48px 0 0;
    flex: 1;
    padding: 16px 0;
    font-size: clamp(.8rem,2.0vw,32px);
}

.tab-label:not(:last-of-type) {
    margin-right: 2px;
}

.tab-content {
    width: 100%;
    height: 0;
    overflow: hidden;
    opacity: 0;
}
.tab-content ul {
	padding: 0;
	margin: 0;
}
.tab-list li {
    position: relative;
    margin-bottom: 16px;
    padding-left: 2.5em;
    font-weight: bold;
}

.tab-list li:last-child {
  margin-bottom: 0;
}

.tab-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px; /* アイコンの縦位置微調整 */
  width: 30px;
  height: 30px;
  background: url('/wp-content/themes/tm_02/img/listcheck4.png') no-repeat center;
  background-size: contain;
}
.tab-switch:checked + .tab-label {
    color: #fff;
}

.tab-switch:checked + .tab-label + .tab-content {
    height: auto;
    overflow: auto;
    padding: 80px 40px;
    opacity: 1;
    transition: .5s opacity;
    background: #C5CDA4;
	border: 1px solid #DCE1C8;
    border-top: 0;	
}

.tab-switch {
    display: none;
}

/* タブごとに色を変える（メーカー用は mk-tabXX を採用） */
#tab01:checked + .tab-label,
#tab02:checked + .tab-label,
#tab03:checked + .tab-label,
#tab11:checked + .tab-label,
#tab12:checked + .tab-label,
#tab13:checked + .tab-label {
    background: #C5CDA4;
    color: #474747;
	border: 1px solid #DCE1C8;
    border-bottom: 0;	
}
@media screen and (max-width: 768px) {

.tab-switch:checked + .tab-label + .tab-content {
    padding:80px 8px 40px;
}
}
@media screen and (max-width: 480px) {
.tab-label {
    border-radius: 0 24px 0 0;
}

#tab01:checked + .tab-label,
#tab02:checked + .tab-label,
#tab03:checked + .tab-label,
#tab11:checked + .tab-label,
#tab12:checked + .tab-label,
#tab13:checked + .tab-label {
	border-radius: 0px 24px 0 0;
}
}
/********************
TOP新着一覧およびarchive一覧ページ
*********************/

.home-news {
	margin: clamp(40px, 6vw, 80px) auto clamp(40px, 6vw, 80px);
}
.home-news ul{
	padding: 0;
}
.post-grid {
	padding: 0;
}
.post-Box {
	display: flex;
	gap: clamp(16px, 3vw, 32px);
	font-size: clamp(0.8rem, 2vw, 16px);
}

.post-item {
    box-sizing: border-box;
    position: relative;
    border-bottom: 1px solid #D9D9D9;
}
.post-item > a{
	position: relative;
    box-sizing: border-box;
    display: block;
    padding: 32px 40px 32px 16px;
    text-decoration: none;
transition: background-color 0.35s ease !important;
}
.post-item > a:hover {
    transform: translateY(-1px);
	background: #C5CDA4;
	color: #4E6F2F;
}
.external-icon {
  position: absolute;
  top: 50%;
  right: 16px;
  width: 16px;
  height: 16px;
  transform: translateY(-50%);
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.post-item > a:hover .external-icon {
  opacity: 1;
}
.post-item h3 {
    font-size: clamp(0.8rem, 2vw, 16px);
	margin: 0;
	color: #474747;
}
.post-item h3:hover {
	color: #4E6F2F;
}
.post-date {
	color: #474747;
}
.post-tags {
  margin-top: 10px;
  font-size: 14px;
}
.post-tags a {
  font-size: clamp(0.6rem, 0.8vw, 0.8rem);
  background-color: #C9A22A;
  padding: 5px;
  border-radius: 3px;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 5px;
}

.post-tags a:hover {
  background-color: #ccc;
}

/* ページネーション */
.pagination {
    margin: 24px auto;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}
.nav-links {
    display: flex;
}
.pagination .page-numbers {
    display: inline-block;
    margin-right: 10px;
    padding: 10px 14px;
    color: #0f1419;
    border-radius: 30px;
    background: #fff;
    border: 1px solid #C5CDA4;
	line-height: 1.0;
}
.pagination .current {
    background: #C5CDA4;
    color: #fff;
}
.pagination .prev,
.pagination .next {
    background: transparent;
    box-shadow: none;
    color: #C5CDA4;
}
.pagination .dots {
    background: transparent;
    box-shadow: none;
    border: none;
}

@media screen and (max-width: 800px) {
  .post-item {
    flex: 0 0 calc(50% - 20px); /* 画面が小さいときは2列 */
  }
}

@media screen and (max-width: 500px) {
  .post-item {
    flex: 0 0 100%; /* さらに小さい画面では1列表示 */
  }
}
.tag-cloud {
	margin-top: 8px;

}
.tag-cloud a {
    display: inline-block;
    padding: 5px 10px;
    background-color: #F68B1F;
    color: #fff;
    border-radius: 50px;
    text-decoration: none;
    font-size: clamp(10px, 2vw, 12px);
    transition: all 0.2s ease;
}

.tag-cloud a:hover {
transform: translateY(-1px);
    opacity: 0.9;
}
/***************************
single・archiveページ
***************************/

.Single {
    position: relative;
    padding: 0 0 clamp(80px, 12vw, 160px);
}
.Single .PostContants{
	position: relative;
    width: 100%;
    max-width: 1040px;
    padding: 0 20px;
    margin: auto;
}
.Single .TitleType1 {
    padding: clamp(48px, 8vw, 80px) 0;
    margin: 0 auto;
	text-align: center;
}
.Single h1 {
    font-size: clamp(1.1rem, 3.0vw, 22px);
    letter-spacing: 0;
    border-bottom: 1px solid #B5B5B5;
    margin-bottom: 24px;
	font-weight: 600;
margin: 0 auto 16px;
    padding: 16px 0;
	line-height: 1.5;
}
.PostArea {
    display: flex;
    justify-content: space-between;
}
.PostMain {
	width: 64%;
}
.PostSide {
	width: 26%;
}
.entry {
	margin: 0 auto 32px;
}
.PostPager{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 4vw, 32px);
  margin-top: clamp(40px, 6vw, 80px);
  border-top: 1px solid #B5B5B5;
}

.PostPager a{
  display: block;
  padding: 12px 16px;
  text-decoration: none;
}

.PostPager__next{
  text-align: right;
}

@media (max-width: 767px) {
.PostArea {
    display: block;
}
.PostMain {
	width: 100%;
	margin-bottom: 80px;
}
.PostSide {
	width: 100%;
}
}

/***************************
会社情報+法務ページ
**************************/

.CompanyTable{
  padding: clamp(16px, 3vw, 40px);
}
.CompanyTable .TitleType3 {
	font-size: 24px;
	margin-bottom: 40px;
	font-weight: 600;
}
.CompanyTable dl{
  margin: 0;
  padding: 0 clamp(0, 3.0vw, 24px);
  display: grid;
  grid-template-columns: clamp(120px, 20%, 200px) 1fr; /* dt幅 + dd可変 */
  column-gap: clamp(16px, 3vw, 50px);
}

.CompanyTable dt,
.CompanyTable dd{
  margin: 0;
  border-top: 1px solid #B5B5B5;
  padding: clamp(16px, 2.4vw, 32px) 0;
}

/* 最終行だけ下線 */
.CompanyTable dt:last-of-type,
.CompanyTable dd:last-of-type{
  border-bottom: 1px solid #B5B5B5;
}

/* 長文の見た目（資格とか） */
.CompanyTable dd{
  line-height: 1.8;
}

.Clogo {
	text-align: center;
    margin: 120px auto;
}

.Greeting {
	margin-bottom: clamp(40px, 6vw, 80px);
	padding:  clamp(24px, 5vw, 60px);
}
.GreetingBox {
	display: flex;
	gap: clamp(24px, 5vw, 60px);
}
.GreetingBox .ImgBox {
  width: 100%;
  max-width: 200px; /* 好きな最大幅 */
}
.GreetingBox h3 {
	font-size: 16px;
	letter-spacing: 0.1em;
	line-height: 2.0;
	font-weight: 600;
	margin-bottom: 32px;
}
h3 span {
display: block;
	font-size: 12px;
}
.GreetingBox .social-links {
	justify-content: flex-start;
    flex-wrap: nowrap;
	margin-bottom: 32px;
}
.GreetingBox .social-links img {
	max-width: 40px;
}
.letter p {
	margin-bottom: 16px;
}

@media (max-width: 767px) {
.CompanyTable dl {
    display: block;
}
.CompanyTable dd {
	text-indent: 1rem;
    border-top: 0;
}
.CompanyTable dt:last-of-type {
    border-bottom: 0;
}
.GreetingBox {
	display: flex;
	flex-wrap: wrap;
}
.GreetingBox .ImgBox {
  width: 100%;
  max-width: 100%; /* 好きな最大幅 */
}
}

/***************************
コンタクトページ
**************************/

.Ac-list .AcBox {
	display: block;
}
.Ac-list .AcBox .is-half {
    padding: 0;
    margin-bottom: 16px;
}
.Ac-list .social-links {
    display: flex;
    justify-content: left;
    gap: 32px;
    flex-wrap: wrap;
    margin: 0;
}
.Ac-list .social-links a img {
    max-width: 100%;
}