/* ==============================
  Reset & Base
============================== */

/* box sizing */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* margin reset（必要最小限） */
body,
h1, h2, h3, h4, h5, h6,
p,
ul, ol,
dl, dt, dd {
  margin: 0;
}

/* padding reset（リスト/定義リストのみで十分） */
ul, ol,
dl, dt, dd {
  padding: 0;
}

/* root */
html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

@media (max-width: 768px) {
  html { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* body base */
body {
  line-height: 2;
  color: #333;
  font-family: "M PLUS 1p","Yu Gothic","游ゴシック","YuGothic","游ゴシック体",-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Hiragino Sans","Noto Sans JP","Helvetica Neue",Arial,sans-serif;
  font-weight: 400;
  overflow-x: clip;
}

/* headings */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.4;
  font-feature-settings: "palt";
  font-weight: 700;
}
h2, h3 {
  font-weight: 800;
}

/* lists */
ul, ol {
  list-style: none;
}

/* definition list */
dd {
  margin-left: 0;
}

/* emphasis
  - strong/emを潰すと意味（強調）が消えるので、基本は触らない方が安全
  - デザインで強調を消したい場合のみ下を有効化してください
*/
/*
strong { font-weight: inherit; }
em { font-style: normal; }
*/

/* table */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* media */
img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

/* link */
a {
  color: inherit;
  text-decoration: none;
  transition: all .3s ease-in-out;
}
a:hover {
  opacity: .7;
}

/* form controls */
input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

/*改行*/
.br-sp {
	display: none;
}
@media screen and (max-width: 768px) {
	.br-pc {
		display: none;
	}
	.br-sp {
		display: inline-block;
	}
}

/*.flex*/
.flex {
	display: flex;
}
@media screen and (max-width: 768px) {}


/*--------------------------------------------------------------------------
ヘッダー
--------------------------------------------------------------------------*/
header {
	position: sticky;
	top: 0;
	background-color: #fff;
	z-index: 1000;
}
.header__inner {
	justify-content: space-between;
	align-items: center;
	gap: 40px;
	height: 100px;
	margin: 0 3.65vw;
}
@media screen and (max-width: 768px) {
	.header__inner {
		gap: 0;
		height: 60px;
	}
}

/*.header__left*/
.header__left {
	align-items: center;
	gap: 40px;
}
.header__left .logo {
	max-width: 300px;
	width: 100%;
}
.header__left .desc {
	font-size: 14px;
	line-height: 1.5;
	color: #005970;
}
@media screen and (max-width: 1300px) {
	.header__left .desc {
		display: none;
	}
}
@media screen and (max-width: 768px) {
	.header__left .logo {
		max-width: 180px;
	}
}
@media screen and (max-width: 375px) {
	.header__left .logo {
		max-width: 150px;
	}
}

/*.header__right*/
.header__right {
	align-items: center;
	gap: 20px;
}
.header__right .tel {
	flex-direction: column;
	gap: 5px;
	line-height: 1;
}
.header__right .num {
	align-items: baseline;
	gap: 8px;
	font-size: 30px;
	font-weight: 800;
}
.header__right .num::before {
	content: "";
	background-image: url("../images/icon_tel.svg");
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	width: 25px;
	height: 25px;
}
@media screen and (max-width: 768px) {
	.header__right .yoyaku {
		display: none;
	}
	.header__right small {
		font-size: 10px;
	}
	.header__right .num {
		font-size: 20px;
	}
	.header__right .num::before {
		width: 20px;
		height: 20px;
	}
}
@media screen and (max-width: 375px) {
	.header__right small {
		font-size: 8px;
	}
	.header__right .num {
		gap: 5px;
		font-size: 18px;
	}
	.header__right .num::before {
		width: 18px;
		height: 18px;
	}
}


/*--------------------------------------------------------------------------
フッター
--------------------------------------------------------------------------*/
footer {
	background-color: #333;
	padding: 20px 0 120px;
}
.copyright {
	justify-content: center;
	align-items: center;
	font-size: 14px;
	line-height: 1;
	color: #fff;
}
@media screen and (max-width: 768px) {
	footer {
		padding: 20px 0 120px;
	}
	.copyright {
		font-size: 12px;
	}
}


/*--------------------------------------------------------------------------
汎用
--------------------------------------------------------------------------*/
section .container {
	width: calc(100% - 7.29vw);
	margin: auto;
}
@media screen and (max-width: 768px) {}


/*------------------------------------
.yoyaku
------------------------------------*/
.yoyaku {
	/*flex: 0 0 280px;*/
	position: relative;
}
.yoyaku::before {
	background-position: center center;
	background-repeat: no-repeat;
	content: '';
	display: block;
	height: 26px;
	position: absolute;
	top: -23px;
	width: 100%;
}
.yoyaku p {
	display: flex;              /* 追加 */
	justify-content: center;    /* 横中央 */
	align-items: center;        /* 縦中央（高さ26pxの中央） */
	position: absolute;
	top: -10px;
	left: 50%;                  /* 追加 */
	transform: translateX(-50%);/* 追加：真ん中に配置 */
	width: 100%;
	height: 26px;
	font-size: 14px;
	line-height: 1;
	text-align: center;
	color: #fff;
	pointer-events: none;
	z-index: 2;
}

.yoyaku p span {
	position: relative;
	-webkit-text-stroke: 0;
	z-index: 1;
}
.yoyaku p::before {
	content: attr(shadow-text)'';
	position: absolute;
	-webkit-text-stroke: 6px #005970;
	transition: all .3s ease-in-out;
	z-index: 0;
}
.yoyaku:hover p::before {
	-webkit-text-stroke-color: #007A96;
}
.yoyaku a {
	display: inline-flex; /* block → inline-flex */
	justify-content: center;
	align-items: center;
	position: relative;

	background-color: #005970;
	border-radius: 30px;

	padding: 0 32px;          /* 横paddingで幅調整 */
	height: 60px;

	font-size: 20px;
	font-weight: 800;
	line-height: 1;
	color: #fff;

	white-space: nowrap;      /* ← 改行防止 */
	width: fit-content;       /* 文字幅に合わせる */
	min-width: 200px;         /* 最小幅（任意） */
	max-width: 100%;          /* はみ出し防止 */
}
.yoyaku:hover a {
	background-color: #007A96;
	opacity: 1;
}
@media screen and (max-width: 768px) {}


/*------------------------------------
#page-top
------------------------------------*/
#page-top {
	position: fixed;
	right: 25px;
	bottom: 25px;
	z-index: 101;
}
#page-top a {
	display: block;
	background-image: url("../images/page-top.svg");
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	width: 50px;
	height: 50px;
}
@media screen and (max-width: 768px){
	#page-top {
		right: 15px;
		bottom: 120px;
	}
	#page-top a {
		width: 45px;
		height: 45px;
	}
}


