@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: 1000px;
  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;
	color: var(--primary)
}
.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;
}
/*見出し*/
.h2 {
  color: var(--text);
  font-size: 25px;
  margin: 0 auto;
  position: relative;
  text-align: center;
  font-weight: 700;
	color: var(--primary);
  display: flex;
  align-items: center; /* 縦方向中央揃え */
  gap: 8px; /* アイコンと文字の間の隙間 */
	justify-content: center;
}

.mds {
  display: inline-block;
	width:60px; 
	margin-left:-1em;
}

.mds img{
	width:100%;
}
@media screen and (min-width: 768px) {
  section {
    padding-top: 2em;
    padding-bottom: 2em;
  }

}
/*リンク*/
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: "M PLUS 1p", 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: 700px;
    margin: 1em auto;
  }
  .btn {
    display: block;
    width: 100%;
    margin: 0em auto 1em;
    max-width: 90%;
    font-size: 1.5em;
    padding: 1em 0.6em;
    border-radius: 70px;
    font-weight: bold;
    position: relative;
  }
}
/*遅延読み込み*/
.fade {
  opacity: 0; /* 初期状態は透明 */
  transform: translateY(20px); /* 少し下にずらしておく */
  transition: opacity 0.5s ease, transform 0.5s ease; /* アニメーション効果 */
}
.fade.visible {
  opacity: 1; /* 表示 */
  transform: translateY(0); /* 元の位置に戻す */
}

.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;
  }
}

/*フッター*/
#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: "M PLUS 1p", sans-serif;
  font-weight: 700;
  margin: 0.5em auto;
  font-size: 1.5em;
}
#footer h5 {
  font-family: "M PLUS 1p", 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;
}
