@charset "utf-8";

/*-------------------------------------------
  common
-------------------------------------------*/
* {
  box-sizing: border-box;
}
html {
  font-size: 62.5%;
}
body {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 62.5%;
  line-height: 1.6;
  color: #1f65b7;
}
body.fixed {
  overflow: hidden;
  position: fixed;
  width: 100%;
}
.wrapper {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}
.inner {
  width: 100%;
  max-width: 940px;
  margin: 0 auto;
  padding: 0 20px;
}
img {
  max-width: 100%;
  vertical-align: bottom;
}
li {
  list-style-type: none;
}
a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s;
}
a:hover {
  opacity: 0.7;
}
main {
  margin-top: 100px;
}
section {
  padding: clamp(40px, calc(100vw * 100 / 1200), 100px) 0;
}
.section-title {
  font-family: "Kosugi Maru", sans-serif;
  font-size: 6rem;
  font-size: clamp(2.6rem, calc(100vw * 48 / 1200), 4.8rem);
  color: #1f65b7;
  padding: 0 20px;
  position: relative;
  z-index: 1;
  text-align: center;
  margin: 0 auto;
}
.section-title::before,
.section-title::after {
  content: "";
  width: 30%;
  height: 1px;
  background-color: #1f65b7;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
.section-title::before {
  left: 0;
}
.section-title::after {
  right: 0;
}
.sp-block {
  display: none;
}
.title-sp {
  display: none;
}
/*-------------------------------------------
  header
-------------------------------------------*/
.header {
  background-color: #fef77b;
  height: 100px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  display: flex;
  align-items: center;
}
.header_logo {
  line-height: 0;
  width: clamp(150px, calc(100vw * 200/ 1200), 200px);
}
.header .wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  max-width: 1440px;
}
.header_nav {
  font-size: 2rem;
  font-size: clamp(1.2rem, calc(100vw * 20 / 1200), 2rem);
  font-weight: 600;
  margin-top: auto;
  display: flex;
  justify-content: flex-end;
  gap: 20px;
  flex-grow: 1;
}
.header_nav-lists {
  display: flex;
  align-items: flex-end;
  gap: 63px;
}
.header_contact {
  margin-left: 2%;
}
.header_contact a {
  box-sizing: content-box;
  color: #fff;
  font-size: clamp(1.6rem, calc(100vw * 24 / 1200), 2.4rem);
  font-weight: 900;
  width: clamp(140px, calc(100vw * 220 / 1200), 220px);
  height: clamp(50px, calc(100vw * 60 / 1200), 60px);
  display: block;
  background-color: #1f65b7;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  border: 2px solid #1f65b7;
  box-shadow: 0 0 0 4px #fff, 0 0 0 6px #1e64b6;
}
.header_contact a:hover {
  color: #1f65b7;
  background-color: #fff;
  opacity: 1;
}
.hamburger {
  width: 40px;
  height: 26px;
  cursor: pointer;
  position: fixed;
  top: 17px;
  right: 17px;
  transition: 0.5s;
  z-index: 20;
  display: none;
}
.hamburger span {
  width: 100%;
  height: 2px;
  background-color: #4297cd;
  border-radius: 4px;
  display: block;
  position: absolute;
  transition: 0.5s;
}
.hamburger span:nth-child(1) {
  top: 0;
}
.hamburger span:nth-child(2) {
  top: 12px;
}
.hamburger span:nth-child(3) {
  bottom: 0;
}
/*-------------------------------------------
  footer
-------------------------------------------*/
.footer {
  padding: 18px 0;
  height: 100px;
  background-color: #1f65b7;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: clamp(0.9rem, calc(100vw * 14 / 1200), 1.4rem);
  font-weight: 700;
}
.footer a {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.to-top {
  position: fixed;
  right: 25px;
  bottom: 25px;
  width: 64px;
  height: 64px;
  background-color: #fff;
  border: solid 1px #1f65b7;
  display: flex;
  align-items: center;
  justify-content: center;
}
.to-top::after {
  content: "";
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid #1f65b7;
  position: absolute;
}
/*-------------------------------------------
  下層ページ
-------------------------------------------*/
.mainvisual-sub {
  position: relative;
}
.mainvisual-sub img {
  width: 100%;
  object-fit: cover;
}
.mainvisual-sub_title {
  white-space: nowrap;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(2.8rem, calc(100vw * 48 / 1200), 4.8rem);
  text-shadow: 2px 2px 20px #fff, -2px 2px 20px #fff, 2px -2px 20px #fff,
    -2px -2px 20px #fff;
}
