@charset "utf-8";


/*Font Awesomeの読み込み
---------------------------------------------------------------------------*/
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css");

/*Google Fontsの読み込み
---------------------------------------------------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@400;700&display=swap');

body {
    font-family: "Noto Serif JP", serif;
    letter-spacing: 0.07em; /* 7%の字間を追加 */
    line-height: 1.8; /* 行間も少し広めにする */
}


/*slick.cssの読み込み
---------------------------------------------------------------------------*/
@import url("https://cdn.jsdelivr.net/npm/slick-carousel@1.8.1/slick/slick.css");


/*テンプレート専用cssファイルの読み込み
---------------------------------------------------------------------------*/
/*@import url("/css/inview.css");*//*各ページに直接<link rel="stylesheet" href="/css/inview.css">記述に変更した*/


/*CSSカスタムプロパティ（サイト全体を一括管理する為の設定）
---------------------------------------------------------------------------*/
:root {

	--primary-color: #fefff5;				/*主にテンプレートの背景色 皐礪堂ではBGimgを指定*/
	--primary-color-rgb: 254, 255, 245;		/*主にテンプレートの背景色をrgb数値にしたもの。個別に透明度を調整して使い回す為のもの*/

	--primary-inverse-color: #203744;		/*primary-colorの対として使う色*/
	--primary-inverse-color-rgb: 32, 55, 68;/*primary-colorをrgb数値にしたもの。個別に透明度を調整して使い回す為のもの*/
	
	--accent-color-nb: #203744;				/*★オリジナル追記：テンプレートのアクセントとなる色*/
	
	--accent-color: #aaae92;				/*テンプレートのアクセントとなる色*/
	--accent-color-a: #fcfdf8;				/*★オリジナル追記：hamburger内メニューで使用*/
	--accent-inverse-color: #fff;			/*accent-colorの対として使う色*/
	--accent-color-rgb: 170, 174, 146;		/*accent-colorをrgb数値にしたもの。個別に透明度を調整して使い回す為のものです。*/

	--global-space: 10vw;					/*サイト内の余白の一括管理用。画面幅100%＝100vwです。*/
	--global-space_0: 0vw;		/*サイト内余白　オリジナル　下部の余白は無し*/
}


/*animation1のキーフレーム設定（開閉ブロックのアニメーションに使用）
---------------------------------------------------------------------------*/
@keyframes animation1 {
	0% {left: -200px;}
	100% {left: 0;}
}


/*opa1のキーフレーム設定（汎用的）
---------------------------------------------------------------------------*/
@keyframes opa1 {
	0% {opacity: 0;}
	100% {opacity: 1;}
}


/*全体の設定
---------------------------------------------------------------------------*/
html {
  scroll-behavior: smooth;
}

body * {box-sizing: border-box;}

html,body {
	font-size: 14px;	/*基準となるフォントサイズ。*/
	color: rgb(45, 60, 63);		/*オリジナル「#2d3c3f」基本となるフォントカラー*/
	text-decoration: none;
}

	/*画面幅900px以上の追加指定*/
	/*追加指定ここまで*/


body {
	margin: 0;padding:0;
	/*フォントはこのCSSの冒頭で指定済み*/
	/*font-family: "Noto Serif JP", serif;*/
	/*font-family: "Shippori Mincho", "Hiragino Mincho Pro", "ヒラギノ明朝 Pro W3", "HGS明朝E", "ＭＳ Ｐ明朝", "MS PMincho", serif;*/	/*フォント種類*/
	font-optical-sizing: auto;
	font-weight: 400;
	font-style: normal;
	-webkit-text-size-adjust: none;
	background: var(--primary-color);		/*背景色。css冒頭のprimary-colorを読み込みます。*/
	/*background-image: url("../images/bg1.png");*/
	color: var(--primary-inverse-color);	/*文字色。css冒頭のprimary-inverse-colorを読み込みます。*/
	line-height: 2;					/*行間*/
	animation: opa1 0.2s 0.5s both;	/*0.5秒待機後、0.2秒かけてフェードイン表示*/
}

/*トップページの背景画像*/
body.home {
	background-image: url("/images/bg1.png");	/*背景画像の読み込み*/
	background-repeat: no-repeat;
	background-position: center top;
	background-size: 100%;
	background-attachment: scroll !important; /* ← スクロールに追従させる */
}

body.washi_d {
  background-image: url('/images/bg_washi_D.jpg');
  background-repeat: repeat;
  background-position: center top;
  background-size: 1000px auto;  /* ← ここで縮小比率を明示 */
  background-attachment: scroll !important; /* ← スクロールに追従させる */
}

/*リセット*/
figure {margin: 0;}
dd {margin: 0;}
nav,ul,li,ol {margin: 0;padding: 0;}
nav ul {list-style: none;}
input {font-size: 1rem;}

/*ul,ol*/
ul,ol {margin-left: 1.5rem;margin-bottom: 1rem;}

/*table全般の設定*/
table {border-collapse:collapse;}

/*画像全般の設定*/
img {border: none;max-width: 100%;height: auto;vertical-align: middle;}

/*videoタグ*/
video {max-width: 100%;}

/*iframeタグ*/
iframe {width: 100%;}

/*sectionが続く場合*/
section + section {
	margin-top: 8vw;	/*sectionの上に空けるスペース*/
}
/* ネストされたsectionはマージン適用除外 */
:where(body > section) + section {
  margin-top: 8vw;
}

/* スライダー全体をはみ出さないように */
section {
    overflow: hidden; /* これで画面からはみ出る部分をカット */
    width: 100%; /* セクションを100%に */
}

.thumbnail-slide {
    overflow: hidden; /* これでスライダーのはみ出しを防ぐ */
    max-width: 100vw; /* ビューポートを超えないように */
    margin: 0 auto; /* 必要なら中央揃え */
}



/*リンク（全般）設定
---------------------------------------------------------------------------*/
a {
	color: var(--primary-inverse-color);		/*リンクテキストの色。css冒頭のprimary-inverse-colorを読み込みます。*/
	transition: 0.3s;	/*マウスオン時の移り変わるまでの時間設定。0.3秒。*/
}
a:hover {
	opacity: 0.8;	/*マウスオン時に色を80%にする*/
}


/*container（headerとcontentsを囲むブロック）
---------------------------------------------------------------------------*/
#container {
	padding: var(--global-space);	/*ボックス内の余白。css冒頭のglobal-spaceを読み込みます*/
}
#container_0 {
	padding: var(--global-space);	/*ボックス内の余白。css冒頭のglobal-spaceを読み込みます*/
	padding-bottom: 0 ;
}



/*ヘッダー
---------------------------------------------------------------------------*/
/*ヘッダーブロック*/
header {
    margin-bottom: var(--global-space);	/*ボックス内の下（外側）へとる余白。css冒頭のglobal-spaceを読み込みます*/
	text-align: center;	/*テキストをセンタリング*/
}

/*ロゴ初期設定*/
#logo {margin: 0;padding: 0;}

/*トップページの縦書きロゴ*/
.home #logo img {
    width: 60px;	/*幅*/
}

/*トップページのロゴ（英語ページ用）*/
.home.en #logo img {
    width: 200px;	/*幅*/
}

/*トップページ以外のロゴ*/
#logo img {
	width: 220px;	/*幅*/
}

/*英語ページのロゴ下の小さなテキスト*/
#logo .small {
	display: block;
	font-size: 0.8rem;	/*文字サイズを80%*/
}

/*------------------------------------------------*/
/* 固定用ヘッダーのデザイン  main.jsでTOPとLP判別       */
/* menuberアイコンと高さを合わせる（LINE322・LINE422）　*/
/*------------------------------------------------*/
#fixed-header {
    position: fixed;
    top: 0;
    left: 48px; /*元70px*//* メニューバーボタンと重ならないよう調整 */
    width: calc(100% - 48px); /*元(100％ - 70px)*//* メニューバーの分だけ幅を調整 */
    height: 46px; /* 固定ヘッダーの高さ */
    background: linear-gradient(rgba(57, 63, 76, 0.9), rgba(57, 63, 76, 0.8)); /* 少し透過 */
    display: flex;
    align-items: center; /* 上下中央揃え */
    padding: 10px 25px; /* 左右の余白 */
    box-sizing: border-box;
    z-index: 80;
}

/* ロゴ部分 */
#fixed-logo {
    flex-shrink: 0;
}

#fixed-logo img {
    height: 26px; /* ロゴの高さ */
    max-width: 150px;
    display: block; /* 画像の下に余白ができるのを防ぐ */
    background-color: transparent !important; /* 余計な背景色を排除 */
    box-shadow: none !important; /* 影がある場合は削除 */
}

/* ヘッダー内のコンテンツ（追加可能なエリア） */
#fixed-header-content {
    flex-grow: 1;
    text-align: right;
}

/* 固定ヘッダーのフォームリンクボタン */
#fixed-form-button.fixed-form-link {
  display: none; /* 初期状態は非表示（JSで制御） */
  position: absolute;
  right: 10px;
  bottom: 12px;
  padding: 8px 14px;
  font-size: 13px;
  background-color: #b53c3c;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  z-index: 10;
}

