/* ==============================
  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: 15px; }
}

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

/* body base */
body {
  background-color: #eff4f1;
  line-height: 2;
  color: #413126;
  font-family: "Zen Kaku Gothic New","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.6;
  font-feature-settings: "palt";
  font-weight: 700;
  letter-spacing: .05em;
}

/* 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;
	}
}

/*main*/
main {
	padding-top: 90px;
}
.home main {
	padding: 0;
}
@media screen and (max-width: 768px) {
	main {
		padding-top: 60px;
	}
}


/*--------------------------------------------------------------------------
ヘッダー
--------------------------------------------------------------------------*/
/* =============================
  Header base
============================= */
.header {
	position: fixed;
	background-color: #fff;
	width: 100%;
	margin: auto;
	z-index: 1000;
	box-shadow: 0 2px 10px rgba(3,125,103,.05);
}
.home .header {
	inset: 40px 0 auto 0;
	border-radius: 5px;
	width: calc(100% - 7.29vw);
}
.header__inner {
	display: flex;
	align-items: center;
	gap: 2.34vw;
	height: 90px;
	padding: 0 30px;
}
.header__logo img {
	display: block;
	height: 40px;
}
.header__nav {
	margin-left: auto;
}
.header__menu {
	display: flex;
	align-items: center;
	gap: 1.56vw;
}
.header__menu a {
	font-weight: 700;
}
.header__right {
	display: flex;
	align-items: center;
	gap: 14px;
}
.header__tel {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 10px;
	background-color: #037d67;
	border-radius: 27px;
	width: 230px;
	height: 54px;
	letter-spacing: .05em;
	line-height: 1;
	color: #fff;
	white-space: nowrap;
}
.header__tel::before {
	content: "";
	display: block;
	background-image: url("../images/tel.svg");
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	width: 25px;
	height: 25px;
}
.header__tel small {
	font-size: 11px;
}
.header__tel .num {
	font-size: 22px;
	font-weight: 700;
	margin-bottom: 6px;
}
@media screen and (max-width: 1300px) {
	.header__inner {
		padding: 0 0 0 40px;
	}
}
@media screen and (max-width: 768px) {
	.home .header {
		inset: 15px 0 auto 0;
	}
	.header__inner {
		height: 60px;
		padding: 0 0 0 3.65vw;
	}
	.header__logo img {
		height: 28px;
	}
	.header__tel {
		gap: 5px;
		width: 150px;
		height: 40px;
	}
	.header__tel::before {
		width: 20px;
		height: 20px;
	}
	.header__tel small {
		font-size: 8px;
	}
	.header__tel .num {
		font-size: 14px;
		margin-bottom: 8px;
	}
}

/* =============================
  Hamburger
============================= */
.hamburger {
	display: inline-flex;
	flex-direction: column;
	justify-content: center;
	gap: 7px;
	background: transparent;
	border: 0;
	padding: 0;
	cursor: pointer;
}
.hamburger__line {
	display: block;
	background-color: #413126;
	border-radius: 999px;
	width: 26px;
	height: 2px;
	transition: transform .35s ease, opacity .25s ease, width .35s ease;
	transform-origin: center;
}

/* 3本線→× */
.hamburger.is-open .hamburger__line:nth-child(1) {
	transform: translateY(9px) rotate(45deg);
}
.hamburger.is-open .hamburger__line:nth-child(2) {
	width: 0;
	opacity: 0;
}
.hamburger.is-open .hamburger__line:nth-child(3) {
	transform: translateY(-9px) rotate(-45deg);
}

/* =============================
  Drawer（右からスライド）
============================= */
.drawer {
	position: fixed;
	top: 0;
	right: 0;
	transform: translateX(100%);
	background-color: #fff;
	width: min(86vw, 380px);
	height: 100vh;
	padding: 150px 50px 50px;
	transition: transform .4s ease;
	overflow-y: auto;
	pointer-events: none;
	z-index: 1200;
}
.drawer.is-open {
	transform: translateX(0);
	pointer-events: auto;
}
.drawer__menu {
	display: grid;
}
.drawer__menu a {
	display: block;
	border-bottom: 1px solid #c4c2be;
	font-weight: 700;
	padding: 16px 0;
}
@media screen and (max-width: 768px) {
	.drawer {
		padding-top: 80px;
	}
}

/* overlay */
.drawer-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease;
  z-index: 1199;
}
.drawer-overlay.is-open{
  opacity: 1;
  pointer-events: auto;
}

/* 背景スクロール停止（任意） */
html.is-drawer-open,
body.is-drawer-open{
  overflow: hidden;
}

/* =============================
  PC / SP
============================= */

