:root {
  --main-color: #003365;
  --sub-color: #41adcd;
  --point-color: #f86d10;
  --point2-color: #ffca4b;
  --text-color: #333333;
  --bg-color: #fbf8ea;
}

.zen-kaku {
  font-family: "Zen Kaku Gothic", sans-serif;
}
.noto-sans {
  font-family: "Noto Sans jp", sans-serif;
}
.noto-serif-jp {
  font-family: "Noto Serif JP", serif;
}
.zen-antique {
  font-family: "Zen Antique Soft", serif;
}

/* ====== reset ====== */
*,
*::after,
*::before {
  margin: 0;
  padding: 0;
  line-height: 1;
  border: 0;
  box-sizing: border-box;
  font-style: normal;
}
html {
  font-size: 10px;
  line-height: 1;
  scroll-padding-top: 80px;
  overflow-y: scroll;
  height: -webkit-fill-available;
  scroll-behavior: smooth;
}
body {
  font-family: "Noto Serif JP", "游明朝", "ヒラギノ明朝", "Noto Serif JP", "メイリオ", Meiryo, "ＭＳ Ｐ明朝", "MS PMincho", serif;
  font-weight: 500;
  font-size: 18px;
  color: #333333;
  line-height: 2;
  padding-top: 80px;
  overflow: hidden;
  position: relative;
  counter-reset: number 0;
}

/* デバイス別フォントサイズ調整 */
@media screen and (max-width: 1081px) {
  body {
    font-size: clamp(14px, calc(100vw / 60), 18px);
  }
}
@media screen and (max-width: 821px) {
  body {
    font-size: clamp(14px, calc(100vw / 54), 18px);
  }
}
@media screen and (max-width: 768px) {
  body {
    font-size: clamp(14px, calc(100vw / 36), 16px);
  }
}
@media screen and (max-width: 430px) {
  body {
    font-size: clamp(14px, calc(100vw / 28), 16px);
    padding-top: 70px;
  }
}
h1,
h2,
h3,
h4,
h5,
h6,
p {
  font-size: inherit;
  font-weight: inherit;
}
div,
dd,
dt,
ul,
li,
section {
  line-height: 1;
}
p {
  line-height: 1.8;
}
ul,
ol {
  list-style: none;
  line-height: 1.8;
}
dt {
  display: block;
}
a {
  color: var(--text-color);
  text-decoration: none;
}
a:active,
a:invalid,
a:hover {
  color: var(--text-color);
  text-decoration: none;
}
img,
video {
  width: 100%;
  min-width: 0;
}
button {
  background: inherit;
  font-size: inherit;
  cursor: pointer;
}
.flex > * {
  min-width: 0;
}

/* ====== 共通css ====== */
.txt-c {
  text-align: center;
}
.txt-l {
  text-align: left;
}
.txt-r {
  text-align: right;
}
.pc_block {
  display: block;
}
.br_pc {
  display: inline;
}

.sp_block,
.br_sp,
.br_tab {
  display: none;
}
.dis_line a[href^="geo:"],
.dis_line a[href^="tel:"],
.dis_line a[href^="mailto:"] {
  text-decoration: none !important;
  border-bottom: none !important;
}

@media screen and (max-width: 1081px) {
  .br_tab {
    display: inline;
  }
  .pc_block,
  .br_pc {
    display: none;
  }
  .sp_block {
    display: block;
  }
}
@media screen and (max-width: 768px) {
  .br_sp {
    display: inline;
  }
  .sp_block {
    display: block;
  }
  .pc_block,
  .br_tab,
  .br_pc {
    display: none;
  }
}

.cotns_box {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}
@media screen and (max-width: 1200px) {
  .cotns_box {
    width: 96%;
    margin: 0 auto;
  }
}
.cont_hr {
  position: relative;
}
.cont_hr::before {
  display: block;
  content: "";
  position: absolute;
  width: 100%;
  height: 50px;
  background: var(--main-color) url(../images/common/cont_hr.png) no-repeat center top -1px;
  background-size: contain;
  left: 0;
  top: 0;
  z-index: 1;
}
@media screen and (max-width: 789px) {
  .cont_hr::before {
    height: 6vw;
    background: var(--main-color) url(../images/common/cont_hr.png) no-repeat center top -1px;
    background-size: cover;
  }
}

