@charset "utf-8";

/* リセットCSS・外部CSS
---------------------------------------------------------------------------*/
@import url("https://unpkg.com/ress/dist/ress.min.css");
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css");
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css");
@import url("animation.css");
@import url("inview.css");

:root {

    /* ===== ブランドカラー ===== */
    --green: #43a700;
    --green-dark: #005210;
    --green-menu: #2f8f1f;

    /* ===== アクセント ===== */
    --orange: #e94808;
    --red: #e21c21;
    --blue: #036eb8;
    --yellow: #ffff00;
    --gold: #f2c94c; 

    /* ===== テキスト ===== */
    --text: #333333;
    --text-strong: #111111;
    --text-light: #666666;
    --text-muted: #999999;

    /* ===== 背景 ===== */
    --white: #ffffff;
    --bg: #f7f7f7;
    --bg-green: #f7fbf4;
    --bg-light: #f0f0f0;

    /* ===== ボーダー ===== */
    --border: #e5e5e5;
    --border-dark: #cccccc;
    --border-green: #d2e6cf;

    /* ===== シャドウ ===== */
    --shadow-light: rgba(0,0,0,0.05);
    --shadow: rgba(0,0,0,0.08);
    --shadow-medium: rgba(0,0,0,0.2);
    --shadow-dark: rgba(0,0,0,0.5);

}


/* 全体の設定
---------------------------------------------------------------------------*/
html,body {
	font-size: 14px;	/*基準となるフォントサイズ。下の方にある「画面幅800px以上」で基準を大きなサイズに変更しています。*/
}
body {
	overflow-x: hidden;
	font-family:"Noto Sans JP", "ヒラギノ丸ゴ Pro", "Hiragino Maru Gothic Pro","ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	-webkit-text-size-adjust: none;
	background: var(--white); /*背景色*/
	color: var(--text); /*全体の文字色*/
	line-height: 2; /*行間*/
}

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

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

/*sectionの間に空けるスペース*/
section + section {padding-top: 30px;}

/*フォームタグ全般の設定*/
input, textarea, select {
	border: 1px solid var(--text-muted);	/*枠線の幅、線種、色*/
	padding: 0 10px;
}

/*ress.cssでselectで矢印が消えてしまうのを戻す*/
select {
	-moz-appearance: menulist;
	-webkit-appearance: menulist;
	appearance: menulist;
}
select::-ms-expand {
    display: block;	/*IE用*/
}

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

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

/* ===== リスト共通 ===== */
ul,ol {
	margin: 0 5px 30px;
	padding-left: 1.4em;
}
ul li, ol li {
	margin-bottom: 6px;
	line-height: 2;
}


/*アニメーション（透明から着色状態に）
---------------------------------------------------------------------------*/
@keyframes opa1 {
	0% {opacity: 0;}
	100% {opacity: 1;}
}


/* リンク
---------------------------------------------------------------------------*/
a {
	color: var(--text);
}
a:hover {
	color: var(--green-dark);
    font-weight :bold;
}


/* レイアウト共通
---------------------------------------------------------------------------*/
/*サイト全体を囲むブロック*/
#container {
	margin: 0 auto;
	width: 100%;	/*画面いっぱい。*/
}

/*ヘッダーとメニュー囲むブロック*/
#container1 {
	margin: 0 auto;
	width: 100%;
	background-color: var(--white);
	position: sticky;
	position: -webkit-sticky;
	top: 0;
	z-index: 100;
	box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

/*最大幅1200*/
#box {
	margin: 0 auto;
	max-width: 1200px;
}


/*トップページのメイン画像
---------------------------------------------------------------------------*/
/*全体を囲むブロック*/
#mainimg {
	width: 100%;
	height: 0;
	padding: 0;
	padding-top: 28%;
	position: relative;
	overflow: hidden;
	background: url(../images/home.webp) no-repeat center center / 100%;	/*背景色、背景画像の読み込み、最後の100%は画像幅。*/
	color: var(--white);	/*文字色*/
}

/*テキストブロック*/
#mainimg #text {
	position: absolute;
	left: 4%;
	right: 4%;
	bottom: 6%;
	width: auto;
	height: auto;
	display: block;
}

/*pタグ。小文字の説明文。*/
#mainimg #text p.text {
	display: inline-block;
	font-size: clamp(1rem, 2vw, 2rem);
	font-weight: 700;
	line-height: 1.6;
	margin: 0;
	padding: 14px 20px;
	color: var(--text-strong);
	background: rgba(255,255,255,0.86);
	box-shadow: 0 8px 24px var(--shadow);
}


/*menubarブロック初期設定
---------------------------------------------------------------------------*/
#menubar ul {list-style: none;margin: 0;padding: 0;}

/*メニューを非表示にしておく*/
#menubar {display: none;}

/*開閉用のスタイル*/
#menubar.db {display: block;}
#menubar.dn {display: none;}

/*メニュー１個あたりの設定*/
#menubar ul li {
	background: var(--green-menu);
}

#menubar a {
	display: block;
	text-decoration: none;
	text-align: center;
	color: var(--white);
	padding: 14px 16px;
	font-weight: 700;
}

#menubar ul li:hover {
	background: var(--green-dark);
}

#menubar li {
	margin-bottom: 0;
	line-height: 1.6;
}


/*小さな端末用の開閉ブロック設定
---------------------------------------------------------------------------*/
/*メニューブロック設定*/
.s #menubar.db {
  position: fixed;overflow: auto;z-index: 100;
  left: 0px;top: 0px;
  width: 100%;
  height: 100%;
  animation: animation1 0.2s both;	/*animation.cssの、animation1を実行する。0.2sは0.2秒の事。*/
  background: var(--white);			/*背景色*/
  padding: 5%;				/*余白*/
}

/*メニュー１個あたりの設定*/
.s #menubar.db a {
  display: block;
  padding: 30px 30px;		/*上下、左右へのメニュー内余白*/
  text-align: left;		/*メニュー内のテキストを左寄せ。センタリングがいいならこの１行を削除。*/
}


/*開閉ブロック内のsubmenu
---------------------------------------------------------------------------*/
.sh ul.submenu li {
	background: transparent !important;
}
.sh ul.submenu li a {
	color: var(--text) !important;
}


/*ドロップダウンメニュー
---------------------------------------------------------------------------*/
/*ドロップダウンを非表示にしておく*/
#menubar .ddmenu_parent ul {
	display: none;
}

/*ドロップダウンメニューを持つ親に矢印アイコンをつける設定*/
a.ddmenu::before {
	font-family: "Font Awesome 5 Free";	/*Font Awesomeを使う指定*/
	content: "\f150";	/*使いたいアイコン名をここで指定。Font Awesomeに記載されています。詳しくは当テンプレートのマニュアルを読んで下さい。*/
	font-weight: bold;		/*この手の設定がないとアイコンが出ない場合があります*/
	margin-right: 0.5em;	/*アイコンとテキストとの間に空けるスペース*/
}

/*ドロップダウンメニュー１個あたりの設定*/
.ddmenu_parent ul a {
	background: var(--white) !important;	/*背景色*/
	color: var(--text) !important;			/*文字色*/
	border: 1px solid var(--border-dark);			/*線の幅、線種、色*/
	border-top: none;
}
.ddmenu_parent ul a:hover {
	color: var(--green-dark) !important;	/*マウスオン時の文字色*/
}


/*ハンバーガーアイコン設定
---------------------------------------------------------------------------*/
/*3本バーブロック*/
#menubar_hdr {
	display: block;
	position: fixed;z-index: 100;
	top: 10px;	/*上からの配置場所指定*/
	right: 3%;	/*右からの配置場所指定*/
	width: 50px;	/*幅*/
	height: 50px;	/*高さ*/
	cursor: pointer;
	background: var(--green-dark) url(../images/ham.webp) no-repeat center top/50px;/*背景色、ハンバーガメニュー画像の読み込み。最後のpxはwidthとheightと、#menubar_hdr.hamと揃えておいて下さい。*/
	transition: 0.2s;
}

/*マウスオン時*/
#menubar_hdr:hover {
	filter: brightness(1.1);	/*少しだけ明るくする*/
}

/*×印が出ている状態の設定。*/
#menubar_hdr.ham {
	background:var(--red) url(../images/ham.webp) no-repeat center bottom/50px;
}


/* ==========================
　文字サイズ
========================== */
.large {
    font-size: 2rem;
}


/* ==========================
　ボックス
========================== */
/* =====★ボックス影===== */
.box-03 {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    margin-bottom: 30px;
    padding: 1.5em 1.2em;
    border-radius: 20px;	/*枠を角丸にする指定*/
    box-shadow: 0 5px 10px var(--shadow-medium);
    background-color: var(--white);
    color: var(--text);
}


/* ==========================
　見出し
========================== */
/* =====*重なるふたつの正方形===== */
.heading-2 {
    position: relative;
    padding: .5em 1.2em .5em 30px;
    color: var(--text);
}

.heading-2::before,
.heading-2::after {
    display: inline-block;
    position: absolute;
    top: 50%;
    width: 18px;
    height: 18px;
    border: 2px solid var(--green);
    content: '';
}

/* 上の□ */
.heading-2::before {
    left: 0;
    transform: translateY(-50%) translateY(-0.2em);
}

/* 下の□ */
.heading-2::after {
    left: 6px;
    transform: translateY(-50%) translateY(3px);
}

.heading-2 + ul {
    margin: 0 5px 30px 30px;
    padding-left: 1.4em;
}

/* ★アイコン付き見出し（右向き太め矢印） */
.heading-8 {
    display: flex;
    align-items: center;
    column-gap: 8px;
    color: var(--text);
    margin: 20px 0 15px;
}

.heading-8::before {
    content: '\f138'; /* fa-circle-chevron-right */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--green);
    font-size: 1.25em;
    line-height: 1;
    flex-shrink: 0;
}

h4.heading-8 {
  font-size: 1.1em;
}

.heading-8 + ul {
    margin: 0 0 20px 30px !important;
    padding-left: 1.4em;
}

/* ===== Font Awesome見出し共通 ===== */
.fas_header {
    position: relative;
    padding: 5px 5px 5px calc(1em + 5px);
    color: var(--red);
    font-weight: bold;
}

.fas_header::before {
    position: absolute;
    left: 0;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
}

/* クエスチョン */
.fas_header--question::before {
    content: "\f059";
}

/* 矢印 */
.fas_header--arrow::before {
    content: "\f0a9";
}


/* ==========================
　フロー
========================== */
/* =====★沿革/about===== */
.flow ul {
	padding: 0;
}

.flow,
.flow li {
	list-style: none;
}

.flow dd {
	margin-left: 0;
}

.flow {
	padding-left: 120px;
	position: relative;
}

.flow::before {
	content: "";
	width: 15px;
	height: 100%;
	background: var(--border);
	margin-left: -8px;
	display: block;
	position: absolute;
	top: 0;
	left: 120px;
}

.flow > li {
	position: relative;
}

.flow > li:not(:last-child) {
	margin-bottom: 8vh;
}

.flow > li .icon {
	font-size: 0.8em;
	color: var(--white);
	background: var(--orange);
	padding: 8px 10px;
	display: block;
	position: absolute;
	top: 0;
	left: -125px;
	width: 110px;
	box-sizing: border-box;
	text-align: center;
	white-space: nowrap;
}

.flow > li dl {
	padding-left: 70px;
	position: relative;
}

.flow > li dl::before,
.flow > li dl::after {
	content: "";
	display: block;
	position: absolute;
	top: 15px;
}

.flow > li dl::before {
	width: 7px;
	height: 7px;
	margin-top: -3px;
	background: var(--orange);
	border-radius: 50%;
	left: -4px;
}

.flow > li dl::after {
	width: 50px;
	border-bottom: 1px dashed var(--text-muted);
	position: absolute;
	left: 5px;
}

.flow > li dl dt {
	font-size: 20px;
	font-weight: 600;
	color: var(--green-dark);
	margin-bottom: 1vh;
}

/* =====★共通問い合わせ===== */
.flow-list {
  list-style: none;
  margin: 30px 0;
  padding: 0;
  counter-reset: flow-number;
}

.flow-list li {
  position: relative;
  margin-bottom: 24px;
  padding: 20px 20px 20px 70px;
  background: var(--bg-green);
  border: 1px solid var(--border-green);
  border-radius: 12px;
}

.flow-list li::before {
  counter-increment: flow-number;
  content: counter(flow-number);
  position: absolute;
  top: 20px;
  left: 18px;
  width: 36px;
  height: 36px;
  background: var(--green);
  color: var(--white);
  font-weight: bold;
  font-size: 1rem;
  line-height: 36px;
  text-align: center;
  border-radius: 50%;
}

.flow-list li::after {
  content: "";
  position: absolute;
  left: 35px;
  top: 56px;
  width: 2px;
  height: calc(100% + 12px);
  background: var(--border-green);
}

.flow-list li:last-child::after {
  display: none;
}

.flow-list h4 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  color: var(--text);
}

.flow-list p {
  margin: 0;
  line-height: 1.8;
}


/*mainブロック設定
---------------------------------------------------------------------------*/
/*mainブロックの設定*/
main {
	padding: 50px 20px 20px 20px;	/*上、右、下、左へのボックス内の余白*/
}

/*mainブロック内のh2タグ*/
h2.line {
	padding: 5px;			/*ボックス内の余白*/
	margin-bottom: 30px;	/*下に空けるスペース*/
	position: relative;		/*アニメーションに必要な設定*/
	letter-spacing: 0.1em;	/*文字間隔を少しだけ広くとる設定*/
}


/*h2タグのbefor（下線のデフォルトの状態の設定）*/
h2.line::before {
	background: var(--border);	/*線となる背景の色*/
}

/*h2タグのbefor,after 共通設定*/
h2.line::before ,h2.line::after {
	content: "";
	position: absolute;
	bottom: 0px;
	left: 0px;
	width: 100%;
	height: 3px;	/*ラインの高さ*/
}

/*h2タグのafter（アニメーションの初期設定）*/
h2.line::after {
	background: var(--green);		/*線となる背景の色*/
	transition: 1.5s 0.5s;		/*1sはアニメーションの実行時間は1秒。0.5秒遅れてスタートする指定。*/
	transform: scaleX(0);		/*幅。最初は0にして見えなくしておく。*/
	transform-origin: left top;	/*線の出現起点が左からになるように。中央からの出現がよければこの１行削除。*/
}

/*h2タグのアニメーション結果。ライン幅が100%になる。*/
h2.line.linestyle::after {
	transform: scaleX(1);
}


