@charset "UTF-8";

/* -------------------------------------------------------
name : base.css
version : 2.0
viewport : sp -599,tb 600-1024 pc 1024-
--------------------------------------------------------- */

/* var
---------------------------------------------------------------- */
:root {
  /* theme color */
  --cl-base: #f2f9f9;
  --cl-main: #1685a7;
  --cl-main-02: #00a3bc;
  --cl-accent: #75c0c3;

  /* basic color */
  --black: #1E1E1E;
  --white: #fff;
  --red: #d9534f;
  --blue-link: #1a73e8; /* リンク色 */
  --d-gray: #A8A8A8;
  --gray: #CDCDCD;
  --l-gray: #ebebeb;

  /*
** font-size
** 1025以上 : 固定値
** 1024以下 : 最大値()
** 599以下 : clamp(最小値,,最大値)
*/
  --fs-ttl-top: 6em;
  --fs-ttl-ll: 3.2rem;
  --fs-ttl-l: 2.8rem; /* 見出しh1サイズ */
  --fs-ttl-m: 2.4rem; /* 見出しh2サイズ */
  --fs-ttl-s: 2.2rem; /* 見出しh3,h4サイズ */
  --fs-ttl-xs: 2rem; /* 見出しh5サイズ */
  --fs-lead: 1.8rem; /* リード文サイズ */
  --fs-default: 1.6rem; /* 本文サイズ */
  --fs-notes: 1.4rem; /* 注釈サイズ */

  /* border-radius */
  --btn-br: 6px; /* ボタン */
  --box-br: 6px; /* ボックス,ブロック */

  /* box-shadow */
  --shadow: 0px 3px 15px rgba(0, 0, 0, 0.2);

  /* gap */
  --gap-xs: 0.5em;
  --gap-s: 1em;
  --gap-m: 1.5em;
  --gap-l: 2em;
  --gap-ll: 2.5em;

  /* padding */
  --wrap-pd: min(6em, 15%);
  --wrap-pd-s: min(3em, 8%);
  --header-side-pd: min(2em, 3%);
  --box-pd: 1.5em 1em;

  /* layout */
  --contents-max-width: 1200px;
  --contents-inner-width: 1000px;
  --header-height: 84px;
  --hamburger-width: 60px;
  --hamburger-side-width: 10px;

  /* space */
  --space-xs: 5px;
  --space-ss: 10px;
  --space-sm: 15px;
  --space-sl: 20px;
  --space-ms: 30px;
  --space-mm: 40px;
  --space-ml: 50px;
  --space-ls: 60px;
  --space-lm: 70px;
  --space-ll: 80px;
  --space-xl: 100px;
}

@media only screen and (max-width: 1024px) {
  :root {
    --header-height: 80px;

    --fs-ttl-top: 4em;
    --fs-ttl-ll: max(2.6rem, 3.12vw);
    --fs-ttl-l: max(2.4rem, 2.73vw); /* 見出しh1サイズ */
    --fs-ttl-m: max(2rem, 2.54vw); /* 見出しh2サイズ */
    --fs-ttl-s: max(1.8rem, 2.15vw); /* 見出しh3,h4サイズ */
    --fs-ttl-xs: max(1.8rem, 1.95vw); /* 見出しh5サイズ */
    --fs-lead: max(1.8rem, 1.76vw); /* リード文サイズ */
    --fs-default: max(1.6rem, 1.56vw); /* 本文サイズ */
    --fs-notes: max(1.4rem, 1.37vw); /* 注釈サイズ */
  }
}

@media only screen and (max-width: 599px) {
  :root {
    --fs-ttl-top: 3em;
    --fs-ttl-ll: clamp(2.2rem, 6.8vw, 2.6rem);
    --fs-ttl-l: clamp(2rem, 6.3vw, 2.4rem); /* 見出しh1サイズ */
    --fs-ttl-m: clamp(1.8rem, 5.3vw, 2rem); /* 見出しh2サイズ */
    --fs-ttl-s: clamp(1.8rem, 4.7vw, 1.8rem); /* 見出しh3,h4サイズ */
    --fs-ttl-xs: clamp(1.6rem, 4.7vw, 1.8rem); /* 見出しh5サイズ */
    --fs-lead: clamp(1.6rem, 4.7vw, 1.8rem); /* リード文サイズ */
    --fs-default: clamp(1.4rem, 4.2vw, 1.6rem); /* 本文サイズ */
    --fs-notes: clamp(1.2rem, 3.7vw, 1.4rem); /* 注釈サイズ */

    /* margin-top */
    --space-xs: 1.13122%;
    --space-ss: 2.26244%;
    --space-sm: 3.39367%;
    --space-sl: 4.52489%;
    --space-ms: 6.78733%;
    --space-mm: 9.04977%;
    --space-ml: 11.31222%;
    --space-ls: 13.57466%;
    --space-lm: 15.8371%;
    --space-ll: 18.09955%;
    --space-xl: 22.62443%;
  }
}

