@charset "utf-8";

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

/* =========================================
   リセット・基本設定
========================================= */
* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

body {
	font-family:
		'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Yu Gothic', 'Meiryo', sans-serif;
	color: #333333;
	line-height: 1.8;
	font-size: 16px;
	background-color: #ffffff;
	-webkit-text-size-adjust: 100%;
}

img {
	max-width: 100%;
	height: auto;
	vertical-align: bottom;
}

a {
	text-decoration: none;
	color: inherit;
	transition: opacity 0.3s ease;
}

a:hover {
	opacity: 0.75;
}

ul,
ol {
	list-style: none;
}

.container {
	max-width: 1000px;
	margin: 0 auto;
	padding: 0 20px;
}

/* =========================================
   ヘッダー
========================================= */
.header {
	width: 100%;
	padding: 0 0 30px;
}

.header-inner {
	max-width: 1440px;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
}

/* 1. ロゴ部分（bg01.png）の背景設定 */
.header-logo {
	display: inline-block;
	padding: 15px 0 0 210px;
	width: 472px;
	max-width: 100%;
	background-image: url('images/bg01.png');
	background-repeat: no-repeat;
	background-position: top;
	background-size: contain;
}

.header-logo a {
	display: flex;
	align-items: center;
}

.header-logo img {
	height: 73px;
	width: auto;
}

/* 2. 電話番号部分（bg02.png）の背景設定 */
.header-tel-wrap {
	display: inline-block;
	padding: 24px 190px 24px 50px;
	background-image: url('images/bg02.png');
	background-repeat: no-repeat;
	background-position: center;
	background-size: 100% 100%;
	text-align: right;
}

.header-tel a {
	display: inline-flex;
	align-items: center;
	color: #19ad8a;
	font-size: 35px;
	line-height: 1;
	font-weight: 600;
	font-family: 'Zen Maru Gothic', sans-serif;
	letter-spacing: 0.03em;
}

.header-tel a::before {
	content: '';
	display: inline-block;
	width: 28px; /* アイコンの横幅 */
	height: 26px; /* アイコンの高さ */
	margin-right: 5px;
	margin-top: 5px;
	background-image: url('images/tel.svg');
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
}

/* =========================================
   セクション共通見出し（Zen Maru Gothic）
========================================= */
.section-title-wrap {
	text-align: center;
	margin-bottom: 45px;
}

.section-title {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	position: relative;
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
}

/* サービス内容の見出し（ttl01.png） */
.section-title.service-title,
.section-title.register-title {
	aspect-ratio: 237 / 102;
	width: 237px;
	background-image: url('images/ttl01.png');
}

/* 会社概要の見出し（ttl02.png） */
.section-title.company-title {
	aspect-ratio: 266 / 79;
	width: 266px;
	background-image: url('images/ttl02.png');
}

.section-title .jp {
	display: block;
	font-size: 26px;
	font-weight: 500;
	font-family: 'Zen Maru Gothic', sans-serif;
	color: #4b4b4b;
	letter-spacing: 0.08em;
	line-height: 1.3;
}

.section-title .en {
	display: block;
	font-size: 13px;
	font-weight: 500;
	font-family: 'Zen Maru Gothic', sans-serif;
	color: #19ad8a;
	letter-spacing: 0.05em;
	margin-top: 2px;
}

/* =========================================
   メッセージセクション
========================================= */
.message-section {
	padding: 40px 0 80px;
	text-align: center;
}

.main-catch {
	color: #19ad8a;
	font-size: 32px;
	font-weight: 600;
	letter-spacing: 0.05em;
	margin-bottom: 35px;
}

.lead-text {
	line-height: 2;
	margin-bottom: 40px;
	font-weight: 500;
}

.message-illust {
	max-width: 810px;
	margin: 0 auto 45px;
}

.message-body p {
	line-height: 2.1;
	margin-bottom: 28px;
}

.banner-box {
	margin-top: 50px;
}

