@charset "utf-8";
/* CSS Document */

/*==================================================
02: common
==================================================*/
:root {
  --height_header: 0px;
  --height_fix_footer: 0px;
  --section: 100px;

  --base_width: 1100px;
  --base_color: #323232;
  --base_bg: #fff;

  --c_main: #01375f;
  --c_sub: #eeeeee;
  --c_acc: palevioletred;

  --font_jp: "Noto Sans JP", sans-serif;
  --font_en: "Roboto Condensed", sans-serif;
  --icons: "Material Symbols Outlined";

  --transition: 0.3s;
}
@media (max-width: 520px) {
  :root {
    --section: 50px;
    --base_width: 100%;
  }
}

a[href=""] {
  pointer-events: all;
}

/*----------------------------------------
common
----------------------------------------*/
body {
  padding-top: var(--height_header);
}
@media (max-width: 520px) {
  body {
    padding-bottom: var(--height_fix_footer);
  }
}

.sec_margin {
  margin: var(--section) auto;
}
.sec_padding {
  padding: var(--section) 0;
}

/* figure,img */
img {
  object-fit: cover;
}
.of_cont img,
img.of_cont {
  object-fit: contain;
}

/* [class*="grid_"] 等分 */
[class*="grid_"] {
  --gap: 50px;
  display: grid;
  grid-template-columns: repeat(var(--grid), 1fr);
  gap: var(--gap);
}
.grid_2c {
  --grid: 2;
}
.grid_3c {
  --grid: 3;
}
.grid_4c {
  --grid: 4;
}
@media (max-width: 520px) {
  [class*="grid_"] {
    --gap: 30px;
    --grid: 1;
  }
  [class*="grid_"].sp_2c {
    --grid: 2;
  }
}

/* .box_2c 按分 */
.box_2c {
  --gap: 50px;
  --box: 30% 1fr;
  display: grid;
  grid-template-columns: var(--box);
  align-items: flex-start;
  gap: var(--gap);
}
@media (min-width: 521px) {
  .box_2c.reverse > *:first-child {
    order: 1;
  }
}
@media (max-width: 520px) {
  .box_2c {
    --gap: 30px;
    grid-template-columns: 1fr;
  }
}

/* .dist_ */
[class*="dist_"] {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--distance);
}
.dist_10 {
  --distance: 10px;
}
.dist_20 {
  --distance: var(--margin20);
}
.dist_30 {
  --distance: var(--margin30);
}
.dist_40 {
  --distance: var(--margin40);
}
.dist_50 {
  --distance: var(--margin50);
}
.dist_100 {
  --distance: var(--margin100);
}

/*----------------------------------------
font
----------------------------------------*/
body .fs32 {
  font-size: 3.2rem;
}
@media (max-width: 520px) {
  body .fs18 {
    font-size: 1.6rem;
  }
  body .fs20,
  body .fs22 {
    font-size: 1.8rem;
  }
  body .fs24,
  body .fs26 {
    font-size: 2rem;
  }
  body .fs28,
  body .fs30,
  body .fs32 {
    font-size: 2.2rem;
  }
  body .fs35 {
    font-size: 2.4rem;
  }
  body .fs40 {
    font-size: 2.6rem;
  }
  body .fs45 {
    font-size: 2.8rem;
  }
  body .fs50 {
    font-size: 3rem;
  }
}

/* color */
.fc_wht {
  color: #fff;
}
.fc_main {
  color: var(--c_main);
}

/*----------------------------------------
background
----------------------------------------*/
.bg_wht {
  background-color: #fff;
}
.bg_gry {
  padding: 110px 0 90px;
  background-color: var(--c_sub);
  clip-path: inset(0px round 180px 0 180px 0);
}
@media (max-width: 520px) {
  .bg_gry {
    padding: 60px 0 40px;
    clip-path: inset(0px round 90px 0 90px 0);
  }
}

/* .bg_img */
*:has(> .bg_img) {
  position: relative;
}
.bg_img {
  position: absolute;
  z-index: -1;
  inset: 0;
}