/* PC：hamburger & drawer を使わない */
@media (min-width: 1300px){
  .hamburger{ display:none; }
  .drawer,
  .drawer-overlay{ display:none; }
}

/* SP：navを消す＋hamburgerは固定で前面 */
@media (max-width: 1300px){
  .header__nav{ display:none; }

  /* 右側を右寄せ */
  .header__right{
    margin-left: auto;
    gap: 12px;
  }

  /*
    ここが重要：
    ハンバーガー(=×)は三本線と同じ位置に固定
    ドロワーより前面にする
  */
  .hamburger{
    position: fixed;
    right: 30px;   /* headerのpaddingに合わせる */
    z-index: 1301; /* drawer(1200)より上 */
  }
  .home .hamburger{
    top: 75px;     /* headerのpaddingに合わせる */
    right: 70px;   /* headerのpaddingに合わせる */
  }

  /*
    TELが固定ボタンに被らないように
    右側にボタン分の余白を確保
  */
  .header__tel{
    margin-right: 80px; /* 44px(ボタン) + 余白 */
  }
}
@media screen and (max-width: 768px) {
	.hamburger {
		right: 15px;
	}
	.home .hamburger {
		top: 35px;
		right: 30px;
	}
	.header__tel {
		margin-right: 50px;
	}
}


/*--------------------------------------------------------------------------
フッター
--------------------------------------------------------------------------*/
footer {
	padding: 45px 0 100px;
}
footer .container {
	display: flex;
	justify-content: space-between;
	max-width: 1200px;
	width: calc(100% - 7.29vw);
	margin: auto;
}
.footer-left img {
	display: block;
	height: 40px;
}
.company-desc {
	font-size: 14px;
	padding-top: 20px;
}
.company-info {
	font-size: 14px;
	padding-top: 40px;
}
.footer-area {
	font-size: 12px;
	text-align: right;
}
.footer-area__list {
	display: flex;
	justify-content: flex-end;
}
.footer-area__list li:not(:last-child)::after {
	content: "/";
	margin: 0 4px;
}
.copyright {
	font-size: 12px;
	text-align: right;
	padding-top: 16px;
}
@media screen and (max-width: 768px) {
	footer {
		padding-bottom: 60px;
	}
	footer .container {
		flex-wrap: wrap;
		justify-content: center;
		gap: 30px;
	}
	.footer-left a {
		display: flex;
		width: fit-content;
		margin: auto;
	}
	.company-desc,
	.company-info {
		text-align: center;
	}
	.footer-area {
		font-size: 11px;
		text-align: center;
	}
	.footer-area__list {
		justify-content: center;
	}
	.copyright {
		font-size: 10px;
		text-align: center;
	}
}


/*--------------------------------------------------------------------------
汎用
--------------------------------------------------------------------------*/
section .container {
	width: calc(100% - 7.29vw);
	margin: auto;
}
@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;
	}
	#page-top a {
		width: 45px;
		height: 45px;
	}
}


/*------------------------------------
.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: flex-start;
	border-bottom: 1px solid #ccc;
	line-height: 1.6;
}
.table dl:not(:last-child) {
}
.table dt,
.table dd {
	text-align: justify;
	padding: 20px 0;
}
.table dt {
	flex: 0 0 160px;
	font-size: 18px;
	font-weight: 700;
}
.table dd {
	flex: 1 1 auto;
	position: relative;
	min-width: 0;
	padding-left: 25px;
}
.table dd::before {
	content: "";
	position: absolute;
	top: 8px;
	left: 0;
	bottom: 8px;
	border-left: 1px solid #ccc;
}
.table dd a {
	text-decoration: underline;
	color: #037d67;
}
.table dd a:hover {
	text-decoration: none;
}
.table p:not(:last-child) {
	margin-bottom: 16px;
}
@media screen and (max-width: 768px) {
	.table dt {
		flex: 0 0 100px;
		font-size: 15px;
	}
}


/*------------------------------------
.accordion
------------------------------------*/
.accordion li {
	background-color: #fff;
	text-align: justify;
}
.accordion li:not(:last-child) {
	margin-bottom: 16px;
}
.accordion .que {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	color: #037d67;
	padding: 17px 30px 17px 35px;
	cursor: pointer;
}
.accordion h3 {
	display: flex;
	align-items: baseline;
	font-size: 16px;
}
.accordion h3::before {
	content: "Q.";
	width: 35px;
	font-size: 23px;
}
.accordion .arrow {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-shrink: 0;
	border: 1px solid #037d67;
	border-radius: 50%;
	width: 24px;
	height: 24px;
}
.accordion .arrow:after {
	content: "";
	background-image: url("../images/faq-arrow.svg");
	background-size: cover;
	width: 6px;
	height: 8px;
	transform: rotate(90deg);
	transition: .3s cubic-bezier(.4,.4,0,1);
}
.accordion .que.active .arrow:after {
	transform: rotate(-90deg);
	transition: .3s cubic-bezier(.4,.4,0,1);
}
.accordion .ans {
	display: none;
	padding: 0  70px 40px;
}
@media screen and (max-width: 768px) {
	.accordion .que {
		padding: 16px 20px;
	}
	.accordion h3 {
		font-size: 15px;
	}
	.accordion h3::before {
		width: 25px;
		font-size: 18px;
	}
	.accordion .ans {
		padding: 0  45px 30px;
	}
}


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