#fixed-header.visible #fixed-form-button {
  display: inline-block;
}
/* ▼ 480px以下では少し上にずらす（ロゴとの被りを回避） */
@media screen and (max-width: 480px) {
  #fixed-header.visible #fixed-form-button {
    top: 4px;       /* ← ヘッダー内の上部に寄せる */
    bottom: auto;   /* ← 上書きしてリセット */
    font-size: 13px;
    padding: 6px 12px;
  }
}

/*--▲▲▲----------------------------------------*/

/* ========================
   スマホ表示向けのロゴ調整
   ======================== */





/*メッセージテキスト*/
header .message {
	margin: 5vw auto;	/*上下、左右へ、ボックスの外側にとるスペース*/
}

/*メイン画像（アスペクト比2:1の横長）*/
#mainimg {
	width: 100%;
	height: 0;
	padding-top: 50%;	/*アスペクト比を変更したい場合は、この行を変更する。*/
	box-shadow: 5vw 5vw 10px rgba(0,0,0,0.15);	/*ボックスの影。右へ、下へ(※マイナス記号つきなので上へ)、0,0,0は黒のことで0.05は色が5%出た状態。*/
	background: url('../images/mainimg1_yoko.jpg') no-repeat center center / cover;	/*背景画像の読み込み*/
}

	/*画面幅900px以上の追加指定*/
	/*追加指定ここまで*/


/*ヘッダー内の言語ボックス全体の設定
---------------------------------------------------------------------------*/
/*言語ボックス全体*/
header .lang {
	list-style: none;
	margin: 0;
	padding: 0;
	position: absolute;	/*絶対配置する為の指定*/
	top: 0;			/*上からの配置場所*/
	right: 30px;		/*右からの配置場所*/
	display: flex;		/*各言語を横に並べる*/
	gap: 1rem;			/*各言語同士に空けるスペース。１文字分。*/
	font-size: 0.8rem;	/*モイサイズ80%*/
}

/*言語ボックス１個あたり*/
header .lang a {
	display: block;text-decoration: none;
	padding: 0.2rem 1.5rem;	/*ボックス内の余白。上下、左右。*/
	background: #000;	/*背景色*/
	color: #fff;	/*文字色*/
}


/*メニューブロック初期設定
 * スクロールで表示するheaderの高さと合わせる（LINE206）
---------------------------------------------------------------------------*/
/*メニューをデフォルトで非表示*/
#menubar {display: none;}
#menubar ul {list-style: none;margin: 0;padding: 0;}

/*上で非表示にしたメニューを表示させる為の設定*/
.large-screen #menubar {display: block;}
.small-screen #menubar.display-block {display: block;}

/*3本バーをデフォルトで非表示*/
#menubar_hdr.display-none {display: none;}

/*ドロップダウンをデフォルトで非表示*/
.ddmenu_parent ul {display: none;}

/*ddmenuを指定しているメニューに矢印アイコンをつける設定*/
a.ddmenu::before {
	font-family: "Font Awesome 5 Free";
	content: "\f078";		/*使いたいアイコン名（Font Awesome）をここで指定*/
	font-weight: bold;		/*この手の設定がないとアイコンが出ない場合があります*/
	font-size: 0.7rem;		/*文字サイズを70%に*/
	padding-right: 0.5rem;	/*右側に空ける余白。0.5文字分。*/
}

/*料金ページの目次部分で使用*/
.price_list {
	background: rgba(170, 174, 146, 0.15);
	padding: 15px;
	border-radius: 5px;
	border:thin solid rgba(170, 174, 146, 1.0);
}
.price_list ol {
	padding-left: 15px;
	font-size: 0.95em;
	line-height: 1.8;
	text-decoration:none !important;
}
a.list-icon::before {
    font-family: "Font Awesome 5 Free"; /* アイコンフォントを指定 */
    content: "\f078"; /* ここに Autumn フォントのアイコン Unicode を入れる */
    font-size: 1.2em; /* アイコンのサイズ調整 */
    margin-right: 8px; /* テキストとの間隔 */
    display: inline-block !important; /* アイコンを適切に配置 */
	text-decoration: none !important;
}
a.list-icon {
	text-decoration: none !important;
}
/*メニューブロック設定
---------------------------------------------------------------------------
/*メニューブロック設定*/
.small-screen #menubar.display-block {
	position: fixed;
	overflow: auto;
	z-index: 9999;
	/*left: 0px;
	top: 0px;*/
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	
	pointer-events: auto; /* メニュー自体はクリック可能 */
	
	padding-top: 60px;	/*元100px*//*上に空ける余白。ハンバーガーアイコンと重ならない為の指定ですのでお好みで変更OK。*/
	/*background: var(--accent-color);*/	/*背景色--primary-inverse-color-rgb*/
	background: linear-gradient(rgba(57, 63, 76, 0.9), rgba(57, 63, 76, 0.9));
	color: var(--accent-inverse-color);	/*文字色。css冒頭で指定しているaccent-inverse-colorを読み込みます*/
	animation: animation1 0.2s both;		/*animation1を実行する。0.2sは0.2秒の事。*/
}
/* メニューが開いているとき、body全体のクリックをブロック */
.small-screen #menubar.display-block ~ * {
    pointer-events: none;
}


/*メニュー１個あたりの設定*/
.small-screen #menubar li {
	border: 1px solid #fff;	/*枠線の幅、線種、色*/
	margin: 1rem;			/*メニューの外側に空けるスペース*/
	border-radius: 5px;		/*角を丸くする指定*/
}
.small-screen #menubar a {
	display: block;text-decoration: none;
	color: inherit;
	padding: 1rem 3rem;		/*メニュー内の余白。上下、左右へ。*/
}
.small-screen #menubar li li a {
	/*background: var(--accent-inverse-color);*/	/*背景色。css冒頭で指定しているaccent-inverse-colorを読み込みます*/
	background: rgba(255, 255, 255, 0.4);	/*背景色。*/
	/*color: var(--accent-color);*/	/*文字色。css冒頭で指定しているaccent-colorを読み込みます*/
	color: var(--accent-color-a);	/*文字色。*/
}

/*小文字の英語部分*/
#menubar span {
	display: block;
	font-size: 0.7em;		/*文字サイズを親要素の70%に*/
	letter-spacing: 0.1em;	/*文字間隔を少しだけ広くとる*/
	opacity: 0.6;			/*透明度。色が60%出た状態。*/
}

/*ドロップダウンブロック*/
.small-screen #menubar ul ul {
	animation: opa1 0.5s 0.1s both;	/*0.1秒待機後、0.5秒かけてフェードイン表示*/
}


/*３本バー（ハンバーガー）アイコン設定
 * スクロールで表示するheaderの高さと合わせる（LINE206）
---------------------------------------------------------------------------*/
/*３本バーを囲むブロック*/
#menubar_hdr {
	animation: opa1 0.3s 0.5s both;
	position: fixed;
	z-index: 10000;
	cursor: pointer;
	/*top: 0px;*/		/*上からの配置場所*/
	/*left: 0px;*/		/*左からの配置場所*/
	top: 0;		/*上からの配置場所*/
	left: 0;		/*左からの配置場所*/
	width: 48px;	/*幅*//*元70px*/
	height: 46px;	/*高さ*//*元68px*/
	padding: 20px 15px;	/*上下、左右への余白*/
	display: flex;
	justify-content: center;
	align-items: center;
	transition: transform 0.5s;
	/*background: var(--accent-color);*/	/*背景色。css冒頭のaccent-colorを読み込みます。*/
	background: linear-gradient(rgba(57, 63, 76, 0.9), rgba(57, 63, 76, 0.8));
}

/*ここは変更不要*/
#menubar_hdr div {
	position: relative;
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

/*バーの設定*/
#menubar_hdr div span {
	display: block;
	width: 100%;
	height: 2px;			/*線の太さ*/
	background-color: var(--accent-inverse-color);	/*線の色。css冒頭のaccent-inverse-colorを読み込みます。*/
	transition: all 0.5s ease-in-out;
	position: absolute;
}

/*以下変更不要*/
#menubar_hdr div span:nth-child(1) {top: 0;}
#menubar_hdr div span:nth-child(2) {bottom: 0;}
#menubar_hdr.ham div span:nth-child(1) {top: 50%;transform: translateY(-50%) rotate(45deg);}
#menubar_hdr.ham div span:nth-child(2) {top: 50%;transform: translateY(-50%) rotate(-45deg);}


/*mainブロック
---------------------------------------------------------------------------*/
/*h2見出し*/
main h2 {
	position: relative;
	text-align: center;		/*テキストをセンタリング*/
	margin: 0 0 8vw;		/*h2の外側にとるスペース。上、左右、下への順番。*/
	font-size: 2rem;		/*文字サイズ*/
	font-weight: normal;
	letter-spacing: 0.1em;	/*文字間隔を少しだけ広くする*/
}

/*h2の下が空きすぎるので続く要素がpもしくはh3の場合に少し上につめる*/
main h2 + p,
main h2 + h3 {
	margin-top: -4vw;
}

/*装飾用の小文字*/
main h2 .small {
	display: block;
	font-size: 0.5em;	/*文字サイズを親要素の50%に*/
	opacity: 0.5;		/*透明度。色が50%出た状態。*/
}

/*h3見出し*/
main h3 {
	font-size: 1.4rem;		/*文字サイズ*/
	letter-spacing: 0.1em;	/*文字間隔を少しだけ広くする*/
	font-weight: normal;	/*デフォルトの太字を標準に*/
}
/*h3の下が空きすぎるので続く要素がpもしくはh4の場合に少し上につめる*/
main h3 + p,
main h3 + h4 {
	margin-top: -4vw;
}