/* default settings
---------------------------------------------------------------- */
/* html{
  scroll-padding-top: var(--header-height);
} */
body {
  background: var(--white);
  color: var(--black);
  letter-spacing: 0.08em;
  font-feature-settings: 'palt';
  word-wrap: break-word;
  width: 100%;
  overflow-x: hidden;
}
h1 {
  font-size: var(--fs-ttl-l);
  line-height: 1.5;
}
h2 {
  font-size: var(--fs-ttl-m);
  line-height: 1.5;
}
h3,
h4 {
  font-size: var(--fs-ttl-s);
  line-height: 1.5;
}
h5 {
  font-size: var(--fs-ttl-xs);
}
p {
  font-size: var(--fs-default);
  line-height: 1.9;
}
a {
  color: var(--blue-link);
  text-decoration: none;
}
a,
a img {
  transition: all 0.3s;
}
a:hover {
  opacity: 0.6;
  transition: 0.3s ease-in-out;
}
:focus-visible {
  outline: var(--cl-main) 2px solid;
}
button {
  background-color: transparent;
  padding: 0;
  appearance: none;
}
[type='button'] {
  text-align: center;
}
input[type='text'],
input[type='number'],
input[type='tel'],
input[type='email'],
input[type='url'],
input[type='password'],
input[type='search'],
input[type='date'],
textarea {
  display: inline-block;
  font-size: 1.6rem;
  padding: 0.5em 0.8em;
  border: var(--gray) 1px solid;
  border-radius: 8px;
  width: 100%;
}
select {
  display: inline-block;
  font-size: 1.6rem;
  padding: 0.5em 0.8em;
  background: var(--white);
  border: var(--gray) 1px solid;
  border-radius: 8px;
  width: 100%;
}
/* バー */
input[type='range'] {
  outline: none;
  height: 5px;
  width: 100%;
  background: var(--d-gray);
  border-radius: 8px;
}
/* つまみ */
input[type='range']::-webkit-slider-thumb {
  -webkit-appearance: none;
  background: var(--d-gray);
  width: 1.5em;
  height: 1.5em;
  border-radius: 50%;
  box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.15);
}
input[type='range']::-moz-range-thumb {
  background: var(--d-gray);
  width: 1.5em;
  height: 1.5em;
  border-radius: 50%;
  box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.15);
  border: none;
}
/* Firefoxで点線が周りに表示されてしまう問題の解消 */
input[type='range']::-moz-focus-outer {
  border: 0;
}
/* つまみをドラッグしているときのスタイル */
input[type='range']:active::-webkit-slider-thumb {
  box-shadow: 0px 5px 10px -2px rgba(0, 0, 0, 0.3);
}
input[type='color'] {
  border: var(--gray) 1px solid;
  border-radius: 3px;
  padding: 3px;
}
input[type='submit'],
input[type='reset'] {
  border: var(--gray) 1px solid;
  border-radius: 8px;
  padding: 0.5em 0.8em;
  width: 100%;
  text-align: center;
}

/* font-size
---------------------------------------------------------------- */
.fs-ttl-ll {
  font-size: var(--fs-ttl-ll);
}
.fs-ttl-l {
  font-size: var(--fs-ttl-l);
}
.fs-ttl-m {
  font-size: var(--fs-ttl-m);
}
.fs-ttl-s {
  font-size: var(--fs-ttl-s);
}
.fs-ttl-xs {
  font-size: var(--fs-ttl-xs);
}
.fs-lead {
  font-size: var(--fs-lead);
}
.fs-default {
  font-size: var(--fs-default);
}
.fs-notes {
  font-size: var(--fs-notes);
}

/* color
---------------------------------------------------------------- */
/* background (theme) */
.bg-base {
  background: var(--cl-base);
}
.bg-main {
  background: var(--cl-main);
}
.bg-accent {
  background: var(--cl-accent);
}
/* background (basic) */
.bg-black {
  background: var(--black);
}
.bg-white {
  background: var(--white);
}
.bg-gray {
  background: var(--gray);
}

/* text(theme) */
.cl-base {
  color: var(--cl-base);
}
.cl-main {
  color: var(--cl-main);
}
.cl-accent {
  color: var(--cl-accent);
}
/* text(basic) */
.cl-white {
  color: var(--white);
}
.cl-red {
  color: var(--red);
}

/* PC,SP表示
---------------------------------------------------------------- */
@media only screen and (max-width: 1024px) {
  .d-pc {
    display: none !important;
  }
}
@media only screen and (min-width: 1025px) {
  .d-tb {
    display: none !important;
  }
}
@media only screen and (max-width: 599px), (min-width: 1025px) {
  .d-tb-only {
    display: none !important;
  }
}
@media only screen and (max-width: 599px) {
  .d-pc-tb {
    display: none !important;
  }
}
@media only screen and (min-width: 600px) {
  .d-sp {
    display: none !important;
  }
}

/* font-weight
---------------------------------------------------------------- */
.font-bold {
  font-weight: bold !important;
}
.font-normal {
  font-weight: normal !important;
}

/* line-height
---------------------------------------------------------------- */
.lh-16 {
  line-height: 1.6;
}
.lh-20 {
  line-height: 2;
}

/* text-align
---------------------------------------------------------------- */
.text-left {
  text-align: left;
}
.text-center {
  text-align: center;
}
.text-right {
  text-align: right;
}

.text-l-c {
  text-align: left;
}
.text-c-l {
  text-align: center;
}
.text-r-l {
  text-align: right;
}

@media only screen and (max-width: 599px) {
  .text-c-l,
  .text-r-l {
    text-align: left;
  }
  .text-l-c {
    text-align: center;
  }
}

/* width・height
---------------------------------------------------------------- */
.w-100 {
  width: 100%;
}
.mw-90 {
  max-width: 90%;
}
.mw-80 {
  max-width: 80%;
}
.mw-70 {
  max-width: 70%;
}