/*mainブロックのpタグ*/
main p {
	margin: 0 5px 30px;	/*上、左右、下へ空けるスペース*/
}


/* ==========================
　リスト・カード
========================== */
/* =====①②③... ナンバーリストテキストと同じ色===== */

.number-list {
    list-style: none;
    margin: 0 5px 24px 0;
    padding: 0;
}

.number-list li {
    position: relative;
    padding-left: 2.2em;
    margin-bottom: 10px;
    line-height: 1.9;
}

.number-list li::before {
    position: absolute;
    left: 0;
    top: 0;
    width: 1.8em;
    text-align: center;
    font-weight: bold;
    color: var(--text);
}

.number-list li:nth-child(1)::before { content: "①"; }
.number-list li:nth-child(2)::before { content: "②"; }
.number-list li:nth-child(3)::before { content: "③"; }
.number-list li:nth-child(4)::before { content: "④"; }
.number-list li:nth-child(5)::before { content: "⑤"; }
.number-list li:nth-child(6)::before { content: "⑥"; }
.number-list li:nth-child(7)::before { content: "⑦"; }
.number-list li:nth-child(8)::before { content: "⑧"; }
.number-list li:nth-child(9)::before { content: "⑨"; }
.number-list li:nth-child(10)::before { content: "⑩"; }
.number-list li:nth-child(11)::before { content: "⑪"; }

/* ===== text-parts内の文章・リスト ===== */
/* 本文 */
.text-parts p {
    line-height: 1.9;
    margin: 0 5px 18px;
}

/* 通常リスト */
.text-parts ul {
    list-style: disc;
    margin-left: 30px;
    padding-left: 1.4em;
}

/* text-parts✓リスト（●完全一致） */
.text-parts ul.check-list {
  list-style: none !important;
  margin-left: 30px !important;   /* ←これ重要（●と同じ） */
  padding-left: 1.4em !important; /* ←これも同じ */
}

.text-parts ul.check-list li {
  position: relative;
  padding-left: 0 !important;
}

.text-parts ul.check-list li::before {
  content: "✓" !important;
  position: absolute;
  left: -1.4em; /* ←paddingと同じ値にする */
  top: 0.05em;
  color: var(--green);
  font-weight: bold;
}

/*★リスト（チェックマーク）*/
ul.check-list {
  list-style: none;
  margin: 0 5px 24px 30px;
  padding-left: 1.4em;
}

ul.check-list li {
  position: relative;
  margin-bottom: 8px;
  padding-left: 0;
  line-height: 1.9;
}

ul.check-list li::before {
  content: "✓";
  position: absolute;
  left: -1.4em;
  top: 0.05em;
  color: var(--green);
  font-weight: bold;
}

/*フッターメニュー設定
---------------------------------------------------------------------------*/
/*ボックス全体の設定*/
#footermenu {
	background: var(--bg);	/*背景色*/
	color: var(--text);		/*文字色*/
	font-size: 0.8rem;	/*文字サイズ。remの単位についてはテンプレート内の解説をお読み下さい。*/
	padding: 20px 55px;	/*上下、左右へのボックス内の余白*/
	display: flex;		/*flexボックスを使う指定*/
	justify-content: space-evenly;	/*並びかたの種類の指定*/
}

/*ボックス内のリンクテキスト設定*/
#footermenu a {
	text-decoration: none;
	color: var(--text);	/*文字色*/
}

/*リンクテキストのマウスオン時*/
#footermenu a:hover {
	color: var(--green);	/*文字色*/
}

/*ulタグ（列単位）*/
#footermenu ul {
	margin: 0;
	list-style: none;
}

/*title*/
#footermenu .title {
	font-weight: bold;
}

@media screen and (max-width: 600px) {
#footermenu {display: none;}
}

/*フッター設定
---------------------------------------------------------------------------*/
footer small {font-size: 100%;}

footer {
	font-size: 0.8rem;		/*文字サイズ。remの単位についてはテンプレート内の解説をお読み下さい。*/
	background: var(--bg);	/*背景色*/
	color: var(--text);			/*文字色*/
	text-align: center;		/*内容をセンタリング*/
	padding: 20px;			/*ボックス内の余白*/
}

/*リンクテキスト*/
footer a {
	text-decoration: none;
    padding-right: 10px;	/*右側に空ける余白*/
    padding-left: 10px;	/*右側に空ける余白*/
	color: var(--text);		/*文字色*/
	transition: 0.3s;	/*0.3秒かけてアニメーションする設定。マウスオン時に影響します。*/
}

footer p i {
	color: var(--green-dark);			/*文字色＝アイコン色になります。*/
    
}
/*リンクテキストのマウスオン時*/
footer a:hover {color: var(--green-dark);}

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

/* =====テーブル===== */
/*テーブル１行目に入った見出し部分（※caption）*/
.ta1 caption {
	border-top: 1px solid var(--border-dark);	/*上の枠線の幅、線種、色*/
	font-weight: bold;			/*太字に*/
	padding: 10px 5px;			/*上下、左右へのボックス内の余白。基本的に数行下の「.ta1 th, .ta1 td」のpaddingと揃えておけばOKです。*/
	background: var(--bg);		/*背景色*/
}

/*ta1テーブルブロック設定*/
.ta1 {
	border-top: 1px solid var(--border-dark);	/*テーブルの一番上の線。幅、線種、色*/
	table-layout: fixed;
	width: calc(100% - 10px);	/*テーブルの両サイドに合計10px（左右各5pxずつ）の余白を作った残りを幅にします*/
	margin: 0 auto 30px;		/*最後の「30px」がテーブルの下に空けるスペースです*/
}

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

/*th（左側）、td（右側）の共通設定*/
.ta1 th, .ta1 td {
	padding: 10px 5px;		/*上下、左右へのボックス内の余白*。基本的に数行上の「.ta1 caption」のpaddingと揃えておけばOKです。*/
	word-break: break-all;	/*英語などのテキストを改行で自動的に折り返す設定。これがないと、テーブルを突き抜けて表示される場合があります。*/
}

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


/* =====よく頂く質問===== */
.faq {
	padding: 0 5px;
	margin: 0 0 24px;
}

/*質問*/
.faq dt {
	border-radius: 10px;
	margin-bottom: 12px;
	background: linear-gradient(var(--white), var(--bg));
	box-shadow: 0px 0px 5px var(--shadow-medium);
	padding: 20px 20px 20px 24px;
	line-height: 1.8;
}

/* 既存アイコンを消す */
.faq dt::before {
	content: none;
}

/*回答*/
.faq dd {
	padding: 0 20px 30px 36px;
	line-height: 1.9;
	margin: 0;
}

.openclose {
	cursor: pointer;
}

/* Q / A ラベル */
.faq-label {
	font-weight: bold;
	color: var(--green-dark);
	margin-right: 10px;
}

.faq-label-a {
	font-weight: bold;
	color: var(--text);
	margin-right: 10px;
}

@media screen and (max-width: 600px) {
	.faq dt {
		padding: 16px 16px 16px 24px;
		font-size: 0.95rem;
	}

	.faq dd {
		padding: 0 16px 24px 24px;
		font-size: 0.95rem;
	}

}


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

.pagetop a {
	display: block;text-decoration: none;text-align: center;
	width: 50px;		/*幅*/
	line-height: 50px;	/*高さ*/
	position: fixed;
	right: 30px;		/*右からの配置場所指定*/
	bottom: 30px;		/*下からの配置場所指定*/
	color: var(--white);		/*文字色*/
	background: rgba(0,0,0,0.4);	/*背景色。0,0,0は黒色の指定で0.4は色が40%出た状態。*/
	border: 1px solid var(--white);	/*枠線の幅、線種、色*/
}

/*マウスオン時*/
.pagetop a:hover {
	background: rgba(0,0,0,0.8);	/*背景色。0,0,0は黒色の指定で0.8は色が80%出た状態。*/
}

/*btnの設定
---------------------------------------------------------------------------*/
/*ボタンを囲むブロック*/
.btn {
	text-align: center;	/*内容をセンタリング*/
	font-size: 1.2rem;	/*文字サイズ。remの単位についてはテンプレート内の解説をお読み下さい。*/
}

/*ボタン*/
.btn a,
.btn input {
	display: inline-block;text-decoration: none;border: none;
	background: linear-gradient(150deg, var(--green), var(--green-dark));/*背景グラデーション。#logoと合わせています。*/
	color: var(--white);			/*文字色*/
	border-radius: 5px;		/*角丸のサイズ。ほんの少しだけ角が丸くなります。*/
	padding: 5px 10px;		/*上下、左右へのボタン内の余白*/
	box-shadow: 2px 2px 4px var(--shadow-medium);	/*ボックスの影。右へ、下へ、ぼかし幅。0,0,0は黒のことで0.2は色が20%ついた状態。*/
}

/*右側の矢印アイコン（アイコンにはFont Awesomeを使用）*/
.btn i {
	padding-left: 10px;		/*アイコンとテキストの間に空ける余白*/
	transform: scale(1.02);	/*実寸の102%に拡大*/
}

/*ボタンのマウスオン時*/
.btn a:hover,
.btn input:hover {
	opacity: 0.9;	/*透明度。0.9は色が90%ついた状態のこと。*/
}

/* ===== リンクボタン共通 ===== */
a.btn1,
a.btn2 {
    display: inline-block;
    padding: 5px 30px;
    border-radius: 3px;
    color: var(--white);
    font-size: 1em;
    line-height: 1.6;
    letter-spacing: 0.1em;
    text-align: center;
    text-decoration: none;
    box-shadow: 1px 2px 3px var(--shadow-medium);
    transition:
        transform 0.2s,
        filter 0.2s;
}

/* 緑ボタン */
a.btn1 {
    background: var(--green-dark);
}

/* オレンジボタン */
a.btn2 {
    background: var(--orange);
}

/* 丸型ボタン */
.radius {
    border-radius: 100px !important;
}

/* ボタン内アイコン */
a.btn1 i,
a.btn2 i {
    margin-left: 20px;
}

/* ホバー */
a.btn1:hover,
a.btn2:hover {
    color: var(--white);
    transform: scale(1.03);
    filter: brightness(1.1);
}

/*「お知らせ」ブロック
---------------------------------------------------------------------------*/
/*お知らせブロック*/
#new {
	display: flex;		/*flexボックスを使う指定*/
	flex-wrap: wrap;	/*折り返す指定*/
	padding: 0 5px;		/*上下、左右へのボックス内の余白*/
}

/*日付(dt)、記事(dd)共通設定*/
#new dt,
#new dd {
	border-bottom: 1px solid var(--border-dark);	/*下線の幅、線種、色*/
	padding: 5px 0;					/*上下、左右へのボックス内の余白*/
}

/*日付(dt)設定*/
#new dt {
	width: 8em;	/*幅。8文字(em)分。※下の「800px以上」の端末用の設定に再設定があります。*/
}

/*日付の横のマーク（共通設定）*/
#new dt span {
	display: none;	/*小さな端末では非表示にしておく。*/
}

/*bg1設定。イベント*/
#new dt span.icon-bg1 {
	background: var(--orange);	/*背景色*/
}

/*bg2設定。お知らせ*/
#new dt span.icon-bg2 {
	background: var(--blue);	/*背景色*/
}

/*記事(dd)設定*/
#new dd {
	width: calc(100% - 8em);	/*「8em」は上の「#new dt」のwidthの値です。※下の「800px以上」の端末用の設定に再設定があります。*/
}

/*続きを見る*/
.readmore {
  position: relative;
  margin: 50px auto 0;
  padding: 0 0 75px;
}

.readmore label {
  position: absolute;
  display: table;
  left: 50%;
  bottom: 0;
  margin: 0 auto;
  width: 200px;
  padding: 10px 0;
  color: var(--white);
  text-align: center;
  border-radius: 5px;
  background-color: var(--text-muted);
  transform: translateX(-50%);
  cursor: pointer;
  z-index: 1;
}

.readmore label::before{
  content: '続きを見る▼';
}

.readmore input[type="checkbox"]:checked ~ label::before {
  content: '元に戻す▲';
}

.readmore input[type="checkbox"]{
  display: none;
}

.readmore-content {
  position: relative;
  height: 150px;
  overflow: hidden;
}

.readmore input[type="checkbox"]:checked ~ .readmore-content {
  height: auto;
}


/* ==========================
　レイアウト
========================== */
/*2カラムレイアウト（900px未満は1カラム）*/
.list-half-parts .list-parts {
	display: flex;			/*flexボックスを使う指定*/
	flex-direction: column;	/*子要素を縦並びにする*/
	margin-bottom: 2rem;	/*ボックスの下に2文字分のスペースを空ける*/
}
/*画像ブロック共通*/
.list-half-parts .image-l-parts img, .list-half-parts .image-r-parts img {
	border-radius: 30px;	/*角を丸くする指定。*/
}
/*画像ブロック共通*/
.list-half-parts .image-l-parts a, .list-half-parts .image-r-parts  a{
	text-decoration: none;
}

/*画面幅900px以上の追加指定*/
@media screen and (min-width:900px) {
    
/*2カラムを囲むブロック*/
.list-half-parts .list-parts {
	flex-direction: row;			/*子要素を横並びにする*/
	justify-content: space-between;	/*並びかたの種類の指定*/
	align-items: center;			/*垂直揃えの指定。天地中央に配置されるように。*/
}
/*画像ブロック共通*/
.list-half-parts .image-l-parts, .list-half-parts .image-r-parts {
	width: 40%;			/*画像の幅*/
}		
/*画像を右に配置する場合*/
.list-half-parts .image-r-parts {
	margin-left: 2rem;	/*画像の左側に空けるスペース*/
	text-align: center;
}
/*画像を左に配置する場合*/
.list-half-parts .image-l-parts {
	order: -1;
	margin-right: 2rem;	/*画像の右側に空けるスペース*/
    text-align: center;
}

/*テキストブロック*/
.list-half-parts .text-parts {
	flex: 1;
}
}/*追加指定ここまで*/
    
/*ボックス１個あたり*/
.list-parts {
	padding: 1rem;			/*ボックス内の余白*/
	background: var(--white);		/*背景色*/
}
/*ボックス内のfigure画像*/
.list-parts figure  img {
	margin-bottom: 0.5rem;	/*画像の下に空けるスペース*/
}