/*装飾用の小文字*/
main h3 .small {
	display: block;
	font-size: 0.5em;	/*文字サイズを親要素の50%に*/
	opacity: 0.5;		/*透明度。色が50%出た状態。*/
}

/*h4見出し*/
main h4 {
	font-size: 1.4rem;		/*文字サイズ*/
	letter-spacing: 0.1em;	/*文字間隔を少しだけ広くする*/
	font-weight: normal;	/*デフォルトの太字を標準に*/
}


/*フッター共通
---------------------------------------------------------------------------*/
#footer-contents, #footermenu {
	padding: 2rem var(--global-space);	/*上下、左右へのボックス内の余白。左右はcss冒頭で指定しているglobal-spaceを読み込みます*/
	/*position: relative;*/
}

#footer-contents2, #footermenu2 {
	padding: 2rem var(--global-space);	/*上下、左右へのボックス内の余白。左右はcss冒頭で指定しているglobal-spaceを読み込みます*/
	/*position: relative;*/
}

/*フッターのコンテンツ（住所やマップが入っているブロック）
---------------------------------------------------------------------------*/
/*ブロック全体*/
#footer-contents {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  /*max-width: 1200px;*/
  margin: 0 auto;
  padding: 2rem 1rem;
	/*background: rgba(var(--accent-color-rgb), 0.8);*/	/*背景色*/
	color: var(--accent-inverse-color);	/*文字色*/
	background: linear-gradient(rgba(170, 174, 146, 0.6), rgba(170, 174, 146, 0.6)),
    url("/images/bg_washi_D.jpg") repeat;
	background-size: contain;
}
#footer-contents a {
	color: inherit;
}

#footer-contents .left,
#footer-contents .right {
	flex: 1 1 50%;
}

/*左側のブロック*/
#footer-contents .left {
	margin-bottom: 50px;	/*下に空けるスペース*/
	padding: 1rem 4.5rem 1.5rem 4.5rem; /* ← 左右に余白を追加 */
	box-sizing: border-box;
}
/*右側のブロック*/
#footer-contents .right {
	margin-bottom: 50px;	/*下に空けるスペース*/
	margin-right: 4.5rem;
	box-sizing: border-box;
}

/*ブロック内で使うbtnの設定*/
#footer-contents .btn a {
	border: 2px solid var(--accent-inverse-color);	/*枠線の幅、線種、色。色についてはcss冒頭の（accent-inverse-color）を読み込みます。*/
}

	/*画面幅900px以上の追加指定*/
	/*追加指定ここまで*/


/*footer-contents内のマップ。レスポンシブにする為のものなので、基本は編集不要です。
---------------------------------------------------------------------------*/
.iframe-box {
	width: 100%;
	height: 0;
	padding-top: 56.25%;	/*マップの高さを増やしたい場合は、ここの数値を上げてみて下さい。*/
	position: relative;
	overflow: hidden;
}
.iframe-box iframe {
	position: absolute;
	/*left: 0px;
	top: 0px;*/
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
}


/*フッターメニュー設定
---------------------------------------------------------------------------*/
/*ボックス全体の設定*/
#footermenu {
	background: var(--accent-color);		/*背景色。css冒頭で指定しているaccent-colorを読み込みます*/
	color: var(--accent-inverse-color);	/*文字色。css冒頭で指定しているaccent-inverse-colorを読み込みます*/
	font-size: 0.8rem;		/*文字サイズ。*/
	display: flex;			/*直接の子要素を横並びにします*/
	justify-content: space-between;	/*並びかたの種類の指定*/
	align-items: flex-start;		/*垂直揃えの指定。上に配置されるように。*/
	text-align: center;
}

/*ボックス内のリンクテキスト設定*/
#footermenu a {
	text-decoration: none;
	color: inherit;
}

/*ulタグ（メニューの１列あたり）*/
#footermenu ul {
	margin: 0 !important;;
	list-style: none !important;;
	padding: 0 0.4em !important;;
	flex: 1 !important;;
	text-align: left !important;;
}

#footermenu ul li {
  line-height: 1.9 !important;  /* または 2.0でもOK。お好みで */
  padding: 4px 0; /* 追加すると上下に少し余白がついて安定します */
}

/*メニューの見出し(title)*/
#footermenu .title {
	font-weight: bold !important;		/*太字にする*/
	padding-bottom: 5px !important;;	/*下に空けるスペース*/
	text-align: left !important;;
}

/***************** SSLシール　表示部分　***************/

/* フッタ内のメニュー全体 */
#footermenu {
    display: flex;
    align-items: stretch;  /* 各 ul を同じ高さにする */
}

/* 各 ul に高さを均等に割り当てる */
#footermenu ul {
    flex: 1;  /* 各 ul を均等に伸ばす */
    display: flex;
    flex-direction: column;
}

/* SSLシールを最下部に配置 */
#footermenu ul:last-child li.SSLseal {
    margin-top: auto;  /* 他の要素を押し上げる */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1em 0;
}

/* SSLシールの画像サイズ調整 */
/*#footermenu ul li.SSLseal img {
    max-width: 130px;
    height: auto;
}*/

/***** フォームのボタン直下表示 *****/
p.SSLseal,
div.SSLseal {
    width: auto;
    height: auto;
    display: block;
    padding: 3.0em;
    text-align: center;  /* シールを中央寄せにする */
}

div.SSLseal div.seal {
    text-align: center;  /* シールの画像を中央寄せ */
    margin: 0 auto;
}

div.SSLseal div.comment {
    display: inline-block;  /* 左寄せのための設定 */
    text-align: left;       /* テキストを左寄せ */
    margin-top: 10px;       /* シールと文言の間に余白を入れる */
}
/*** ▲▲▲ フォームのボタン直下表示 ***/

/* スマホ対応 */


/*** PCとスマホで表示サイズを変えるため ***/
/* PC用のSSLシールをデフォルトで表示 */
.SSLseal-pc {
    display: block;
}
.SSLseal-mobile {
    display: none;	/* スマホ用のSSLシールは非表示 */
}

/* スマホの場合（480px以下） */

/***▲▲▲ PCとスマホで表示サイズを変えるため ***/

/**************▲▲▲ SSLシール　表示部分　***************/


/*フッター設定
---------------------------------------------------------------------------*/
small {font-size: 100%;}
footer {
	font-size: 0.7rem;		/*文字サイズ*/
	background: rgba(57, 63, 76, 1.0);/*#393f4c;*/	/*背景色*/
	color: #ccc;		/*文字色*/
	text-align: center;		/*内容をセンタリング*/
	padding: 1rem;			/*ボックス内の余白*/
}

/*リンクテキスト*/
footer a {color: inherit;text-decoration: none;}

/*著作部分*/
footer .pr {display: block;}


/*フッター内にあるソーシャルメディアのアイコン
---------------------------------------------------------------------------*/
ul.icons {
	list-style: none;
	margin: 0;padding: 0;
	display: flex;
	align-self: center;
	gap: 1rem;	/*アイコン同士のマージン的な要素。１文字分。*/
}
.icons i {
	font-size: 40px;	/*アイコンサイズ*/
}


/*list-grid1（３カラムボックス）
---------------------------------------------------------------------------*/
.list-grid1 .list * {margin: 0;padding: 0;}

/*ボックス１個あたり*/
.list-grid1 .list {
    display: grid;
	margin-bottom: var(--global-space);	/*下に空けるスペース*/
}

/*ボックス内のp要素*/
.list-grid1 .list p {
	font-size: 0.85rem;	/*文字サイズを85%に*/
	line-height: 1.5;	/*行間を狭くする*/
}

/*ボックス１個あたり*/
.list-grid1 .list {
	padding: 1rem;			/*ボックス内の余白。１文字分。*/
	background: #fff;		/*背景色*/
	color: #111;			/*文字色*/
    grid-template-rows: auto 1fr auto;	/*１つ目（この場合はfigure要素のサイズ）と「詳しくみる」ボタンの高さは自動に、２つ目（この場合はtextブロック））を残った幅で使う*/
	box-shadow: 5px 5px 20px rgba(0,0,0,0.1);	/*ボックスの影。右へ、下へ、ぼかし幅、0,0,0は黒の事で0.1は色が10%出た状態。*/
}

/*ボックス内のfigure画像*/
.list-grid1 .list figure {
	margin: -1rem;			/*画像を枠いっぱいに表示させる為に上の「.list-grid1 .list」のpadding分をネガティブマーインで指定*/
	margin-bottom: 0.5rem;	/*画像の下に空けるスペース*/
}

	/*画面幅800px以上の追加指定*/
	/*追加指定ここまで*/


/*list-free（レイアウトフリー用）
---------------------------------------------------------------------------*/
.list-free * {margin: 0;padding: 0;}

/*list-freeボックス*/
.list-free {
	display: flex;			/*直接の子要素を横並びに*/
    flex-direction: column;	/*一旦縦並びにしておく*/
	align-items: flex-start;/*子要素を上に揃える*/
	margin-bottom: 10vw;	/*ボックスの下（外側）に空けるスペース*/
	gap: 5vw;				/*子要素同士に空けるマージン的な要素。画面幅100%＝100vwです。*/
}