.mw-btn-ss {
  max-width: 150px;
}
.mw-btn-s {
  max-width: 250px;
}
.mw-btn-m {
  max-width: 350px;
}
.mw-btn-l {
  max-width: 450px;
}

.h-100 {
  height: 100%;
}

.wh-100 {
  width: 100%;
  height: 100%;
}

/* padding
---------------------------------------------------------------- */
.pd-tb {
  padding-top: var(--wrap-pd);
  padding-bottom: var(--wrap-pd);
}
.pd-tp {
  padding-top: var(--wrap-pd);
}
.pd-bt {
  padding-bottom: var(--wrap-pd);
}
.pd-tb-s {
  padding-top: var(--wrap-pd-s);
  padding-bottom: var(--wrap-pd-s);
}
.pd-tp-s {
  padding-top: var(--wrap-pd-s);
}
.pd-bt-s {
  padding-bottom: var(--wrap-pd-s);
}

/* margin-auto
---------------------------------------------------------------- */
.mlr-auto {
  margin-left: auto;
  margin-right: auto;
}
.ml-auto {
  margin-left: auto;
}
.mr-auto {
  margin-right: auto;
}

/* margin-top
---------------------------------------------------------------- */
.mt-xs {
  margin-top: var(--space-xs);
}
.mt-ss {
  margin-top: var(--space-ss);
}
.mt-sm {
  margin-top: var(--space-sm);
}
.mt-sl {
  margin-top: var(--space-sl);
}
.mt-ms {
  margin-top: var(--space-ms);
}
.mt-mm {
  margin-top: var(--space-mm);
}
.mt-ml {
  margin-top: var(--space-ml);
}
.mt-ls {
  margin-top: var(--space-ls);
}
.mt-lm {
  margin-top: var(--space-lm);
}
.mt-ll {
  margin-top: var(--space-ll);
}
.mt-xl {
  margin-top: var(--space-xl);
}

/* display
---------------------------------------------------------------- */
.d-i {
  display: inline;
}
.d-ib {
  display: inline-block;
}
.d-b {
  display: block;
}
.d-none {
  display: none !important;
}

/* block
---------------------------------------------------------------- */
.d-block-pc {
  display: block;
}

@media only screen and (max-width: 768px) {
  .d-block-sp {
    display: block;
  }
  .d-block-pc {
    display: inline-block;
  }
}

/* style
---------------------------------------------------------------- */
.u-line {
  text-decoration: underline;
}
/* hover */
.hov-op1:hover {
  opacity: 1;
}

/* layout
---------------------------------------------------------------- */
/* 標準 */
.b-wrapper {
  margin-left: auto;
  margin-right: auto;
  max-width: calc(var(--contents-max-width) + 6%);
  padding-right: 3%;
  padding-left: 3%;
  width: 100%;
}
/* 読みもの */
.b-wrapper-reading {
  margin-left: auto;
  margin-right: auto;
  max-width: calc(1000px + 6%);
  padding-right: 3%;
  padding-left: 3%;
  width: 100%;
}
.b-contents {
  max-width: var(--contents-inner-width);
  margin-left: auto;
  margin-right: auto;
}

.l-article-wrap {
  display: grid;
  grid-template-columns: 1fr 2.3fr;
  gap: 2em;
}

/* 子要素を親要素からはみ出させて画面いっぱいにする(はみださせる親要素のさらに親要素に overflow:hidden;を設定すること) */
.break-wrapper {
  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);
}

@media only screen and (max-width: 1024px) {
  .b-wrapper,
  .b-wrapper-reading {
    width: 100%;
  }
  .b-contents {
    max-width: 100%;
  }
}
@media only screen and (max-width: 768px){
  .l-primary {
    width: 100%;
  }
  .l-secondary {
    width: 100%;
    margin-left: 0;
    margin-top: var(--wrap-pd);
  }
  .l-article-wrap {
    display: flex;
    flex-direction: column-reverse;
  }
}

/* flexbox
---------------------------------------------------------------- */
.flex-basic {
  display: flex;
  flex-direction: row;
  align-items: stretch;
}
.flex-row-reverse {
  display: flex;
  flex-direction: row-reverse;
}
.flex-nowrap {
  display: flex;
  flex-wrap: nowrap;
}
.flex-wrap {
  display: flex;
  flex-wrap: wrap;
}
.flex-between {
  display: flex;
  justify-content: space-between;
}
.flex-around {
  display: flex;
  justify-content: space-around;
}
.flex-flexend {
  display: flex;
  justify-content: flex-end;
}
.flex-column {
  display: flex;
  flex-direction: column;
}

.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}
.flex-h-center {
  display: flex;
  justify-content: center;
}
.flex-v-center {
  display: flex;
  align-items: center;
}

/* gap
---------------------------------------------------------------- */
.gap-xs {
  gap: var(--gap-xs);
}
.gap-s {
  gap: var(--gap-s);
}
.gap-m {
  gap: var(--gap-m);
}
.gap-l {
  gap: var(--gap-l);
}
.gap-ll {
  gap: var(--gap-ll);
}

/* column
---------------------------------------------------------------- */
:root {
  /* gap */
  --row-gap: 2em;
  --col-gap: 1.5em;
}
.col-2-1,
.col-2-2,
.col-3-1,
.col-3-2,
.col-3-2-1,
.col-4-1,
.col-4-2,
.col-4-2-1,
.col-4-3-2,
.col-5-2,
.col-5-3,
.col-5-3-2,
.col-7to3,
.col-3to7,
.col-65to35,
.col-35to65,
.col-6to4,
.col-4to6,
.col-55to45,
.col-45to55 {
  width: 100%;
  height: auto;
}