/* ====================================
   ここから下は画面幅900px以上の追加指定
==================================== */
@media screen and (min-width:900px) {

/*全体の設定*/
html, body {
	font-size: 18px;	/*基準となるフォントサイズの上書き*/
}

/*section全般の設定*/
section + section {
	padding-top: 50px;	/*sectionの間に空けるスペース*/
}

/*mainブロック設定*/
main {
	padding: 50px;	/*ボックス内の余白*/
}

/* ===== テーブル/* ===== 

/*テーブル１行目に入った見出し部分（※caption）*/
.ta1 caption {
	padding: 20px 15px;		/*上下、左右へのボックス内の余白*/
}

/*th（左側）、td（右側）の共通設定*/
.ta1 th, .ta1 td {
	padding: 20px 15px;		/*上下、左右へのボックス内の余白*/
}

/*th（左側）のみの設定*/
.ta1 th {
	width: 20%;		/*幅*/
}

/* ===== 「お知らせ」ブロック===== */
/*日付(dt)設定*/
#new dt {
	width: 14em;	/*幅。14文字(em)分。*/
	display: flex;	/*flexボックスを使う指定*/
	justify-content: space-between;	/*日付とアイコンをそれぞれ端に寄せる*/
}

/*日付の横のマーク（共通設定）*/
#new dt span {
	display: inline-block;	/*表示させる、*/
	width: 6em;				/*幅。6文字(em)分。*/
	background: var(--text-muted);		/*背景色*/
	color: var(--white);			/*文字色*/
	font-size: 0.9rem;		/*文字サイズ。remの単位についてはテンプレート内の解説をお読み下さい。*/
	text-align: center;		/*文字をセンタリング*/
	border-radius: 3px;		/*角を少しだけ丸くする*/
	margin-right: 1.2em;	/*アイコンの右側に空けるスペース*/
	align-self: flex-start;	/*高さを間延びさせない指定*/
	line-height: 1.5;		/*行間を少し狭く*/
	position: relative;top: 0.4em;	/*上下の配置バランスの微調整*/
}

/*記事(dd)設定*/
#new dd {
	width: calc(100% - 14em);	/*「14em」は上の「#new dt」のwidthの値です。*/
}

/* ===== btnの設定===== */
/*ボタン*/
.btn a {
	padding: 15px 40px;		/*上下、左右へのボタン内の余白*/
	letter-spacing: 0.1em;	/*文字間隔を少しだけ広く*/
}

/*右側の矢印アイコン（アイコンにはFont Awesomeを使用）*/
.btn i {
    padding-left: 20px;
}
} /* 900px以上ここまで */

    
    
/* ====================================
   ブログ・オンライン診断・お問い合わせ
==================================== */

.common-guide-sections {
    margin-top: 40px;
}

.common-guide {
    margin-bottom: 70px;
}

.common-guide:last-child {
    margin-bottom: 20px;
}


/* 見出し上の英字ラベル
------------------------------------ */
.common-guide__heading {
    margin-bottom: 24px;
}

.common-guide__label {
    margin: 0 0 4px 5px !important;
    color: var(--green);
    font-family: "Rubik", sans-serif;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .1em;
    line-height: 1.5;
}


.common-guide__heading .heading-1 {
    margin-top: 0;
    margin-bottom: 0;
    line-height: 1.55;
}

.common-guide__company {
    display: inline-block;
    font-size: .72em;
    font-weight: 500;
}


/* 外側のボックス
------------------------------------ */
.common-guide__box {
    overflow: hidden;
    padding: 30px;
    border: 1px solid var(--border);
    border-top: 4px solid var(--green);
    border-radius: 12px;
    background: var(--white);
    box-shadow: 0 5px 16px var(--shadow-light);
}

.common-guide__content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 38%);
    align-items: center;
    gap: 36px;
}

.common-guide__text {
    min-width: 0;
}


/* セクション内見出し
------------------------------------ */
.common-guide__title {
    position: relative;
    margin: 0 0 24px;
    padding: 11px 14px 11px 18px;
    border-left: 5px solid var(--green);
    border-radius: 0 7px 7px 0;
    background: var(--bg-green);
    color: var(--green-dark);
    font-size: 1.08rem;
    line-height: 1.7;
}

.common-guide__title span {
    display: block;
    margin-top: 2px;
    color: var(--text-light);
    font-size: .82em;
    font-weight: 500;
}


/* 本文・リスト調整
------------------------------------ */
.common-guide__text p {
    margin: 0 0 16px;
    line-height: 1.9;
}

.common-guide__text .check-list {
    margin: 0 0 22px 30px;
}


/* 画像
------------------------------------ */
.common-guide__image figure {
    margin: 0;
}

.common-guide__image img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 10px;
}


/* オンライン診断の詳細
------------------------------------ */
.common-guide__info {
    margin: 25px 0 0;
    border-top: 1px solid var(--border-green);
}

.common-guide__info > div {
    display: grid;
    grid-template-columns: 7em minmax(0, 1fr);
    border-bottom: 1px solid var(--border-green);
}

.common-guide__info dt,
.common-guide__info dd {
    margin: 0;
    padding: 11px 13px;
    line-height: 1.75;
}

.common-guide__info dt {
    background: var(--bg-green);
    color: var(--green-dark);
    font-weight: 700;
}

.common-guide__info dd {
    background: var(--white);
}


/* 電話案内
------------------------------------ */
.common-guide__phone {
    margin-top: 28px;
    padding: 20px 22px;
    border: 1px solid var(--border-green);
    border-radius: 10px;
    background: var(--bg-green);
    text-align: center;
}

.common-guide__phone-label {
    margin: 0 0 4px !important;
    color: var(--green-dark);
    font-weight: 700;
}

.common-guide__phone-label i {
    margin-right: 6px;
    color: var(--green);
}

.common-guide__phone-number {
    margin: 0 0 8px !important;
    font-family: "Rubik", sans-serif;
    font-size: clamp(1.55rem, 4vw, 2rem);
    font-weight: 700;
    letter-spacing: .04em;
    line-height: 1.4;
}

.common-guide__phone-number a {
    color: var(--green-dark);
    text-decoration: none;
}

.common-guide__hours {
    margin: 0 !important;
    color: var(--text-light);
    font-size: .85rem;
    line-height: 1.75 !important;
}


/* ボタン
------------------------------------ */
.common-guide__button {
    margin-top: 30px;
    text-align: center;
}

.common-guide__button .btn2 {
    min-width: 300px;
    max-width: 100%;
    padding: 13px 30px;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.6;
}

.common-guide__button .btn2 i {
    margin-left: 12px;
    transition: transform .2s;
}

.common-guide__button .btn2:hover i {
    transform: translateX(4px);
}


/* 問い合わせフローの微調整
------------------------------------ */
.common-guide .flow-list {
    margin: 0;
}

.common-guide .flow-list li {
    margin-bottom: 15px;
    padding: 15px 16px 15px 62px;
}

.common-guide .flow-list li::before {
    top: 15px;
    left: 16px;
    width: 32px;
    height: 32px;
    line-height: 32px;
}

.common-guide .flow-list li::after {
    top: 47px;
    left: 31px;
}

.common-guide .flow-list h4 {
    margin-bottom: 3px;
}

.common-guide .flow-list p {
    margin: 0;
}


/* タブレット・スマホ
------------------------------------ */
@media screen and (max-width: 899px) {

    .common-guide {
        margin-bottom: 55px;
    }

    .common-guide__box {
        padding: 22px 18px;
    }

    .common-guide__content {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .common-guide__image {
        order: -1;
    }

    .common-guide__image img {
        max-height: 360px;
    }

    .common-guide__button {
        margin-top: 24px;
    }
}


/* スマホ
------------------------------------ */
@media screen and (max-width: 600px) {

    .common-guide {
        margin-bottom: 45px;
    }

    .common-guide__heading {
        margin-bottom: 18px;
    }

    .common-guide__heading .heading-1 {
        font-size: 1.3rem;
    }

    .common-guide__company {
        display: block;
        margin-top: 3px;
    }

    .common-guide__box {
        padding: 18px 14px;
        border-radius: 9px;
    }

    .common-guide__title {
        margin-bottom: 20px;
        padding: 10px 12px 10px 15px;
        font-size: 1rem;
    }

    .common-guide__image img {
        border-radius: 8px;
    }

    .common-guide__info > div {
        grid-template-columns: 1fr;
    }

    .common-guide__info dt {
        padding-bottom: 5px;
    }

    .common-guide__info dd {
        padding-top: 5px;
    }

    .common-guide__button .btn2 {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        min-width: 0;
        padding: 12px 16px;
        letter-spacing: .03em;
    }

    .common-guide__phone {
        padding: 17px 12px;
    }

    .common-guide .flow-list li {
        padding: 14px 12px 14px 56px;
    }

    .common-guide .flow-list li::before {
        left: 13px;
    }

    .common-guide .flow-list li::after {
        left: 28px;
    }
}
    
    
/* ==========================
　トップページ専用
========================== */
.home-page {
    padding-bottom: 20px;
}

.home-page p {
    margin-left: 0;
    margin-right: 0;
}


/* ===== 共通見出し ===== */
.home-section-heading {
    margin-bottom: 28px;
    text-align: center;
}

.home-section-heading > p,
.home-intro__label {
    margin: 0 0 5px !important;
    color: var(--green);
    font-family: "Rubik", sans-serif;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .12em;
    line-height: 1.5;
}

.home-section-heading h2 {
    margin: 0;
    color: var(--green-dark);
    font-size: clamp(1.4rem, 2.5vw, 1.9rem);
    line-height: 1.5;
}


/* ===== 導入 ===== */
.home-intro {
    max-width: 980px;
    margin: 0 auto 65px;
}

.home-intro .line {
    margin-bottom: 24px;
    color: var(--text-strong);
    font-size: clamp(1.35rem, 2.5vw, 1.85rem);
    line-height: 1.6;
}

.home-intro__box {
    padding: 28px 32px;
    border: 1px solid var(--border-green);
    border-left: 5px solid var(--green);
    border-radius: 10px;
    background: var(--bg-green);
}

.home-intro__box p {
    margin: 0 0 17px !important;
    color: var(--text);
    line-height: 1.95;
}

.home-intro__box p:last-child {
    margin-bottom: 0 !important;
}


/* ===== 3つの強み ===== */
.home-strength {
    margin-bottom: 70px;
}

.home-strength-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.home-strength-card {
    position: relative;
    padding: 29px 22px 23px;
    border: 1px solid var(--border);
    border-top: 4px solid var(--green);
    border-radius: 9px;
    background: var(--white);
    box-shadow: 0 4px 12px var(--shadow-light);
}

.home-strength-card__number {
    position: absolute;
    top: 10px;
    right: 14px;
    color: var(--orange);
    font-family: "Rubik", sans-serif;
    font-size: .82rem;
    font-weight: 700;
}

.home-strength-card > i {
    margin-bottom: 14px;
    color: var(--green);
    font-size: 1.7rem;
}

.home-strength-card h3 {
    margin: 0 0 13px;
    color: var(--green-dark);
    font-size: 1.05rem;
    line-height: 1.65;
}

.home-strength-card p {
    margin: 0 0 10px !important;
    color: var(--text);
    font-size: .9rem;
    line-height: 1.85;
}

.home-strength-card p:last-child {
    margin-bottom: 0 !important;
}


/* ===== お悩み ===== */

.home-problem {
    margin-bottom: 70px;
}

.home-problem-grid {
    display: grid;
    grid-template-columns: minmax(300px, .85fr) minmax(0, 1.15fr);
    align-items: center;
    gap: 38px;
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--white);
    box-shadow: 0 4px 12px var(--shadow-light);
}

.home-problem__image img {
    display: block;
    width: 100%;
    border-radius: 9px;
}

.home-problem-list {
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
}

.home-problem-list li {
    position: relative;
    margin-bottom: 10px;
    padding-left: 1.8em;
    color: var(--text);
    line-height: 1.85;
}

.home-problem-list li::before {
    content: "\f058";
    position: absolute;
    top: .08em;
    left: 0;
    color: var(--green);
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}

.home-problem__content > p {
    margin: 0 !important;
    color: var(--text);
    line-height: 1.95;
}

.home-problem__content strong {
    color: var(--green-dark);
}


/* ===== 事業内容 ===== */
.home-service {
    margin-bottom: 70px;
}

.home-service-flow {
    display: grid;
    gap: 18px;
}

.home-service-card {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--white);
    box-shadow: 0 4px 12px var(--shadow-light);
}

.home-service-card__side {
    display: grid;
    place-items: center;
    align-content: center;
    gap: 10px;
    padding: 25px 18px;
    background: var(--bg-green);
    text-align: center;
}

.home-service-card__step {
    color: var(--orange);
    font-family: "Rubik", sans-serif;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .08em;
}

.home-service-card__side > i {
    color: var(--green);
    font-size: 1.8rem;
}

.home-service-card__side > p {
    margin: 0 !important;
    color: var(--green-dark);
    font-size: .9rem;
    font-weight: 700;
    line-height: 1.6;
}

.home-service-card__content {
    padding: 24px 28px;
}

.home-service-card__content h3 {
    margin: 0 0 8px;
    color: var(--green-dark);
    font-size: 1.2rem;
    line-height: 1.6;
}

.home-service-card__content h3 span {
    color: var(--green);
}

.home-service-card__catch {
    margin: 0 0 10px !important;
    color: var(--text-strong);
    font-weight: 700;
    line-height: 1.7;
}

.home-service-card__content > p:not(
    .home-service-card__catch
):not(
    .home-service-card__lead
) {
    margin: 0 0 12px !important;
    color: var(--text);
    line-height: 1.85;
}

.home-service-card__content ul {
    margin: 0 0 14px;
    padding-left: 1.4em;
}

.home-service-card__content li {
    margin-bottom: 5px;
    color: var(--text);
    line-height: 1.75;
}

.home-service-card__link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--green-dark);
    font-weight: 700;
    text-decoration: none;
}

.home-service-card__link:hover {
    color: var(--green);
}

.home-service-card__link i {
    transition: transform .2s;
}

.home-service-card__link:hover i {
    transform: translateX(4px);
}


/* ===== メディア掲載 ===== */
.home-media {
    margin-bottom: 35px;
}

.home-media-card {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
    align-items: center;
    gap: 34px;
    padding: 28px 30px;
    border: 1px solid var(--border-green);
    border-radius: 10px;
    background: var(--bg-green);
}

.home-media-card__tag {
    display: inline-block;
    margin-bottom: 10px;
    padding: 3px 10px;
    border-radius: 20px;
    background: var(--green);
    color: var(--white);
    font-size: .78rem;
    font-weight: 700;
}