/* 見出し */
.cntns_hl1 {
  /* margin-right: 30px; */
  padding: 5px 10px 10px 0;
  margin-bottom: 60px;
  font-size: 2em;
  font-weight: bold;
  color: #ffffff;
  overflow: hidden;
}
.cntns_hl1 span {
  display: block;
  width: fit-content;
  position: relative;
}
.cntns_hl1 span::before,
.cntns_hl1 span::after {
  content: "";
  display: block;
  height: 4px;
  width: 90vw;
  background: linear-gradient(50deg, #35b3ff 0%, #1b79c5 15%, #0058b6 75%);
  position: absolute;
  top: 10px;
  left: 110%;
  /* z-index: -1; */
}
.cntns_hl1 span::after {
  background: linear-gradient(50deg, #35b3ff 0%, #1b79c5 15%, #0058b6 75%);
  top: 20px;
}
.cntns_hl1 span::before,
.cntns_hl1 span::after {
  width: 0;
  transform-origin: left top;
  transform: scale(0, 1);
}
.cntns_hl1.is-active span::before,
.cntns_hl1.is-active span::after {
  width: 90vw;
  transition: all 0.7s ease;
  transform: scale(1, 1);
}
/* タブレット用のスタイル */
@media screen and (max-width: 1081px) {
  .cntns_hl1 {
    padding: 1vw 3vw;
    margin-bottom: 5vw;
  }
  .cntns_hl1 span::before,
  .cntns_hl1 span::after {
    top: 18px;
    height: 4px;
  }
  .cntns_hl1 span::after {
    top: 9px;
  }
}
.cntns_hl2 {
  font-size: 1.6em;
  font-weight: bold;
  padding: 0 0 10px 0;
  margin-bottom: 20px;
  border-bottom: 4px dotted var(--main-color);
  position: relative;
}
.cntns_hl3 {
  display: flex;
  align-items: center;
  width: fit-content;
  margin: 0 auto;
  font-family: "Zen Antique Soft", serif;
  font-size: clamp(2.4rem, 1.8em, 3.2rem);
  position: relative;
  color: var(--main-color);
}
.cntns_hl3::before,
.cntns_hl3::after {
  content: "";
  display: inline-block;
  height: 3px;
  width: 80px;
  margin: 5px 10px 0;
  background: var(--main-color);
  border-radius: 10px;
}

@media screen and (max-width: 1081px) {
  .cntns_hl2 {
    font-size: calc(80vw / 22);
  }
  .cntns_hl3 {
    width: fit-content;
    font-size: calc(80vw / 26);
  }
}
@media screen and (max-width: 768px) {
  .cntns_hl2 {
    font-size: clamp(2rem, 1.6em, 2.6rem);
  }
  .cntns_hl3 {
    width: fit-content;
    font-size: clamp(2rem, 1.4em, 2.6rem);
  }
  .cntns_hl3::before,
  .cntns_hl3::after {
    height: 2px;
    width: 30px;
  }
}

/* 共通ボタン */
.main_btn {
  width: fit-content;
  overflow: hidden;
  margin: 10px auto;
}
#index .main_btn {
  margin-top: 5%;
}
.main_btn a,
.main_btn button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 100px 10px 60px;
  width: 100%;
  min-height: 60px;
  background: #513832;
  color: #ffffff;
  text-align: center;
  position: relative;
  z-index: 0;
}
#contact .main_btn button {
  width: fit-content;
  width: 100%;
  min-height: 50px;
  overflow: hidden;
  font-size: 1em;
}
.main_btn a::before,
.main_btn button::before {
  content: "";
  display: block;
  border-top: 2px solid #ffffff;
  width: 50px;
  position: absolute;
  right: 30px;
  transition: all 0.3s ease 0s;
}
.main_btn a::after,
.main_btn button::after {
  content: "";
  display: block;
  background: var(--point-color);
  width: 600px;
  height: 600px;
  position: absolute;
  top: calc(50% - 350px);
  left: -680px;
  transform: rotate(45deg);
  transition: all 0.5s ease 0s;
  z-index: -1;
}
.main_btn button::after {
  background: var(--sub-color);
}
.main_btn a:hover,
.main_btn button:hover {
  font-weight: bold;
}
.main_btn a:hover::after,
.main_btn button:hover::after {
  left: 0;
  transition: all 0.5s ease 0s;
}
.main_btn a:hover::before,
.main_btn button:hover::before {
  transform: translateX(15px);
  transition: all 0.3s ease 0s;
}