/*------------------------------------
.float
------------------------------------*/
.float {
	position: fixed;
	bottom: -100px; /* 初期状態では画面外に配置 */
	background-color: rgba(0, 0, 0, 0.3);
	width: 100%;
	z-index: 100;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.5s ease, visibility 0.5s ease, bottom 0.5s ease;
}
.float__inner {
	justify-content: center;
	padding: 20px 0;
}
@media screen and (max-width: 768px){}


/*------------------------------------
.link
------------------------------------*/
.link a {
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
	background-color: #005970;
	border-radius: 35px;
	max-width: 250px;
	width: 100%;
	height: 60px;
	letter-spacing: .08em;
	color: #fff;
	margin: auto;
}
.link a:hover {
	opacity: 1;
}
.link a::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 25px;
	transform: translateY(-50%);
	-webkit-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	background-image: url("../images/arrow_wh.svg");
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	width: 15px;
	height: 15px;
	transition: .3s cubic-bezier(.4,.4,0,1);
}
.link a:hover::after {
	transform: translate(8px, -50%);
}
@media screen and (max-width: 768px) {}


/*------------------------------------
.table
------------------------------------*/
.table {
	border-top: 1px solid #ccc;
}
.table dl {
	display: flex;
	align-items: center;
	border-bottom: 1px solid #ccc;
}
.table dl:not(:last-child) {
}
.table dt,
.table dd {
	padding: 20px 0;
}
.table dt {
	flex: 0 0 130px;
	position: relative;
}
.table dt::after {
	content: "";
	position: absolute;
	top: 8px;
	right: 0;
	bottom: 8px;
	border-right: 1px solid #ccc;
}
.table dd {
	flex: 1 1 auto;
	min-width: 0;
	padding-left: 20px;
}
@media screen and (max-width: 768px) {}


