@charset "utf-8";
/* CSS Document */
/*共通*/
.article{
	font-size:15px;
}
.padding-md {
  padding: calc(var(--space) * 1.8);
}
/*背景*/
.bg_primary {
  background: var(--primary);
}.bg_primary-dark {
  background: var(--primary-dark);
}.bg_accent {
  background: var(--accent);
}
.bg_white {
  background: #FFF;
}.bg_note {
  background: var(--note);
}
.bg_gray {
  background: var(--gray);
}
.bg_lightgray {
  background: var(--lightgray);
}
.bg_title {
  background: var(--title);
}
.bg_base {
  background: var(--base);
}
.bg_sub {
  background: var(--sub-light)!important;
}


/*テキスト*/
.txt_primary {
  color: var(--primary);
}
.txt_primary-dark {
  color: var(--primary-dark);
}
.txt_primary-darker {
  color: var(--primary-darker);
}
.txt_accent {
  color: var(--accent);
}
.txt_text {
  color: var(--text);
}
.txt_white {
  color: #FFF !important;
}
.txt_accent {
  color: var(--accent);
}
.txt_sub{
	color: var(--sub);
}
.txt_base{
	color: var(--base);
}
.txt_center {
  text-align: center;
}
.txt_right {
  text-align: right;
}.txt_left {
  text-align: left;
}
.txt_600{
  font-weight: 600;}

.txt_800{
  font-weight: 800;}
/*枠*/
.border-dark{
	border: 1px solid var(--primary-dark)
}
/*レイアウト*/
section {
  padding-top: 1em;
  padding-bottom: 1em;
  margin: 0em auto 0em;
  width: 100%;
  position: relative;
}
section:first-child {
  margin-top: 0 !important;
  padding-bottom: 0 !important;
}
section:last-child {
  margin-bottom: 0 !important;
}
.container {
  width: 100%;
}
.inner {
  position: relative;
  width: 100%;
  padding: calc(var(--space) * 1.8);
  max-width: 1400px;
  margin: 2em auto;
}
.note {
  margin: 2em auto;
  padding: 1.5rem;
  border-radius: 15px;
  font-size: 0.9em;
  font-weight: 400;
}
.note ul {
  margin: .5rem auto
}
.note li {
  margin-left: 1rem;
  font-size: 0.9em;
}

.caution{
	border: var(--sub) 1px solid;
	background: rgba(255,235,236,0.5);
	padding: 0.8em;
	color:var(--sub);
	font-size:0.9em;
	border-radius:5px;
	line-height: 1.4;
	margin: 1.2em auto 2em;
	font-weight: 600;
}

.btn_area {
	width: 100%;
	text-align: center;
	margin: 0.5em auto;
}
.flex {
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
  -moz-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  -o-flex-wrap: wrap;
  flex-wrap: wrap;
}
/*見出し*/
.zen-maru-gothic-medium {
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 500;
  font-style: normal;
}