/* タブレット用のスタイル */
@media screen and (max-width: 1081px) {
  .main_btn a,
  .main_btn button {
    padding: 2vw 10vw 2vw 7vw;
  }
  .main_btn a::before,
  .main_btn button::before {
    width: 4vw;
  }
}
/* スマートフォン用のスタイル */
@media screen and (max-width: 768px) {
  .main_btn a,
  .main_btn button {
    padding: 5vw 20vw 5vw 10vw;
    width: 100%;
    min-height: 40px;
  }
  .main_btn a::before,
  .main_btn button::before {
    width: 8vw;
    position: absolute;
    right: 20px;
    transition: all 0.3s ease 0s;
  }
}

/* ====== header ====== */
header {
  padding: 5px 0;
  width: 100%;
  height: 80px;
  background: #ffffff;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 998;
  box-shadow: 1px 0 6px #66666666;
}
header::after {
  content: "";
  width: 100%;
  border-bottom: 6px solid var(--main-color);
  position: absolute;
  bottom: 0;
}
header h1 {
  line-height: 0;
  max-width: 240px;
  width: 24%;
}
header h1 a {
  display: block;
}
header .main_menu {
  width: 94%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* header menu */
#menu_sp {
  display: none;
}
header#menu_pc nav ul {
  display: flex;
  align-items: end;
  padding-right: 170px;
  gap: 1vw;
}
header#menu_pc nav li {
  /* font-size: 18px; */
  font-size: clamp(16px, calc(100vw / 62), 18px);
  font-weight: 700;
  line-height: 1;
  transition: all 0.3s ease 0s;
}
header#menu_pc nav li a {
  display: flex;
  align-items: center;
}
header#menu_pc nav li a::before {
  content: "▶";
  display: inline-block;
  color: var(--main-color);
  font-size: 80%;
  margin-right: 2px;
}
header#menu_pc nav li img {
  width: auto;
  height: 1em;
  padding-right: 3px;
}
header#menu_pc nav li:hover a {
  color: var(--sub-color);
  transition: all 0.3s ease 0s;
}
header#menu_pc nav li.contact_btn {
  width: fit-content;
  height: 80px;
  overflow: hidden;
  position: absolute;
  top: 0;
  right: 0;
}
header#menu_pc nav li.contact_btn a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 0 15px;
  color: #ffffff;
  background: var(--main-color);
  text-align: center;
}
header#menu_pc nav li.contact_btn a::before {
  display: none;
}

@media screen and (max-width: 1081px) {
  header {
    padding: 1vw 0 2vw;
  }
  header h1 {
    line-height: 0;
    max-width: 180px;
    width: 30%;
  }
  header .main_menu {
    flex-wrap: wrap;
    height: 100%;
  }
  header#menu_pc nav {
    margin: 5px 0 0 auto;
  }
  header#menu_pc nav ul {
    gap: 2vw;
    padding-right: 17vw;
  }
  header#menu_pc nav ul li {
    font-size: 95%;
  }
  header#menu_pc nav li.contact_btn a {
    padding: 0 2vw;
  }
  header#menu_pc nav li:hover.contact_btn {
    height: 56px;
  }
}
@media screen and (max-width: 821px) {
  header#menu_pc nav ul {
    padding-right: 20vw;
  }
}