/*bg1背景の中にある最後のlist-freeの下マージンをなくす*/
.bg1 .list-free:last-of-type {
	margin-bottom: 0;
}

/*テキストブロック*/
.list-free .text {
    align-self: flex-start;
	flex: 1;
}

/*h3見出し*/
.list-free h3 {
	letter-spacing: 0.1em;	/*文字間隔を少しだけ広くする*/
	font-size: 1.5rem;		/*文字サイズを150%に*/
	color: var(--primary-inverse-color);	/*文字色。css冒頭で指定しているprimary-inverse-colorを読み込みます*/
	position: relative;	/*カギカッコを絶対配置する為に必要な指定*/
	padding: 0 1rem;	/*上下、左右へのh3内の余白*/
	margin: 0 auto;		/*左右の中央に配置*/
}

/*bg1背景の中にあるh3*/
.bg1 .list-free h3 {
	color: var(--accent-inverse-color);	/*文字色。css冒頭のaccent-inverse-colorを読み込みます。*/
}

/*h3見出しのカギカッコ装飾（共通設定）*/
.list-free h3::before,
.list-free h3::after {
	content: "";
	position: absolute;
	width: 20px;	/*カギカッコの幅。お好みで。*/
	height: 50px;	/*カギカッコの高さ。お好みで。*/
	border: 1px solid var(--primary-inverse-color);	/*枠線の幅、線種、varは色の事でcss冒頭で指定しているprimary-inverse-colorを読み込みます*/
}

/*bg1背景の中にあるh3*/
.bg1 .list-free h3::before,
.bg1 .list-free h3::after {
	border-color: var(--accent-inverse-color);	/*枠線の幅の上書き。css冒頭のaccent-inverse-colorを読み込みます*/
}

/*h3見出しの最初のカギカッコの設定*/
.list-free h3::before {
	top: -15px;		/*テキストからの距離。お好みで。*/
	left: -15px;	/*テキストからの距離。お好みで。*/
	border-right: none;		/*右の線は消す*/
	border-bottom: none;	/*下の線は消す*/
}

/*h3見出しの最後のカギカッコの設定*/
.list-free h3::after {
	bottom: -15px;	/*テキストからの距離。お好みで。*/
	right: -15px;	/*テキストからの距離。お好みで。*/
	border-left: none;	/*左の線は消す*/
	border-top: none;	/*上の線は消す*/
}

/*h4見出し*/
.list-free h4 {
	font-size: 1.3rem;
	color: var(--primary-inverse-color);	/*文字色。css冒頭で指定しているprimary-inverse-colorを読み込みます*/
	margin-bottom: 0.5em;
}

/*bg1背景の中にあるh4*/
.bg1 .list-free h4 {
	color: var(--accent-inverse-color);	/*文字色。css冒頭のaccent-inverse-colorを読み込みます。*/
}

/*画像ブロック*/
.list-free .image {
	box-shadow: 0 10px 40px rgba(0,0,0,0.1);	/*ボックスの影。右へ、下へ、ぼかす量。0,0,0は黒のことで0.1は色が10%出た状態。。*/
}

/*画像ブロック内のdivタグ。テキストを囲むブロックです。*/
.list-free .image > div {
	background: var(--primary-inverse-color);	/*背景色。css冒頭で指定しているprimary-inverse-colorを読み込みます*/
	color: var(--primary-color);				/*文字色。css冒頭で指定しているprimary-colorを読み込みます*/
	font-size: 0.7rem;	/*文字サイズを70%*/
	padding: 1rem 2rem;	/*上下、左右への余白*/
}

	/*画面幅600px以上の追加指定*/
	/*追加指定ここまで*/


/*ボタン（btn）
---------------------------------------------------------------------------*/

.btn a {
	display: block;
	text-decoration: none;
	font-size: 1rem;
	text-align: center;		/*テキストをセンタリング*/
	background: var(--accent-color);	/*背景色。css冒頭のvar(accent-color)を読み込みます*/
	color: var(--accent-inverse-color);	/*文字色。css冒頭で指定しているaccent-inverse-colorを読み込みます*/
	padding: 0.5rem !important;		/*ボタン内の余白*/
	margin-top: 1rem !important;	/*ボタンの外（上）に空けるスペース*/
	border: 2px solid #fff;
	/*border-radius: 5px;*/
}


/*お知らせブロック
---------------------------------------------------------------------------*/
/*お知らせブロック*/
.new {
	border-top: 1px solid #ccc;	/*ブロックの上の線幅、線種、色*/
}

/*日付(dt)設定*/
.new dt {
	padding: 1rem;	/*dt内の余白*/
}

/*記事(dd)設定*/
.new dd {
	padding: 0 1rem 1rem;	/*上、左右、下へのdd内の余白*/
	border-bottom: 1px solid #ccc;	/*下の線の幅、線種、色*/
}

.new a {
	text-decoration: none !important;
}

/*ブロック内のspan。日付の横のアイコン的な部分の共通設定*/
.new dt span {
	display: inline-block;
	margin-right: -1rem;
	text-align: center;
	line-height: 1.8;		/*行間（アイコンの高さ）*/
	border-radius: 3px;		/*角を丸くする指定*/
	padding: 0 0.5rem;		/*上下、左右へのブロック内の余白*/
	width: 8rem;			/*幅。8文字分。*/
	transform: scale(0.8);	/*80%のサイズに縮小*/
	background: #fff;		/*背景色*/
	color:#777;				/*文字色*/
	border: 1px solid #999;	/*枠線の幅、線種、色*/
}

/*icon-bg1*/
.new .icon-bg1 {
	background: var(--accent-color);		/*背景色。css冒頭で指定しているaccent-colorを読み込みます*/
	color: var(--accent-inverse-color);	/*文字色。css冒頭で指定しているaccent-inverse-colorを読み込みます*/
	border-color: transparent;				/*枠線を出したくないので透明にする*/
}

/*icon-bg2*/
.new .icon-bg2 {
	background: #ff0000;	/*背景色*/
	color: #fff;		/*文字色*/
	border-color: transparent;	/*枠線を出したくないので透明にする*/
}

	/*画面幅700px以上の追加指定*/
	/*追加指定ここまで*/


/*テーブル（ta1）
---------------------------------------------------------------------------*/
/*テーブル１行目に入った見出し部分（※caption）*/
.ta1 caption {
	font-weight: bold;		/*太字に*/
	padding: 0.5rem 1rem;	/*ボックス内の余白*/
	background: var(--accent-color);		/*背景色*/
	color: var(--accent-inverse-color);	/*文字色*/
	margin-bottom: 1rem;	/*下に空けるスペース*/
	border-radius: 5px;		/*角を丸くする指定*/
}

/*ta1テーブルブロック設定*/
.ta1 {
	table-layout: fixed;
	border-top: 1px solid #999;	/*テーブルの一番上の線。幅、線種、色*/
	width: 100%;				/*幅*/
	margin-bottom: 1rem;			/*テーブルの下に空けるスペース*/
}

/*tr（１行分）タグ設定*/
.ta1 tr {
	border-bottom: 1px solid #999;	/*テーブルの下線。幅、線種、色*/
}

/*th（左側）、td（右側）の共通設定*/
.ta1 th, .ta1 td {
	padding: 1rem;		/*ボックス内の余白*/
	word-break: break-all;	/*英語などのテキストを改行で自動的に折り返す設定。これがないと、テーブルを突き抜けて表示される場合があります。*/
}

/*th（左側）のみの設定*/
.ta1 th {
	width: 30%;			/*幅*/
	text-align: left;	/*左よせにする*/
}

	/*画面幅900px以上の追加指定*/
	/*追加指定ここまで*/


/*PAGE TOP（↑）設定
---------------------------------------------------------------------------*/
.pagetop-show {
	display: block;
}

/*ボタンの設定*/
.pagetop a {
	display: block;text-decoration: none;text-align: center;z-index: 99;
	position: fixed;	/*スクロールに追従しない(固定で表示)為の設定*/
	right: 20px;		/*右からの配置場所指定*/
	bottom: 20px;		/*下からの配置場所指定*/
	color: #fff;		/*文字色*/
	font-size: 1.5rem;	/*文字サイズ*/
	background: rgba(0,0,0,0.6);	/*背景色。0,0,0は黒の事で0.2は色が20%出た状態。*/
	width: 60px;		/*幅*/
	line-height: 60px;	/*高さ*/
	border-radius: 50%;	/*円形にする*/
}


/*bg1背景
---------------------------------------------------------------------------*/
.bg1 {
	background: var(--accent-color);	/*背景色。css冒頭のaccent-colorを読み込みます。*/
	color: var(--accent-inverse-color);	/*文字色。css冒頭のaccent-inverse-colorを読み込みます。*/
	padding: var(--global-space);		/*ボックス内の余白。css冒頭のglobal-spaceを読み込みます。*/
	width: 100vw;  /* ビューポート幅いっぱいに */
    margin-left: calc(-1 * (100vw - 100%)/2); /* 画面幅に対して中央揃え */
    margin-bottom: 0 !important; /* セクション下の余白を削除 */
}