.home-media-card__content h3 {
    margin: 0 0 15px;
    color: var(--green-dark);
    font-size: 1.2rem;
    line-height: 1.7;
}

.home-media-card__content p {
    margin: 0 0 13px !important;
    color: var(--text);
    line-height: 1.9;
}

.home-media-card__content p:last-child {
    margin-bottom: 0 !important;
}

.home-media-card__images {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
}

.home-media-card__images figure {
    margin: 0;
}

.home-media-card__images a {
    color: var(--text);
    text-decoration: none;
}

.home-media-card__images img {
    display: block;
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 7px;
    background: var(--white);
}

.home-media-card__images figcaption {
    margin-top: 6px;
    color: var(--text-light);
    font-size: .78rem;
    text-align: center;
}
    
/* ===== CORE SERVICE ===== */
.home-service-card--core{
    border: 2px solid var(--gold);
    background: var(--white);
    box-shadow: 0 4px 12px var(--shadow-light);
}

.home-service-card__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    padding: 6px 14px;
    border: 1px solid var(--gold);
    border-radius: 999px;
    background: linear-gradient(
        135deg,
        #fff8dc 0%,
        #ffe082 100%
    );
    color: var(--red);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .08em;
    box-shadow: 0 4px 12px rgba(242, 201, 76, .25);
}

.home-service-card__badge i {
    color: var(--gold);
    font-size: .95rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .15);
}

.home-service-card__lead{
    margin:8px 0 10px !important;
    color:var(--orange);
    font-size:.92rem;
    font-weight:700;
    letter-spacing:.05em;
}

.home-service-card--core .home-service-card__side > i {
    color: var(--gold);
    text-shadow: 0 1px 2px rgba(0, 0, 0, .15);
}

/* ===== タブレット ===== */
@media screen and (max-width: 900px) {

    .home-strength-grid {
        grid-template-columns: 1fr;
    }

    .home-problem-grid,
    .home-media-card {
        grid-template-columns: 1fr;
    }

    .home-problem__image {
        max-width: 520px;
        margin: 0 auto;
    }

    .home-service-card {
        grid-template-columns: 155px minmax(0, 1fr);
    }

    .home-media-card__images {
        max-width: 520px;
    }
}


/* ===== スマートフォン ===== */
@media screen and (max-width: 700px) {

    .home-intro {
        margin-bottom: 52px;
    }

    .home-intro__box {
        padding: 22px 19px;
    }

    .home-strength,
    .home-problem,
    .home-service {
        margin-bottom: 52px;
    }

    .home-problem-grid {
        gap: 24px;
        padding: 20px;
    }

    .home-service-card {
        grid-template-columns: 1fr;
    }

    .home-service-card__side {
        display: flex;
        justify-content: flex-start;
        gap: 13px;
        padding: 16px 19px;
        text-align: left;
    }

    .home-service-card__side > p {
        margin-left: auto !important;
    }

    .home-service-card__content {
        padding: 20px;
    }

    .home-media-card {
        gap: 25px;
        padding: 22px 19px;
    }
}


/* ===== 小さいスマートフォン ===== */
@media screen and (max-width: 420px) {

    .home-strength-card,
    .home-problem-grid,
    .home-service-card__content {
        padding-left: 16px;
        padding-right: 16px;
    }

    .home-media-card__images {
        grid-template-columns: 1fr;
    }
}

/* ==========================
　共通CSS
========================== */
/* ===== ページの導入・見出し===== */
/* ページ下余白 */
.works-page,
.flow-development,
.service-page {
    padding-bottom: 30px;
}

/* ページ内本文の左右余白を解除 */
.works-page p,
.flow-development p,
.service-page p {
    margin-left: 0;
    margin-right: 0;
}

/* ページ内セクション間隔を解除 */
.flow-development section + section,
.service-page section + section {
    padding-top: 0;
}

/* 導入ブロック */
.works-intro,
.development-intro,
.service-intro {
    max-width: 900px;
    margin: 0 auto 55px;
}

/* 導入見出しのライン */
.works-intro .line,
.development-intro .line,
.service-intro .line {
    margin-bottom: 22px;
}

/* 導入リード文 */
.works-intro__lead,
.development-intro__lead,
.service-intro__lead {
    margin-bottom: 12px !important;
    color: var(--green-dark);
    font-size: clamp(1.15rem, 2vw, 1.45rem);
    font-weight: 700;
    line-height: 1.75;
}

/* 導入本文 */
.works-intro__text,
.service-intro__text {
    margin-bottom: 0 !important;
    color: var(--text);
    line-height: 1.95;
}

/* flowだけ本文色が違う */
.development-intro__text {
    margin-bottom: 0 !important;
    color: var(--text-light);
    line-height: 1.95;
}


/* ===== 英字ラベル共通===== */
.works-intro__label,
.works-section-heading > p,
.works-section__header > div > p,
.works-card__category,
.development-intro__label,
.development-section-heading > p,
.development-stage__en,
.service-intro__label,
.service-section-heading > p,
.service-stage__en {
    margin: 0 0 4px !important;
    color: var(--green);
    font-family: "Rubik", sans-serif;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .12em;
    line-height: 1.5;
}
    
/* ===== セクション見出し共通CSS===== */
.works-section-heading,
.development-section-heading,
.service-section-heading {
    margin-bottom: 26px;
    text-align: center;
}

/* セクション見出しのh2共通 */
.works-section-heading h2,
.development-section-heading h2,
.service-section-heading h2 {
    margin: 0;
    color: var(--green-dark);
    font-size: clamp(1.35rem, 2.5vw, 1.8rem);
}

/* 製品開発・事業内容のみ */
.development-section-heading h2,
.service-section-heading h2 {
    line-height: 1.5;
}

/* ===== 概要セクション共通CSS===== */
.works-overview-section,
.development-overview-section,
.service-overview-section {
    margin-bottom: 70px;
    padding: 35px 28px !important;
    border: 1px solid var(--border-green);
    border-radius: 10px;
    background: var(--bg-green);
}

/* ===== レスポンシブ（700px以下）共通CSS===== */ 
@media screen and (max-width: 700px) {

    .works-overview-section,
    .development-overview-section,
    .service-overview-section {
        margin-bottom: 52px;
        padding: 26px 18px !important;
    }

}    
    
    
/* ==========================
　実績ページ専用
========================== */
.works-overview {
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:14px
}

.works-overview__item {
    position:relative;
    display:grid;
    grid-template-columns:42px 1fr;
    align-items:center;
    gap:12px;
    min-height:145px;
    padding:28px 16px 18px;
    border:1px solid var(--border);
    border-radius:8px;
    background:var(--white);
    box-shadow:0 3px 10px var(--shadow-light);
    text-decoration:none;
    transition:.2s
}

.works-overview__item:hover {
    border-color:var(--green);
    font-weight:normal;
    transform:translateY(-2px);
    box-shadow:0 8px 18px var(--shadow-light)
}

.works-overview__number {
    position:absolute;
    top:10px;
    left:13px;
    color:var(--orange);
    font-family:"Rubik",sans-serif;
    font-size:.85rem;
    font-weight:700
}

.works-overview__item>i {
    color:var(--green);
    font-size:1.55rem;
    text-align:center
}

.works-overview__item small,
.works-overview__item strong,
.works-overview__item div>span {
    display:block
}

.works-overview__item small {
    margin-bottom:3px;
    color:var(--green);
    font-size:.72rem;
    font-weight:700
}

.works-overview__item strong {
    margin-bottom:6px;
    color:var(--text-strong);
    font-size:.95rem;
    line-height:1.55
}

.works-overview__item div>span {
    color:var(--text-light);
    font-size:.8rem
}

.works-section {
    scroll-margin-top:145px;
    margin-bottom:70px
}

.works-section__header {
    display:flex;
    align-items:center;
    gap:18px;
    margin-bottom:24px;
    padding-bottom:17px;
    border-bottom:2px solid var(--border-green)
}

.works-section__number {
    display:grid;
    place-items:center;
    flex:0 0 auto;
    width:52px;
    height:52px;
    border-radius:50%;
    background:var(--green-dark);
    color:var(--white);
    font-family:"Rubik",sans-serif;
    font-weight:700
}

.works-section__header h2 {
    display:flex;
    align-items:center;
    gap:10px;
    margin:0;
    color:var(--text-strong);
    font-size:clamp(1.3rem,2.5vw,1.7rem);
    line-height:1.45
}

.works-section__header h2 i {
    color:var(--green);
    font-size:.85em
}

.works-grid {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:20px
}

.works-card {
    overflow:hidden;
    border:1px solid var(--border);
    border-radius:10px;
    background:var(--white);
    box-shadow:0 4px 12px var(--shadow-light)
}

.works-card__head {
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:15px;
    padding:20px 22px;
    border-bottom:1px solid var(--border-green);
    background:var(--bg-green)
}

.works-card__head h3 {
    margin:0;
    color:var(--green-dark);
    font-size:1.05rem;
    line-height:1.65
}

.works-card__badge {
    flex:0 0 auto;
    padding:4px 9px;
    border-radius:20px;
    background:var(--white);
    color:var(--green-dark);
    font-size:.76rem;
    font-weight:700;
    line-height:1.5
}

.works-card__body {
    display:grid;
    grid-template-columns:minmax(150px,
.72fr) minmax(0,1.28fr);
    gap:20px;
    padding:20px 22px 22px
}

.works-card__image {
    margin:0
}

.works-card__image img {
    display:block;
    width:100%;
    aspect-ratio:4/3;
    object-fit:cover;
    border-radius:7px
}

.works-card__image figcaption {
    margin-top:7px;
    color:var(--text-light);
    font-size:.72rem;
    line-height:1.6
}

.works-card__image figcaption a {
    color:var(--text-light)
}

.works-card__confidential {
    display:grid;
    place-items:center;
    align-content:center;
    min-height:150px;
    padding:18px;
    border:1px dashed var(--border-dark);
    border-radius:7px;
    background:var(--bg);
    color:var(--text-light);
    text-align:center
}

.works-card__confidential i {
    margin-bottom:10px;
    color:var(--green);
    font-size:1.45rem
}

.works-card__confidential span {
    font-size:.82rem;
    line-height:1.7
}

.works-card__details {
    margin:0
}

.works-card__row {
    display:grid;
    grid-template-columns:6.8em minmax(0,1fr);
    gap:12px;
    padding:9px 0;
    border-bottom:1px solid var(--border)
}

.works-card__row:first-child {
    padding-top:0
}

.works-card__row:last-child {
    border-bottom:0
}

.works-card__row dt {
    color:var(--green-dark);
    font-size:.82rem;
    font-weight:700
}

.works-card__row dd {
    min-width:0;
    margin:0;
    color:var(--text);
    font-size:.85rem;
    line-height:1.75;
    overflow-wrap:anywhere
}

.works-card__row dd p {
    margin:0 0 8px!important
}

.works-card__row dd p:last-child {
    margin-bottom:0!important
}

@media screen and (max-width:1000px) {
    .works-overview {
        grid-template-columns:repeat(2,minmax(0,1fr))
    }

    .works-grid {
        grid-template-columns:1fr
    }

}

@media screen and (max-width:700px) {
    .works-intro {
        margin-bottom:40px
    }

    .works-overview {
        grid-template-columns:1fr
    }

    .works-overview__item {
        min-height:0;
        padding:24px 15px 15px
    }

    .works-section {
        margin-bottom:52px
    }

    .works-section__header {
        gap:13px
    }

    .works-section__number {
        width:44px;
        height:44px;
        font-size:.92rem
    }

    .works-card__head {
        display:block;
        padding:18px
    }

    .works-card__badge {
        display:inline-block;
        margin-top:10px
    }

    .works-card__body {
        grid-template-columns:1fr;
        padding:18px
    }

    .works-card__image img {
        aspect-ratio:16/9
    }

    .works-card__row {
        grid-template-columns:1fr;
        gap:2px
    }

}

@media screen and (max-width:420px) {
    .works-section__header h2 i {
        display:none
    }

    .works-card__head,
.works-card__body {
        padding:15px
    }

}
    
    
/* ==========================
　★技術ポートフォリオ用リスト
========================== */
.tech-sublist {
    list-style: none;
    margin: 12px 5px 24px 30px;
    padding-left: 0;
}

.tech-sublist li {
    position: relative;
    padding-left: 1.8em;
    margin-bottom: 10px;
}

.tech-sublist li::before {
	content: "✓";
	position: absolute;
	left: 0;
	top: 0.1em;
	color: var(--green);
	font-weight: bold;
}

.text-parts ul.tech-sublist {
  list-style: none;
  padding-left: 0;
}

/* ====================================
　portfolio MultiYAGURA　外部設計室サービス
==================================== */

.portfolio-clean {
  padding: 32px 24px;
}

.portfolio-clean p {
  line-height: 1.9;
}

.feature-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: start;
}

.intro-block {
  margin-bottom: 36px;
}

.feature-text p {
  margin: 0 0 18px;
}

.feature-image figure {
  margin: 0;
}

.feature-image img {
  width: 100%;
  border-radius: 8px;
}

.feature-image a {
  display: block;
  text-decoration: none;
}

.feature-image figcaption {
  margin-top: 10px;
  font-size: 0.95em;
  line-height: 1.6;
  color: var(--text);
}

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

/* 大きい緑枠を消して、区切り線だけにする */
.tech-feature {
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: 30px 0;
  margin: 0 0 30px;
  border-bottom: 1px solid var(--border);
}

.tech-feature:last-child {
  border-bottom: none;
}

/* 見出しラベルだけ緑を残す */
.section-label {
  display: inline-block;
  margin: 0 0 16px;
  padding: 4px 10px;
  background: var(--bg-green);
  border-left: 4px solid var(--green);
  line-height: 1.7;
  color: var(--green-dark);
}

.tech-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 0 0 32px;
}

/* 3つカードは黄緑枠にする */
.tech-card {
  background: var(--white);
  border: 1px solid var(--green);
  border-radius: 12px;
  padding: 22px 20px;
  box-shadow: 0 3px 8px var(--shadow-light);
}

.tech-card-title {
  margin: 0 0 14px;
  color: var(--green-dark);
  line-height: 1.6;
  font-size: 1.05em;
}

.tech-card p {
  margin: 0 0 16px;
}

.portfolio-clean .tech-sublist {
  list-style: none;
  margin: 0 0 18px 0;
  padding: 0;
}

.portfolio-clean .tech-sublist li {
  position: relative;
  margin: 0 0 10px 0;
  padding: 0 0 0 1.2em;
  line-height: 1.8;
}

