@charset "UTF-8";

/* 全体レイアウト */
/*body {
	font-family: Arial, sans-serif;
	margin: 0;
	padding: 0;
	background-color: #f4f4f9;
	color: #333;
}*/

/* ヘッダー */
/*header {
	background-color: #003366;
	color: white;
	padding: 1em 0;
	text-align: center;
}

	header h1 {
		margin: 0;
		font-size: 1.8em;
	}*/

/* コンテナ */
.container {
	width: 90%;
	max-width: 1200px;
	margin: 20px auto;
	padding: 20px;
	background-color: white;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	border-radius: 8px;
}

/* 見出し */
/*h2 {
	color: #003366;
	border-bottom: 2px solid #003366;
	padding-bottom: 5px;
	margin-bottom: 20px;
}*/

/* セクションスタイル */
/*.section {
	margin-bottom: 30px;
}

	.section p {
		line-height: 1.6;
	}*/

/* フッター */
/*footer {
	text-align: center;
	padding: 1em 0;
	background-color: #003366;
	color: white;
	margin-top: 20px;
}*/

/* 基本 */
:root {
	/*--v-space: clamp(90px, 9vw, 120px);*/
	--v-space: clamp(90px, 9vw, 120px);
}

body {
	max-width: 980px;
	width: 100%;
	margin: 0 auto;
	background-color: #ffffff;
	color: #222222;
	font-family: sans-serif;
}

h1, h2, h3, h4, h5, h6, p, figure, ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

p {
	/*line-height: 1.8;*/
}

a {
	color: inherit;
	text-decoration: none;
	/*display: block;
	font-weight: bold;
	color: #005BAC;*/
}

	a:hover {
		/*filter: brightness(90%) contrast(120%);*/
		/*filter: brightness(80%) contrast(150%) saturate(120%);*/
		/*filter: brightness(70%) contrast(200%) saturate(150%);*/
		/*color: #005BAC;*/
		/*color: #ff6600;*/
		color: #ffcc99; /* ホバー時に濃いオレンジ */
		text-decoration: underline; /* ホバー時に下線を追加 */
		filter: brightness(100%) contrast(110%);
	}



img {
	display: block;
	max-width: 100%;
	height: auto;
}