/*bg1_2背景
---------------------------------------------------------------------------*/
.bg1_B {
	background-image: url("/images/bg_washi_C.jpg");
	background: linear-gradient(rgba(57, 63, 76, 0.8), rgba(57, 63, 76, 0.8));/*背景色。css冒頭のaccent-colorを読み込みます。*/
	color: var(--accent-inverse-color);	/*文字色。css冒頭のaccent-inverse-colorを読み込みます。*/
	padding: var(--global-space);		/*ボックス内の余白。css冒頭のglobal-spaceを読み込みます。*/
	
    /*以下は変更不要*/
    margin-right: calc(-1 * var(--global-space));
    margin-left: calc(-1 * var(--global-space));
}

/*bg2_cream 背景
---------------------------------------------------------------------------*/
.bg2_cream {
	/*background-image: url("./images/bg_washi_C.jpg");*//* 無し */
	background: rgb(254, 255, 245);
	/*color: var(--accent-inverse-color);*/	/*文字色。css冒頭のaccent-inverse-colorを読み込みます。*/
	color: #555;
	padding: var(--global-space);		/*ボックス内の余白。css冒頭のglobal-spaceを読み込みます。*/
	width: 100vw;  /* ビューポート幅いっぱいに */
    margin-left: calc(-1 * (100vw - 100%)/2); /* 画面幅に対して中央揃え */
	
	margin-top: 0 !important;
    margin-bottom: 0 !important; /* セクション下の余白を削除 */
}


/*bg2背景
---------------------------------------------------------------------------*/
.bg2 {
	background: rgba(170, 174, 146, 0.2);	/*背景色。0,0,0は黒のことで0.05は色が5%出た状態。*/
	padding: 1.5rem;				/*ボックス内の余白。1.5文字分*/
}

/*----------------------- オリジナル ----------------------------------------*/
/*BG IMG 和紙*/
.washi_a {
	background: url("/images/bg_washi_A.jpg");
	background-attachment: fixed;
	background-size: contain;
	background-position: center;
}

.washi_b {
	background: url("/images/bg_washi_B.jpg");
	background-attachment: fixed;
	background-size: contain;
	background-position: center;
}

.washi_c {
	background: url("/images/bg_washi_C.jpg");
	background-attachment: fixed;
	background-size: contain;
	background-position: center;
}

.washi_d {
	background: url("/images/bg_washi_D.jpg");
	background-attachment: scroll;
	/*background-attachment: fixed;*/
	background-size: 1000px auto;  /* ← ここで縮小比率を明示 */
	background-position: center;
}

/***** お知らせページなどで使うボタン（既存のフッターcontents内と同じにするため） ******/
#btnQ19 {
	color: var(--accent-inverse-color);	/*文字色*/
	/*background: linear-gradient(rgba(170, 174, 146, 0.6), rgba(170, 174, 146, 0.6)),
	url("/images/bg_washi_D.jpg") repeat;
	*/
	background-size: 1000px auto;  /* ← ここで縮小比率を明示 */
	width: 100%;
	height: 200px;
	padding-top: 30px;
}
	
#btnQ19 .btnQ19 a {
	background: ver(--accent-color); /*色：#aaae92*/
	border: 2px solid var(--accent-inverse-color);	/*枠線の幅、線種、色。色についてはcss冒頭の（accent-inverse-color）を読み込みます。*/
	max-width: 90%;
	margin: auto;
	display: block;
	text-align: center;
	text-decoration: none;
	margin-top: 25px;
	margin-bottom: 25px;
}


/***** アコーディオン ***************************************************/
/* 必須 */
.accordion-content {
	display: none;
}

.accordion-header {
	background: rgba(255, 255, 255, 0.6);
	padding: 12px 45px 10px 20px;
	margin: 10px 0 0;
	transition: background .3s ease;
	cursor: pointer;
	position: relative;
}

.accordion-header::before,
.accordion-header::after{
	position:absolute;
	content:'';
	top:1px;
	right:20px;
	bottom:0;
	width:12px;
	height:2px;
	margin:auto;
	background: rgba(255, 255, 255, 0.6);
}
.accordion-header::after{
	transform:rotate(-90deg);
	transition:transform 0.3s;
}
.accordion-header.active::after{
	transform:rotate(0deg);
}

.accordion-content {
	background: rgba(255, 255, 255, 0.6);
	padding: 12px 20px 10px;
}

.accordion-header span,
.accordion-content span{
	padding-left: 25px;
	position: relative;
}

.accordion-header span::before{
	position: absolute;
	content:"Q";
	top: -7px;
	left: 0;
	color: #86417b;
	font-size: 17px;
}


.accordion-content span::before{
	position: absolute;
	content:"A";
	top: -7px;
	left: 0;
	color: #5a7665;
	font-size: 17px;
}

/* hover */
.accordion-header:hover {
	background: rgba(57, 63, 76, 0.2);
}


/*■■■■■■■■■■■■　背景を白色透過にする場合　■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/
.bg_wh01 {
	background: rgba(255, 255, 255, 0.1);
	text-decoration: none;
}
section.bg_wh01 {
	background: rgba(255, 255, 255, 0.1);
	padding: 4%;
	text-decoration: none;
}

.bg_wh02 {
	background: rgba(255, 255, 255, 0.2);
	text-decoration: none;
}
section.bg_wh02 {
	background: rgba(255, 255, 255, 0.2);
	padding: 4%;
	text-decoration: none;
}

.bg_wh03 {
	background: rgba(255, 255, 255, 0.3);
	text-decoration: none;
}
section.bg_wh03 {
	background: rgba(255, 255, 255, 0.3);
	padding: 4%;
	text-decoration: none;
}

.bg_wh04 {
	background: rgba(255, 255, 255, 0.4);
	text-decoration: none;
}
section.bg_wh04 {
	background: rgba(255, 255, 255, 0.4);
	padding: 4%;
	text-decoration: none;
}

.bg_wh05 {
	background: rgba(255, 255, 255, 0.5);
	text-decoration: none;
}
section.bg_wh05 {
	background: rgba(255, 255, 255, 0.5);
	padding: 4%;
	text-decoration: none;
}

.bg_wh06 {
	background: rgba(255, 255, 255, 0.6);
	padding: 4%;
	text-decoration: none;
}
.bg_wh06 {
	background: rgba(255, 255, 255, 0.6);
	padding: 4%;
	text-decoration: none;
}

.bg_wh07 {
	background: rgba(255, 255, 255, 0.7);
	text-decoration: none;
}
section.bg_wh07 {
	background: rgba(255, 255, 255, 0.7);
	padding: 4%;
	text-decoration: none;
}

.bg_wh08 {
	background: rgba(255, 255, 255, 0.8);
	text-decoration: none;
}
section.bg_wh08 {
	background: rgba(255, 255, 255, 0.8);
	padding: 4%;
	text-decoration: none;
}

.bg_wh09 {
	background: rgba(255, 255, 255, 0.9);
	text-decoration: none;
}
section.bg_wh09 {
	background: rgba(255, 255, 255, 0.9);
	padding: 4%;
	text-decoration: none;
}

.bg_wh10 {
	background: rgba(255, 255, 255, 1);
	text-decoration: none;
}
section.bg_wh10 {
	background: rgba(255, 255, 255, 1);
	padding: 4%;
	text-decoration: none;
}

/*■■■■■■■■■■■■　背景を紺色透過にする場合　■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/
.bg_nb01 {
	background: rgba(57, 63, 76, 0.1);
	padding: 4%;
	text-decoration: none;
}
.bg_nb02 {
	background: rgba(57, 63, 76, 0.2);
	padding: 4%;
	text-decoration: none;
}
.bg_nb03 {
	background: rgba(57, 63, 76, 0.3);
	padding: 4%;
	text-decoration: none;
}
.bg_nb04 {
	background: rgba(57, 63, 76, 0.4);
	padding: 4%;
	text-decoration: none;
}.bg_nb05 {
	background: rgba(57, 63, 76, 0.5);
	padding: 4%;
	text-decoration: none;
}
.bg_nb06 {
	background: rgba(57, 63, 76, 0.6);
	padding: 4%;
	text-decoration: none;
}
.bg_nb07 {
	background: rgba(57, 63, 76, 0.7);
	padding: 4%;
	text-decoration: none;
}
.bg_nb08 {
	background: rgba(57, 63, 76, 0.8);
	padding: 4%;
	text-decoration: none;
}
.bg_nb09 {
	background: rgba(57, 63, 76, 0.9);
	padding: 4%;
	text-decoration: none;
}
.bg_nb10 {
	background: rgba(57, 63, 76, 1);
	padding: 4%;
	text-decoration: none;
}


/*■■■■■■■■■■■■　概要で左右に分ける　■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/
.clearfix::after {
    content: "";
    display: block;
    clear: both;
}
.aboutleft {
	float: left;
	clear: both;
	width: 26%;
	padding: 2% 0 2% 2%;
	text-align: left;
	vertical-align: text-top;
	/*border-bottom: thin solid #aaae92;*/
}
.aboutright {
	float: right;
	/*clear: both;*/
	width: 66%;
	padding: 2% 2% 2% 0;
	text-align: left;
	vertical-align: text-top;
	/*border-bottom: thin solid #aaae92;*/
}	