.sakuraya-banner {
	display: inline-block;
	max-width: 325px;
}

/* =========================================
   サービス内容セクション
========================================= */
.service-section,
.register-section {
	background-image: url(images/bg03.png);
	background-size: 640px;
	padding: 70px 0 90px;
}

.service-frame {
	background-color: #fdfbf2;
	padding: 45px 40px 40px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.service-target-title {
	text-align: center;
	margin-bottom: 35px;
}

.service-target-title span {
	display: inline-block;
	font-size: 26px;
	font-weight: 500;
	font-family: 'Zen Maru Gothic', sans-serif;
	color: #4b4b4b;
	padding: 0 35px;
	border-bottom: 2px solid #19ad8a;
	letter-spacing: 0.08em;
}

.service-cards {
	display: flex;
	justify-content: space-between;
	gap: 30px;
}

.service-card {
	flex: 1;
	background-color: #ffffff;
	border-radius: 10px;
	padding: 30px 28px 35px;
	border: 1px solid #e3e0e0;
}

.card-badge {
	width: 240px;
	margin: 0 auto 22px;
	background-color: #19ad8a;
	color: #ffffff;
	text-align: center;
	font-size: 20px;
	font-weight: 500;
	font-family: 'Zen Maru Gothic', sans-serif;
	padding: 0;
	border-radius: 20px;
	letter-spacing: 0.08em;
}

.card-img {
	margin-bottom: 20px;
	text-align: center;
}

.card-img img {
	width: 100%;
	height: 220px;
	object-fit: cover;
}

.card-list {
	margin-bottom: 18px;
}

.card-list li {
	color: #19ad8a;
	font-weight: 700;
	line-height: 1.8;
}

.card-text {
	line-height: 1.85;
	text-align: justify;
}

/* =========================================
   会社概要セクション
========================================= */
.company-section {
	padding: 80px 0 90px;
}

.company-table {
	width: 100%;
	max-width: 820px;
	margin: 0 auto;
	border-collapse: collapse;
}

.company-table tr:nth-child(odd) {
	background-color: #f1f7fb;
}

.company-table tr:nth-child(even) {
	background-color: #ffffff;
}

.company-table th,
.company-table td {
	padding: 18px 25px;
	text-align: left;
	vertical-align: top;
	line-height: 1.8;
}

.company-table th {
	width: 28%;
	padding-left: 80px;
	font-weight: 500;
}

.company-table td {
	width: 72%;
}

.business-list li {
	line-height: 1.85;
}

/* =========================================
   Google Map エリア
========================================= */
.map-section {
	width: 100%;
	margin: 0;
	padding: 0;
}

.map-section iframe {
	width: 100%;
	height: 450px;
	border: 0;
	display: block;
}

/* =========================================
   登録・認定一覧（テーブル風・下線付き）
========================================= */
.t-right {
	max-width: 820px;
	margin: 0 auto 10px;
	text-align: right;
}
.dl-register-wrap {
	background-color: #ffffff;
	padding: 30px;
}
.dl-register {
	max-width: 820px;
	margin: 0 auto;
	border-top: 1px solid #ccc;
}

.dl-register div {
	display: flex;
	align-items: center;
	padding: 16px 20px;
	border-bottom: 1px solid #ccc;
	line-height: 1.7;
}

.dl-register dt {
	width: 140px;
	flex-shrink: 0;
	font-weight: 700;
	color: #19ad8a;
}

.dl-register dd {
	flex: 1;
	color: #333333;
}

/* =========================================
   フッター
========================================= */
.footer {
	padding: 50px 0 0;
	background-color: #ffffff;
}

.footer-inner {
	max-width: 1440px;
	margin: 0 auto;
	padding: 0 20px;
	display: flex;
	justify-content: space-between;
	align-items: stretch;
}

.footer-logo {
	position: relative;
	display: inline-block;
	padding: 15px 0 0 210px;
	width: 472px;
	max-width: 100%;
	z-index: 1;
}

.footer-logo::before {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 59%;
	background-image: url('images/bg01.png');
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	transform: scaleY(-1);
	z-index: -1;
}
.footer-logo img {
	height: 89px;
	width: auto;
}

.footer-info {
	position: relative;
	display: inline-block;
	padding: 24px 190px 24px 50px;
	text-align: right;
	line-height: 1.9;
	z-index: 1;
}

.footer-info::before {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 70%;
	background-image: url('images/bg02.png');
	background-repeat: no-repeat;
	background-position: center;
	background-size: 100% 100%;
	transform: scaleY(-1);
	z-index: -1;
}
.footer-company {
	font-weight: 700;
}

.footer-copyright {
	font-size: 14px;
}
/* デフォルト（PC等）では下部固定バーを非表示 */
.fixed-tel-bar {
	display: none;
}
/* =========================================
   レスポンシブ（スマホ・タブレット対応：画面幅768px以下）
========================================= */
@media screen and (max-width: 1220px) {
	.header-inner {
		display: flex;
		justify-content: space-between;
		flex-wrap: wrap; /* 狭くなったら折り返せるようにする準備 */
		gap: 10px;
	}

	.header-logo {
		display: inline-block;
		/* パディングや幅を画面幅に応じて縮小するよう割合（vwなど）や最大幅に調整 */
		padding: 15px 0 0 5%;
		width: 45%;
		max-width: 472px;
		background-image: none;
	}

	.header-tel-wrap {
		display: inline-block;
		/* 左右の固定パディングを縮小し、背景が潰れないようにする */
		padding: 20px 5%;
		width: 50%;
		max-width: 100%;
		background-image: url('images/bg02.png');
		background-repeat: no-repeat;
		background-position: center;
		background-size: 100% 100%;
		text-align: right;
	}

	.header-tel a {
		display: inline-flex;
		align-items: center;
		color: #19ad8a;
		/* 画面幅に合わせて文字サイズが少し縮むようにclamp関数を活用（最大35px、最小24pxなど） */
		font-size: clamp(24px, 3vw, 35px);
		line-height: 1;
		font-weight: 600;
		font-family: 'Zen Maru Gothic', sans-serif;
		letter-spacing: 0.03em;
	}

	.header-tel a::before {
		content: '';
		display: inline-block;
		width: 28px;
		height: 26px;
		margin-right: 5px;
		margin-top: 5px;
		background-image: url('images/tel.svg');
		background-repeat: no-repeat;
		background-position: center;
		background-size: contain;
	}
	.footer-logo {
		padding: 15px 0 0 5%;
	}
	.footer-logo::before {
		background-image: none;
	}
	.footer-info {
		padding: 24px 5% 24px 50px;
	}
}
/* =========================================
   レスポンシブ（スマホ・タブレット対応：画面幅768px以下）
========================================= */
@media screen and (max-width: 768px) {
	/* 0. 固定ヘッダーの裏に本文が隠れないよう、上の余白を確保 */
	body {
		padding-top: 62px; /* ヘッダーの高さに合わせて調整してください */
	}

	/* 1. ヘッダーを画面上部に固定 */
	.header {
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		background-color: #ffffff;
		z-index: 9999;
		box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05); /* 固定したときに境界がわかりやすいように影を追加 */
		padding: 10px 0;
	}

	.header-inner {
		flex-direction: column; /* 縦並びにして、ロゴが上、電話番号が下に配置されるようにする */
		align-items: center;
		text-align: center;
		gap: 10px;
	}

	.header-logo {
		padding: 0;
		width: 100%;
		background-image: none; /* スマホではPC用の背景を消す場合 */
		display: flex;
		justify-content: center;
	}

	.header-logo a {
		justify-content: center;
	}

	.header-logo img {
		height: 45px; /* スマホに合わせてロゴの高さを調整 */
	}

	/* 電話番号エリアは常に下の段に配置されます */
	.header-tel-wrap {
		display: none;
	}
	.message-section {
		text-align: left;
	}
	/* 2. メインキャッチの文字サイズ調整 */
	.main-catch {
		font-size: 22px;
		line-height: 1.5;
	}

	/* 3. サービスカード（横並び→縦並びに） */
	.service-frame {
		padding: 30px 15px;
	}

	.service-cards {
		flex-direction: column;
	}

	/* 4. 会社概要テーブル（横並び→縦並びに） */
	.company-table th,
	.company-table td {
		display: block;
		width: 100%;
		padding: 12px 20px;
	}

	.company-table th {
		padding-left: 20px; /* PC用の左パディング(80px)をスマホ用にリセット */
		padding-bottom: 4px;
		font-weight: 700;
	}

	.company-table td {
		padding-top: 4px;
	}

	/* 5. 登録・認定一覧（日付と内容を縦並びに） */
	.dl-register div {
		flex-direction: column;
		align-items: flex-start;
		padding: 12px 15px;
	}

	.dl-register dt {
		width: 100%;
		margin-bottom: 4px;
	}

	/* 6. フッターまわりの調整 */
	.footer-inner {
		flex-direction: column;
		align-items: center;
		text-align: center;
		gap: 20px;
	}

	.footer-logo {
		padding: 15px 0 0 0;
		width: 100%;
		display: flex;
		justify-content: center;
	}

	.footer-info {
		padding: 20px;
		width: 100%;
		text-align: center;
	}
	ody {
		padding-bottom: 75px;
	}

	/* ページの一番下が固定バーに隠れないよう、下に余保を確保 */
	body {
		padding-bottom: 75px;
	}

	/* 画面下部に固定配置 */
	.fixed-tel-bar {
		display: block;
		position: fixed;
		bottom: 0;
		left: 0;
		width: 100%;
		background-color: #19ad8a; /* サイトのメインカラー */
		z-index: 9999;
		box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
	}

	.fixed-tel-bar a.fixed-tel-link {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		color: #ffffff;
		text-decoration: none;
		padding: 8px 10px;
		line-height: 1.3;
	}

	.fixed-tel-bar .fixed-tel-label {
		font-size: 11px;
		font-weight: 500;
	}

	/* 電話番号の部分 */
	.fixed-tel-bar .fixed-tel-number {
		display: inline-flex;
		align-items: center;
		font-size: 21px;
		font-weight: 700;
		font-family: 'Zen Maru Gothic', sans-serif;
		letter-spacing: 0.05em;
	}

	/* 疑似要素で白のアイコン（tel-whi.svg）を挿入 */
	.fixed-tel-bar .fixed-tel-number::before {
		content: '';
		display: inline-block;
		width: 15px; /* アイコンの横幅（必要に応じて調整） */
		height: 17px; /* アイコンの高さ（必要に応じて調整） */
		margin-right: 6px;
		background-image: url('images/tel-whi.svg');
		background-repeat: no-repeat;
		background-position: center;
		background-size: contain;
		margin-top: 3px;
	}

	.fixed-tel-bar .fixed-tel-time {
		font-size: 9px;
		opacity: 0.9;
	}
}

@media screen and (max-width: 594px) {
	.main-catch br {
		display: block;
	}
}
/* =========================================
   デバイス別の改行コントロール用クラス（意味ベース）
   ========================================= */

/* 1. タブレット帯（1220px以下 ～ 769px）で改行： <br class="br-tb"> */
.br-tb {
	display: none;
}
@media screen and (max-width: 1220px) and (min-width: 769px) {
	.br-tb {
		display: inline;
	}
}

/* 2. スマホ帯（768px以下）で改行： <br class="br-sp"> */
.br-sp {
	display: none;
}
@media screen and (max-width: 768px) and (min-width: 481px) {
	.br-sp {
		display: inline;
	}
}

/* 3. 小型スマホ帯（480px以下）で改行： <br class="br-small"> */
.br-small {
	display: none;
}
@media screen and (max-width: 480px) {
	.br-small {
		display: inline;
	}
}