.zen-maru-gothic-bold {
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.zen-maru-gothic-black {
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 900;
  font-style: normal;
}
.h2 {
  color: var(--text);
  font-size: 30px;
  margin: 0 auto;
  display: block;
  font-weight: bold;
  position: relative;
  text-align: center;
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 700;
}
.h3 {
  color: var(--text);
  font-size: 1.5em;
  margin: 0 auto 2em;
  display: block;
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 700;
  position: relative;
  text-align: center;
}
	.h3::after{
		content: "";
		display: block;
		background:var(--primary-light);
		height:5px;
		text-align: left;
		width:100%;
		position: absolute;
	}
.h2_sub {
	color: var(--text);
	font-size: 24px;
	margin: 0 auto 1em;
	display: block;
	font-weight: bold;
	position: relative;
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 700;
	text-align: center;
}
.h2_sub2 {
  color: var(--text);
  font-size: 20px;
  margin: 0 auto;
  display: block;
  position: relative;
  text-align: center;
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 700;
}
.h3_sub {
	font-size: 18px;
	margin: 0 auto 0.7em;
	font-family: "Zen Maru Gothic", sans-serif;
	font-weight: 700;
	display: block;
	font-weight: bold;
	position: relative;
	text-align: center;
}
.mds{
	display: inline-block;
	width:100%;
	margin:1em auto;
	background: url(./top_frame.svg) no-repeat center center;
background-size:300px;
	font-weight: 700;
	fons-size:0.8em;
	color:var(--primary-dark);
}
@media screen and (min-width: 768px) {
  section {
    padding-top: 2em;
    padding-bottom: 2em;
  }
  .h2 {
    font-size: 45px;
  }.h2_sub {
    font-size: 40px;
  }.h3 {
  color: var(--text);
  font-size: 2.5em;
  margin: 0 auto 2em;
  display: block;
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 700;
  position: relative;
  text-align: center;
}
	.h3::after{
		content: "";
		display: block;
		background:var(--primary-light);
		height:10px;
		text-align: left;
		width:100%;
		position: absolute;
	}
}
/*リンク*/
a {
  transition: color 0.3s
}
a:link {
  color: var(--accent)
}
a:visited {
  color: var(--accent-dark)
}
a:hover {
  color: var(--accent-light);
}
li a {
  text-decoration: none !important;
}
span a {
  display: inline-block;
  padding: .5rem 1rem;
  width: 100%
}

/*ボタン*/
.btn {
	display: block;
	width: 100%;
	text-align: center;
	margin: 0.5em auto;
	padding: 0.7em 0.5em 0.8em 0em;
	font-weight: bold;
	position: relative;
	border-radius: 60px;
}
a.btn {
  text-decoration: none;
}
.btn_main {
  background: var(--primary);
  color: #FFF !important;
  transition: background-color ease 0.2s, color ease 0.2s;
  position: relative;
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 700;
	font-size:1.5em;
	border:3px solid var(--primary-dark);
	text-shadow: 2px 2px 0px rgba(0,0,0,0.3);
	box-shadow: 3px 3px 5px rgba(100,90,90,0.3);
}
.btn_main::after {
  content: "";
  width: 25px;
  height: 25px;
  background: url("./link_icon.png") no-repeat;
  background-size: 100%;
  position: absolute;
  right: 20px;
  bottom: 50%;
  margin-bottom: -13px;
}
.btn_main:hover {
	border:3px solid var(--primary-light);
  background: var(--primary-dark);
  transition: background-color ease 0.2s, color ease 0.2s;
}
.btn_sub {
  color: #FFF !important;
  background: var(--accent);
  position: relative;
  padding: 0.5em 1em;
  font-size: 14px;
  border-radius: 30px;
	text-decoration: none;
	font-weight: 700;
}
.btn_sub2{
	color:var(--accent);
	border:1px solid var(--accent);
	padding:0.3em 0.5em;
	display: inline-block;
	border-radius:5px;
	text-decoration: none;
	font-size:0.8em;
	font-weight: 700;
	margin:5px 0;
}
  .btn_area {
    margin:1em auto;
  }
@media screen and (min-width: 768px) {
	
.article{
	font-size:17px;
}
  .btn_area {
    max-width: 1100px;
    margin: 2em auto;
  }
.btn {
	display: block;
	width: 100%;
	margin: 0em auto 1em;
	max-width:90%;
	font-size:2.2em;
	padding: 1em 0.6em;
  border-radius: 70px;
	font-weight: bold;
	position: relative;
}
}
/*遅延読み込み*/
.fade {
  opacity: 0; /* 初期状態は透明 */
  transform: translateY(50px); /* 少し下にずらしておく */
  transition: opacity 0.5s ease, transform 0.5s ease; /* アニメーション効果 */
}
.fade.visible {
  opacity: 1; /* 表示 */
  transform: translateY(0); /* 元の位置に戻す */
}
/*ヘッダー*/
header {
  position: fixed;
  height: 80px;
  width: 100%;
  margin: 0 auto;
  background: var(--base);
  z-index: 88;
  display: flex
}
header h1 {
  padding: 10px;
  width: 100px;
}
header h2 {
  margin-top: 10px;
  padding: 10px;
  height: 35px;
}
header h2 img {
  height: 100%;
}

header a:link, #header a:visited {
  color: var(--title)
}
header a:hover {
  color: var(--primary)
}
.pc {
  display: none
}
@media screen and (min-width: 768px) {
  .pc {
    display: flex !important;
    justify-content: center;
  }
  .pc ul {
    position: absolute;
    right: 10px;
    height: 80px;
  }
  header .pc li {
    font-size: 1.3vw;
    font-weight: 600;
    padding: 0 0.8em;
  }
  .header {
    display: none;
  }
  header h1 {
    padding: 10px;
    width: 120px;
  }
  header h2 {
    margin-top: 0px;
    padding: 0px;
    height: 80px;
    width: 20vw;
    max-width: 280px;
  }
}
/*ヘッダーナビ*/
/* overlay-styles.css */