/*■■■■■■■■■■■■　料金の参考ページで使用　■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/
dl .table_decoration::after {
	content: "";
    display: block;
    clear: both;
}

/* 左側の要素（km範囲） */
dl.table_decoration dd.left {
	float: left;
	width: 70%; /* 50%だとborderやpaddingで崩れる可能性がある */
	padding: 0;
	margin: 0;
	text-indent: 1rem;
	box-sizing: border-box; /* borderの影響を排除 */
	border-bottom: thin solid #e0dcd5;
	/*color: #fff;*/
}

/* 右側の要素（金額） */
dl.table_decoration dd.right {
	float: right;
	width: 30%; /* 50%だと崩れる可能性があるので調整 */
	padding: 0;
	margin: 0;
	text-align-last: end;
	/*text-indent: -5rem;*/
	box-sizing: border-box;
	border-bottom: thin solid #e0dcd5;
	/*color: #fff;*/
}

dl.table_decoration dd.right::after {
	content: "";			/*右寄せの料金表示のため後ろに全角スペースを空けるため*/
}

/* 親要素の高さ崩れを防ぐ */
dl.table_decoration {
	overflow: hidden;
	display: block;
	width: 100%;
	/*color: #fff;*/
}

/*dl.table_decoration dd.left p {
	text-indent: each-line;
}
dl.table_decoration dd.right p {
	text-indent: hanging;
}
*/
/*■■■■■■■■■■■■■■ 洗浄・封孔　対象別料金表 ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/
.price-table {
	display: flex;
	flex-direction: column;
	width: 100%;
	max-width: 100%; /* 表の最大幅を設定 */
	border: 1px solid #e0dcd5;
	border-radius: 5px;
	overflow: hidden;
	
	border-collapse: separate;
	border-spacing: 0;
}

/* 各行のデザイン */
.row {
	display: flex;
	border-bottom: 1px solid #e0dcd5;
}

/* 最後の行の枠線を消す */
.row:last-child {
	border-bottom: none;
}

/* 一番左の列 */
.col-left {
	flex: 1; /* ほかの列より狭く */
	min-width: 60px; /* 最小幅を設定 */
	text-align: center;
	border-right: 1px solid #e0dcd5;
	padding: 10px;
	font-weight: bold;
}

/* 他の4列 */
.col {
	flex: 2; /* 左列より広く */
	text-align: center;
	padding: 10px;
	border-right: 1px solid #e0dcd5;
}

/* 最後の列の右枠線を消す */
.col:last-child {
	border-right: none;
}

/* 見出し（1行目） */
.header {
	font-weight: bold;
	background-color: none;
	/*border-top:1px solid #e0dcd5;*/
}



table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    border: 1px solid #e0dcd5;
    padding: 8px;
    text-align: center;
}

thead {
    background-color: rgba(170, 174, 146, 0.2); /* ヘッダーの背景色 */
}

tbody tr:nth-child(even) {
    background-color: rgba(170, 174, 146, 0.10); /* 偶数行の背景色 */
}

/* ▼▼▼　玄関の料金 section　▼▼▼ */
.Other-Planes table {
    background-color: rgba(255, 255, 255, 1.0); /* 背景色*/
	width: 100%;
    border-collapse: collapse;
	color: #666;
}

.Other-Planes th,
.Other-Planes td {
	
    border: 1px solid #e0dcd5;
    padding: 8px;
    text-align: center;
	color: #666;
}

.Other-Planes thead {
    background-color: rgba(235, 235, 227, 1.0); /* ヘッダーの背景色 */
	color: #666;
}

.Other-Planes tbody tr:nth-child(even) {
    background-color: rgba(235, 235, 227, 0.35); /* 偶数行の背景色 */
	color: #666;
}





/*■■■■■■■■■■■■■■ stone_protectページ（施工の流れsection） ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/
/* stone_protectページ（封孔処理の種類と特徴section） */
.seal-treatment-box {
        border: 2px solid rgba(170, 174, 146, 0.4);
        background-color: rgba(170, 174, 146, 0.15);
        padding: 15px;
        margin-bottom: 15px;
        border-radius: 5px;
    }
    .seal-treatment-box h3 {
        margin-top: 0;
        color: #333;
    }
    .seal-treatment-box ul {
        padding-left: 20px;
        list-style-type: disc;
    }


/* stone_protectページ（施工の流れsection） */
.process-steps {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 15px;
}

.process-steps::before {
    counter-reset: step-counter; /* カウンターをリセット */
    content: "";
    display: block;
}

.process-steps li {
    position: relative;
    padding: 15px;
    border: 2px solid  rgba(57, 63, 76, 0.4);
    background-color: rgba(170, 174, 146, 0.15);
    border-radius: 5px;
    font-weight: bold;
    counter-increment: step-counter; /* カウンターを増やす */
}

.process-steps li::before {	/* 数字 */
    content: counter(step-counter);
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    background-color: #731b1f;
    color: #fff;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2em;
    border-radius: 50%;
}

.process-steps h3 {
    margin: 0 0 5px 3em;
    font-size: 1.1em;
}

.process-steps p {
    margin: 0 0 0 3em;
    font-weight: normal;
}

/* PCもスマホもすべて1カラム */









/*■■■■■■■■■■■■■■ ご依頼からの流れ ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/
.process-flow {
	background-color: rgba( 170, 174, 146, 0.05); /* 和紙風の淡い背景色 */
	border: 1px solid #e0dcd5;
	/**/width: 100%;
	padding: 20px 10px 20px 8px;
	border-radius: 5px;
	margin-bottom: 20px;
}

.step {
    display: flex;
    align-items: flex-start; /* ← すべての要素を上揃え */
    margin-bottom: 20px;
}

.step-number {
    display: flex;
    align-items: center; /* ← 番号を中央揃え */
    justify-content: center;
    width: 36px;
    height: auto; /* ← ここの値を小さく調整してみる */
    background-color: #912226;
    color: #fff;
    font-size: 1em;
    font-weight: bold;
    text-align: center;
    border-radius: 50%;
    margin-right: 15px;
    font-family: 'Hiragino Mincho Pro', serif;
    flex-shrink: 0; /* サイズを変えないよう固定 */
}

.step-content {
    flex-grow: 1;
	padding-top: 2px;
	padding-right: 7px;
}

.step-content h2 {
    margin: 0 0 20px;  /* ← 余計なマージンを削除 下のみmargin追記*/
    padding: 0;
    font-size: 1.2em;
    color: #333;
    line-height: 1.2;
}

.step-content h3 {
    margin: 0 0 20px;  /* ← 余計なマージンを削除 下のみmargin追記*/
    padding: 0;
    font-size: 1.2em;
    color: #333;
    line-height: 1.2;
}

.step-content h4 {
    margin: 0 0 20px;  /* ← 余計なマージンを削除 下のみmargin追記*/
    padding: 0;
    font-size: 1.2em;
    color: #333;
    line-height: 1.2;
}

.step-content h5 {
    margin: 0 0 20px;  /* ← 余計なマージンを削除 下のみmargin追記*/
    padding: 0;
    font-size: 1.2em;
    color: #333;
    line-height: 1.2;
}

.step-content h6 {
    margin: 0 0 20px;  /* ← 余計なマージンを削除 下のみmargin追記*/
    padding: 0;
    font-size: 1.2em;
    color: #333;
    line-height: 1.2;
}

.step-content p {
    margin-top: 0; /* h2 との間隔を調整 */
}


/* hタグのデフォルトデザインは変更しない（他のCSSの影響を受ける） */
/*h1, h2, h3, h4, h5, h6 {
    font-size: inherit;  /* デフォルトのフォントサイズを維持 */
 /*   font-weight: inherit;
    color: inherit;
}*/

/* このページ専用の見出しデザイン */
.custom_h1 {
    font-weight: normal;
    color: #333;
    /*font-family: 'Hiragino Mincho Pro', serif;*/
    margin-bottom: 10px;
	text-align: left;
}
.custom_h1 + p {
    margin-top: 5px; /* デフォルトより狭く*/
}

.custom_h2 {
    font-weight: normal;
    color: #333;
    /*font-family: 'Hiragino Mincho Pro', serif;*/
	margin-bottom: 10px;
	text-align: left;
}
.custom_h2 + p {
    margin-top: 5px; /* デフォルトより狭く*/
}
.custom_h3 {
    font-weight: normal;
    color: #333;
    /*font-family: 'Hiragino Mincho Pro', serif;*/
    margin-bottom: 10px;
	text-align: left;
}
.custom_h3 + p {
    margin-top: 5px; /*デフォルトより狭く*/
}
.custom_h_3_wh {
    font-weight: normal;
    color: #fff;
    /*font-family: 'Hiragino Mincho Pro', serif;*/
    margin-bottom: 10px;
	text-align: left;
}
.custom_h3_wh + p {
    margin-top: 5px; /*デフォルトより狭く*/
}

.custom_h4 {
    font-weight: normal;
    color: #333;
    /*font-family: 'Hiragino Mincho Pro', serif;*/
    margin-bottom: 10px;
	text-align: left;
}
.custom_h4 + p {
    margin-top: 5px; /* デフォルトより狭く*/
}

.custom_h5 {
    font-weight: normal;
    color: #333;
    /*font-family: 'Hiragino Mincho Pro', serif;*/
    margin-bottom: 10px;
	text-align: left;
}
.custom_h5 + p {
    margin-top: 5px; /* デフォルトより狭く*/
}