.news-list {
	width: 80%;
	max-width: 800px;
	margin: 20px auto;
	background: white;
	padding: 20px;
	border-radius: 10px;
	box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.news-list article {
	display: flex;
	flex-direction: column;
	/*align-items: center;*/
	padding: 10px;
	border-bottom: 1px solid #ddd;
}

/*@keyframes rainbow {
	0% {color: red;}
	25% {color: yellow;}
	50% {color: green;}
	75% {color: blue;}
	100% {color: purple;}
}

h1 {
	animation: rainbow 5s infinite;
}*/

@keyframes rainbowBorder {
	0% {background-color: #ffcccc;}
	25% {background-color: #fff2cc;}
	50% {background-color: #ccffcc;}
	75% {background-color: #cceeff;}
	100% {background-color: #e2ccff;}
}

.line {
	width: 100%;
	height: 2px;  /*太さを調整*/ 
	animation: rainbowBorder 60s infinite;
}


/*.date-title {
	display: flex;*/
	/*align-items: center;*/
/*}*/
.date-title {
	display: flex;
	flex-direction: column; /* 横並び → 縦並びに変更 */
	align-items: flex-start; /* 左揃え */
	gap: 5px; /* 日付・タイトル・メッセージの間隔調整 */
}
@media (min-width: 768px) { /* 画面幅が768px以上のとき */
	.date-title {
		flex-direction: row; /* 横並びに戻す */
		/* align-items: center; 各要素を中央揃え */
		gap: 15px; /* 間隔を調整 */
	}
}

.date {
	width: 150px; /* 日付の幅を統一 */
	font-weight: bold;
	color: #666;
}

.title {
	font-weight: bold;
	color: #005BAC;
	text-decoration: none;
	flex-grow: 1;
}

.title-description {
	display: flex;
	flex-direction: column;
}

.description {
	text-indent: 2em; /* 2文字分のインデント */
	white-space: pre-line; /* 改行を維持 */
	margin-top: 5px;
}

/* 横幅と左右の余白 */
.w-container {
	width: min(92%, 1166px);
	margin: auto;
	position: relative;
}

/* ヘッダー */
.header {
	height: 112px;
	background-color: #ffffff;
}

.header-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: 100%;
}

/* ナビゲーションボタン */
.navbtn {
	padding: 0;
	outline: none;
	border: none;
	background: transparent;
	cursor: pointer;
	color: #aaaaaa;
	font-size: 30px;
}

.open .navbtn {
	z-index: 110;
	color: #ffffff;
}

.navbtn .fa-bars {
	display: revert;
}
.open .navbtn .fa-bars {
	display: none;
}

.navbtn .fa-times {
	display: none;
}
.open .navbtn .fa-times {
	display: revert;
}

@media (min-width: 768px) {
	.navbtn {
		display: none;
	}
}

dl {
	display: flex;
	flex-wrap: wrap;
	width: 100%;
}

	dl dt {
		width: 20%;
	}

	dl dd {
		width: 720px;
		
	}

/* ナビゲーションメニュー：モバイル */
@media (max-width: 767px) {
	.nav {
		position: fixed;
		inset: 0 -100% 0 100%;
		z-index: 100;
		background-color: #4e483ae6;
		transition: transform 0.3s;
	}

	.open .nav {
		transform: translate(-100%, 0);
	}

	.open body {
		position: fixed;
		overflow: hidden;
	}

	.nav ul {
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		height: 100%;
		gap: 40px;
		color: #ffffff;
	}
}

/* ナビゲーションメニュー：PC */
@media (min-width: 768px) {
	.nav ul {
		display: flex;
		gap: 40px;
		color: #707070;
	}
}

/* ヒーロー */
.hero {
	height: 650px;
	background-image: url(img/hero.png);
	background-position: center;
	background-size: cover;
	max-width: 1240px;
	width: 100%;
	margin: 0 auto;
}

.hero-container {
	display: grid;
	justify-items: center;
	align-content: center;
	height: 100%;
}

.hero h1 {
	margin-bottom: 42px;
	font-family: "Montserrat", sans-serif;
	font-size: clamp(48px, 5vw, 68px);
	min-height: 0vw;
	font-weight: 400;
	line-height: 1.3;
	text-align: center;
}

.hero p {
	margin-bottom: 72px;
	text-align: center;
}

/* ボタン */
.btn {
	display: block;
	width: 260px;
	padding: 10px;
	box-sizing: border-box;
	border-radius: 4px;
	background-color: #e8b368;
	color: #ffffff;
	font-size: 18px;
	text-align: center;
	text-shadow: 0 0 6px #00000052;
}

.btn-accent {
	background-color: #b72661;
}

/* 画像とテキスト */
.imgtext {
	/*padding: var(--v-space) 0;*/
	padding: 40px 0;
	background-color: #ffffff;
	max-width: 980px;
	width: 100%;
	margin: 0 auto;
}

.imgtext + .imgtext {
	padding-top: 0;
}

.imgtext-container {
	display: flex;
	flex-direction: column;
	gap: clamp(45px, 6vw, 80px);
}

@media (min-width: 768px) {
	.imgtext-container {
		flex-direction: row;
		align-items: center;
	}

	.imgtext-container.reverse {
		flex-direction: row-reverse;
	}

	.imgtext-container > .text {
		flex: 1;
		/*min-width: 17em;*/
		min-width: 24em;
		/*min-width: 36em;*/
	}

	.imgtext-container > .img {
		flex: 2;
	}
}

.greetingtext {
	/*padding: var(--v-space) 0;*/
	padding: 40px 0;
	background-color: #ffffff;
	max-width: 980px;
	width: 100%;
	/*margin: 0;*/
	max-width: 980px;
	margin: auto; /* 中央寄せを維持する */
}

	.greetingtext + .greetingtext {
		padding-top: 0;
	}

.greetingtext-container {
	display: flex;
	flex-direction: column;
	gap: clamp(45px, 6vw, 80px);
}

.greetingtext-container .text {
	text-align: left; /* 左揃えにする */
	margin-left: 0; /* タイトルと揃える */
	padding-left: 0; /* 余計な余白を削除 */
}

.greetingtext-container .w-container {
	max-width: 980px;
	/*width: min(92%, 1166px);*/
	/*margin: auto;*/
	/*position: relative;*/
}

@media (min-width: 768px) {
	.greetingtext-container {
		flex-direction: row;
		align-items: center;
		gap: 5px; /* 必要に応じて値を調整 */
	}

		.greetingtext-container.reverse {
			flex-direction: row-reverse;
		}

		.greetingtext-container > .text {
			flex: 1;
			/*min-width: 17em;*/
			min-width: 33em;
			/*min-width: 36em;*/
			/*width: 520px;*/
		}

		.greetingtext-container > .img {
			flex: 2;
		}
}

.special-link {
	color: #005BAC; 
	font-weight: bold; /* 太字で強調 */
	text-decoration: none; /* 下線を削除 */
	transition: all 0.3s ease-in-out;
}

	.special-link:hover {
		color: #ffcc99; /* ホバー時に濃いオレンジ */
		text-decoration: underline; /* ホバー時に下線を追加 */
		filter: brightness(100%) contrast(110%);
	}

/* タイトルとサブタイトル（赤色の短い線で装飾） */
.heading-decoration {
	font-size: clamp(30px, 3vw, 40px);
	min-height: 0vw;
	font-weight: 400;
}

.heading-decoration::after {
	display: block;
	content: '';
	width: 160px;
	height: 0px;
	border-top: solid 1px #b72661;
	margin-top: 0.6em;
}

.heading-decoration + p {
	margin-top: 1em;
	margin-bottom: 2em;
	color: #707070;
	font-family: "Montserrat", sans-serif;
	font-size: 18px;
}


/* 記事一覧 */
.posts {
	padding: var(--v-space) 0;
	background-color: #f3f1ed;
}

.posts-container {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 32px 25px;
	max-width: 1240px;
	width: 100%;
	margin: 0 auto;
}

@media (min-width: 768px) {
	.posts-container {
		grid-template-columns: repeat(3, 1fr);
	}
}

/* 記事一覧の記事 */
.post a {
	display: block;
}

.post h3 {
	margin: 1em 0 0.5em;
	font-size: clamp(12px, 2vw, 20px);
	min-height: 0vw;
}

.post p {
	max-width: 20em;
	font-size: clamp(10px, 1.6vw, 14px);
	min-height: 0vw;
}

.post img {
	aspect-ratio: 3 / 2;
	object-fit: cover;
	width: 100%;
}

@supports not (aspect-ratio: 3 / 2) {
	.post img {
		height: 180px;
	}
}

/* パーツの見出し */
.heading {
	position: absolute;
	top: calc((var(--v-space) + 0.6em) * -1);
	font-family: "Montserrat", sans-serif;
	font-size: clamp(40px, 5.2vw, 70px);
	min-height: 0vw;
	font-weight: 300;
}

.heading span {
	display: block;
	color: #666666;
	font-size: 18px;
}


/* フッター */
.footer {
	padding: 70px 0;
	background-color: #ffffff;
	color: #707070;
	font-size: 13px;
}

.footer-container {
	display: grid;
	gap: 50px;
	justify-items: center;
}

@media (min-width: 768px) {
	.footer-container {
		grid-template-columns: auto auto;
		grid-template-rows: auto auto auto;
		gap: 20px;
	}

	.footer-container > .footer-site {
		margin-bottom: 20px;
	}

	.footer-container > *:not(.footer-sns) {
		justify-self: start;
	}
	
	.footer-container > .footer-sns {
		grid-column: 2;
		grid-row: 1 / 4;
		justify-self: end;
		align-self: center;
	}
}


/* フッター：SNSメニュー */
.footer-sns {
	display: flex;
	gap: 24px;
	font-size: 24px;
}

.footer-sns a {
	display: grid;
	place-items: center;
	width: 36px;
	aspect-ratio: 1 / 1;
	background-color: #cccccc;
	color: #ffffff;
	clip-path: circle(50%);
}

@supports not (aspect-ratio: 1 / 1) {
	.footer-sns a {
		height: 36px;
	}
}


/* フッター：テキストメニュー */
.footer-menu {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 20px;
}


/* 記事 */
.entry {
	padding-bottom: var(--v-space);
	background-color: #ffffff;
}

.entry-img img {
	width: 100%;
	max-height: 400px;
	object-fit: cover;
	margin-bottom: calc(var(--v-space) * 2 / 3);
}

.entry .w-container {
	max-width: 720px;
}

.entry .heading-decoration {
	font-size: clamp(30px, 6.25vw, 48px);
}

.entry-container {
	font-size: clamp(16px, 2.4vw, 18px);
}

.entry-container :where(h1, h2, h3, h4, h5, h6, p, figure, ul) {
	margin-top: revert;
	margin-bottom: revert;
	padding: revert;
	list-style: revert;
}

.entry-container p {
	margin: 1.8em 0;
}

.entry-container > :first-child {
	margin-top: 0;
}

.entry-container > :last-child {
	margin-bottom: 0;
}


/* プラン */
.plans {
	padding: var(--v-space) 0;
	background-color: #e9e5e9;
}

.plans-container {
	display: grid;
	gap: 27px;
}

@media (min-width: 768px) {
	.plans-container {
		grid-template-columns: repeat(3, 1fr);
	}
}

/* プラン：カード */
.plan {
	display: flex;
	flex-direction: column;
	padding: 60px 27px;
	border-radius: 20px;
	background-color: #ffffff;
}

.plan h3 {
	margin-bottom: 38px;
	font-family: "Montserrat", sans-serif;
	font-size: 12px;
	font-weight: 400;
}

.plan .desc {
	margin-bottom: 38px;
}

.plan .price {
	margin-top: auto;
	margin-bottom: 22px;
	font-size: 26px;
	font-weight: bold;
}

.plan .btn {
	width: auto;
}

.kaisha-wrapper {
	display: flex;
	justify-content: center; /* 水平方向の中央 */
	/*align-items: center;*/ /* 垂直方向の中央 */
	/*height: 100vh;*/ /* 画面の高さいっぱいに */
}

.kaisha {
	width: 100%;
	max-width: 980px; /* 適切な幅を設定 */
	margin: auto; /* 左右中央に配置 */
}

	.kaisha th,
	.kaisha td {
		border: 1px solid #ccc;
		padding: 20px;
	}

.kaisha th {
	font-weight: bold;
	background-color: #dedede;
}

@media (max-width: 768px) {
	.kaisha-wrapper {
		display: flex;
		justify-content: center;
	}

	.kaisha {
		display: table; /* ブロック要素ではなく、テーブルとして扱う */
		margin: auto; /* 常に左右中央に配置 */
		width: 100%;
		max-width: 100%; /* 画面幅いっぱいに広がりすぎないよう調整 */
	}

		.kaisha th, .kaisha td {
			display: table-cell; /* 本来のテーブルの構造を維持 */
		}
}


/* mainタグ */
.contact_main {
	max-width: 980px;
	width: 100%;
	margin: 0 auto;
}
/* 見出し */
.contact_h1 {
	font-size: 2.4rem;
	font-weight: 500;
	margin-top: 1em;
	text-align: center;
}
.contact_h4 {
	font-size: 2.4rem;
	font-weight: 500;
	margin-top: 1em;
	text-align: center;
}
.contact_main p {
	text-align: center;
}

/* formタグ：フォーム全体 */
.contact_form {
	margin: 40px;
}
/* ------------------------------------ */
/* フォーム共通書式 */
/* ------------------------------------ */
/* labelタグ：項目のラベルと入力欄を囲うタグ */
/*.form_block {
	display: grid;
	grid-template-columns: 14em 1fr;
	border-top: 1px dotted #606060;
	padding: 1em;
	align-items: center;
	height: 5em;
}*/
.form_block {
	display: grid;
	grid-template-columns: 14em 1fr;
	border-top: 1px dotted #606060;
	padding: 1em;
	align-items: baseline; /* 変更点 */
	gap: 0.5em; /* 追加 */
	height: 5em;
}

/* 画面幅が768px以下のときに1列へ */
@media (max-width: 768px) {
	.form_block {
		grid-template-columns: 1fr; /* 1列にする */
	}
}

/* 必須アイコン */
.form-required {
	margin-left: 2em;
	color: #fff;
	background-color: #f67a7a;
	padding: 2px 8px;
	font-size: 1.2rem;
	border-radius: 3px;
}
/* 入力欄 */
.form_field,
.form_combo {
	border: 1px solid #ccc;
	border-radius: 4px;
	padding: 0.5em 1em;
	width: 95%;
	box-sizing: border-box; /* 幅の計算を統一 */
}

.form_combo {
	appearance: none; /* システムのデフォルトの見た目を解除（ただし完全ではない） */
}

/* ------------------------------------ */
/* 段落入力 */
/* ------------------------------------ */
/*.form_block.--textfield {
	align-items: start;
	border-bottom: 1px dotted #606060;
	height: auto;
	padding: 2px 8px;
}*/
.form_block.--textfield {
	/*align-items: center;*/ /* 他の form_block と統一 */
	align-items: start;
	border-bottom: 1px dotted #606060; /* 点線を form_block に適用 */
	/*padding-bottom: 1em;*/ /* 点線と textarea の間隔を調整 */
	/*border-bottom: none;*/ /* 点線を削除 */
	/*min-height: 10em;*/ /* 高さを統一 */
	padding: 1em; /* 他と同じ余白 */
	height: auto;
}

.form_field.--textfield {
	height: 20em;
	resize: none;
	box-sizing: border-box; /* 幅の計算を統一 */
}
	/*.form_block.--textfield div {
		height: 20em;
		resize: none;*/
		/*border-bottom: 1px dotted #606060;*/  /*textarea の下に点線を配置*/ 
		/*padding-bottom: 0.5em;*/  /*適宜余白を調整*/ 
	/*}*/


/* ------------------------------------ */
/* 送信ボタン */
/* ------------------------------------ */
.form-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 12em;
	height: 2.5em;
	font-size: 18px;
	background-color: #e8b368;
	border-radius: 5px;
	color: #ffffff;
	margin-left: auto;
	margin-right: auto;
	margin-top: 2em;
}
/* ------------------------------------ */
/* 個人情報保護 */
/* ------------------------------------ */
.privacy {
	text-align: center;
	font-size: 1.4rem;
	margin-top: 1em;
}

/* ------------------------------------ */
/* 送信後のサンクスページ専用 */
/* ------------------------------------ */
.section-thanks {
	padding: 100px 40px;
}

.thanks_h1 {
	font-size: 2.8rem;
	text-align: center;
}

.thanks_a {
	background-color: #6695ED;
	color: #fff;
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 5px;
	margin-top: 100px;
	margin-left: auto;
	margin-right: auto;
	font-size: 1.8rem;
	width: 12em;
	height: 3em;
}



