@charset "UTF-8";
html {
  font-size: clamp(12px, 9.888px + 0.56vw, 18px);
}

body {
  color: #03121b;
  font-family: "Yu Gothic", "游ゴシック", "YuGothic", "游ゴシック体", "Hiragino Sans", "ヒラギノ角ゴシック", sans-serif;
  line-height: 1;
  margin: 0;
}

*, :after, :before {
  box-sizing: border-box;
}

h2 {
  margin: 0;
}

p {
  margin: 0;
}

img {
  max-width: 100%;
}

.img:has(img) {
  line-height: 0;
}

ul {
  padding: 0;
  margin: 0;
}

dd {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
}

.grecaptcha-badge {
  visibility: hidden;
}

header {
  width: 100%;
  height: 5rem;
  padding: 0 1rem;
  background-color: #012032;
  display: flex;
  align-items: center;
  position: fixed;
  top: 0;
  z-index: 100;
}

.header_logo {
  height: 60%;
}
.header_logo a img {
  width: auto;
  height: 100%;
}

main {
  height: 100svh;
  min-height: 40rem;
  padding-top: 5rem;
  position: relative;
}

.FP_header {
  height: 100%;
  position: relative;
}
.FP_header h1 {
  position: absolute;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(0px 0px 99.9% 99.9%);
  overflow: hidden;
  height: 1px;
  width: 1px;
  padding: 0;
  border: 0;
}

.pattern_choice {
  position: absolute;
  left: 0;
  top: 2.5rem;
  z-index: 10;
}
.pattern_choice button.pattern_choice--button {
  color: #0a2031;
  font-size: 1rem;
  font-weight: bold;
  line-height: 1;
  padding: 1.2em 1em;
  background: #FAF39E;
  border: none;
  border-radius: 0 20px 20px 0;
  transform: translate(-100%, 0);
  transition: transform 0.5s;
  cursor: pointer;
}
.pattern_choice.show button.pattern_choice--button {
  transform: translate(0, 0);
  transition: transform 0.5s;
}
.pattern_choice ul.pattern_choice--tab {
  padding: 1rem;
  background: #fff;
  border: 2px solid #FAF39E;
  border-radius: 0 20px 20px 0;
  display: flex;
  gap: 0 1rem;
  position: absolute;
  transform: translate(-100%, 0);
  transition: all 0.5s;
}
.pattern_choice ul.pattern_choice--tab li.tab {
  width: 8rem;
  list-style: none;
  cursor: pointer;
}
.pattern_choice ul.pattern_choice--tab li.tab.tab_active {
  opacity: 0.3;
  pointer-events: none;
  cursor: auto;
}
.pattern_choice ul.pattern_choice--tab li.tab p {
  font-size: 1rem;
  font-weight: bold;
  margin-top: 1em;
}
.pattern_choice.open_menu ul.pattern_choice--tab {
  transform: translate(0, 0);
}

.FP_header--container {
  height: 100%;
  position: relative;
}

.FP_header--bg {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
}
.FP_header--bg img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.FP_header--box {
  opacity: 0;
  z-index: -1;
  position: absolute;
  transition: all;
}
.FP_header--box.firstview_show {
  position: relative;
  opacity: 1;
  z-index: 1;
}