.portfolio-clean .tech-sublist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.1em;
  color: var(--green);
  font-weight: bold;
  font-size: 0.9em;
}

.rss-block + .rss-block {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px dashed var(--border-dark);
}



@media screen and (max-width: 900px) {
  .feature-split {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .tech-grid-3 {
    grid-template-columns: 1fr;
  }

  .portfolio-clean {
    padding: 24px 16px;
  }

  .tech-feature {
    padding: 24px 0;
  }

  .tech-card {
    padding: 18px 16px;
  }
}
/* ==================================================
   技術ポートフォリオページ統一調整専用
================================================== */

/* ===== ページ内セクション間隔 ===== */
.portfolio-page #box > section + section {
    padding-top: 20px;
}


/* ===== 技術例全体のボックスを統一 ===== */
.portfolio-page .box-03 {
    margin-bottom: 32px;
    padding: 30px;
    border: 1px solid var(--border-green);
    border-radius: 12px;
    background: var(--white);
    box-shadow: 0 6px 18px var(--shadow);
}


/* MultiYAGURAの大枠も同じ見た目にする */
.portfolio-page .box-03.portfolio-clean {
    padding: 30px;
    border: 1px solid var(--border-green);
    border-radius: 12px;
    background: var(--white);
    box-shadow: 0 6px 18px var(--shadow);
}


/* ===== 技術例①〜⑤の見出しを統一 ===== */
.portfolio-page [id^="p-link"] {
    scroll-margin-top: 180px;
}

.portfolio-page [id^="p-link"] .heading-2 {
    margin: 0 0 26px;
    padding: 15px 18px 15px 22px;
    border-left: 5px solid var(--green);
    border-radius: 0 8px 8px 0;
    background: var(--bg-green);
    color: var(--green-dark);
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    line-height: 1.65;
}

/* 元の重なる四角形を、このページだけ消す */
.portfolio-page [id^="p-link"] .heading-2::before,
.portfolio-page [id^="p-link"] .heading-2::after {
    content: none;
}


/* ===== MultiYAGURA内部の大きな技術項目 ===== */
.portfolio-page .tech-feature {
    margin: 0 0 22px;
    padding: 26px;
    border: 1px solid var(--border-green);
    border-radius: 10px;
    background: var(--white);
    box-shadow: 0 3px 12px var(--shadow-light);
}

.portfolio-page .tech-feature:last-child {
    margin-bottom: 0;
    border: 1px solid var(--border-green);
}


/* ===== 内部見出しラベル ===== */
.portfolio-page .section-label {
    display: block;
    margin: 0 0 20px;
    padding: 12px 15px;
    border: none;
    border-left: 4px solid var(--green);
    border-radius: 0 7px 7px 0;
    background: var(--bg-green);
    color: var(--green-dark);
    font-size: 1.02rem;
    line-height: 1.75;
}


/* ===== ②③④のカード ===== */
.portfolio-page .tech-grid-3 {
    gap: 18px;
    margin-bottom: 22px;
}

.portfolio-page .tech-card {
    padding: 22px 20px;
    border: 1px solid var(--border-green);
    border-top: 4px solid var(--green);
    border-radius: 10px;
    background: var(--white);
    box-shadow: 0 4px 12px var(--shadow-light);
}

.portfolio-page .tech-card-title {
    margin: 0 0 14px;
    color: var(--green-dark);
    font-size: 1.03rem;
    line-height: 1.7;
}


/* ===== 本文 ===== */
.portfolio-page .box-03 p,
.portfolio-page .tech-feature p,
.portfolio-page .tech-card p {
    line-height: 1.9;
}

.portfolio-page .box-03 .list-parts {
    padding: 0;
}

.portfolio-page .box-03 .list-half-parts .list-parts {
    margin-bottom: 0;
}


/* ===== チェックリスト ===== */
.portfolio-page .tech-sublist {
    margin-top: 14px;
    margin-bottom: 20px;
}

.portfolio-page .tech-sublist li {
    margin-bottom: 10px;
    line-height: 1.85;
}

.portfolio-page .tech-sublist li::before {
    color: var(--green);
}


/* ===== RSS内部の区切り ===== */
.portfolio-page .rss-block {
    padding: 18px 20px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--bg);
}

.portfolio-page .rss-block + .rss-block {
    margin-top: 16px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
}


/* ===== 技術例②以降の画像 ===== */
.portfolio-page .box-03 .image-r-parts,
.portfolio-page .box-03 .image-l-parts {
    padding: 0;
    border: none;
    background: transparent;
    box-shadow: none;
}

.portfolio-page .box-03 .image-r-parts img,
.portfolio-page .box-03 .image-l-parts img {
    display: block;
    width: 100%;
    border: none;
    border-radius: 0;
    box-shadow: none;
}


/* ===== 画像説明 ===== */
.portfolio-page figure a {
    text-decoration: none;
}

.portfolio-page figcaption {
    margin-top: 8px;
    color: var(--text-light);
    font-size: 0.85rem;
    line-height: 1.6;
    text-align: center;
}
    
/* ==================================================
   ポートフォリオ：画像付き技術例のレイアウト統一
================================================== */

/* MultiYAGURAと技術例②以降の2カラム比率を統一 */
@media screen and (min-width: 901px) {

    /* 技術例① */
    .portfolio-page .feature-split {
        display: grid;
        grid-template-columns: minmax(0, 58%) minmax(0, 42%);
        align-items: center;
        gap: 34px;
    }

    /* 技術例③・④など、画像がある通常ブロック */
    .portfolio-page .box-03 .list-half-parts .list-parts {
        display: grid;
        grid-template-columns: minmax(0, 58%) minmax(0, 42%);
        align-items: center;
        gap: 34px;
    }

    /* 画像がない技術例②は1列に戻す */
    .portfolio-page .box-03 .list-parts:not(:has(.image-r-parts)):not(:has(.image-l-parts)) {
        grid-template-columns: 1fr;
    }

    /* テキスト側 */
    .portfolio-page .feature-text,
    .portfolio-page .box-03 .text-parts {
        min-width: 0;
    }

    /* 画像側 */
    .portfolio-page .feature-image,
    .portfolio-page .box-03 .image-r-parts,
    .portfolio-page .box-03 .image-l-parts {
        width: 100%;
        margin: 0;
        padding: 0;
        border: none;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        text-align: center;
    }

    /* 左画像指定があっても右側へ統一 */
    .portfolio-page .box-03 .image-l-parts {
        order: initial;
    }

    /* 画像そのもの */
    .portfolio-page .feature-image img,
    .portfolio-page .box-03 .image-r-parts img,
    .portfolio-page .box-03 .image-l-parts img {
        display: block;
        width: 100%;
        height: auto;
        margin: 0 auto;
        border: none;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        object-fit: contain;
    }
}
    
/* 技術例①の写真だけ大きくなりすぎないよう調整 */
@media screen and (min-width: 901px) {

    .portfolio-page .intro-block .feature-image img {
        max-height: 360px;
        object-fit: contain;
    }
}

@media screen and (max-width: 900px) {

    .portfolio-page .feature-split,
    .portfolio-page .box-03 .list-half-parts .list-parts {
        display: grid;
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .portfolio-page .feature-image,
    .portfolio-page .box-03 .image-r-parts,
    .portfolio-page .box-03 .image-l-parts {
        width: 100%;
        margin: 0;
    }
}

/* ===== タブレット ===== */
@media screen and (max-width: 900px) {

    .portfolio-page .box-03,
    .portfolio-page .box-03.portfolio-clean {
        padding: 24px 20px;
    }

    .portfolio-page .tech-feature {
        padding: 22px 18px;
    }

    .portfolio-page .intro-block .feature-image {
        padding: 14px;
    }
}


/* ===== スマートフォン ===== */
@media screen and (max-width: 600px) {

    .portfolio-page #box > section + section {
        padding-top: 10px;
    }

    .portfolio-page .box-03,
    .portfolio-page .box-03.portfolio-clean {
        margin-bottom: 24px;
        padding: 20px 16px;
        border-radius: 10px;
    }

    .portfolio-page [id^="p-link"] .heading-2 {
        margin-bottom: 20px;
        padding: 12px 13px 12px 16px;
        border-left-width: 4px;
        font-size: 1.05rem;
    }

    .portfolio-page .intro-block {
        margin-bottom: 24px;
        padding-bottom: 24px;
    }

    .portfolio-page .tech-feature {
        margin-bottom: 16px;
        padding: 18px 14px;
    }

    .portfolio-page .section-label {
        padding: 10px 12px;
        font-size: 0.95rem;
    }

    .portfolio-page .tech-card {
        padding: 18px 15px;
    }

    .portfolio-page .rss-block {
        padding: 15px 13px;
    }

    .portfolio-page .box-03 .image-r-parts,
    .portfolio-page .box-03 .image-l-parts {
        padding: 12px;
    }
}