/*--------------------------------------------------------------------------
投稿関連
--------------------------------------------------------------------------*/
/*------------------------------------
.topic-path
------------------------------------*/
.topic-path {
	background-color: #ededeb;
	padding: 10px 0;
	line-height: 1.4;
}
.topic-path ul {
	margin: 0 3.65vw;
}
.topic-path ul li,
.topic-path ul span {
	display: inline;
	font-size: 14px;
}
.topic-path ul li a:after {
	content: "／";
	padding: 0 8px;
}
@media screen and (max-width: 768px) {
	.topic-path ul {
		padding: 0 16px;
	}
	.topic-path ul li,
	.topic-path ul span {
		font-size: 12px;
	}
}


/*------------------------------------
投稿一覧
------------------------------------*/
.archive section {
	padding: 120px 0;
}
.archive h1 {
	font-size: 2.60vw;
	text-align: center;
	margin-bottom: 30px;
}
@media screen and (max-width: 768px) {
	.archive section {
		padding: 50px 0 100px;
	}
	.archive h1 {
		font-size: 24px;
	}
}

/*.news-list*/
.news-list {
	border-top: 1px solid #ccc;
	max-width: 900px;
	margin: auto;
}
.news-list li {
	border-bottom: 1px solid #ccc;
}
.news-list a {
	align-items: center;
}
.news-list a:hover {
	background-color: #ddd;
	opacity: 1;
}
.news-list time,
.news-list h3 {
	padding: 25px 0;
}
.news-list time {
	flex: 0 0 150px;
	flex-direction: column;
	gap: 5px;
	position: relative;
	line-height: 1;
	color: #8da8b2;
	padding-left: 30px;
}
.news-list time::after {
	content: "";
	position: absolute;
	top: 24px;
	right: 0;
	bottom: 24px;
	border-right: 1px solid #ccc;
}
.news-list span {
	font-size: 25px;
}
.news-list h3 {
	flex: 1 1 auto;
	min-width: 0;
	font-size: 18px;
	font-weight: 700;
	text-align: justify;
	padding-left: 30px;
}
@media screen and (max-width: 768px) {
	.news-list time,
	.news-list h3 {
		padding: 20px 0;
	}
	.news-list time {
		flex: 0 0 100px;
		padding-left: 20px;
	}
	.news-list span {
		font-size: 20px;
	}
	.news-list h3 {
		font-size: 14px;
		padding-left: 20px;
	}
}

/*.pager*/
.archive .pager {
	padding-top: 100px;
}
.archive .pager,
.archive .pager ul {
	display: flex;
	justify-content: center;
	align-items: center;
}
.archive .pager {
	gap: 64px;
}
.archive .pager ul {
	gap: 32px;
}
.archive .pager ul li {
	position: relative;
}
.archive .pager ul li:after {
	content: "";
	display: block;
	position: absolute;
	bottom: 0;
	left: 0;
	background-color: #ccc;
	width: 0;
	height: 4px;
	transition: 0.5s ease;
}
.archive .pager ul li:hover:after {
	width: 100%;
	opacity: 1;
}
.archive .pager ul li.current:after {
	width: 100%;
}
.archive .pager ul li a,
.archive .pager ul li span {
	display: block;
	font-family: "Outfit", serif;
	font-size: 20px;
	font-weight: 500;
	line-height: 1;
	padding: 0 16px 24px;
}
.archive .pager ul li span {
	color: #ccc;
}
.archive .pager .arrow a {
	display: block;
	transition: .3s cubic-bezier(.4,.4,0,1);
}
.archive .pager .arrow.prev a:hover {
	transform: translateX(-8px);
}
.archive .pager .arrow.prev img {
	transform: scale(-1, 1);
}
.archive .pager .arrow.next a:hover {
	transform: translateX(8px);
}
@media screen and (max-width: 768px) {
	.archive .pager {
		gap: 16px;
		padding-top: 50px;
	}
	.archive .pager ul {
		gap: 0;
	}
	.archive .pager ul li a,
	.archive .pager ul li span {
		font-size: 16px;
		padding: 0 16px 16px;
	}
}