.FP_header--box.template {
  text-align: center;
  width: 85%;
  padding: 3rem 0;
  background: rgba(255, 255, 255, 0);
  position: absolute;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  transition: background 0.7s 1.7s;
}
.FP_header--box.template.firstview_show {
  background: rgba(255, 255, 255, 0.8);
}
.FP_header--box.template::before, .FP_header--box.template::after {
  content: "";
  opacity: 0;
  position: absolute;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  transition: opacity 0.7s 1.7s;
  z-index: -1;
}
.FP_header--box.template::before {
  width: 100%;
  height: calc(100% + 2.5rem);
  border-right: 2px solid #0A2031;
  border-left: 2px solid #0A2031;
}
.FP_header--box.template::after {
  width: calc(100% + 2.5rem);
  height: 100%;
  border-top: 2px solid #0A2031;
  border-bottom: 2px solid #0A2031;
}
.FP_header--box.template.firstview_show::before, .FP_header--box.template.firstview_show::after {
  opacity: 1;
}
.FP_header--box.template p {
  font-size: 1.25rem;
  margin-bottom: 2.5em;
  font-family: "Kiwi Maru";
  font-weight: bold;
  line-height: 1.6;
  letter-spacing: 0.1em;
  opacity: 0;
  position: relative;
  translate: 0 20px;
  transition: opacity 0.7s 0.8s, translate 0.7s 0.8s;
}
.FP_header--box.template.firstview_show p {
  opacity: 1;
  translate: 0 0;
}
.FP_header--box.template .logo {
  width: 23rem;
  margin: 0 auto;
  opacity: 0;
  position: relative;
  translate: 0 20px;
  transition: opacity 0.7s 1.3s, translate 0.7s 1.3s;
}
.FP_header--box.template.firstview_show .logo {
  opacity: 1;
  translate: 0 0;
}

.FP_header--box.patternA {
  height: 100%;
}
.FP_header--box.patternA::before {
  content: "";
  width: 10rem;
  height: 100%;
  background: #4080B2;
  opacity: 0.6;
  position: absolute;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 3s 1s ease-out;
}
.FP_header--box.patternA.firstview_show::before {
  transform: scaleY(1);
}
.FP_header--box.patternA p {
  color: #0a2031;
  font-family: "Kiwi Maru";
  font-weight: bold;
  letter-spacing: 0.1em;
  width: -moz-max-content;
  width: max-content;
  margin: 0 auto;
  opacity: 0;
  position: absolute;
  left: 50%;
}
.FP_header--box.patternA p.top, .FP_header--box.patternA p.bottom {
  text-align: center;
  font-size: 1.5rem;
  line-height: 1.6;
  transform: translate(-50%, 0);
  transition: opacity 1.2s 3s ease-out;
}
.FP_header--box.patternA p.top {
  top: 8%;
}
.FP_header--box.patternA p.bottom {
  bottom: 8%;
}
.FP_header--box.patternA p.center {
  font-size: 2.6rem;
  line-height: 1.8;
  top: 50%;
  transform: translate(-50%, -50%);
  transition: opacity 1.2s 2s ease-out;
}
.FP_header--box.patternA.firstview_show p {
  opacity: 1;
}

.FP_header--box.patternB {
  text-align: center;
  width: 85%;
  padding: 3rem 0;
  background: rgba(255, 255, 255, 0);
  display: grid;
  gap: 2rem 0;
  position: absolute;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  transition: background 0.7s 2s;
}
.FP_header--box.patternB.firstview_show {
  background: rgba(255, 255, 255, 0.8);
}
.FP_header--box.patternB::before, .FP_header--box.patternB::after {
  content: "";
  opacity: 0;
  position: absolute;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  transition: opacity 0.7s 1.8s;
  z-index: -1;
}
.FP_header--box.patternB:has(p:nth-of-type(3))::before, .FP_header--box.patternB:has(p:nth-of-type(3))::after {
  transition: opacity 0.7s 2s;
}
.FP_header--box.patternB::before {
  width: 100%;
  height: calc(100% + 2.5rem);
  border-right: 2px solid #0A2031;
  border-left: 2px solid #0A2031;
}
.FP_header--box.patternB::after {
  width: calc(100% + 2.5rem);
  height: 100%;
  border-top: 2px solid #0A2031;
  border-bottom: 2px solid #0A2031;
}
.FP_header--box.patternB.firstview_show::before, .FP_header--box.patternB.firstview_show::after {
  opacity: 1;
}
.FP_header--box.patternB p {
  font-size: 1.25rem;
  font-family: "Kiwi Maru";
  font-weight: bold;
  line-height: 1.6;
  letter-spacing: 0.1em;
  opacity: 0;
  position: relative;
  translate: 0 20px;
}
.FP_header--box.patternB p:first-of-type {
  transition: opacity 0.7s 1s, translate 0.7s 1s;
}
.FP_header--box.patternB p:nth-of-type(2) {
  transition: opacity 0.7s 1.3s, translate 0.7s 1.3s;
}
.FP_header--box.patternB p:nth-of-type(3) {
  transition: opacity 0.7s 1.6s, translate 0.7s 1.6s;
}
.FP_header--box.patternB p.logo {
  font-size: 2.6rem;
  width: 23rem;
  margin: 0 auto;
}
.FP_header--box.patternB.firstview_show p {
  opacity: 1;
  translate: 0 0;
}