/* hamburger menu */
nav.main_menu_sp {
  display: block;
  position: fixed;
  top: 0;
  left: -240px;
  bottom: 0;
  width: 240px;
  background: #ffffff;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transition: all 0.5s;
  z-index: 100000;
  opacity: 0;
}
.open nav.main_menu_sp {
  left: 0;
  opacity: 1;
  transition: all 0.5s;
}
nav.main_menu_sp .inner {
  padding: 25px;
}
nav.main_menu_sp .inner ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
nav.main_menu_sp .inner ul li {
  position: relative;
  margin: 0;
  border-bottom: 1px solid #333;
}
nav.main_menu_sp .inner ul li.contact_btn {
  border: 0;
}
nav.main_menu_sp .inner ul li a {
  display: flex;
  color: var(--text-color);
  font-weight: bold;
  padding: 1em;
  text-decoration: none;
  transition-duration: 0.2s;
}
nav.main_menu_sp .inner ul li a img {
  width: auto;
  height: 1.2em;
  padding-right: 0.25em;
}
nav.main_menu_sp .inner ul li a:hover {
  background: #e4e4e4;
}
nav.main_menu_sp .inner ul li.main_menu_sp_sns a {
  width: 80px;
}
nav.main_menu_sp .inner ul li.main_menu_sp_img {
  margin: 10% auto;
  width: 70%;
  border-bottom: none;
}
.toggle_btn {
  display: block;
  position: fixed;
  top: 15px;
  left: 20px;
  width: 30px;
  height: 30px;
  transition: all 0.5s;
  cursor: pointer;
  z-index: 100000;
}
.open .toggle_btn {
  left: 250px;
}
.toggle_btn span {
  display: block;
  position: absolute;
  right: 0;
  width: 30px;
  height: 2px;
  background-color: var(--main-color);
  border-radius: 4px;
  transition: all 0.5s;
}
.toggle_btn span:nth-child(1) {
  top: 4px;
}
.toggle_btn span:nth-child(2) {
  top: 14px;
}
.toggle_btn span:nth-child(3) {
  bottom: 4px;
}
.open .toggle_btn span {
  background-color: #fff;
}
.open .toggle_btn {
  -webkit-transform: rotate(180deg);
  transform: rotate(180deg);
}
.open .toggle_btn span:nth-child(1),
.open .toggle_btn span:nth-child(3) {
  width: 16px;
}
.open .toggle_btn span:nth-child(1) {
  top: 5px;
  -webkit-transform: translate(-1px, 4px) rotate(-45deg);
  transform: translate(-1px, 4px) rotate(-45deg);
}
.open .toggle_btn span:nth-child(2) {
  display: none;
}
.open .toggle_btn span:nth-child(3) {
  bottom: 4px;
  -webkit-transform: translate(-1px, -4px) rotate(45deg);
  transform: translate(-1px, -4px) rotate(45deg);
}
#mask {
  display: none;
  transition: all 0.5s;
}
.open #mask {
  display: block;
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: #000;
  opacity: 0.8;
  z-index: 99999;
  cursor: pointer;
}
/* スマートフォン用のスタイル */
@media screen and (max-width: 768px) {
  header .main_menu {
    width: 96%;
    display: block;
  }
  header::after {
    border-bottom-width: 2px;
    bottom: 8px;
  }
  header h1 {
    width: 60vw;
    max-width: 200px;
    margin: auto;
  }
  #menu_pc {
    display: none;
  }
  #menu_sp {
    display: block;
    height: 9vh;
    padding: 1svh 0 2svh;
    min-height: 60px;
  }
}
@media screen and (max-width: 431px) {
  header h1 {
    width: 46vw;
    max-width: 180px;
  }
  .toggle_btn {
    top: 3vw;
    left: 5vw;
    width: 30px;
    height: 30px;
  }
}