/*----------------------------------------
[class*="btn_"]
----------------------------------------*/
[class*="btn_"] {
  -webkit-appearance: none;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  min-width: 250px;
  width: fit-content;
  min-height: 50px;
  margin: 0px auto;
  padding: 10px;
  text-align: center;
  color: var(--btn_color);
  background-color: var(--btn_bg);
  border: 1px solid var(--btn_color);
  border-radius: 1000px;
}
[class*="btn_"]:hover {
  opacity: 1;
  color: var(--btn_bg);
  background-color: var(--btn_color);
  border: 1px solid var(--btn_bg);
}
[class*="btn_"] p {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
@media (max-width: 520px) {
  [class*="btn_"] {
    min-width: auto;
    width: 90%;
  }
  [class*="btn_"].ml0 {
    margin-left: auto;
  }
}

/* [class*="btn_"].L.R */
[class*="btn_"].L::before,
[class*="btn_"].R::after {
  content: "arrow_circle_right";
  font-family: var(--icons);
  font-variation-settings: "FILL" 1;
  font-size: 1.5em;
  line-height: 1;
}

/* [class*="btn_"] p */
[class*="btn_"] p::before,
[class*="btn_"] p::after {
  display: block;
  width: var(--size);
  height: auto;
  -webkit-mask: var(--mask);
  mask: var(--mask);
  background-color: currentColor;
}

/* .btn_A */
.btn_A {
  --btn_color: #fff;
  --btn_bg: var(--c_main);
}
.btn_B {
  --btn_color: var(--c_main);
  --btn_bg: #fff;
  min-width: auto;
  min-height: auto;
  padding: 5px 20px;
  font-size: 1.4rem;
  font-weight: 400;
  border-radius: 0px;
}

.micro > p {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-bottom: 5px;
  text-align: center;
}
.micro > p::before,
.micro > p::after {
  content: "";
  display: block;
  width: 1px;
  height: 1.5em;
  rotate: -30deg;
  background-color: var(--base_color);
}
.micro > p::after {
  rotate: 30deg;
}

/* .link_tel */
.link_tel p {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  font-family: var(--font_en);
}
.link_tel p::before {
  --size: 1em;
  --mask: url(../images/icon_tel.svg) center center / contain no-repeat;
  content: "";
  aspect-ratio: 18 / 18;
  display: block;
  width: var(--size);
  height: auto;
  -webkit-mask: var(--mask);
  mask: var(--mask);
  background-color: currentColor;
}
/* .link_mail */
.link_mail p {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  font-family: var(--font_en);
}
.link_mail p::before {
  --size: 1.1em;
  --mask: url(../images/icon_mail.svg) center center / contain no-repeat;
  content: "";
  aspect-ratio: 18 / 14;
  display: block;
  width: var(--size);
  height: auto;
  -webkit-mask: var(--mask);
  mask: var(--mask);
  background-color: currentColor;
}

/*----------------------------------------
.tit
----------------------------------------*/
/* .titA */
.titA {
  text-align: center;
}
.titA span.en {
  display: block;
  font-size: 2rem;
  font-family: var(--font_en);
  color: var(--c_main);
}
.titA span.jp {
  font-size: 3.8rem;
  font-weight: bold;
}
@media (max-width: 520px) {
  .titA span.jp {
    font-size: 3rem;
  }
}

/* .titB */
.titB span.en {
  display: block;
  font-size: 8rem;
  font-family: var(--font_en);
  line-height: 1;
  color: var(--c_main);
}
.titB span.jp {
  font-size: 1.8rem;
  font-weight: bold;
}
@media (max-width: 520px) {
  .titB span.en {
    font-size: 6rem;
  }
}

/*----------------------------------------
.richtext
----------------------------------------*/
.richtext {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  line-height: 2;
}
.richtext a:not([href^="tel"]) {
  text-decoration: underline;
  color: var(--c_main);
}
.richtext a:not([href^="tel"]):hover {
  text-decoration: none;
}
.richtext em {
  color: var(--c_main);
}

/*----------------------------------------
.splide
----------------------------------------*/
/* .splide__arrow */
.splide__arrow {
  background: var(--c_main);
}
.splide__arrow svg {
  fill: #fff;
}

/* .splide__pagination */
.splide__pagination {
  position: relative;
  left: auto;
  right: auto;
  bottom: auto;
  margin-top: 10px;
}
.splide__pagination__page {
  background: color-mix(in srgb, var(--c_main) 50%, #fff);
}
.splide__pagination__page.is-active {
  background: var(--c_main);
}

/* isNavigation: true, */
.splide__track--nav > .splide__list > .splide__slide,
.splide__track--nav > .splide__list > .splide__slide.is-active {
  border: none;
}

/* .overflow_splide */
.overflow_splide {
  overflow: hidden;
}
.overflow_splide .splide {
  width: min(90%, var(--base_width));
  margin-inline: auto;
}
.overflow_splide .splide__track {
  overflow: visible;
}
.overflow_splide .splide__arrow {
  position: relative;
  top: auto;
  transform: none;
}
.overflow_splide .splide__arrow--prev {
  left: auto;
}
.overflow_splide .splide__arrow--next {
  right: auto;
}
.overflow_splide .splide__arrows {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

/*----------------------------------------
.balloon
----------------------------------------*/
.balloon {
  --size: 20px;
  --bg_color: var(--c_main);
  position: relative;
  width: min(90%, 740px);
  margin: 0 auto;
  padding: 20px;
  font-size: 2.2rem;
  font-weight: bold;
  text-align: center;
  color: #fff;
  background-color: var(--bg_color);
  border-radius: 1000px;
}
.balloon::before {
  content: "";
  position: absolute;
  width: calc(var(--size) * 1.5);
  height: var(--size);
  background-color: var(--bg_color);
  clip-path: polygon(50% 0, 0 100%, 100% 100%);
}
/* 下 */
.balloon.B {
  margin-bottom: var(--size);
}
.balloon.B::before,
.balloon.B::after {
  top: 100%;
  left: 50%;
  translate: -50% -1px;
  rotate: 180deg;
}
@media (max-width: 520px) {
  .balloon {
    width: 100%;
    padding: 10px 20px;
    font-size: 1.8rem;
  }
}