/* flex-column
---------------------------------------------------------------- */
.flex-col {
  display: flex;
  flex-wrap: wrap;
  row-gap: var(--row-gap);
  column-gap: var(--col-gap);
}

:where(.flex-col.col-2-1, .flex-col.col-2-2) > .col-item {
  --col-num: 2;
  width: calc(calc(100% / var(--col-num)) - calc(var(--col-gap) / calc(var(--col-num) / calc(var(--col-num) - 1))));
}
:where(.flex-col.col-3-1, .flex-col.col-3-2, .flex-col.col-3-2-1) > .col-item {
  --col-num: 3;
  width: calc(calc(100% / var(--col-num)) - calc(var(--col-gap) / calc(var(--col-num) / calc(var(--col-num) - 1))));
}
:where(.flex-col.col-4-1, .flex-col.col-4-2, .flex-col.col-4-2-1, .flex-col.col-4-3-2) > .col-item {
  --col-num: 4;
  width: calc(calc(100% / var(--col-num)) - calc(var(--col-gap) / calc(var(--col-num) / calc(var(--col-num) - 1))));
}
:where(.flex-col.col-5-2, .flex-col.col-5-3, .flex-col.col-5-3-2) > .col-item {
  --col-num: 5;
  width: calc(calc(100% / var(--col-num)) - calc(var(--col-gap) / calc(var(--col-num) / calc(var(--col-num) - 1))));
}

@media only screen and (max-width: 1024px) {
  :where(.flex-col.col-3-2-1, .flex-col.col-4-2-1) > .col-item {
    --col-num: 2;
    width: calc(calc(100% / var(--col-num)) - calc(var(--col-gap) / calc(var(--col-num) / calc(var(--col-num) - 1))));
  }
  :where(.flex-col.col-4-3-2, .flex-col.col-5-3-2) > .col-item {
    --col-num: 3;
    width: calc(calc(100% / var(--col-num)) - calc(var(--col-gap) / calc(var(--col-num) / calc(var(--col-num) - 1))));
  }
}

@media only screen and (max-width: 599px) {
  :where(.flex-col.col-2-1, .flex-col.col-3-1, .flex-col.col-3-2-1, .flex-col.col-4-1, .flex-col.col-4-2-1, .flex-col.col-5-1) > .col-item {
    --col-num: 1;
    width: 100%;
  }
  :where(.flex-col.col-2-2, .flex-col.col-3-2, .flex-col.col-4-2, .flex-col.col-4-3-2, .flex-col.col-5-3-2) > .col-item {
    --col-num: 2;
    width: calc(calc(100% / var(--col-num)) - calc(var(--col-gap) / calc(var(--col-num) / calc(var(--col-num) - 1))));
  }
}

/* grid-column
---------------------------------------------------------------- */
.grid-col {
  display: grid;
  row-gap: var(--row-gap);
  column-gap: var(--col-gap);
}
.grid-col.col-2-1,
.grid-col.col-2-2 {
  grid-template-columns: repeat(2, 1fr);
}
.grid-col.col-3-1,
.grid-col.col-3-2,
.grid-col.col-3-2-1 {
  grid-template-columns: repeat(3, 1fr);
}
.grid-col.col-4-1,
.grid-col.col-4-2,
.grid-col.col-4-2-1,
.grid-col.col-4-3-2 {
  grid-template-columns: repeat(4, 1fr);
}
.grid-col.col-5-2,
.grid-col.col-5-3 {
  grid-template-columns: repeat(5, 1fr);
}

.grid-col.col-7to3 {
  grid-template-columns: 2.3fr 1fr;
}
.grid-col.col-3to7 {
  grid-template-columns: 1fr 2.3fr;
}
.grid-col.col-65to35 {
  grid-template-columns: 1.8fr 1fr;
}
.grid-col.col-35to65 {
  grid-template-columns: 1fr 1.8fr;
}
.grid-col.col-6to4 {
  grid-template-columns: 1.5fr 1fr;
}
.grid-col.col-4to6 {
  grid-template-columns: 1fr 1.5fr;
}
.grid-col.col-55to45 {
  grid-template-columns: 1.2fr 1fr;
}
.grid-col.col-45to55 {
  grid-template-columns: 1fr 1.2fr;
}

/* gapなし */
.grid-gap-none {
  gap: 0;
}
.grid-gap-row-none {
  row-gap: 0;
}
.grid-gap-clm-none {
  column-gap: 0;
}
/* 左右逆 */
.grid-clm-reverse {
  direction: rtl;
}
.grid-clm-reverse .col-item {
  direction: ltr;
}
/* 中央 */
.grid-center {
  place-items: center;
} /* 縦横 */
.grid-h-center {
  justify-items: center;
} /* 横 */
.grid-v-center {
  align-items: center;
} /* 縦 */