.custom_h6 {
    font-weight: normal;
    color: #333;
    /*font-family: 'Hiragino Mincho Pro', serif;*/
    margin-bottom: 10px;
	text-align: left;
}
.custom_h6 + p {
    margin-top: 5px; /* デフォルトより狭く*/
}
/*▼▼▼▼▼▼▼▼▼▼▼▼▼▼　.step以下のh7以降 ▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼*/
.custom_h7,
.custom_h8,
.custom_h9 {
    font-size: 1.2em !important;
    font-weight: normal !important;
    color: #333 !important;
    margin-bottom: 10px !important;
	text-align: left !important;
	position: relative; top: -5px;
}

/*▲▲▲▲▲▲▲▲▲▲▲▲▲▲　.step以下のh7 ▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲*/


.step-content p {
	margin: 0;
	color: #333;
}

.step-content dl {
    margin: 5px 0 0;
    color: #333;
    /*font-family: 'Hiragino Mincho Pro', serif;*/
}

.step-content dt {
    /*font-weight: bold;*/
    color: #333;
}

.step-content dd {
    margin-left: 15px; /* インデント調整 */
}


.step-content div.btn {
    display: flex;
    justify-content: center; /* 中央揃え */
    align-items: center;
    margin-top: 10px;
}

.step-content div.btn a {
    display: inline-block;
    background-color: #912226; /* ボタン背景色（和風の深い赤色） */
    color: #fff; /* 文字色 */
    text-align: center;
    padding: 10px 10px; /* 余白 */
    border-radius: 5px; /* 角丸 */
    text-decoration: none; /* 下線を消す */
    font-weight: bold;
    /*font-family: 'Hiragino Mincho Pro', serif;*/
    border: 1px solid #912226; /* 枠線 */
    transition: background-color 0.3s ease;
}

.step-content div.btn a:hover {
    background-color: #731b1f; /* ホバー時に少し暗い色に */
}

/*■■■■■■■■■■■■■■ ここまで　ご依頼からの流れ ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/
/*■■■■■■■■■■■■■■ テキスト改行とフォントデザインを変更するため ■■■■■■■■■■■■■■■■■■■■■■■■■*/
.normal-text {
    display: block;
    font-weight: normal;
    font-size: small;
}
/*■■■■■■■■■■■■■■ ここまでテキスト改行とフォントデザインを変更するため ■■■■■■■■■■■■■■■■■■■■■■■■■*/
/*■■■■■■■■■■■■■■ フッターデザインを端末別に3カラム・2カラム・1カラムに変更 ■■■■■■■■■■■■■■■■■■■■■■■■■*/
/* PC・タブレット（デフォルト：3カラム） */
.footer-links {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

/* 各リスト（カラム）の幅調整 */
.footer-links ul {
    flex: 1;
    min-width: 200px; /* 必要に応じて調整 */
}

/* ★スマホ（幅 768px以下）は1カラムに変更 */

/* ▲▲▲▲▲ ここまで ▲▲▲▲▲▲★スマホ（幅 768px以下）は1カラムに変更▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲ */

/*■■■■■■■■■■■■■■ ここまで▲　フッターデザインを端末別に3カラム・2カラム・1カラムに変更 ■■■■■■■■■■■■■■■■■■■■■■■■■*/
/*■■■■■■■■■■■■■■ フッターの下から二段目の営業日部分 ■■■■■■■■■■■■■■■■■■■ 170, 174, 146;■■■■■■*/
div.business-hours {
	background: rgba(170, 174, 146, 1.0);
	border: 2px solid #fff;
	padding: 0 10px 10px 10px;
	border-radius: 5px;
	font-size: small;
}

div.business-hours h3 {
	font-weight: 500;
}

.business-hours table {
    width: 100%;
    border-collapse: collapse;
	padding: 0;
}

.business-hours th, 
.business-hours td {
    padding: 8px;
    border: 1px solid #e4e5dc;
}

.business-hours th {
    width: 30%;  /* thの幅を調整 */
    text-align: left;
    background: rgba( 32, 55, 68, 0.4);
    font-weight: 400;
}

.business-hours td {
    width: 70%;
	background: rgba( 255, 255, 255, 0.55);
	color: #333;
}


/*■■■■■■■■■■■■■■ ここまで▲　フッターの下から二段目の営業日部分 ■■■■■■■■■■■■■■■■■■■■■■■■■*/

/*■■■■■■■■■■■■■■ section PC/2カラム・スマホ/1カラム　■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/
.banner-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
}

.banner {
    flex: 1 1 calc(50% - 20px);
    max-width: calc(50% - 20px);
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.banner img {
    width: 100%;
    height: auto;
    display: block;
    /*border-radius: 10px;*/ /*角丸指定*/
}

.banner-text {
    position: absolute;
    bottom: 10px;
    left: 10px;
    color: white;
    background: rgba(0, 0, 0, 0.6);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 1rem;
}



/********* このデザインでPCでもスマホでも2カラムにする場合にはclass="banner-section2" */
.banner-section2 {
    display: flex;
    justify-content: center;
    gap: 20px; /* バナー間の余白 */
    flex-wrap: wrap; /* 必要に応じて折り返し */
    max-width: 1200px; /* PC画面で最大幅 */
    margin: 0 auto; /* 中央配置 */
    padding: 20px;
}

.banner2 {
    width: 48%; /* PCで2カラムを維持 */
    max-width: 600px; /* 最大サイズを指定 */
    text-align: center;
}

.banner2 img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 5px;
}

.banner2-text {
    margin-top: 8px;
    font-size: small;
    text-decoration: none !important; /* 強制的に下線を削除 */
}
.banner2 a {
    text-decoration: none !important; /* 強制的に下線を削除 */
}

/* 小さなスマホ向け（例: 320px幅以下） */
/* 小さい画面でも2カラムを維持 */


/********* このデザイン（画像 左、説明文 右）でPC/1カラム、スマホ/2カラムにする場合にはclass="banner-section3" */
/* banner-section3 */
.banner-section3 {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* 必要に応じて折り返し */
    width: 100%; /* セクションの幅を100%に */
    margin: 0 auto;
    padding: 0;
}

.banner-section3 h2 {
    width: 100%;
}

/* banner3 */
.banner3 {
    display: flex;
    align-items: center;
    gap: 15px;
    width: calc(50% - 10px); /* マージンの影響を考慮し、調整 */ /* 2カラム */
    max-width: 100%;
    text-align: left;
    border: thin solid #dbd6d0;
    border-radius: 3px 0 0 3px;
    background: rgba(255, 255, 255, 0.6);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    flex-wrap: nowrap; /* 折り返しを防ぐ */
    flex-direction: row; /* 横並び */
}

/* 画像の設定 */
.banner3 img {
    width: 40%; /* 画像の幅 */
    height: auto;
    display: block;
    border-radius: 2px 0 0 2px;
    flex-shrink: 0;
}

a.banner3 {
	text-decoration: none !important;
	align-items: flex-start; /* 上寄せにする */
}

/* 説明文 */
.banner3-text h3 {
	margin: auto auto 1em;
	font-size: small;
	font-weight: 600;
}

.banner3-text {
    width: 60%;
    padding: 10px 5px;
    font-size: small;
    line-height: 1.6em;
    height: calc(1.6em * 6); /* 6行分の高さを固定 */
    white-space: normal;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    position: relative;
    
    /* 最終行のみフェードアウト */
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 80%, rgba(0, 0, 0, 0) 100%);
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 80%, rgba(0, 0, 0, 0) 100%);
}

/* 「...」を最後の文字の直後に配置 */
.banner3-text::after {
    content: "…"; /* 省略記号 */
    display: inline; /* インライン要素にする */
    color: black; /* 文字色を設定 */
}


.banner3-text p {
    margin: 0;
    font-size: small;
    overflow: hidden;
}

/* ◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆スマホ縦画面（376px～1024px） ◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆*/
/* スマホでは1カラムに変更 */



/* ◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆スマホ横画面（376px～1024px） ◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆*/




.image-text-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 40px;
}

.image-box {
    flex: 1;
    max-width: 50%;
}

.text-box {
    flex: 1;
    max-width: 50%;
}

.image-box img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.full-width-section {
    position: relative;
    background-size: cover;
    background-position: center;
    padding: 80px 20px;
    text-align: center;
    color: white;
}

.full-width-section .overlay {
    background: rgba(0, 0, 0, 0.6);
    padding: 40px;
    border-radius: 8px;
    display: inline-block;
}


/* スマホ縦画面 */


/* スマホ横画面 */


/* タブレット縦画面 */

/* ◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆ スマホ横画面（376px～1024px） ◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆*/
/* ◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆ ここまで▲ スマホ横画面（376px～1024px） ◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆*/


.promo-box {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 2em;
    background-color: rgba(170, 174, 146, 0.4);
    padding: 1em;
	border: 2px solid #aaae92;
    border-radius: 8px;
}
.promo-box img {
    width: 100%;
    max-width: 300px;
    margin-right: 1em;
    border-radius: 8px;
}
.promo-text {
    flex: 1;
}
.promo-text h3 {
    color: #333;
    font-size: 1.2em;
    /*margin-bottom: 0.5em;*/
}
.promo-text p {
    font-size: 1em;
    color: #666;
}
.btn-wrap {
    text-align: center;
    margin-top: 4em;
}
.btn_B {
    display: inline-block;
    padding: 1em 2em;
    background-color: #393f4c; /* 適当な青系統 */
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
}
.btn_B:hover {
    background-color: #5b657a;
}