/*------------------------------------
投稿詳細
------------------------------------*/
.single .main-sec {
	text-align: justify;
	padding-top: 120px;
}
.single .main-sec .container {
	flex-direction: column;
	gap: 16px;
	border-bottom: 1px solid #ccc;
	padding-bottom: 40px;
}
.single .main-sec h1 {
	font-size: 2.60vw;
}
.single .main-sec time {
	letter-spacing: .05em;
}
@media screen and (max-width: 768px) {
	.single .main-sec {
		padding-top: 50px;
	}
	.single .main-sec h1 {
		font-size: 24px;
	}
}

/*.tag-list*/
.tag-list {
	padding: 0;
	margin: 0;
	list-style: none;
	font-size: 0; /* inline-blockの隙間対策 */
}
.tag-list li {
	display: inline-block;
	margin: 0 8px 8px 0;
	font-size: 14px; /* 戻す */
}
.tag-list li a {
	padding: 8px 14px;
	background: #f3f3f3;
	border-radius: 999px;
	text-decoration: none;
	line-height: 1;

	/* ▼ 改行させない */
	white-space: nowrap;

	/* ▼ はみ出し対策（重要） */
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
}
@media screen and (max-width: 768px) {
	.tag-list li {
		font-size: 12px;
	}
}

/*.container*/
.single .container {
	max-width: 900px;
	width: calc(100% - 7.29vw);
	text-align: justify;
	margin: 0 auto;
	padding-bottom: 50px;
}
@media screen and (max-width: 768px) {}

/*.cms-block*/
.single .cms-block h2 {
	font-size: 30px;
	margin: 70px 0 30px;
}
.single .cms-block picture {
	display: block;
	margin: 40px 0;
}
.single .cms-block > p {
	margin: 30px 0;
}
.single .cms-block strong {
	font-weight: 900;
}
.single .cms-block em {
	font-style: italic;
}
.single .cms-block ul,
.single .cms-block ol {
	margin: 30px 0;
	padding-left: 30px;
}
.single .cms-block ul li {
	list-style: disc;
}
.single .cms-block ol li {
	list-style: decimal;
}
.single .cms-block li:not(:last-child) {
	margin-bottom: 4px;
}
.single .cms-block blockquote {
	position: relative;
	border-left: 4px solid #000;
	padding: 15px 0 15px 60px;
}
.single .cms-block blockquote:before {
	top: -25px;
	left: 30px;
	font-family: "Outfit", sans-serif;
	font-size: 50px;
}
.single .cms-block blockquote > p {
	font-size: 18px;
}
.single .cms-block a {
	text-decoration: underline;
}
@media screen and (max-width: 768px) {
	.single .cms-block h2 {
		font-size: 18px;
		margin: 30px 0 20px;
	}
	.single .cms-block picture {
		margin: 20px 0;
	}
	.single .cms-block > p {
		margin: 20px 0;
	}
	.single .cms-block ul,
	.single .cms-block ol {
		margin: 20px 0;
		padding-left: 20px;
	}
	.single .cms-block blockquote {
		padding: 10px 0 10px 40px;
	}
	.single .cms-block blockquote:before {
		top: -20px;
		left: 15px;
		font-size: 40px;
	}
}

/*.link*/
.single .link {
	margin-bottom: 120px;
}
@media screen and (max-width: 768px) {
	.single .link {
		margin-bottom: 100px;
	}
}