/* ==========================
　理念ページ専用デザイン
========================== */
/* =====Mission・Vision 共通カード===== */
/* 外側カード */
.philosophy-card {
    position: relative;
    margin: 0 0 50px;
    padding: 28px 30px 30px;
    background: var(--white, #ffffff);
    border: none;
    border-radius: 20px;
    box-shadow: 0 5px 10px rgb(0 0 0 / 20%);
    color: var(--text, #333333);
}

/* カード上部
   番号・英字・日本語見出しを横並びにする */
.philosophy-card__header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 22px;
}

/* 01・02の丸番号 */
.philosophy-card__number {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;

    width: 48px;
    height: 48px;
    border-radius: 50%;

    background: var(--green, #43a700);
    color: var(--white, #ffffff);

    font-family: "Rubik", sans-serif;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
}

/* 見出し文字を囲む部分 */
.philosophy-card__title {
    min-width: 0;
}

/* MISSION・VISIONの余白を調整 */
.philosophy-card__title p {
    margin: 0 0 2px !important;
}

/* 経営理念・目指す姿 */
.philosophy-card__title h3 {
    margin: 0;
    color: var(--text, #333333);
    font-size: 1.4rem;
    line-height: 1.5;
}

/* MISSION・VISION */
.philosophy-card__en {
    color: var(--green-dark, #005210);
    font-family: "Rubik", sans-serif;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .14em;
}


/* =====Mission・Vision 専用メッセージ===== */
/* 「技術を正し、人を活かす。」など */
.philosophy-catch {
    margin: 0 0 26px !important;

    color: var(--text-strong, #111111);
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.8;
}

/* 黄色マーカー */
.philosophy-catch span {
    background: linear-gradient(
        transparent 67%,
        var(--yellow, #ffff00) 67%
    );

    padding: 0 .12em;

    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}

/* Visionの文章は少し小さくする */
.philosophy-catch--vision {
    font-size: 1.18rem;
}

/* =====Mission理念の深意===== */
/* 薄緑背景＋左側の緑ライン */
.philosophy-block {
    padding: 20px 24px;

    background: var(--bg-green, #f7fbf4);
    border-left: 5px solid var(--green, #43a700);
    border-radius: 8px;
}

/* 「理念の深意」の上余白を消す */
.philosophy-block .heading-8 {
    margin-top: 0;
}

/* 理念本文 */
.philosophy-block p {
    margin: 0 0 16px !important;
    line-height: 1.9;
}

/* 最後の段落だけ下余白を消す */
.philosophy-block p:last-child {
    margin-bottom: 0 !important;
}


/* =====Vision足元の約束・未来の約束===== */
/* PCでは2列 */
.philosophy-promise-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

/* 約束カード */
.philosophy-promise {
    display: flex;
    align-items: flex-start;
    gap: 15px;

    padding: 20px;

    background: var(--bg-green, #f7fbf4);
    border: 1px solid var(--border-green, #d2e6cf);
    border-radius: 10px;
}


/* 約束カードの丸アイコン */
.philosophy-promise__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;

    width: 42px;
    height: 42px;
    border-radius: 50%;

    background: var(--green, #43a700);
    color: var(--white, #ffffff);

    font-size: 1.05rem;
}

/* 足元の約束・未来の約束 */
.philosophy-promise h4 {
    margin: 0 0 7px;
    color: var(--green-dark, #005210);
    font-size: 1.05rem;
}

/* 約束カード本文 */
.philosophy-promise p {
    margin: 0 !important;
    line-height: 1.8;
}


/* =====行動指針導入文===== */
/* 5-Wayの説明文 */
.philosophy-intro {
    margin: 0 5px 24px !important;
    padding: 16px 18px;

    background: var(--bg-green, #f7fbf4);
    border-left: 4px solid var(--green, #43a700);
    border-radius: 8px;

    line-height: 1.8;
}

/* =====Rectieer 5-Way===== */
/* 5つのカードを縦に並べる */
.value-list {
    display: grid;
    gap: 18px;
    margin-bottom: 40px;
}

/* ①〜⑤の各カード */
.value-card {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 18px;

    padding: 22px;

    background: var(--white, #ffffff);
    border: 1px solid var(--border, #e5e5e5);
    border-radius: 12px;
    box-shadow: 0 3px 9px rgba(0, 0, 0, .06);
}

/* 01〜05の丸番号 */
.value-card__number {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 46px;
    height: 46px;
    border-radius: 50%;

    background: var(--bg-green, #f7fbf4);
    border: 2px solid var(--green, #43a700);
    color: var(--green-dark, #005210);

    font-family: "Rubik", sans-serif;
    font-size: .95rem;
    font-weight: 700;
    line-height: 1;
}

/* 正道邁進・ひざ詰め対話など */
.value-card__body h4 {
    margin: 0 0 5px;
    color: var(--green-dark, #005210);
    font-size: 1.18rem;
}

/* 各指針のキャッチコピー */
.value-card__catch {
    margin: 0 0 10px !important;

    color: var(--text-strong, #111111);
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.7;
}

/* 各指針の説明文 */
.value-card__body > p:last-child {
    margin: 0 !important;
    line-height: 1.9;
}
    
/* =====Visionカード調整===== */
#a-link2 > .philosophy-card {
    display: block !important;
    position: relative !important;

    margin: 0 0 50px !important;
    padding: 28px 30px 30px !important;

    background: #ffffff !important;
    border: 1px solid #e5e5e5 !important;
    border-radius: 16px !important;
    box-shadow: 0 5px 12px rgba(0, 0, 0, .12) !important;
}

/* Visionカードの下は少し狭くする */
#a-link2 > .philosophy-card:last-of-type {
    margin-bottom: 35px !important;
}
    

/* ==========================
　スマホ表示
========================== */

@media screen and (max-width: 700px) {

    /* Mission・Visionカード */
    .philosophy-card {
        padding: 22px 18px 24px;
        border-radius: 14px;
    }


    /* 番号と見出しを上揃え */
    .philosophy-card__header {
        align-items: flex-start;
        gap: 12px;
    }


    /* Mission・Visionの丸番号 */
    .philosophy-card__number {
        width: 44px;
        height: 44px;
    }


    /* 経営理念・目指す姿 */
    .philosophy-card__title h3 {
        font-size: 1.18rem;
    }


    /* 黄色マーカー部分 */
    .philosophy-catch,
    .philosophy-catch--vision {
        font-size: 1.08rem;
        line-height: 1.9;
    }


    /* Visionの固定改行をスマホでは解除 */
    .philosophy-catch--vision br {
        display: none;
    }


    /* 理念の深意 */
    .philosophy-block {
        padding: 17px 16px;
    }


    /* 足元の約束・未来の約束を1列にする */
    .philosophy-promise-grid {
        grid-template-columns: 1fr;
    }


    /* 約束カード */
    .philosophy-promise {
        padding: 17px 15px;
    }


    /* 5-Wayカード */
    .value-card {
        grid-template-columns: 42px minmax(0, 1fr);
        gap: 12px;
        padding: 18px 15px;
    }


    /* 5-Wayの丸番号 */
    .value-card__number {
        width: 38px;
        height: 38px;
        font-size: .82rem;
    }


    /* 正道邁進・ひざ詰め対話など */
    .value-card__body h4 {
        font-size: 1.08rem;
    }


    /* 各指針のキャッチコピー */
    .value-card__catch {
        font-size: .98rem;
    }
}

/* ==========================
　製品開発の流れページ専用
========================== */
/* ===== 製品開発の全体フロー ===== */
.development-overview {
    display: grid;
    grid-template-columns:
        minmax(130px, 1fr) 24px
        minmax(130px, 1fr) 24px
        minmax(130px, 1fr) 24px
        minmax(130px, 1fr) 24px
        minmax(130px, 1fr);
    align-items: center;
    gap: 8px;
}

.development-overview__item {
    position: relative;
    min-height: 145px;
    padding: 28px 12px 18px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 3px 10px var(--shadow-light);
    text-align: center;
    text-decoration: none;
    transition: .2s;
}

.development-overview__item:hover {
    border-color: var(--green);
    color: var(--green-dark);
    font-weight: normal;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px var(--shadow-light);
}

.development-overview__number {
    position: absolute;
    top: 10px;
    left: 12px;
    color: var(--orange);
    font-family: "Rubik", sans-serif;
    font-size: .85rem;
    font-weight: 700;
    line-height: 1;
}

.development-overview__item > i {
    display: block;
    margin: 10px 0 12px;
    color: var(--green);
    font-size: 1.65rem;
}

.development-overview__item strong {
    display: block;
    color: var(--text);
    font-size: .98rem;
    line-height: 1.5;
}

.development-overview__arrow {
    color: var(--border-dark);
    text-align: center;
}

.development-overview__note {
    margin: 22px 0 0 !important;
    color: var(--text-light);
    font-size: .9rem;
    text-align: center;
}

.development-overview__note i {
    margin-right: 7px;
    color: var(--green);
}

/* ===== 各工程 ===== */
.development-stage {
    scroll-margin-top: 145px;
    margin-bottom: 65px;
}

.development-stage__header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 24px;
    padding: 0 0 18px;
    border-bottom: 2px solid var(--border-green);
}

.development-stage__number {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--green-dark);
    color: var(--white);
    font-family: "Rubik", sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1;
}

.development-stage__title {
    flex: 1;
    min-width: 0;
}

.development-stage__title h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 6px;
    color: var(--text-strong);
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    line-height: 1.45;
}

.development-stage__title h2 i {
    color: var(--green);
    font-size: .85em;
}

.development-stage__title > p:last-child {
    margin: 0 !important;
    color: var(--text-light);
    line-height: 1.85;
}

/* ===== 要点カード ===== */
.development-points {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 22px;
}

.development-point {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px;
    border: 1px solid var(--border);
    border-left: 4px solid var(--green);
    border-radius: 8px;
    background: var(--white);
}

.development-point > i {
    flex: 0 0 auto;
    width: 34px;
    margin-top: 3px;
    color: var(--green);
    font-size: 1.15rem;
    text-align: center;
}

.development-point h3 {
    margin: 0 0 4px;
    color: var(--green-dark);
    font-size: 1rem;
    line-height: 1.6;
}

.development-point p {
    margin: 0 !important;
    color: var(--text-light);
    font-size: .92rem;
    line-height: 1.8;
}

/* ===== 詳細開閉 ===== */
.development-details {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--white);
}

.development-details summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 16px 20px;
    background: var(--bg-green);
    border-left: 5px solid var(--green);
    color: var(--green-dark);
    font-weight: 700;
    line-height: 1.6;
    cursor: pointer;
    list-style: none;
    transition: .2s;
}

.development-details summary::-webkit-details-marker {
    display: none;
}

.development-details summary:hover {
    background: var(--white);
    color: var(--green-dark);
}

.development-details summary span::before {
    content: "＋";
    display: inline-block;
    margin-right: 8px;
    color: var(--green);
    font-weight: 700;
}

.development-details[open] summary span::before {
    content: "−";
}

.development-details summary i {
    color: var(--green);
    transition: .2s;
}

.development-details[open] summary i {
    transform: rotate(180deg);
}

/* ===== テーブル ===== */
.development-table-wrap {
    overflow-x: auto;
    padding: 0 18px 18px;
}

.flow-development .flow-detail-table {
    width: 100%;
    margin: 18px 0 0;
    border-collapse: collapse;
    table-layout: fixed;
    background: var(--white);
}

.flow-development .flow-detail-table th,
.flow-development .flow-detail-table td {
    padding: 13px 14px;
    border: 1px solid var(--border-dark);
    word-break: normal;
    overflow-wrap: anywhere;
    text-align: left;
    vertical-align: top;
    line-height: 1.75;
}

.flow-development .flow-detail-table th {
    background: var(--green-dark);
    color: var(--white);
    font-size: .92rem;
}

.flow-development .flow-detail-table th:nth-child(1),
.flow-development .flow-detail-table td:nth-child(1) {
    width: 19%;
    font-weight: 700;
}

.flow-development .flow-detail-table th:nth-child(2),
.flow-development .flow-detail-table td:nth-child(2) {
    width: 58%;
}

.flow-development .flow-detail-table th:nth-child(3),
.flow-development .flow-detail-table td:nth-child(3) {
    width: 23%;
}

.flow-development .flow-detail-table tbody tr:nth-child(even) td {
    background: var(--bg-green);
}

/* ===== タブレット ===== */
@media screen and (max-width: 1050px) {
    .development-overview {
        grid-template-columns: repeat(5, minmax(120px, 1fr));
        overflow-x: auto;
        padding-bottom: 10px;
    }

    .development-overview__arrow {
        display: none;
    }
}

/* ===== スマートフォン ===== */
@media screen and (max-width: 700px) {
    .development-intro {
        margin-bottom: 40px;
    }

    .development-overview {
        display: flex;
        flex-direction: column;
        overflow: visible;
        gap: 10px;
    }

    .development-overview__item {
        display: grid;
        grid-template-columns: 38px 34px 1fr;
        align-items: center;
        width: 100%;
        min-height: 0;
        padding: 14px 16px;
        text-align: left;
    }

    .development-overview__number {
        position: static;
        font-size: .9rem;
    }

    .development-overview__item > i {
        margin: 0;
        font-size: 1.25rem;
        text-align: center;
    }

    .development-overview__item strong {
        padding-left: 8px;
    }

    .development-stage {
        margin-bottom: 50px;
    }

    .development-stage__header {
        gap: 13px;
    }

    .development-stage__number {
        width: 44px;
        height: 44px;
        font-size: .95rem;
    }

    .development-stage__title h2 {
        gap: 7px;
    }

    .development-points {
        grid-template-columns: 1fr;
    }

    .development-details summary {
        padding: 14px 16px;
    }

    .development-table-wrap {
        padding: 0 12px 12px;
    }

    .flow-development .flow-detail-table,
    .flow-development .flow-detail-table tbody,
    .flow-development .flow-detail-table tr,
    .flow-development .flow-detail-table td {
        display: block;
        width: 100% !important;
    }

    .flow-development .flow-detail-table tbody tr:first-child {
        display: none;
    }

    .flow-development .flow-detail-table tr {
        margin-top: 14px;
        border: 1px solid var(--border);
        border-radius: 7px;
        overflow: hidden;
    }

    .flow-development .flow-detail-table td {
        position: relative;
        padding: 11px 12px 11px 7.2em;
        border: 0;
        border-bottom: 1px solid var(--border);
        background: var(--white) !important;
        font-size: .9rem;
    }

    .flow-development .flow-detail-table td:last-child {
        border-bottom: 0;
    }

    .flow-development .flow-detail-table td::before {
        position: absolute;
        top: 11px;
        left: 12px;
        width: 5.8em;
        color: var(--green-dark);
        font-weight: 700;
    }

    .flow-development .flow-detail-table td:nth-child(1)::before {
        content: "業務手順";
    }

    .flow-development .flow-detail-table td:nth-child(2)::before {
        content: "内容";
    }

    .flow-development .flow-detail-table td:nth-child(3)::before {
        content: "成果物";
    }
}

/* ===== 小さいスマートフォン ===== */
@media screen and (max-width: 420px) {
    .development-stage__title h2 i {
        display: none;
    }

    .development-point {
        padding: 15px 13px;
    }

    .flow-development .flow-detail-table td {
        padding-left: 12px;
        padding-top: 38px;
    }
}
    

/* ==========================
　事業内容ページ専用
========================== */
/* ===== 3つの支援ステップ ===== */
.service-overview {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr) 30px
        minmax(0, 1fr) 30px
        minmax(0, 1fr);
    align-items: stretch;
    gap: 12px;
}

.service-overview__item {
    position: relative;
    display: grid;
    grid-template-columns: 52px 1fr;
    align-items: center;
    gap: 14px;
    min-height: 155px;
    padding: 28px 20px 22px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 3px 10px var(--shadow-light);
    text-decoration: none;
    transition: .2s;
}

.service-overview__item:hover {
    border-color: var(--green);
    font-weight: normal;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px var(--shadow-light);
}

.service-overview__number {
    position: absolute;
    top: 10px;
    left: 14px;
    color: var(--orange);
    font-family: "Rubik", sans-serif;
    font-size: .85rem;
    font-weight: 700;
}

.service-overview__item > i {
    color: var(--green);
    font-size: 1.75rem;
    text-align: center;
}

.service-overview__item small,
.service-overview__item strong,
.service-overview__item div > span {
    display: block;
}

.service-overview__item small {
    margin-bottom: 3px;
    color: var(--green);
    font-size: .78rem;
    font-weight: 700;
}

.service-overview__item strong {
    margin-bottom: 6px;
    color: var(--text-strong);
    line-height: 1.55;
}

.service-overview__item div > span {
    color: var(--text-light);
    font-size: .85rem;
    line-height: 1.65;
}

.service-overview__arrow {
    display: grid;
    place-items: center;
    color: var(--border-dark);
}

/* ===== 各サービス ===== */
.service-stage {
    scroll-margin-top: 145px;
    margin-bottom: 70px;
}

.service-stage__header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 26px;
    padding-bottom: 18px;
    border-bottom: 2px solid var(--border-green);
}

.service-stage__number {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--green-dark);
    color: var(--white);
    font-family: "Rubik", sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
}

.service-stage__title {
    flex: 1;
    min-width: 0;
}

.service-stage__title h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 6px;
    color: var(--text-strong);
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    line-height: 1.45;
}

.service-stage__title h2 i {
    color: var(--green);
    font-size: .85em;
}

.service-stage__title > p:last-child {
    margin: 0 !important;
    color: var(--text);
    line-height: 1.85;
}

/* ===== サービス導入部分 ===== */
.service-lead-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    align-items: center;
    gap: 32px;
    margin-bottom: 26px;
}

.service-lead-grid--reverse .service-lead-text {
    order: 2;
}

.service-lead-grid--reverse .service-lead-image {
    order: 1;
}

.service-catch {
    margin-bottom: 14px !important;
    color: var(--green-dark);
    font-size: 1.12rem;
    font-weight: 700;
    line-height: 1.75;
}

.service-lead-text > p:not(.service-catch) {
    color: var(--text);
    line-height: 1.9;
}

.service-lead-image {
    width: 100%;
    max-width: 380px;
    margin: 0;
    justify-self: end;
    align-self: center;
}

.service-lead-image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* 作業者向け治具：画像を左、文章を右へ配置 */
.service-lead-grid--reverse {
    grid-template-columns: 380px minmax(0, 1fr);
}

.service-lead-grid--reverse .service-lead-image {
    max-width: 380px;
    justify-self: start;
}

.service-check-list {
    list-style: none;
    margin: 20px 0 0;
    padding: 0;
}

.service-check-list li {
    position: relative;
    margin-bottom: 8px;
    padding-left: 1.7em;
    line-height: 1.85;
}

.service-check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--green);
    font-weight: 700;
}

/* ===== 特徴カード ===== */
.service-point-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 24px;
}

.service-point {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px;
    border: 1px solid var(--border);
    border-left: 4px solid var(--green);
    border-radius: 8px;
    background: var(--white);
}

.service-point > i {
    flex: 0 0 auto;
    width: 34px;
    margin-top: 3px;
    color: var(--green);
    font-size: 1.15rem;
    text-align: center;
}

.service-point h3 {
    margin: 0 0 4px;
    color: var(--green-dark);
    font-size: 1rem;
}

.service-point p {
    margin: 0 !important;
    color: var(--text);
    font-size: .92rem;
    line-height: 1.8;
}

/* =====このような用途に利用できます===== */
.service-use-box {
    margin-bottom: 28px;
    padding: 22px 24px;
    border: 1px solid var(--border-green);
    border-radius: 8px;
    background: var(--bg-green);
}

.service-use-box h3 {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 12px;
    color: var(--green-dark);
    font-size: 1.05rem;
}

.service-use-box h3 i {
    color: var(--green);
}

.service-use-box ul {
    margin: 0;
    padding-left: 1.4em;
}

.service-use-box li {
    margin-bottom: 14px;
    line-height: 1.8;
}

.service-use-box li:last-child {
    margin-bottom: 0;
}

.service-use-box li strong {
    display: block;
    margin-bottom: 3px;
    color: var(--green-dark);
    font-size: 1rem;
}

/* ===== 治具の工程 ===== */
.service-process-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 22px;
}

.service-process {
    position: relative;
    padding: 30px 20px 20px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--white);
    text-align: center;
}

.service-process > span {
    position: absolute;
    top: 9px;
    left: 12px;
    color: var(--orange);
    font-family: "Rubik", sans-serif;
    font-size: .82rem;
    font-weight: 700;
}

.service-process > i {
    margin-bottom: 12px;
    color: var(--green);
    font-size: 1.55rem;
}

.service-process h3 {
    margin: 0 0 8px;
    color: var(--green-dark);
    font-size: 1rem;
}

.service-process p {
    margin: 0 !important;
    color: var(--text);
    font-size: .9rem;
    line-height: 1.8;
}

/* ===== 導入効果 ===== */
.service-benefit-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 24px;
}

.service-benefit {
    padding: 20px;
    border-top: 3px solid var(--green);
    background: var(--bg);
    text-align: center;
}

.service-benefit > i {
    margin-bottom: 10px;
    color: var(--green);
    font-size: 1.4rem;
}

.service-benefit h3 {
    margin: 0 0 7px;
    color: var(--green-dark);
    font-size: 1rem;
}

.service-benefit p {
    margin: 0 !important;
    color: var(--text);
    font-size: .9rem;
    line-height: 1.75;
}

/* ===== 資料リンク ===== */
.service-document {
    display: grid;
    grid-template-columns: 52px 1fr auto;
    align-items: center;
    gap: 16px;
    margin: 0 0 26px;
    padding: 18px 20px;
    border: 1px solid var(--border-green);
    border-radius: 8px;
    background: var(--bg-green);
    text-decoration: none;
    transition: .2s;
}

.service-document:hover {
    border-color: var(--green);
    font-weight: normal;
    transform: translateY(-2px);
}

.service-document__icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--green-dark);
    color: var(--white);
}

.service-document__text span,
.service-document__text strong,
.service-document__text small {
    display: block;
}

.service-document__text span {
    color: var(--green);
    font-size: .78rem;
    font-weight: 700;
}

.service-document__text strong {
    color: var(--text-strong);
}

.service-document__text small {
    color: var(--text-light);
}

/* ===== 外部設計室3カード ===== */
.service-support-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 28px;
}

.service-support-card {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    column-gap: 28px;
    align-items: start;
    padding: 24px 28px;
    border: 1px solid var(--border);
    border-left: 5px solid var(--green);
    border-radius: 8px;
    background: var(--white);
}

.service-support-card > i {
    grid-column: 1;
    margin: 2px 0 12px;
    color: var(--green);
    font-size: 1.5rem;
}

.service-support-card > h3 {
    grid-column: 1;
    margin: 0;
    color: var(--green-dark);
    font-size: 1.1rem;
    line-height: 1.6;
}

.service-support-item {
    grid-column: 2;
    padding: 12px 0;
    border-top: 1px solid var(--border);
}

.service-support-item:first-of-type {
    padding-top: 0;
    border-top: none;
}

.service-support-item h4 {
    margin: 0 0 4px;
    padding-left: 10px;
    border-left: 3px solid var(--green);
    color: var(--green-dark);
    font-size: .96rem;
    line-height: 1.6;
}

.service-support-item p {
    margin: 0 !important;
    color: var(--text);
    font-size: .9rem;
    line-height: 1.8;
}

/* ===== 料金 ===== */
.service-subheading {
    position: relative;
    margin: 0 0 18px;
    padding-left: 18px;
    color: var(--text-strong);
    font-size: 1.15rem;
}

.service-subheading::before {
    content: "";
    position: absolute;
    top: .2em;
    bottom: .2em;
    left: 0;
    width: 5px;
    border-radius: 3px;
    background: var(--green);
}

.service-price-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.service-price-card {
    padding: 22px;
    border: 1px solid var(--border-green);
    border-radius: 8px;
    background: var(--white);
}

.service-price-card h4 {
    margin: 0 0 10px;
    color: var(--green-dark);
    font-size: 1.05rem;
    line-height: 1.6;
}

.service-price-card__price {
    margin-bottom: 10px !important;
    color: var(--green);
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.5;
}

.service-price-card__price span {
    color: var(--text-light);
    font-size: .68em;
}

.service-price-card__time {
    margin-bottom: 10px !important;
    color: var(--text-light);
    font-size: .9rem;
}

.service-price-card > p:not(.service-price-card__price):not(.service-price-card__time) {
    color: var(--text-light);
    font-size: .9rem;
    line-height: 1.8;
}

.service-price-card ul {
    margin: 0;
    padding-left: 1.3em;
}

.service-price-card__description{
    margin:0 0 12px !important;
    color:var(--text-light);
    font-size:.88rem;
    line-height:1.7;
}

.service-price-note {
    margin: 14px 0 0 !important;
    color: var(--text-light);
    font-size: .86rem;
    line-height: 1.8;
}

/* ===== 当社の強み ===== */
.service-strength {
    margin: 30px 0 40px;
}

.service-strength-box {
    padding: 24px 28px;
    border: 1px solid var(--border-green);
    border-left: 5px solid var(--green);
    border-radius: 8px;
    background: var(--bg-green);
}

.service-strength-box p {
    margin: 0 0 18px !important;
    color: var(--text); 
    line-height: 1.9;
}

.service-strength-box p:last-child {
    margin-bottom: 0 !important;
}

.service-strength-box strong {
    color: var(--green-dark);
    font-weight: 700;
}

@media screen and (max-width: 700px) {

    .service-strength-box {
        padding: 18px;
    }

}

/* ===== 3つの支援ステップ外部設計室サービス強調 ===== */
.service-overview__item--core{
    position: relative;
    border: 2px solid var(--green);
    background: linear-gradient(
        135deg,
        #fff 0%,
        #f7fbf4 100%
    );
    transform: scale(1.04);
    box-shadow: 0 10px 28px rgba(67,167,0,.18);
}

.service-overview__item--core:hover{
    transform: scale(1.06) translateY(-3px);
}

.service-overview__badge{
    position:absolute;
    top:-12px;
    right:16px;

    display:flex;
    align-items:center;
    gap:5px;

    padding:4px 10px;
    border-radius:999px;

    background:var(--green-dark);
    color:#fff;

    font-size:.72rem;
    font-weight:700;
    letter-spacing:.08em;
}

.service-overview__badge i{
    color:#ffd54a;
}

.service-overview__item--core strong{
    color:var(--green-dark);
}
    
/* ===== 事業内容CORE SERVICE ===== */
.service-core-badge{
    display:inline-flex;
    align-items:center;
    gap:8px;
    margin-bottom:14px;
    padding:6px 14px;
    border:1px solid var(--gold);
    border-radius:999px;
    background:linear-gradient(
        135deg,
        #fff8dc 0%,
        #ffe082 100%
    );
    color:var(--red);
    font-size:.78rem;
    font-weight:700;
    letter-spacing:.08em;
    box-shadow:0 4px 12px rgba(242,201,76,.25);
}

.service-core-badge i{
    color:var(--gold);
    font-size:.95rem;
    text-shadow:0 1px 2px rgba(0,0,0,.15);
}

.service-core-lead{
    margin:8px 0 10px !important;
    color:var(--orange);
    font-size:.92rem;
    font-weight:700;
    letter-spacing:.05em;
}

#s-link3 .service-stage__title h2 > i {
    color: var(--gold);
}
    