/* テーブルをレスポンシブにする */
.table-container {
    width: 100%;
    overflow-x: auto; /* 横スクロール可能にする */
    -webkit-overflow-scrolling: touch; /* iOSでスムーズなスクロール */
}

/* .stone-dataの修正 */
.stone-data {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
    display: table; /* これで正しいテーブルとして表示 */
}

/* テーブルのスタイル */
.stone-data th, .stone-data td {
    border: 1px solid #ccc;
    padding: 10px;
    text-align: center;
    white-space: nowrap; /* 文字の折り返しを防ぐ */
}

/* ヘッダーのスタイル */
.stone-data th {
    background-color: #f5f5f5;
    font-weight: bold;
}

/* 偶数行の背景色 */
.stone-data tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

/* スマホ対応の修正 */





.stone-features {
    list-style: none; /* リストのデフォルトマーカーを消す */
    padding: 0;
    display: grid;
    gap: 10px; /* 項目間の余白 */
}

.stone-features li {
    border: 2px solid #aaae92; /* ボーダー追加 */
    background-color: rgba(170, 174, 146, 0.15); /* 背景色追加 */
    padding: 15px;
    border-radius: 5px; /* 角を少し丸く */
    font-weight: bold;
}




/**************** footer 上・右 営業日（include/snippets/BDI.tpl）***********/
table.BDI {
	margin: auto;
}
table.BDI th {
	text-align: center;
}
table.BDI td {
	text-align: left;
}
/* スマホ縦画面 */

/************ ▲ここまで footer 上・右 営業日（include/snippets/BDI.tpl）******/

/************* お知らせ用 PHP工房CMS **************/
/* ============================= */
/* お知らせ一覧 & TOPページ 共通 */
/* ============================= */

/* 全体 */
#newsWrap {
    width: 100%;
}

#newsList {
    width: 100%;
    margin: 0 0 15px;
    padding: 0;
}

#newsList li {
    width: 100%;
    color: #666;
    font-size: 1em;
    margin-bottom: 3px;
    padding: 10px 0;
    border-bottom: 1px dotted #ccc;
    line-height: 1.4;
    list-style-type: none;
    display: flex;
    flex-direction: column;
}

/* 年月日・カテゴリ・今報のブロック */
.headerRow {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    width: 100%;
    flex-wrap: wrap; /* スマホで折り返し可能に */
}

/* カテゴリ */
.catName {
    display: inline-block;
    padding: 3px 8px;
    border: 1px solid #ccc;
    background-color: #fff;
    border-radius: 3px;
    font-size: 0.9em;
    margin: 0 2px;
}

/* 今報（New!） */
.newMark {
    display: inline-block;
    padding: 2px 6px;
    font-size: 0.9em;
    background: #912226;
    color: #fff;
    border-radius: 8px;
    text-align: center;
    box-shadow: 1px 1px 1px #999;
}

/* 画像 & テキストエリア */
.contentRow {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

/* 画像の親要素 */
.thumbNailWrap {
    flex: 0 0 120px;
    height: 120px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 画像 */
.thumbNailWrap img {
    width: 100%;
    max-width: 120px; /* PC時は120pxまで */
}

/* タイトル・本文エリア */
.textContent {
    flex: 1;
    font-size: medium;
}
.textContent a {
	text-decoration: none !important;
}
.textContent .title a {
    text-decoration: none !important;
    font-size: medium;
	margin-bottom: 10px;
}

/* ============================= */
/* スマホ対応 */
/* ============================= */


/* タブレットサイズ調整 */


/*********** お知らせ詳細ページ ***********/
.newsDetail {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.breadcrumb {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 15px;
}

.breadcrumb a {
    color: #007bff;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.newsTitle {
    font-size: 1.8em;
    font-weight: bold;
    margin-bottom: 10px;
}

.newsDate {
    display: block;
    font-size: 0.9em;
    color: #666;
    margin-bottom: 15px;
}

.newsContent {
    font-size: 1em;
    line-height: 1.6;
    color: #333;
}

.newsParagraph {
    margin-bottom: 20px;
}

.newsImage {
    width: 100%;
    max-width: 600px;
    display: block;
    margin: 0 auto 20px;
    border-radius: 5px;
}

.newsAttachment {
    text-align: center;
    margin-top: 15px;
}

.fileLink {
    display: inline-block;
    padding: 8px 12px;
    background: #f8f8f8;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
    font-size: 0.9em;
}

.fileLink:hover {
    background: #e8e8e8;
}

.backBtnWrap {
    text-align: center;
    margin-top: 20px;
}

.backBtn {
    display: inline-block;
    padding: 10px 15px;
    background: #912226;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.9em;
}

.backBtn:hover {
    background: #661518;
}

/*キャンペーンメッセージ　テキスト*/
#utm-message-box {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #ffffe0;
  color: #333;
  padding: 1em;
  border-bottom: 1px solid #ccc;
  z-index: 9999;
  font-size: 0.95em;
}
.utm-message-close {
  float: right;
  font-weight: bold;
  cursor: pointer;
  margin-left: 1em;
}



/*-------------- オリジナル　ここまで ------------------------------------------------------------*/


/*marker（マーカー風スタイル）
---------------------------------------------------------------------------*/
.marker {
	display: inline-block;
	background: linear-gradient(transparent 80%, yellow 80%);
}


/* その他 */
.clearfix::after {
    content: "";
    display: block;
    clear: both;
}

.color-check, .color-check a {
    color: #ff0000 !important;
}
.l {
    text-align: left !important;
}
.c {
    text-align: center !important;
}
.r {
    text-align: right !important;
}
.ws {
    width: 100%; /* 変更：これでスマホとPC両方で正常に表示 */
    display: block; /* inlineではなくblockに変更 */
}
.wl {
    width: 95%;
    display: block;
}
.mb0 {
    margin-bottom: 0 !important;
}
.mb30 {
    margin-bottom: 30px !important;
}
.mb5vw {
    margin-bottom: 5vw !important;
}
.look {
    display: inline-block;
    padding: 0 10px;
    background: #fff;
    color: #333;
    border: 1px solid #ccc;
    border-radius: 3px;
    margin: 5px 0;
    word-break: break-all;
}
.small {
    font-size: 0.75em;
}
.large {
    font-size: 2em;
    letter-spacing: 0.1em;
}
.pc {
    display: none;
}
.dn {
    display: none !important;
}
.block {
    display: block !important;
}

/* 画面幅900px以上の追加指定 */



/*その他　元々のテンプレート
---------------------------------------------------------------------------*/
/*ここ削除
 * .clearfix::after {content: "";display: block;clear: both;}
.color-check, .color-check a {color: #ff0000 !important;}
.l {text-align: left !important;}
.c {text-align: center !important;}
.r {text-align: right !important;}
.ws {width: 95%;display: block;}
.wl {width: 95%;display: block;}
.mb0 {margin-bottom: 0 !important;}
.mb30 {margin-bottom: 30px !important;}
.mb5vw {margin-bottom: 5vw !important;}
.look {
	display: inline-block;
	padding: 0 10px;background:#fff;
	color: #333;
	border: 1px solid #ccc;
	border-radius: 3px;
	margin: 5px 0;
	word-break: break-all;
}
.small {font-size: 0.75em;}
.large {font-size: 2em; letter-spacing: 0.1em;}
.pc {display: none;}
.dn {display: none !important;}
.block {display: block !important;}
ここ削除*/
	/*画面幅900px以上の追加指定*/
/*	/*追加指定ここまで*/


/* 業務のご案内 セクション */
.top-link-sections {
  padding: 40px 0;
  text-align: center;
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}
.top-link-sections > section + section {
  margin-top: 0;
}
.top-link-sections h2{
	margin-bottom: 0;
	padding-bottom: 0;
}

/* 枠付きセクション */
.section-border-wrap {
  width: 100%;
  aspect-ratio: 5 / 3; /* SVGと背景の比率を固定 */
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.section-border-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.2);
  pointer-events: none;
}

/* 背景画像（枠に合わせてフィット） */
.section-border-wrap.cs-bgimg {
  background-image:
    linear-gradient(rgba(255,255,255,0.6), rgba(0,0,0,0.5)),
    url('/images/cs-section-bg.webp');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}
.section-border-wrap.gc-bgimg {
  background-image:
    linear-gradient(rgba(255,255,255,0.7), rgba(255,255,255,0.7)),
    url('/images/gc-section-bg.webp');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.section-border-inner h3 {
	font-size: 1.5rem;
}
.section-border-inner h3,
.section-border-inner p,
.section-border-inner a.btn {
  color: #111;
  text-shadow: 0 1px 2px rgba(255,255,255,0.6);
}
.section-border {
  width: 100%;
  height: auto;
  display: block;
}

.section-border-inner {
  position: absolute;
  top: 7%;
  left: 5%;
  width: 90%;
  height: 90%;
  padding: 7px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

.section-border-inner * {
  margin: 0;
}

a.btn {
  display: inline-block;
  padding: 12px 24px;
  background-color: #fff;
  color: #fff;
	border: double 4px #203744;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

a.btn:hover {
  background-color: #999;
}


/* PCは2カラム */
@media screen and (min-width: 768px) {
  .top-link-sections {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }

  .top-link-sections h2 {
    grid-column: 1 / -1;
  }
}