/*------------------------------------
投稿一覧
------------------------------------*/
.archive section {
	padding: 80px 0 120px;
}
.archive .page main {
	background-color: #fff;
}
.archive section .container {
	max-width: 900px;
	width: calc(100% - 7.29vw);
	margin: auto;
}
.archive h1 {
	font-size: 27px;
	text-align: center;
	margin-bottom: 30px;
}
.news-list li {
	border-bottom: 1px solid #c4c2be;
}
.news-list a {
	display: block;
}
.news-list a:hover {
	background-color: #d6ebe4;
	opacity: 1;
}
.news-list dl {
	display: flex;
	align-items: center;
}
.news-list dt,
.news-list dd {
	padding: 16px;
}
.news-list dt {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex: 0 0 200px;
	font-size: 15px;
	letter-spacing: .05em;
	line-height: 1;
}
.category__name {
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: #037d67;
	border-radius: 5px;
	width: 64px;
	height: 28px;
	font-size: 12px;
	line-height: 1;
	color: #fff;
}
.news-list dd {
	line-height: 1.6;
}
@media screen and (max-width: 768px) {
	.archive section {
		padding: 50px 0 70px;
	}
	.archive h1 {
		font-size: 20px;
	}
	.news-list dl {
		align-items: flex-start;
	}
	.news-list dt,
	.news-list dd {
		padding: 16px 0;
	}
	.news-list dt {
		flex: 0 0 170px;
		padding-right: 16px;
	}
}

/*.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: #037d67;
	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: #037d67;
}
.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 .page main {
	background-color: #fff;
	padding-bottom: 120px;
}
@media screen and (max-width: 768px) {
	.single .page main {
		padding-bottom: 90px;
	}
}

/*.main-sec*/
.single .main-sec {
	padding-top: 80px;
}
.single .main-sec .container {
	display: flex;
	flex-direction: column;
	gap: 16px;
	border-bottom: 1px solid #ddd;
	padding-bottom: 40px;
}
.single .main-sec ul {
	display: flex;
	justify-content: flex-start;
	gap: 5px;
}
.single .main-sec ul a {
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: #037d67;
	height: 25px;
	font-size: 14px;
	line-height: 1;
	color: #fff;
	padding: 0 8px;
}
.single .main-sec h1 {
	font-size: 30px;
}
.single .main-sec time {
	letter-spacing: .05em;
}
@media screen and (max-width: 768px) {
	.single .main-sec {
		padding-top: 20px;
	}
	.single .main-sec .container {
		gap: 8px;
		padding-bottom: 16px;
	}
	.single .main-sec ul {
		gap: 3px;
		margin-bottom: 5px;
	}
	.single .main-sec ul a {
		height: 20px;
		font-size: 12px;
	}
	.single .main-sec h1 {
		font-size: 22px;
	}
}

/*.container*/
.single main > .container {
	max-width: 900px;
	width: calc(100% - 7.29vw);
	margin: 0 auto;
}
@media screen and (max-width: 768px) {}

/*.cms-block*/
.single .cms-block h2 {
	font-size: 30px;
	margin: 60px 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;
	}
}

/*.more-small*/
.single .more-small {
	margin-top: 100px;
}
.single .more-small a {
	display: flex;
	align-items: center;
	position: relative;
	background-color: #eff4f1;
	border-radius: 30px;
	max-width: 250px;
	width: 100%;
	height: 60px;
	font-weight: 700;
	margin: auto;
	padding-left: 35px;
}
.single .more-small a::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 22px;
	transform: translateY(-50%);
	background-image: url("../images/arrow.svg");
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	width: 15px;
	height: 15px;
	transition: .3s cubic-bezier(.4,.4,0,1);
}
.single .more-small a:hover::after {
	transform: translate(8px, -50%);
}
@media screen and (max-width: 768px) {
	.single .more-small {
		margin-top: 50px;
	}
}