@media only screen and (max-width: 1024px) {
  .grid-col.col-3-2-1,
  .grid-col.col-4-2-1 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-col.col-4-3-2 {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media only screen and (max-width: 599px) {
  .grid-col.col-2-1,
  .grid-col.col-3-1,
  .grid-col.col-4-1,
  .grid-col.col-4-2-1,
  .grid-col.col-3-2-1,
  .grid-col.col-7to3,
  .grid-col.col-3to7,
  .grid-col.col-6to4,
  .grid-col.col-4to6,
  .grid-col.col-35to65,
  .grid-col.col-65to35,
  .grid-col.col-55to45,
  .grid-col.col-45to55 {
    display: block;
  }
  .grid-col.col-2-1 > .col-item + .col-item,
  .grid-col.col-3-1 > .col-item + .col-item,
  .grid-col.col-4-1 > .col-item + .col-item,
  .grid-col.col-4-2-1 > .col-item + .col-item,
  .grid-col.col-3-2-1 > .col-item + .col-item,
  .grid-col.col-7to3 > .col-item + .col-item,
  .grid-col.col-3to7 > .col-item + .col-item,
  .grid-col.col-6to4 > .col-item + .col-item,
  .grid-col.col-4to6 > .col-item + .col-item,
  .grid-col.col-35to65 > .col-item + .col-item,
  .grid-col.col-65to35 > .col-item + .col-item,
  .grid-col.col-55to45 > .col-item + .col-item,
  .grid-col.col-45to55 > .col-item + .col-item {
    margin-top: 20px;
  }
  .grid-col.col-3-2,
  .grid-col.col-4-2,
  .grid-col.col-5-2,
  .grid-col.col-4-3-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-col.col-5-3,
  .grid-col.col-6-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* form style
---------------------------------------------------------------- */
/* セレクトボックス ---------- */
.select-styled {
  position: relative;
  width: 100%;
}
.select-styled::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 0.5em;
  transform: translateY(-50%);
  border-style: solid;
  border-width: 0.6em 0.6em 0 0.6em;
  border-color: var(--gray) transparent transparent transparent;
}
/* ラジオボタン ---------- */
.radio-styled {
  position: relative;
}
.radio-styled + .radio-styled {
  margin: 0.5em 0 0;
}
.radio-styled input[type='radio'] {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  width: 1.5em;
  height: 1.5em;
}
.radio-styled label {
  display: inline-block;
  white-space: nowrap;
  cursor: pointer;
}
.radio-styled label span {
  padding-left: 2em;
}
.radio-styled label:hover {
  opacity: 0.6;
  transition: 0.3s ease-in-out;
}
.radio-styled label span::before {
  content: '';
  background: var(--white);
  border-radius: 100%;
  border: 1px solid var(--gray);
  display: inline-block;
  width: 1.5em;
  height: 1.5em;
  position: absolute;
  top: 0;
  left: 0;
  margin-right: 0.3em;
  vertical-align: top;
  text-align: center;
  transition: all 250ms ease;
}
.radio-styled input[type='radio']:checked + span,
.radio-styled input[type='radio']:checked + label span {
  color: var(--cl-main);
}
.radio-styled input[type='radio']:checked + span::before,
.radio-styled input[type='radio']:checked + label span::before {
  background-color: var(--cl-main);
  box-shadow: inset 0 0 0 4px var(--white);
  border-color: var(--cl-main);
}
.radio-styled input[type='radio']:disabled + span::before,
.radio-styled input[type='radio']:disabled + label span::before {
  box-shadow: inset 0 0 0 4px var(--white);
  border-color: var(--gray);
  background: var(--gray);
}
.radio-styled input[type='radio'] + span:empty::before,
.radio-styled input[type='radio'] + label span:empty::before {
  margin-right: 0;
}
.radio-styled input[type='radio']:focus-visible + span,
.radio-styled input[type='radio']:focus-visible + label span {
  border-color: var(--cl-main);
  border-width: 2px;
}

/* チェックボックス ---------- */
.checkbox-styled {
  position: relative;
}
.checkbox-styled + .checkbox-styled {
  margin: 0.5em 0 0;
}
.checkbox-styled input[type='checkbox'] {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  width: 1.5em;
  height: 1.5em;
}
.checkbox-styled label {
  display: inline-block;
  cursor: pointer;
  white-space: nowrap;
}
.checkbox-styled label:hover {
  opacity: 0.6;
  transition: 0.3s ease-in-out;
}
.checkbox-styled label span {
  position: absolute;
  top: 0;
  left: 0;
  padding-left: 2em;
  display: inline-block;
}
.checkbox-styled label span:before {
  content: '';
  display: block;
  width: 1.5em;
  height: 1.5em;
  border: 1px solid var(--gray);
  background: var(--white);
  position: absolute;
  left: 0;
  top: 0;
  -webkit-transition: all 0.12s, border-color 0.08s;
  transition: all 0.12s, border-color 0.08s;
}
.checkbox-styled input[type='checkbox']:checked + span,
.checkbox-styled input[type='checkbox']:checked + label span {
  color: var(--cl-main);
}
.checkbox-styled label input[type='checkbox']:checked + span::before,
.checkbox-styled input[type='checkbox']:checked + label span::before {
  width: 0.8em;
  top: -5px;
  left: 5px;
  border-radius: 0;
  opacity: 1;
  border: 1px solid var(--cl-main);
  background: transparent;
  border-top-color: transparent;
  border-left-color: transparent;
  transform: rotate(45deg);
}
.checkbox-styled input[type='checkbox']:focus-visible + span,
.checkbox-styled input[type='checkbox']:focus-visible + label span {
  border-color: var(--cl-main);
  border-width: 2px;
}

/* ファイル選択 ---------- */
.file-styled {
  display: flex;
  align-items: center;
  gap: 0.5em;
}
.file-styled button {
  padding: 0.5em 0.8em;
  background: var(--white);
  border: var(--gray) 1px solid;
  border-radius: 8px;
  transition: 0.3s all;
}
.file-styled button:hover {
  color: var(--white);
  background: var(--black);
}
.file-styled input {
  display: none;
}

/* 同意チェックボックス */
.privacy-check-box-area {
  padding: 1em 2em;
  background: var(--cl-base);
}
.checkbox-01 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.checkbox-01 label {
  display: flex;
  flex-wrap: wrap;
  cursor: pointer;
  position: relative;
  margin: 0.3em 0.3em 0.3em 0.6em;
}
.checkbox-01 label span {
  display: flex;
}
.checkbox-01 label span:before {
  content: '';
  display: block;
  position: relative;
  background-color: var(--white);
  width: 25px;
  min-width: 25px;
  height: 25px;
  transform-origin: center;
  border: 1px solid var(--gray);
  transition: background-color 150ms 200ms, transform 350ms cubic-bezier(0.78, -1.22, 0.17, 1.89);
  margin: 0 0.5em 0 0;
}
.checkbox-01 label span:after {
  content: '';
  width: 0px;
  height: 0px;
  border-top: 1px solid var(--white);
  border-right: 1px solid var(--white);
  position: absolute;
  transform: rotate(135deg);
  top: 0.5em;
  left: 1.3em;
  transition: 0.3s all;
  transform-origin: 0% 0%;
}
.checkbox-01 label:hover span:after {
  width: 14px;
  height: 10px;
  border-top: 2px solid var(--l-gray);
  border-right: 2px solid var(--l-gray);
}
.checkbox-01 input[type='checkbox'] {
  display: none;
}
.checkbox-01 input[type='checkbox']:checked + label {
  color: var(--cl-main);
}
.checkbox-01 input[type='checkbox']:checked + label span:before {
  transform: scale(1.25);
  border: 2px solid var(--cl-main);
  transition: background-color 150ms 200ms, transform 350ms cubic-bezier(0.78, -1.22, 0.17, 1.89);
}
.checkbox-01 input[type='checkbox']:checked + label span:after {
  width: 14px;
  height: 10px;
  border-top: 2px solid var(--cl-main);
  border-right: 2px solid var(--cl-main);
  transition: background-color 150ms 200ms, transform 350ms cubic-bezier(0.78, -1.22, 0.17, 1.89);
}
.checkbox-01 input[type='checkbox']:checked + label:hover span:before {
  transform: scale(1.25);
  transition: background-color 150ms 200ms, transform 350ms cubic-bezier(0.78, -1.22, 0.17, 1.89);
}
.checkbox-01 input[type='checkbox']:checked + label:hover span:after {
  width: 14px;
  transition: background-color 150ms 200ms, transform 350ms cubic-bezier(0.78, -1.22, 0.17, 1.89);
}
@media only screen and (max-width: 1024px) {
  .checkbox-01 label:hover span:after {
    border-top: 1px solid var(--white);
    border-right: 1px solid var(--white);
  }
}
@media only screen and (max-width: 599px) {
  .privacy-check-box-area {
    padding: 1em;
  }
}

/* フォーム確認・送信ボタン */
.btn-form-submit,
.btn-form-back {
  position: relative;
  width: 100%;
}
.btn-form-submit input {
  font-size: var(--fs-default);
  font-weight: bold;
  background: var(--cl-accent);
  color: var(--white);
  text-decoration: none !important;
  width: 100%;
  height: 100%;
  padding: 0.8em 0;
  border: none;
  border-radius: var(--btn-br);
  cursor: pointer;
  transition: all 0.3s;
  -webkit-appearance: none;
}
.btn-form-submit::after {
  content: '';
  position: absolute;
  color: var(--white);
  border-top: 2px solid var(--white);
  border-right: 2px solid var(--white);
  width: 0.6em;
  height: 0.6em;
  top: 0;
  bottom: 0;
  right: 20px;
  margin: auto;
  transition: 0.3s;
  transform: rotate(45deg);
}
.btn-form-submit:hover::after {
  right: 15px;
}
.btn-form-submit input:disabled {
  background: var(--gray);
}

/* 確認画面へ戻るボタン */
.btn-form-back input {
  font-size: 1.6rem;
  font-weight: bold;
  background: var(--d-gray);
  color: var(--white);
  text-decoration: none !important;
  width: 100%;
  height: 100%;
  padding: 0.8em 0;
  border: none;
  border-radius: var(--btn-br);
  cursor: pointer;
  transition: all 0.3s;
  -webkit-appearance: none;
}
.btn-form-back::before {
  content: '';
  position: absolute;
  color: var(--white);
  border-top: 2px solid var(--white);
  border-right: 2px solid var(--white);
  width: 0.6em;
  height: 0.6em;
  top: 0;
  bottom: 0;
  left: 20px;
  margin: auto;
  transition: 0.3s;
  transform: rotate(-135deg);
}
.btn-form-back:hover::before {
  left: 15px;
}

.form-container {
  border: var(--gray) 2px solid;
  padding: 2em;
  margin-left: auto;
  margin-right: auto;
}
.form-container dl {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  padding: 1.5em 0;
}
.form-container dl + dl {
  border-top: var(--gray) 1px solid;
}
.form-container dl dt {
  position: relative;
  width: 30%;
  font-weight: bold;
}
.form-container dl dd {
  width: 70%;
  padding-left: 1em;
}
/* 郵便番号 */
.form-container input[name='postal'] {
  width: 60%;
}
.form-container input[name='postal'] + a {
  display: inline-block;
  padding: 0.5em 1em;
  border: 1px solid var(--cl-main);
  border-radius: 3px;
  background: var(--cl-main);
  font-size: 16px;
  line-height: normal;
  color: var(--white);
  text-decoration: none;
  margin-left: 0.5em;
  cursor: pointer;
}

/* -- span.required, span.optional --*/
.form-container dl dt i {
  position: absolute;
  top: 0;
  right: 0.5em;
}
.form-container dl dt span.required,
.form-container dl dt span.optional {
  display: inline-block;
  font-size: 85%;
  color: var(--white);
  padding: 0.2em 0.8em;
  border-radius: 3px;
  font-style: normal;
}
.form-container dl dt span.required {
  background: var(--red);
  border: 1px solid var(--red);
}
.form-container dl dt span.optional {
  background: var(--gray);
  border: 1px solid var(--gray);
}

/* -- error message --*/
.form-container dl dd span.error_blank,
.form-container dl dd span.error_format,
.form-container dl dd span.error_match {
  display: block;
  color: var(--red);
  margin-top: 5px;
}

/* -- confirm --*/
div#confirm_field {
  display: none;
}

@media only screen and (max-width: 1024px) {
  .form-container {
    max-width: 600px;
    padding: 1em;
  }
  .form-container dl dt,
  .form-container dl dd {
    width: 100%;
    padding: 0.5em 0;
  }
  .form-container dl dt i {
    position: relative;
    right: auto;
    margin-left: 0.5em;
  }
}

@media only screen and (max-width: 599px) {
  .form-container input[name='postal'] {
    width: 100%;
  }
  .form-container input[name='postal'] + a {
    position: absolute;
    top: 1.8em;
    right: 0;
    margin: 0;
    font-size: 1.4rem;
  }
}

/* ステップ */
.form-steps {
  width: 100%;
  margin: 0 auto;
}
.form-steps ul {
  display: flex;
  justify-content: space-between;
}
.form-steps ul li {
  position: relative;
  text-align: center;
  background: var(--gray);
  width: calc(100% / 3);
}
.form-steps ul li:first-of-type {
  border-radius: 5px 0 0 5px;
}
.form-steps ul li:last-of-type {
  border-radius: 0 5px 5px 0;
}
.form-steps ul li:nth-child(n + 2) {
  margin-left: 28px;
}
.form-steps ul li:nth-child(n + 2):before {
  content: '';
  position: absolute;
  top: 50%;
  border: 0 solid var(--gray);
  border-width: 25px 20px;
  width: 0;
  height: 0;
  left: -20px;
  border-left-color: transparent;
  transform: translateY(-50%);
}
.form-steps ul li.active:nth-child(n + 2):before {
  content: '';
  position: absolute;
  top: 50%;
  border: 0 solid var(--cl-main);
  border-width: 25px 20px;
  width: 0;
  height: 0;
  left: -20px;
  border-left-color: transparent;
  transform: translateY(-50%);
}
.form-steps ul li span {
  position: relative;
  display: block;
  height: 50px;
  line-height: 50px;
}
.form-steps ul li span:after {
  content: '';
  position: absolute;
  top: 50%;
  border: 0 solid var(--gray);
  border-width: 25px 20px;
  width: 0;
  height: 0;
  left: 100%;
  border-color: transparent;
  border-left-color: var(--gray);
  transform: translateY(-50%);
}
.form-steps ul li:last-of-type span::after {
  display: none;
}
.form-steps ul li.active {
  background: var(--cl-main);
}
.form-steps ul li.active span {
  color: var(--white);
}
.form-steps ul li.active span:after {
  border-left-color: var(--cl-main);
}

/* table
---------------------------------------------------------------- */
.d-table {
  display: table;
  width: 100%;
}
.d-table-cell {
  display: table-cell;
  vertical-align: top;
}
table {
  border-collapse: collapse;
}
table th,
table td {
  border: var(--gray) 1px solid;
  padding: 0.5em;
}

/* パンくずリスト
---------------------------------------------------------------- */
.breadcrumbs {
  font-size: var(--fs-notes);
  padding: 1em 0;
}
.breadcrumbs a {
  color: var(--black);
}

/* iframe  google map / youtube
---------------------------------------------------------------- */
/* iframe */
.iframe-wrap iframe {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
}
/* video */
.video-wrap iframe {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
}

/* animation
---------------------------------------------------------------- */
/* スクロールCSS */
.fade-in {
  opacity: 0;
  transition-duration: 1000ms;
  transition-property: opacity, transform;
}
.fade-in-up {
  transform: translate(0, 50px);
}
.fade-in-down {
  transform: translate(0, -50px);
}
.fade-in-left {
  transform: translate(-50px, 0);
}
.fade-in-right {
  transform: translate(50px, 0);
}
.scroll-in {
  opacity: 1;
  transform: translate(0, 0);
}

/* zoom */
.zoom-in,
.zoom-out,
.zoom-in-img {
  transition: 0.2s ease-in-out;
}
.zoom-in:hover {
  transform: scale(1.1);
}
.zoom-out:hover {
  transform: scale(0.95);
}
.zoom-in-img:hover img {
  transform: scale(1.1);
}

/* shake */
.shake:hover {
  display: inline-block;
  animation: shake 0.1s infinite;
}
@keyframes shake {
  0% {
    transform: translate(0px, 0px) rotateZ(0deg);
  }
  25% {
    transform: translate(2px, 2px) rotateZ(1deg);
  }
  50% {
    transform: translate(0px, 2px) rotateZ(0deg);
  }
  75% {
    transform: translate(2px, 0px) rotateZ(-1deg);
  }
  100% {
    transform: translate(0px, 0px) rotateZ(0deg);
  }
}

/* wordpress css ------------------------------------------------------------------------------------------- */

/* ブロックエディタ使用ページ
---------------------------------------------------------------- */
.editor-page {
  clear: both;
  overflow: hidden;
}
.edit-post-visual-editor__content-area {
  width: 100%;
}
.editor-styles-wrapper {
  max-width: calc(var(--contents-max-width) + 6%);
  padding: 0 3% 3% !important;
}
.editor-page :is(.wp-block-image .aligncenter, .wp-block-image .alignleft, .wp-block-image .alignright, .wp-block-image.aligncenter, .wp-block-image.alignleft, .wp-block-image.alignright) {
  display: block;
}

/* リストスタイル---------------- */
.editor-page ul li {
  list-style-type: disc;
  list-style-position: outside;
  margin-left: 20px;
}
.editor-page ol li {
  list-style-type: decimal;
  list-style-position: outside;
  margin-left: 20px;
}

/* 画像配置---------------- */
.editor-page img.alignright {
  float: right;
}
.editor-page img.alignleft {
  float: left;
}
.editor-page img.aligncenter {
  display: block;
  margin: 0 auto;
}

@media only screen and (max-width: 768px) {
  .editor-page img.alignright {
    float: none;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
  .editor-page img.alignleft {
    float: none;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
}

/* 編集ボタン */
.btn-edit {
  margin-bottom: 2em;
  text-align: right;
}
.btn-edit a {
  background: var(--cl-accent);
  color: var(--white) !important;
  padding: 0.8em;
  border-radius: 8px;
  font-size: var(--fs-default);
  box-shadow: 0 3px 6px rgb(0 0 0 / 20%);
}
.btn-edit a i {
  font-size: 1.5em;
  margin-right: 0.3em;
}

/* wp ページナビゲーション
---------------------------------------------------------------- */
.wp-pagenavi .pages,
.wp-pagenavi a {
  border: 1px solid var(--cl-main);
  border-radius: 5px;
  display: inline-block;
  padding: 5px 10px;
  margin: 2px;
  color: var(--cl-main);
  background: var(--white);
}
.wp-pagenavi .current {
  border: 1px solid var(--cl-main) !important;
  border-radius: 5px;
  background: var(--cl-main);
  color: var(--white);
  display: inline-block;
  padding: 5px 10px;
  margin: 5px;
}
.wp-pagenavi span.extend {
  border: 0;
}

.wp-pagenavi a:hover, .wp-pagenavi span.current {
  border-color: inherit!important;
}

/* prev next btns */
.prev-next-btns a {
  display: flex;
  color: var(--black);
  align-items: start;
  width: 49.5%;
  padding: 10px;
  position: relative;
  font-size: 1.4rem;
  margin-left: 0.5%;
  margin-right: 0.5%;
  border: var(--cl-main) 2px solid;
  border-radius: 8px;
}
.prev-next-btns a .thumb-img {
  position: relative;
  overflow: hidden;
  max-width: 30%;
  max-height: 67px;
  display: flex;
  align-items: center;
}
.prev-next-btns a .thumb-img img {
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.prev-next-btns .prev-next-txt-area {
  width: 68%;
}
.prev-next-btns h5 {
  position: relative;
  display: inline-block;
  line-height: 2;
  color: var(--cl-main);
}
.prev-link h5 {
  padding-left: 1.5rem;
}
.prev-link h5:before,
.next-link h5:after {
  position: absolute;
  content: '';
  width: 0.5em;
  height: 0.5em;
  display: inline-block;
  border-top: 2px solid var(--cl-main);
  border-left: 2px solid var(--cl-main);
  transform: translateY(-50%) rotate(135deg);
  top: 50%;
}
.prev-link h5:before {
  left: 0;
  transform: translateY(-50%) rotate(315deg);
}
.next-link h5:after {
  right: -1.5rem;
}
.prev-next-btns a span {
  font-weight: bold;
}

.prev-next-btns .prev-next-txtonly .prev-next-txt-area {
  width: 100%;
}

@media only screen and (max-width: 599px) {
  .prev-next-btns a {
    width: 100%;
    font-size: 1.2rem;
  }
  .prev-next-btns a.next-link {
    margin-top: 10px;
  }
  .prev-next-btns a.prev-next-txtonly {
    width: 49.5%;
  }
  .prev-next-btns a.prev-next-txtonly.next-link {
    margin-top: 0;
  }
}

/* 投稿内のページャー */
.content-inner-pager {
  margin: 3em 0;
}
.content-inner-pager .post-page-numbers {
  border: var(--cl-main) 2px solid;
  color: var(--cl-main);
  padding: 0.5em;
}
.content-inner-pager .post-page-numbers.current {
  background: var(--cl-main);
  color: var(--white);
}

/* wp admin-bar
---------------------------------------------------------------- */
@media screen and (max-width: 600px) {
  #wpadminbar {
    position: fixed;
  }
}