.FP_container {
  width: 90%;
  margin-inline: auto;
}
@media screen and (min-width: 768px) {
  .FP_container {
    max-width: 1200px;
  }
}

ul.FP_ul {
  display: grid;
  gap: 3rem 0;
}
@media screen and (min-width: 768px) {
  ul.FP_ul {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

li.FP_ul--li {
  list-style: none;
  position: relative;
}
li.FP_ul--li.type_a {
  border: 1px solid #d64839;
}
li.FP_ul--li.type_b {
  border: 1px solid #f5c023;
}
li.FP_ul--li.type_c {
  border: 1px solid #5bb3e1;
}
li.FP_ul--li.type_d {
  border: 1px solid #77ae31;
}

a.FP_ul_li--a {
  padding-bottom: 1.5rem;
  background-color: #fff;
  display: block;
  position: relative;
}
a.FP_ul_li--a:hover {
  opacity: 0.7;
}
a.FP_ul_li--a h2 {
  color: #fff;
  font-size: 1.5rem;
  padding: 0.7rem 0.8em;
  margin-bottom: 0.5em;
}
@media screen and (min-width: 768px) {
  a.FP_ul_li--a h2 {
    font-size: 1.2rem;
    margin-bottom: 1em;
  }
}
li.FP_ul--li.type_a a.FP_ul_li--a h2 {
  background-color: #d64839;
}
li.FP_ul--li.type_b a.FP_ul_li--a h2 {
  background-color: #f5c023;
}
li.FP_ul--li.type_c a.FP_ul_li--a h2 {
  background-color: #5bb3e1;
}
li.FP_ul--li.type_d a.FP_ul_li--a h2 {
  background-color: #77ae31;
}
a.FP_ul_li--a .img {
  width: 90%;
  margin: 0 auto 2rem;
  position: relative;
}
a.FP_ul_li--a .img::before {
  content: "";
  width: 100%;
  height: 100%;
  background-color: #03121b;
  opacity: 0.3;
  position: absolute;
  left: 0.7rem;
  top: 0.7rem;
}
a.FP_ul_li--a .img img {
  width: 100%;
  height: 18rem;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: top;
     object-position: top;
  position: relative;
}
a.FP_ul_li--a dl {
  width: 90%;
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
}
a.FP_ul_li--a dl dt {
  font-size: 1.2rem;
  font-weight: 600;
  width: 100%;
  padding-bottom: 0.5em;
  margin-bottom: 0.5em;
  border-bottom: 1px solid #03121b;
}
@media screen and (min-width: 768px) {
  a.FP_ul_li--a dl dt {
    font-size: 1rem;
  }
}
a.FP_ul_li--a dl dd {
  color: #fff;
  padding: 0.5em 0.7em;
  background-color: #03121b;
  border-radius: 0.5rem;
}
@media screen and (min-width: 768px) {
  a.FP_ul_li--a dl dd {
    font-size: 0.8rem;
  }
}

footer {
  text-align: center;
  padding: 1rem 0;
}
footer small {
  font-size: 1rem;
}
@media screen and (min-width: 768px) {
  footer small {
    font-size: 0.7rem;
  }
}