/* ===== タブレット ===== */
@media screen and (max-width: 900px) {
    .service-overview {
        grid-template-columns: 1fr;
    }

    .service-overview__arrow {
        transform: rotate(90deg);
    }

    .service-overview__item {
        min-height: 0;
    }

    .service-lead-grid,
    .service-lead-grid--reverse {
        grid-template-columns: 1fr;
    }

    .service-lead-grid--reverse .service-lead-text,
    .service-lead-grid--reverse .service-lead-image {
        order: initial;
    }

    .service-lead-image img {
        max-height: 340px;
    }

    .service-process-grid,
    .service-benefit-grid,
    .service-support-grid,
    .service-price-grid {
        grid-template-columns: 1fr;
    }
    .service-support-card {
    grid-template-columns: 1fr;
    padding: 22px;
}

.service-support-card > i,
.service-support-card > h3,
.service-support-item {
    grid-column: 1;
}

.service-support-card > h3 {
    margin-bottom: 12px;
}

.service-support-item:first-of-type {
    padding-top: 12px;
    border-top: 1px solid var(--border);
}
}


/* ===== スマートフォン ===== */
@media screen and (max-width: 700px) {

    .service-intro {
        margin-bottom: 40px;
    }

    .service-overview__item {
        grid-template-columns: 38px 1fr;
        padding: 24px 16px 16px;
    }

    .service-overview__item > i {
        font-size: 1.35rem;
    }

    .service-stage {
        margin-bottom: 52px;
    }

    .service-stage__header {
        gap: 13px;
    }

    .service-stage__number {
        width: 44px;
        height: 44px;
        font-size: .95rem;
    }

    .service-stage__title h2 {
        gap: 7px;
        line-height: 1.35;
    }

    .service-point-grid {
        grid-template-columns: 1fr;
    }

    .service-document {
        grid-template-columns: 44px 1fr;
    }

    .service-document > i:last-child {
        display: none;
    }

    .service-support-item h4 {
        padding-left: 8px;
        font-size: .93rem;
    }

    .service-support-item p {
        font-size: .88rem;
    }
}
    
/* ===== 小さいスマートフォン ===== */
@media screen and (max-width: 420px) {

    .service-stage__title h2 i {
        display: none;
    }

    .service-point {
        padding: 15px 13px;
    }

    .service-use-box,
    .service-price-card,
    .service-support-card {
        padding: 18px;
    }

    .service-support-item {
        padding: 12px 0;
    }

    .service-support-item h4 {
        padding-left: 7px;
        border-left-width: 2px;
        font-size: .9rem;
    }

    .service-support-item p {
        font-size: .86rem;
        line-height: 1.75;
    }

}

/* ==================================================
   ご依頼についてページ専用
================================================== */


/* ===== 導入 ===== */
.order-intro {
    padding-bottom: 20px;
}

.order-intro__label,
.order-section-heading__label {
    margin: 0 0 10px !important;
    color: var(--green);
    font-family: "Rubik", sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.14em;
}

.order-intro > .heading-1 {
    margin-top: 0;
    margin-bottom: 38px;
}

/* 画像と文章を横並び */
.order-intro__content {
    display: grid;
    grid-template-columns: minmax(0, 38%) minmax(0, 62%);
    align-items: center;
    gap: 42px;
    margin-bottom: 55px;
}

/* 画像 */
.order-intro__image {
    min-width: 0;
}

.order-intro__image figure {
    margin: 0;
}

.order-intro__image img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 360px;
    object-fit: contain;
}

/* 文章 */
.order-intro__text {
    min-width: 0;
}

.order-intro__title {
    margin: 0 0 16px;
    color: var(--green-dark);
    font-size: clamp(1.35rem, 2.4vw, 1.75rem);
    line-height: 1.7;
}

.order-intro__text > p:not(.order-intro__note) {
    margin: 0 0 18px;
    color: var(--text);
    line-height: 1.9;
}

.order-intro__check-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 16px;
    margin: 28px 0;
    padding: 0;
    list-style: none;
}

.order-intro__check-list li {
    position: relative;
    margin: 0;
    padding: 12px 12px 12px 42px;
    border: 1px solid var(--border-green);
    border-radius: 8px;
    background: var(--bg-green);
    color: var(--text);
    font-weight: 700;
    line-height: 1.6;
}

.order-intro__check-list li::before {
    position: absolute;
    top: 50%;
    left: 15px;
    color: var(--green);
    font-family: "Font Awesome 6 Free";
    font-size: 1.1rem;
    font-weight: 900;
    content: "\f058";
    transform: translateY(-50%);
}

.order-intro__note {
    margin: 0 !important;
    padding: 16px 18px;
    border-left: 4px solid var(--green);
    background: var(--bg-green);
    color: var(--text);
    font-weight: 700;
    line-height: 1.8;
}


/* ===== セクション見出し ===== */
.order-section-heading {
    margin: 0 0 25px;
}

.order-section-heading .heading-2,
.order-support__heading .heading-2 {
    margin-top: 0;
    margin-bottom: 12px;
}


/* ===== お悩みカード ===== */
.order-problem-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 60px;
}

.order-problem-card {
    position: relative;
    min-height: 220px;
    padding: 28px 24px 24px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-top: 4px solid var(--green);
    border-radius: 10px;
    background: var(--white);
    box-shadow: 0 5px 16px var(--shadow);
}

.order-problem-card::after {
    position: absolute;
    right: -28px;
    bottom: -28px;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: var(--bg-green);
    content: "";
}

.order-problem-card > i {
    display: flex;
    position: relative;
    z-index: 1;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 18px;
    border-radius: 50%;
    background: var(--bg-green);
    color: var(--green);
    font-size: 1.3rem;
}

.order-problem-card h4 {
    position: relative;
    z-index: 1;
    margin: 0 0 10px;
    color: var(--green-dark);
    font-size: 1.08rem;
    line-height: 1.6;
}

.order-problem-card p {
    position: relative;
    z-index: 1;
    margin: 0 !important;
    color: var(--text);
    line-height: 1.8;
}


/* ===== 対応内容 ===== */
.order-support {
    margin-bottom: 50px;
    padding: 38px;
    border: 1px solid var(--border-green);
    border-radius: 12px;
    background: var(--bg-green);
}

.order-support__heading {
    margin-bottom: 28px;
}

.order-support__heading > p:last-child {
    margin: 0;
    color: var(--text);
    line-height: 1.9;
}

.order-support__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.order-support__item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 24px;
    border: 1px solid var(--border-green);
    border-radius: 10px;
    background: var(--white);
    box-shadow: 0 4px 12px var(--shadow-light);
}

.order-support__number {
    display: flex;
    flex: 0 0 46px;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--green);
    color: var(--white);
    font-family: "Rubik", sans-serif;
    font-weight: 700;
    line-height: 1;
}

.order-support__item h4 {
    margin: 0 0 7px;
    color: var(--green-dark);
    font-size: 1.08rem;
    line-height: 1.6;
}

.order-support__item p {
    margin: 0 !important;
    color: var(--text);
    line-height: 1.8;
}