/* ====== footer ====== */
footer {
  width: 100%;
  padding: 10px 0 20px;
  background: var(--main-color);
  background-image: linear-gradient(350deg, #1b79c5, #003365 90%);
  color: #ffffff;
  position: relative;
  z-index: 99;
}
footer h1 {
  background: #ffffff;
  margin: auto;
  max-width: 280px;
}
footer .foot_menu {
  width: 100%;
  margin: 0 auto;
  padding: 40px 0 10px;
  display: flex;
  justify-content: center;
  border-top: 3px dashed #ffffff;
}
footer .foot_menu .foot_adrs {
  width: 90%;
}
footer .foot_menu .foot_adrs address dl {
  display: flex;
  flex-wrap: wrap;
  width: 96%;
  max-width: 460px;
  margin: 10px auto 20px;
}
footer .foot_menu .foot_adrs address dl dt {
  width: 25%;
}
footer .foot_menu .foot_adrs address dl dd {
  width: 75%;
  margin-bottom: 10px;
  line-height: 1.2;
}
footer .foot_menu .foot_adrs address .foot_contct {
  width: fit-content;
  margin: auto;
  background: #ffffff;
  margin: 20px auto;
  padding: 10px;
  border-radius: 10px;
}
footer .foot_menu .foot_adrs address .foot_contct .foot_insta {
  display: flex;
  align-items: center;
  gap: 1em;
  font-weight: bold;
}
footer .foot_menu .foot_adrs address .foot_insta img {
  display: inline-block;
  width: 100%;
  max-width: 30px;
}

footer .foot_sitemap ul {
  width: fit-content;
  margin: auto;
  padding: 20px 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}
footer .foot_sitemap .footer_icon {
  padding-left: 1.2em;
  font-size: 18px;
  font-weight: bolder;
  text-align: left;
  position: relative;
}
footer .foot_sitemap .footer_icon a {
  display: block;
  color: #ffffff;
}
footer .foot_sitemap .footer_icon:hover a {
  display: block;
  color: #ffffff;
}
footer .foot_sitemap .footer_icon::before {
  content: " ";
  width: 1em;
  height: 1em;
  display: inline-block;
  background: url(../images/common/footer_icon.png) no-repeat center;
  background-size: contain;
  position: absolute;
  top: calc(50% - 0.4em);
  left: 0;
}
.copyright {
  padding: 5px 0 20px;
  text-align: center;
  font-size: 16px;
}
@media screen and (max-width: 1081px) {
  footer .foot_sitemap ul {
    width: 100%;
    margin: auto;
    padding: 15px 0;
    gap: 10px;
  }
  footer .foot_btn .main_btn a {
    font-size: calc(50vw / 24);
  }
}
@media screen and (max-width: 768px) {
  footer {
    padding: 6vw 0 3vw;
  }
  footer h1 {
    width: 52vw;
  }
  footer .foot_menu {
    display: block;
    padding: 3vw 0;
  }
  footer .foot_menu .foot_adrs {
    width: 100%;
    font-size: calc(100vw / 30);
  }
  footer .foot_menu .foot_adrs address dl dt {
    width: 22%;
  }
  footer .foot_menu .foot_adrs address dl dd {
    width: 77%;
    margin-bottom: 10px;
  }

  footer .foot_menu .foot_adrs address .foot_insta img {
    max-width: 8vw;
  }
  footer .foot_sitemap ul {
    justify-content: space-evenly;
    padding: 5vw 2vw;
    gap: 4vw;
    margin: 4vw auto 10vw;
  }
  footer .foot_sitemap .footer_icon {
    font-size: calc(100vw / 26);
    padding-left: 4vw;
  }
  footer .foot_sitemap .footer_icon::before {
    content: " ";
    width: 4vw;
    height: 4vw;
    top: calc(50% - 2vw);
    left: -2%;
  }
  footer .foot_btn .main_btn {
    max-width: 480px;
    width: 100%;
    margin-bottom: 10px;
    overflow: hidden;
  }
  footer .foot_btn .main_btn a {
    font-size: calc(100vw / 26);
    padding: 6vw 11vw 6vw 3vw;
  }
  .copyright {
    font-size: calc(100vw / 32);
  }
}
.tel {
  display: flex;
}

/* トップへ戻るボタン */
#page_top {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--sub-color);
  width: 60px;
  height: 60px;
  position: fixed;
  bottom: 40px;
  right: 20px;
  font-size: 70%;
  text-align: center;
  color: #fff;
  line-height: 1.2;
  cursor: pointer;
  z-index: 990;
  border-radius: 10px;
}
@media screen and (max-width: 1081px) {
  #page_top {
    font-size: 80%;
  }
}
@media screen and (max-width: 768px) {
  #page_top {
    width: 16vw;
    height: 16vw;
    max-width: 80px;
    max-height: 80px;
    position: fixed;
    bottom: 10vw;
    right: 5vw;
    font-size: 90%;
  }
}
/* svgの設定 */
/* メールアイコン */
svg {
  width: 100%;
  height: auto;
}
.mail_icon {
  display: inline-block;
  width: 20px;
  height: 17px;
  margin: 0 5px;
}
.mailicon_w {
  fill: #ffffff;
}
.mailicon_m {
  fill: var(--main-color);
}