.hamburger-overlay {
  position: fixed;
  top: 15px;
  right: 15px;
  z-index: 1000;
  width: 48px;
  height: 48px;
  border: none;
  background: transparent;
  cursor: pointer;
}
.hamburger-overlay__line {
  position: absolute;
  left: 11px;
  width: 26px;
  height: 2px;
  background-color: #221C19;
  transition: all .6s;
}
.hamburger-overlay__line:nth-of-type(1) {
  top: 14px;
  background: #221C19;
}
.hamburger-overlay__line:nth-of-type(2) {
  top: 23px;
  background: #D30000;
}
.hamburger-overlay__line:nth-of-type(3) {
  top: 32px;
  background: #FFC400;
}
.hamburger-overlay.active .hamburger-overlay__line {
  background-color: #fff;
}
.hamburger-overlay.active .hamburger-overlay__line:nth-of-type(1) {
  transform: translateY(9px) rotate(-45deg);
}
.hamburger-overlay.active .hamburger-overlay__line:nth-of-type(2) {
  opacity: 0;
}
.hamburger-overlay.active .hamburger-overlay__line:nth-of-type(3) {
  transform: translateY(-9px) rotate(45deg);
}
.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(34, 28, 25, 0.9);
  visibility: hidden;
  opacity: 0;
  transition: all .6s;
  z-index: 900;
}
.nav-overlay.active {
  visibility: visible;
  opacity: 1;
}
.nav-overlay__content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  text-align: center;
}
.nav-overlay__list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-overlay__item {
  opacity: 0;
  transform: translateY(20px);
  transition: all .6s;
}
.nav-overlay.active .nav-overlay__item {
  opacity: 1;
  transform: translateY(0);
}
.nav-overlay.active .nav-overlay__item:nth-child(1) {
  transition-delay: 0.1s;
}
.nav-overlay.active .nav-overlay__item:nth-child(2) {
  transition-delay: 0.15s;
}
.nav-overlay.active .nav-overlay__item:nth-child(3) {
  transition-delay: 0.2s;
}
.nav-overlay.active .nav-overlay__item:nth-child(4) {
  transition-delay: 0.25s;
}
.nav-overlay.active .nav-overlay__item:nth-child(5) {
  transition-delay: 0.3s;
}
.nav-overlay.active .nav-overlay__item:nth-child(6) {
  transition-delay: 0.35s;
}
.nav-overlay.active .nav-overlay__item:nth-child(7) {
  transition-delay: 0.4s;
}
.nav-overlay.active .nav-overlay__item:nth-child(8) {
  transition-delay: 0.45s;
}
.nav-overlay__link {
  display: inline-block;
  padding: 15px;
  color: #fff !important;
  font-size: 20px;
  text-decoration: none;
  transition: color .3s;
}
.nav-overlay__link:hover {
  color: var(--primary) !important;
}
/*フッター*/
#footer, #footer p {
  text-align: center;
}
#footer {
}

.footer_logo {
  width: 150px;
  margin: -20px auto 0;
}
.footer_nav {
  background: var(--primary-dark);
  padding: 0.2em 0.5em;
  margin-bottom: 2em;
}
.footer_nav li {
  font-size: 0.85em;
  padding: 7px;
  font-weight: 500;
}
.btn_contact {
  background: var(--accent);
  padding: 1em 0.5em;
}
#footer h4 {
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 700;
  margin: 0.5em auto;
  font-size: 1.5em;
}
#footer h5 {
	font-family: "Zen Maru Gothic", sans-serif;
	font-weight: 600;
	margin: 0.8em auto -0.8em;
	font-size: 1.2em;
	color: var(--primary-dark);
}
#footer p {
  padding: 0.5em;
}
#footer .contact p {
  display: block;
  padding: 0.5em;
  max-width: 300px;
  font-size: 0.8em;
  margin: 1em auto;
}
#footer p small {
  font-size: 0.6em;
}
#footer .btn_contact::before {
	content: "";
	width: 15px;
	height: 15px;
	background: url(./icon_mail.svg) no-repeat;
	background-size: 100%;
	position: absolute;
	top: 24px;
	left: 70px;
}
.tyuui {
  display: inline-block;
  border: 1px dotted var(--base);
  padding: 0.2em;
  font-size: 0.7em;
  text-align: left !important;
  margin: 5px 40px;
  font-weight: 400;
}

/*下層ページ タイトル*/

#page_title{
	width: 100%;
}
.page_title_wrap{
	padding-top:30px;
}
.page_title_wrap h2,
.page_title_wrap h3{
	color: #FFF;
}
.page_title_wrap h3{
	line-height: 0;
}