/* ===== 最後のメッセージ ===== */
.order-message {
    display: flex;
    align-items: flex-start;
    gap: 22px;
    margin-bottom: 20px;
    padding: 28px 30px;
    border-left: 5px solid var(--green);
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 5px 16px var(--shadow);
}

.order-message > i {
    flex-shrink: 0;
    padding-top: 4px;
    color: var(--green);
    font-size: 2rem;
}

.order-message h3 {
    margin: 0 0 10px;
    color: var(--green-dark);
    font-size: 1.2rem;
    line-height: 1.6;
}

.order-message p {
    margin: 0 0 10px !important;
    color: var(--text);
    line-height: 1.9;
}

.order-message p:last-child {
    margin-bottom: 0 !important;
}


/* ===== タブレット ===== */
@media screen and (max-width: 900px) {

    .order-intro__content {
        grid-template-columns: minmax(0, 36%) minmax(0, 64%);
        gap: 28px;
    }

    .order-intro__image img {
        max-height: 320px;
    }

    .order-problem-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


/* ===== スマートフォン ===== */
@media screen and (max-width: 600px) {

    .order-intro > .heading-1 {
        margin-bottom: 30px;
    }

    .order-intro__content {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-bottom: 42px;
    }

    .order-intro__image {
        text-align: center;
    }

    .order-intro__image img {
        width: 100%;
        max-height: 280px;
        margin: 0 auto;
        object-fit: contain;
    }

    .order-intro__title {
        margin-bottom: 14px;
        font-size: 1.35rem;
        line-height: 1.65;
    }

    .order-intro__check-list {
        grid-template-columns: 1fr;
        gap: 10px;
        margin: 22px 0;
    }

    .order-intro__check-list li {
        padding: 11px 12px 11px 40px;
    }

    .order-intro__check-list li::before {
        left: 14px;
    }

    .order-intro__note {
        padding: 14px 15px;
    }

    .order-problem-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-bottom: 45px;
    }

    .order-problem-card {
        min-height: auto;
        padding: 24px 20px;
    }

    .order-support {
        margin-bottom: 40px;
        padding: 28px 18px;
    }

    .order-support__grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .order-support__item {
        gap: 14px;
        padding: 20px 16px;
    }

    .order-support__number {
        flex-basis: 42px;
        width: 42px;
        height: 42px;
        font-size: 0.9rem;
    }

    .order-message {
        display: block;
        padding: 24px 20px;
    }

    .order-message > i {
        display: block;
        margin-bottom: 12px;
    }
}
/* ==================================================
   よくあるご質問ページ専用
================================================== */

/* ===== ページ導入 ===== */
.faq-page {
    padding-bottom: 20px;
}

.faq-page__heading {
    margin-bottom: 45px;
}

.faq-page__label {
    margin: 0 0 6px 1.2em !important;
    color: var(--green);
    font-family: "Rubik", sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.14em;
}

.faq-page__heading .heading-1 {
    margin-top: 0;
    margin-bottom: 16px;
}

.faq-page__lead {
    max-width: 780px;
    margin: 0 5px !important;
    color: var(--text-light);
    line-height: 1.9;
}


/* ===== FAQカテゴリー ===== */
.faq-page .faq-group {
    margin-bottom: 50px;
    padding: 0;
}

.faq-page .faq-group + .faq-group {
    padding-top: 0;
}

.faq-group__heading {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding: 16px 22px 16px 26px;
    border: none;
    border-left: 6px solid var(--green);
    border-radius: 0 8px 8px 0;
    background: var(--bg-green);
    box-shadow: none;
}

.faq-group__heading::after {
    position: absolute;
    right: 18px;
    bottom: -8px;
    width: 42px;
    height: 3px;
    background: var(--green);
    content: "";
}

.faq-group__icon {
    display: flex;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 2px solid var(--green);
    border-radius: 50%;
    background: var(--white);
    color: var(--green);
    font-size: 1.2rem;
}

.faq-group__label {
    margin: 0 0 4px !important;
    color: var(--text-light);
    font-family: "Rubik", sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.1em;
}

.faq-group__heading h3 {
    margin: 0;
    color: var(--green-dark);
    font-size: 1.25rem;
    line-height: 1.6;
}


/* ===== FAQカード ===== */
.faq-page .faq-card-list {
    margin: 0;
    padding: 0;
}

.faq-page .faq-card-list dt,
.faq-page .faq-card-list dd {
    box-sizing: border-box;
}

.faq-page .faq-card-list dt {
    display: flex;
    position: relative;
    align-items: center;
    gap: 16px;
    margin: 0;
    padding: 22px 64px 22px 22px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--white);
    box-shadow: 0 4px 14px var(--shadow);
    transition:
        border-color 0.2s,
        box-shadow 0.2s,
        background 0.2s;
}

.faq-page .faq-card-list dt:hover {
    border-color: var(--border-green);
    background: var(--bg-green);
    box-shadow: 0 6px 18px var(--shadow);
}

.faq-page .faq-card-list dt:not(:first-of-type) {
    margin-top: 16px;
}

.faq-page .faq-card-list dt::before {
    content: none;
}

.faq-page .faq-label {
    display: flex;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin: 0;
    border-radius: 50%;
    background: var(--green);
    color: var(--white);
    font-family: "Rubik", sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1;
}

.faq-question {
    flex: 1;
    color: var(--text);
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.8;
}


/* ===== 開閉マーク ===== */
.faq-toggle {
    position: absolute;
    top: 50%;
    right: 24px;
    width: 22px;
    height: 22px;
    transform: translateY(-50%);
}

.faq-toggle::before,
.faq-toggle::after {
    position: absolute;
    top: 50%;
    left: 50%;
    background: var(--green);
    content: "";
    transform: translate(-50%, -50%);
    transition: transform 0.25s;
}

.faq-toggle::before {
    width: 16px;
    height: 2px;
}

.faq-toggle::after {
    width: 2px;
    height: 16px;
}


/* ===== 回答 ===== */
.faq-page .faq-card-list dd {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin: 0 12px;
    padding: 22px 24px;
    border-right: 1px solid var(--border-green);
    border-bottom: 1px solid var(--border-green);
    border-left: 1px solid var(--border-green);
    border-radius: 0 0 10px 10px;
    background: var(--bg-green);
    line-height: 1.9;
}

.faq-page .faq-label-a {
    display: flex;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin: 0;
    border: 2px solid var(--green);
    border-radius: 50%;
    background: var(--white);
    color: var(--green-dark);
    font-family: "Rubik", sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1;
}

.faq-answer {
    flex: 1;
    padding-top: 3px;
}

.faq-answer p {
    margin: 0 !important;
    line-height: 1.9;
}


/* ===== 開いている質問 ===== */
/*
既存の開閉スクリプトがdtにactiveまたはopenを付ける場合に対応
*/
.faq-page .faq-card-list dt.active,
.faq-page .faq-card-list dt.open {
    border-color: var(--green);
    border-radius: 10px 10px 0 0;
    background: var(--bg-green);
}

.faq-page .faq-card-list dt.active .faq-toggle::after,
.faq-page .faq-card-list dt.open .faq-toggle::after {
    transform:
        translate(-50%, -50%)
        rotate(90deg);
}


/* ===== タブレット ===== */
@media screen and (max-width: 900px) {

    .faq-page__heading {
        margin-bottom: 38px;
    }

    .faq-page .faq-group {
        margin-bottom: 42px;
    }
}
    
/* ===== スマートフォン ===== */
@media screen and (max-width: 600px) {

    .faq-page__heading {
        margin-bottom: 32px;
    }

    .faq-page__lead {
        font-size: 0.95rem;
    }

    .faq-group__heading {
        gap: 12px;
        padding: 15px 16px;
    }

    .faq-group__icon {
    font-size: 1rem;
}

    .faq-group__heading h3 {
        font-size: 1.05rem;
    }

    .faq-group__label {
        font-size: 0.64rem;
    }

    .faq-page .faq-card-list dt {
        gap: 12px;
        padding: 18px 48px 18px 16px;
    }

    .faq-page .faq-label,
    .faq-page .faq-label-a {
        flex-basis: 36px;
        width: 36px;
        height: 36px;
        font-size: 0.95rem;
    }

    .faq-question {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .faq-toggle {
        right: 16px;
        width: 18px;
        height: 18px;
    }

    .faq-toggle::before {
        width: 14px;
    }

    .faq-toggle::after {
        height: 14px;
    }

    .faq-page .faq-card-list dd {
        gap: 12px;
        margin: 0 6px;
        padding: 18px 16px;
        font-size: 0.95rem;
    }
}
    
/*その他
---------------------------------------------------------------------------*/
.ws {
    width: 45%;
    display: inline-block;
}


/* ==================================================
   ここから下は画面幅1000px以上の追加指定
================================================== */
@media screen and (min-width:1000px) {

/*　※注意！　下の閉じカッコ　}　は1000px以上の設定に必要なので、うっかり削除しないように。　*/
/*menubarブロック設定
---------------------------------------------------------------------------*/
/*メニューブロック全体*/
#menubar ul {
	margin: 0;
	display: flex;
	justify-content: space-around;
	line-height: 1.6;	/*行間を少しだけ狭くする*/
}

/*メニュー１個あたりの設定*/
#menubar ul li {
	flex: 1;
}


/* =====ドロップダウンメニュー===== */
#menubar .ddmenu_parent{
	position: relative;	/*ddmenu ulの幅となる基準を作っておく*/
}

/*ドロップダウンメニューブロック全体*/
#menubar .ddmenu_parent ul {
	position: absolute;			/*絶対配置するための指定*/
	z-index: 100;
	width: 100%;				/*親のliタグに幅を合わせる*/
}

/* =====３本バー（ハンバーガー）アイコン設定===== */
/*ハンバーガーメニューを非表示にする*/
#menubar_hdr {display: none;}

}

/* =====新ヘッダー===== */
.site-header {
	background: var(--white);
	padding: 18px 24px 14px;
	border-bottom: 1px solid var(--border);
}

.site-header a {
	text-decoration: none;
}

.header-top {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 24px;
	margin-bottom: 14px;
}

.header-copy {
	margin: 0;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.6;
	color: var(--text);
	flex: 1;
	max-width: 520px;
}

.header-contact {
	text-align: right;
	min-width: 320px;
}

.header-contact .tel {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--text-strong);
	font-size: 1rem;
	font-weight: 700;
	margin-bottom: 8px;
	padding: 0;
}

.header-contact .tel i {
	padding-right: 0;
}

.header-sns {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	margin-left: 14px;
	vertical-align: middle;
}

.header-sns a {
	color: var(--text-strong);
	font-size: 1.35rem;
	padding: 0;
	transition: opacity 0.2s ease;
}

.header-sns a:hover {
	opacity: 0.7;
	color: var(--text-strong);
	font-weight: normal;
}

.header-hours {
	margin: 8px 0 0;
	font-size: 0.78rem;
	line-height: 1.5;
	color: var(--text-light);
}

.site-title {
	margin: 0;
	text-align: center;
}

.site-title a {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	color: var(--text-strong);
}

.site-title-main {
	font-size: clamp(1.6rem, 2.8vw, 2.2rem);
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: 0.03em;
}

.site-title-main rt {
	font-size: 0.32em;
	font-weight: 700;
	color: var(--text-strong);
}

.site-title-en {
	font-family: "Rubik", sans-serif;
	font-size: 0.9rem;
	font-weight: 600;
	letter-spacing: 0.18em;
	color: var(--text-light);
}
.site-title-main {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.site-logo {
    width: 44px;
    height: 44px;
    object-fit: contain;
    flex-shrink: 0;
}

@media (max-width: 700px) {
    .site-title-main {
        gap: 6px;
    }

    .site-logo {
        width: 34px;
        height: 34px;
    }
}

/* --------------------------------------------
   メニュー微調整
-------------------------------------------- */
#menubar {
	background: var(--green-menu);
	border-top: 1px solid var(--green);
	border-bottom: 1px solid var(--green-dark);
}

#menubar li {
	margin-bottom: 0;
	line-height: 1.4;
}

#menubar a i {
	display: none;
}


/* =====スマホ対応===== */
@media screen and (max-width: 900px) {
	.site-header {
		padding: 16px 16px 12px;
	}

	.header-top {
		flex-direction: column;
		align-items: stretch;
		gap: 12px;
		margin-bottom: 12px;
	}

	.header-copy {
		max-width: none;
		text-align: center;
		font-size: 0.95rem;
	}

	.header-contact {
		min-width: auto;
		text-align: center;
	}

	.header-contact .tel {
		justify-content: center;
		margin-bottom: 8px;
	}

	.header-sns {
		margin-left: 10px;
	}

	.header-hours {
		font-size: 0.75rem;
	}

	.site-title-main {
		font-size: clamp(1.7rem, 7vw, 2.5rem);
	}

	#mainimg #text {
		left: 4%;
		right: 4%;
		bottom: 5%;
	}

	#mainimg #text p.text {
		padding: 12px 14px;
		font-size: 1rem;
		line-height: 1.5;
	}
}

@media screen and (max-width: 600px) {

	/* ヘッダー全体 */
	.site-header {
		padding: 8px 12px 7px;
	}

	/* 上部情報 */
	.header-top {
		gap: 6px;
		margin-bottom: 7px;
	}

	.header-copy {
		font-size: 0.78rem;
		line-height: 1.4;
	}

	.header-contact .tel {
		margin-bottom: 3px;
		font-size: 0.88rem;
	}

	/* SNSアイコン */
	.header-sns {
		display: flex;
		justify-content: center;
		gap: 13px;
		margin: 3px 0 0;
	}

	.header-sns a {
		font-size: 1.15rem;
	}

	/* 営業時間 */
	.header-hours {
		margin-top: 3px;
		font-size: 0.65rem;
		line-height: 1.4;
	}

	/* 会社名・ロゴ */
	.site-title-main {
		gap: 6px;
		font-size: 1.45rem;
		line-height: 1.1;
	}

	.site-logo {
		width: 28px;
		height: 28px;
	}

	.site-title-en {
		font-size: 0.68rem;
		line-height: 1.2;
		letter-spacing: 0.14em;
	}

	/* ハンバーガーメニュー */
	#menubar_hdr {
		top: 8px;
		width: 44px;
		height: 44px;
		background-size: 44px;
	}

	#menubar_hdr.ham {
		background-size: 44px;
	}

	/* メイン画像の文章 */
	#mainimg #text p.text {
		padding: 10px 12px;
		font-size: 0.95rem;
	}
}