@charset "utf-8";

/** ***************************************************************************
 * 定数
 * ************************************************************************* */

:root {

  /**
   * 文字色
   */
  --color-basic: 50, 50, 50;

  /**
   * 配色
   */
  --accentcolor-1: 254, 234, 236; /* ヘッダー背景、フッター背景、タイトル背景など */
  --accentcolor-2: 247, 247, 247; /* コンテンツ背景など */
  --accentcolor-3: 245, 146, 150; /* ボタン背景、フッター背景、タイトル文字色など */
  --accentcolor-4: 227,   0, 127; /* ボタンホバー背景など */
  --accentcolor-5: 228, 228, 228; /* ボーダー色など */
  --accentcolor-6: 112, 112, 112; /* ボーダー色など */
  --accentcolor-7: 255, 250, 196; /* TANPOPOコンテンツ背景など */

  /**
   * レイアウト用
   */
  --innerWidth: calc(100vw - calc(100vw - 100cqw));
  --innerCenter: calc(50% - calc(var(--innerWidth) / 2));

}

/** ***************************************************************************
 * タイトル
 * ************************************************************************* */

[class*="title-style"] + * {
  margin-top: 0;
}

/**
 * 1
 */

[class*="title-style-1"] {
  width: fit-content;
  margin-bottom: 20px;
  padding-right: 0.375em;
  padding-bottom: 0.375em;
  letter-spacing: 2px;
  line-height: 1.5;
  font-size: 1.375em;
  font-weight: 500;
  position: relative;
  z-index: 0;
}

[class*="title-style-1"]::before {
  content: attr(data-en);
  margin-bottom: 0.125em;
  color: rgb(var(--accentcolor-3));
  letter-spacing: 0;
  line-height: 1;
  font-size: 0.643em;
  font-weight: 400;
  display: block;
}

[class*="title-style-1"]::after {
  content: '';
  width: var(--innerWidth);
  max-width: none;
  border-bottom: 1px dashed rgb(var(--accentcolor-6));
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
}

@media screen and (min-width:768px) {

  [class*="title-style-1"] {
    margin-bottom: 40px;
    font-size: 1.647em;
    display: flex;
    align-items: baseline;
    justify-content: flex-start;
  }

  [class*="title-style-1"]::before {
    content: '';
    width: var(--innerWidth);
    max-width: none;
    margin: unset;
    border-bottom: 1px dashed rgb(var(--accentcolor-6));
    position: absolute;
    z-index: 1;
    right: 0;
    bottom: 0;
  }

  [class*="title-style-1"]::after {
    content: attr(data-en);
    width: unset;
    max-width: 100%;
    margin-left: 1em;
    color: rgb(var(--accentcolor-3));
    letter-spacing: 0;
    line-height: 1;
    font-size: 0.643em;
    font-weight: 400;
    border: unset;
    position: unset;
  }

}

/**
 * 2
 */

[class*="title-style-2"] {
  margin-bottom: 20px;
  padding: 0.375em 1.25em 0.5em;
  color: #fff;
  line-height: 1.5;
  font-size: 1.22em;
  font-weight: 500;
  border-radius: 10px;
  background-color: rgb(var(--accentcolor-3));
}

@media screen and (min-width:768px) {

  [class*="title-style-2"] {
    margin-bottom: 30px;
  }

}

/**
 * 3
 */

[class*="title-style-3"] {
  margin-bottom: 20px;
  padding: 0.375em 1.25em 0.5em;
  color: rgb(var(--accentcolor-3));
  line-height: 1.5;
  font-size: 1.22em;
  font-weight: 500;
  border-radius: 10px;
  background-color: rgb(var(--accentcolor-1));
}

@media screen and (min-width:768px) {

  [class*="title-style-3"] {
    margin-bottom: 30px;
  }

}

/**
 * 4
 */

[class*="title-style-4"] {
  margin-bottom: 10px;
  padding-left: 1em;
  color: rgb(var(--accentcolor-3));
  letter-spacing: 1px;
  line-height: 1.5;
  font-size: 1.125em;
  font-weight: 700;
  position: relative;
  z-index: 0;
}

[class*="title-style-4"]::before {
  content: '◆';
  margin-right: 0.25em;
  font-size: 0.75em;
  position: absolute;
  z-index: 1;
  top: 0.25em;
  left: 0;
}

@media screen and (min-width:768px) {

  [class*="title-style-4"] {
    margin-bottom: 20px;
    font-size: 1.294em;
    font-weight: 500;
  }

}

/**
 * 5
 */

[class*="title-style-5"] {
  width: fit-content;
  margin-bottom: 20px;
  padding: 0.125em 2em 0.25em;
  color: #fff;
  font-weight: 500;
  border-radius: 9999px;
  background-color: rgb(var(--accentcolor-3));
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@media screen and (min-width:768px) {

  [class*="title-style-5"] {
    margin-bottom: 30px;
  }

}

/**
 * 6
 */

[class*="title-style-6"] {
  margin-bottom: 10px;
  color: rgb(var(--accentcolor-3));
  font-size: 1.22em;
  font-weight: 500;
}

@media screen and (min-width:768px) {

  [class*="title-style-6"] {
    margin-bottom: 20px;
  }

}

/** ***************************************************************************
 * テキスト
 * ************************************************************************* */

#main [href*="tel:"] {
  font-weight: 700;
}

#main em[style="1"] {
  font-weight: 500;
}

#main em[style="2"] {
  color: rgb(var(--accentcolor-3));
  font-weight: 500;
}

#main .align-center {
  text-align: center;
}

#main .align-center-sp {
  text-align: center;
}

#main .align-center-pc {
  text-align: inherit;
}

#main .memo {
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}

#main .note {
  margin-top: 0.5em;
  margin-bottom: 0.5em;
  font-size: 0.875em;
}

#main .emphasis {
  padding: 1em 1.5em;
  font-weight: 500;
  background-color: rgb(var(--accentcolor-1));
}

#main .serif-style-1 {
  color: rgb(var(--accentcolor-3));
  font-size: 1.23em;
  font-weight: 500;
}

#main .serif-style-2 {
  font-size: 1.5em;
  font-weight: 400;
}

@media screen and (min-width:768px) {

  #main .align-center-sp {
    text-align: inherit;
  }

  #main .align-center-pc {
    text-align: center;
  }

  #main .serif-style-2 {
    font-size: 1.89em;
  }

  [href*="tel:"] {
    color: inherit;
    cursor: default;
    pointer-events: none;
    text-decoration: none !important;
  }

}

/** ***************************************************************************
 * 画像
 * ************************************************************************* */

#main div.image {
  border-radius: 10px;
  overflow: hidden;
}

#main div.image img {
  border-radius: 20px;
}

/** ***************************************************************************
 * ボタン
 * ************************************************************************* */

[class*="button-style"] {
  margin: 0;
  padding: 0;
  appearance: none;
  cursor: pointer;
  color: inherit;
  border: none;
  border-radius: 0;
  font: inherit;
  text-decoration: none !important;
  background: none;
  box-sizing: border-box;
  vertical-align: middle;
  display: inline-block;
}

[class*="button-style"]::-webkit-search-decoration {
  display: none;
}

[class*="button-style"]::focus {
  outline-offset: -2px;
}

/**
 * 1
 */

.button-style-1 {
  min-width: 280px;
  min-height: 4em;
  padding: 0.25em 3.5em 0.375em 3em;
  line-height: 1.5;
  font-weight: 600;
  border: 1px solid rgb(var(--accentcolor-3));
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 0;
  transition:
    color 0.3s ease-in-out 0.0s,
    background-color 0.3s ease-in-out 0.0s;
  color: #fff;
  background-color: rgb(var(--accentcolor-3));
}

.button-style-1::after {
  content: '';
  width: 1.125em;
  height: 1.125em;
  background: url("../_image/_common/icon-arrow-2.png") 0 0 / 100% 100% no-repeat;
  position: absolute;
  z-index: 1;
  top: calc(50% - 0.5625em);
  right: 1.75em;
}

.button-style-1:hover {
  color: rgb(var(--accentcolor-3));
  background-color: rgba(255, 255, 255, 0.8);
}

/**
 * 2
 */

.button-style-2 {
  min-width: 280px;
  min-height: 4em;
  padding: 0.25em 3.5em 0.375em 3em;
  color: rgb(var(--accentcolor-3));
  line-height: 1.5;
  font-weight: 600;
  border: 1px solid;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 0;
  transition:
    border-color 0.3s ease-in-out 0.0s,
    background-color 0.3s ease-in-out 0.0s;
  border-color: rgb(var(--accentcolor-1));
  background-color: rgb(var(--accentcolor-1));
}

.button-style-2::after {
  content: '';
  width: 1.125em;
  height: 1.125em;
  background: url("../_image/_common/icon-arrow-2.png") 0 0 / 100% 100% no-repeat;
  position: absolute;
  z-index: 1;
  top: calc(50% - 0.5625em);
  right: 1.75em;
}

.button-style-2:hover {
  border-color: rgb(var(--accentcolor-3));
  background-color: rgba(255, 255, 255, 0.8);
}

/**
 * 3
 */

.button-style-3 {
  min-width: 280px;
  min-height: 4em;
  padding: 0.25em 3.5em 0.375em 3em;
  color: rgb(var(--accentcolor-3));
  line-height: 1.5;
  font-weight: 600;
  border: 1px solid;
  border-radius: 9999px;
  background-color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 0;
  transition: border-color 0.3s ease-in-out 0.0s;
  border-color: rgb(var(--accentcolor-1));
}

.button-style-3::after {
  content: '';
  width: 1.125em;
  height: 1.125em;
  background: url("../_image/_common/icon-arrow-2.png") 0 0 / 100% 100% no-repeat;
  position: absolute;
  z-index: 1;
  top: calc(50% - 0.5625em);
  right: 1.75em;
}

.button-style-3:hover {
  border-color: rgb(var(--accentcolor-3));
}

/**
 * 4
 */

.button-style-4 {
  min-height: 3em;
  padding: 0.25em 1.5em;
  font-weight: 500;
  border: 1px solid rgb(var(--accentcolor-3));
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    color 0.3s ease-in-out 0.0s,
    background-color 0.3s ease-in-out 0.0s;
  color: #fff;
  background-color: rgb(var(--accentcolor-3));
}

.button-style-4:hover {
  color: rgb(var(--accentcolor-3));
  background-color: rgba(255, 255, 255, 0.8);
}

/**
 * 5
 */

.button-style-5 {
  padding: 0.75em 3em 0.75em 2.25em;
  font-weight: 400;
  border: 1px solid;
  background-color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 0;
  transition:
    color 0.3s ease-in-out 0.0s,
    border-color 0.3s ease-in-out 0.0s;
  color: rgb(var(--color-basic));
  border-color: rgb(var(--accentcolor-6));
}

.button-style-5:hover {
  color: rgb(var(--accentcolor-3));
  border-color: rgb(var(--accentcolor-3));
}

.button-style-5::after {
  content: '';
  width: 0.375em;
  height: 0.875em;
  background: url("../_image/_common/icon-arrow-1.png") 0 0 / 100% 100% no-repeat;
  position: absolute;
  z-index: 1;
  top: calc(50% - 0.4375em);
  right: 1.125em;
  transition: filter 0.3s ease-in-out 0.0s;
  filter: brightness(0);
}

.button-style-5:hover::after {
  filter: brightness(1);
}

/** ***************************************************************************
 * リスト
 * ************************************************************************* */

[class*="list-style"] + * {
  margin-top: 1.375rem;
}

* + [class*="list-style"] {
  margin-top: 1.375rem;
}

@media screen and (min-width:768px) {

  [class*="list-style"] + * {
    margin-top: 1.75rem;
  }

  * + [class*="list-style"] {
    margin-top: 1.7rem;
  }

}

/**
 * UL 1
 */

.list-style-1 {
  padding-left: 1.5em;
  line-height: 1.5;
}

.list-style-1 li {
  list-style: disc;
}

.list-style-1 li ~ li {
  margin-top: 0.5em;
}

/**
 * DL 1
 */

.list-style-dl-1 dt {
  margin-bottom: 0.5em;
  font-weight: 500;
}

.list-style-dl-1 dt ~ dt {
  margin-top: 0.5em;
}

.list-style-dl-1 dd {
  padding-left: 1.5em;
}

/**
 * DL 2
 */

.list-style-dl-2 dt {
  margin-bottom: 0.75em;
  color: rgb(var(--accentcolor-3));
  line-height: 1.5;
  font-size: 1.294em;
  font-weight: 500;
}

.list-style-dl-2 dd {
  margin-left: 1.625em;
  padding-left: 0.875em;
  font-weight: 500;
  position: relative;
  z-index: 0;
}

.list-style-dl-2 dd::before {
  content: '';
  width: 0.5em;
  height: 0.5em;
  border-radius: 9999px;
  background-color: rgb(var(--accentcolor-3));
  position: absolute;
  z-index: 1;
  top: 0.625em;
  left: 0;
}

/**
 * DL 3
 */

.list-style-dl-3 {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: flex-start;
}

.list-style-dl-3 div.item {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: flex-start;
}

.list-style-dl-3 div.item ~ div.item {
  margin-top: 1.5em;
}

.list-style-dl-3 dt {
  margin: 0.125em 0;
  padding: 0.125em 2em 0.25em;
  color: #fff;
  font-weight: 500;
  border-radius: 9999px;
  background-color: rgb(var(--accentcolor-3));
  flex-shrink: 0;
}

.list-style-dl-3 dd {
  margin: 0.125em 0;
  padding-left: 0.875em;
  line-height: 1.3;
  font-size: 1.294em;
  font-weight: 500;
}

.list-style-dl-3 dd small {
  font-size: 0.727em;
  font-weight: 300;
}

/**
 * DL 4
 */

.list-style-dl-4 dt {
  width: fit-content;
  min-width: min(16em, 80%);
  margin: 0 auto -1.25em;
  padding: 0.375em 2em 0.5em;
  color: #fff;
  font-weight: 500;
  border-radius: 9999px;
  background-color: rgb(var(--accentcolor-3));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.list-style-dl-4 dd {
  padding: 2.75em 2em 2em;
  border-radius: 20px;
  background-color: rgb(var(--accentcolor-1));
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  flex-grow: 1;
}

@media screen and (min-width:768px) {

  .list-style-dl-4 dd {
    font-size: 0.89em;
    border-radius: 40px;
  }

}

/** ***************************************************************************
 * テーブル
 * ************************************************************************* */

[class*="table-style"] + * {
  margin-top: 1.625rem;
}

* + [class*="table-style"] {
  margin-top: 1.625rem;
}

@media screen and (min-width:768px) {

  [class*="table-style"] + * {
    margin-top: 2rem;
  }

  * + [class*="table-style"] {
    margin-top: 2rem;
  }

}

/**
 * 1
 */

.table-style-1 {
  text-align: initial;
  border-collapse: collapse;
  border: 5px solid rgb(var(--accentcolor-5));
}

.table-style-1 > tbody > tr > th {
  padding-left: 1em;
  padding-right: 1em;
  color: #fff;
  font-weight: 500;
  border: 1px solid rgb(var(--accentcolor-5));
  background-color: rgb(var(--accentcolor-3));
}

.table-style-1 > tbody > tr > td {
  padding-left: 1em;
  padding-right: 1em;
  border: 1px solid rgb(var(--accentcolor-5));
  background-color: #fff;
}

/**
 * 2
 */

.table-style-2 {
  text-align: initial;
  border-collapse: collapse;
  border: 5px solid rgb(var(--accentcolor-5));
}

.table-style-2 > tbody > tr > th {
  padding-left: 1em;
  padding-right: 1em;
  font-weight: normal;
  border: 2px solid rgb(var(--accentcolor-5));
  background-color: rgb(var(--accentcolor-1));
}

.table-style-2 > tbody > tr > td {
  padding-left: 1em;
  padding-right: 1em;
  border: 2px solid rgb(var(--accentcolor-5));
  background-color: #fff;
}

/**
 * 3
 */

.table-style-3 {
  text-align: initial;
  border-collapse: collapse;
  border: 5px solid rgb(var(--accentcolor-5));
}

.table-style-3 > tbody > tr > th {
  padding-left: 1em;
  padding-right: 1em;
  font-weight: normal;
  border: 1px solid #fff;
  background-color: rgb(var(--accentcolor-5));
}

.table-style-3 > tbody > tr > td {
  padding-left: 1em;
  padding-right: 1em;
  border: 1px solid rgb(var(--accentcolor-5));
  background-color: #fff;
}

/**
 * 4
 */

.table-style-4 {
  text-align: initial;
  border-collapse: collapse;
}

/* SP表示 */

@media screen and (max-width:767px) {

  .table-style-4 {
    display: block;
  }

  .table-style-4 > tbody {
    display: block;
  }

  .table-style-4 > tbody > tr {
    padding: 1.5em 0;
    border-top: 1px solid rgb(var(--accentcolor-6));
    border-bottom: 1px solid rgb(var(--accentcolor-6));
    display: block;
  }

  .table-style-4 > tbody > tr ~ tr {
    border-top: none;
  }

  .table-style-4 > tbody > tr > th {
    width: 100%;
    margin-bottom: 0.5em;
    padding: 0 1em;
    font-weight: 600;
    display: block;
  }

  .table-style-4 > tbody > tr > th::before {
    content: '■';
  }

  .table-style-4 > tbody > tr > td {
    width: 100%;
    padding: 0 1em;
    display: block;
  }

}

/* PC表示 */

@media screen and (min-width:768px) {

  .table-style-4 > tbody > tr > th {
    padding-left: 1em;
    padding-right: 1em;
    font-weight: 500;
    border-top: 1px solid rgb(var(--accentcolor-6));
    border-bottom: 1px solid rgb(var(--accentcolor-6));
  }

  .table-style-4 > tbody > tr > td {
    padding-left: 1em;
    padding-right: 1em;
    border-top: 1px solid rgb(var(--accentcolor-6));
    border-bottom: 1px solid rgb(var(--accentcolor-6));
  }

}

/**
 * 5
 */

.table-style-5 {
  text-align: initial;
  border-collapse: collapse;
}

/* SP表示 */

@media screen and (max-width:767px) {

  .table-style-5 {
    display: block;
  }

  .table-style-5 > tbody {
    display: block;
  }

  .table-style-5 > tbody > tr {
    padding: 1.5em 0;
    border-top: 2px dashed rgb(var(--accentcolor-6));
    border-bottom: 2px dashed rgb(var(--accentcolor-6));
    display: block;
  }

  .table-style-5 > tbody > tr ~ tr {
    border-top: none;
  }

  .table-style-5 > tbody > tr > th {
    width: 100%;
    margin-bottom: 0.5em;
    padding: 0 1em;
    font-weight: 600;
    display: block;
  }

  .table-style-5 > tbody > tr > td {
    width: 100%;
    padding: 0 1em;
    display: block;
  }

}

/* PC表示 */

@media screen and (min-width:768px) {

  .table-style-5 > tbody > tr > th {
    padding-left: 1em;
    padding-right: 1em;
    font-weight: 500;
    border-top: 2px dashed rgb(var(--accentcolor-6));
    border-bottom: 2px dashed rgb(var(--accentcolor-6));
  }

  .table-style-5 > tbody > tr > td {
    padding-left: 1em;
    padding-right: 1em;
    border-top: 2px dashed rgb(var(--accentcolor-6));
    border-bottom: 2px dashed rgb(var(--accentcolor-6));
  }

}

/**
 * フォーム
 */

.table-style-contact {
  text-align: initial;
  border-collapse: collapse;
}

.table-style-contact th {
  font-weight: 500;
}

.table-style-contact td {
}

/* SP表示 */

@media screen and (max-width:767px) {

  .table-style-contact {
    display: block;
  }

  .table-style-contact tbody {
    display: block;
  }

  .table-style-contact tr {
    display: block;
  }

  .table-style-contact tr ~ tr {
    margin-top: 1.5em;
  }

  .table-style-contact th {
    width: 100%;
    margin-bottom: 0.5em;
    padding: 0;
    display: block;
  }

  .table-style-contact th::before {
    content: '■';
  }

  .table-style-contact .required th::after {
    content: '必須';
    margin-left: 0.75em;
    padding: 3px 10px 5px;
    color: #fff;
    letter-spacing: 1px;
    line-height: 1;
    font-size: 0.75em;
    font-weight: 500;
    border-radius: 9999px;
    background-color: rgb(var(--accentcolor-3));
  }

  .table-style-contact td {
    width: 100%;
    padding: 0;
    display: block;
  }

}

/* PC表示 */

@media screen and (min-width:768px) {

  .table-style-contact th {
    padding-left: 1em;
    padding-right: 1em;
  }

  .table-style-contact td {
    padding-left: 4em;
    padding-right: 1em;
    position: relative;
  }

  .table-style-contact .required td::before {
    content: '必須';
    padding: 5px 10px 7px;
    color: #fff;
    letter-spacing: 1px;
    line-height: 1;
    font-size: 0.75em;
    font-weight: 500;
    border-radius: 9999px;
    background-color: rgb(var(--accentcolor-3));
    position: absolute;
    z-index: 1;
    top: 18px;
    left: 1em;
  }

}

/** ***************************************************************************
 * 動画
 * ************************************************************************* */

.movie {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  aspect-ratio: 16 / 9;
  border: 1px solid rgb(var(--accentcolor-5));
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  z-index: 0;
}

.movie iframe {
  max-width: none;
  width: calc(100% + 2px);
  height: calc(100% + 2px);
  transform: translateZ(0);
  position: absolute;
  z-index: 1;
  top: -1px;
  left: -1px;
}

@media screen and (min-width:768px) {

  .movie {
    border-radius: 20px;
  }

}

/** ***************************************************************************
 * レイアウト
 * ************************************************************************* */

/**
 * flex
 */

.layout-style-flex {
  display: flex;
  overflow: hidden;
}

/* align-items */

[data-flex-align="flex-start"] {
  align-items: flex-start;
}

[data-flex-align="flex-end"] {
  align-items: flex-end;
}

[data-flex-align="center"] {
  align-items: center;
}

[data-flex-align="stretch"] {
  align-items: stretch;
}

[data-flex-align="stretch"] > * {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
}

/* justify-content */

[data-flex-justify="flex-start"] {
  justify-content: flex-start;
}

[data-flex-justify="flex-end"] {
  justify-content: flex-end;
}

[data-flex-justify="center"] {
  justify-content: center;
}

[data-flex-justify="space-around"] {
  justify-content: space-around;
}

[data-flex-justify="space-between"] {
  justify-content: space-between;
}

/* SP表示 */

@media screen and (max-width:767px) {

  [data-flex-sp="1"] {
    margin-bottom: -8%;
    flex-direction: column;
  }

  [data-flex-sp="1"] > * {
    margin-bottom: 8%;
  }

  .layout-style-flex:not([data-flex-sp="1"]) {
    flex-wrap: wrap;
  }

  [data-flex-sp="2"] {
    margin-bottom: -6%;
    column-gap: 6%;
  }

  .layout-style-flex:not([data-flex-sp="1"]):not([data-flex-sp="2"]) {
    margin-bottom: -3%;
    column-gap: 2%;
  }

  .layout-style-flex:not([data-flex-sp="1"]):not([data-flex-sp="2"]) > * {
    margin-bottom: 3%;
  }

  /* 比率 */

  [data-flex-sp="2"] > * {
    width: 47%;
    margin-bottom: 6%;
  }

  [data-flex-sp="2"][data-flex-ratio] {
    column-gap: unset;
  }

  [data-flex-sp="2"][data-flex-ratio="1:2"] > *:nth-child(odd) {
    width: calc(100% / 10 * 3.3);
  }

  [data-flex-sp="2"][data-flex-ratio="1:2"] > *:nth-child(even) {
    width: calc(100% / 10 * 6.2);
  }

  [data-flex-sp="2"][data-flex-ratio="2:1"] > *:nth-child(odd) {
    width: calc(100% / 10 * 6.2);
  }

  [data-flex-sp="2"][data-flex-ratio="2:1"] > *:nth-child(even) {
    width: calc(100% / 10 * 3.3);
  }

  [data-flex-sp="3"] > * {
    width: calc(100% / 3 - 2%);
  }

  [data-flex-sp="4"] > * {
    width: calc(100% / 4 - 2%);
  }

}

/* PC表示 */

@media screen and (min-width:768px) {

  [data-flex-pc="1"] {
    margin-bottom: -4%;
    flex-direction: column;
  }

  [data-flex-pc="1"] > * {
    margin-bottom: 4%;
  }

  .layout-style-flex:not([data-flex-pc="1"]) {
    flex-wrap: wrap;
  }

  [data-flex-pc="2"] {
    margin-bottom: -4%;
    column-gap: 4%;
  }

  .layout-style-flex:not([data-flex-pc="1"]):not([data-flex-pc="2"]) {
    margin-bottom: -3%;
    column-gap: 2%;
  }

  .layout-style-flex:not([data-flex-pc="1"]):not([data-flex-pc="2"]) > * {
    margin-bottom: 3%;
  }

  /* 比率 */

  [data-flex-pc="2"] > * {
    width: 48%;
    margin-bottom: 4%;
  }

  [data-flex-pc="2"][data-flex-ratio] {
    column-gap: unset;
  }

  [data-flex-pc="2"][data-flex-ratio="1:2"] > *:nth-child(odd) {
    width: calc(100% / 10 * 3.3);
  }

  [data-flex-pc="2"][data-flex-ratio="1:2"] > *:nth-child(even) {
    width: calc(100% / 10 * 6.2);
  }

  [data-flex-pc="2"][data-flex-ratio="2:1"] > *:nth-child(odd) {
    width: calc(100% / 10 * 6.2);
  }

  [data-flex-pc="2"][data-flex-ratio="2:1"] > *:nth-child(even) {
    width: calc(100% / 10 * 3.3);
  }

  [data-flex-pc="3"] > * {
    width: calc(100% / 3 - 2%);
  }

  [data-flex-pc="4"] > * {
    width: calc(100% / 4 - 2%);
  }

}

/** ***************************************************************************
 * 背景
 * ************************************************************************* */

/**
 * 1
 */

.bg-style-1 {
  padding: 50px 0;
  position: relative;
  z-index: 0;
}

.bg-style-1::after {
  content: '';
  width: var(--innerWidth);
  max-width: none;
  height: 100%;
  background-color: rgb(var(--accentcolor-2));
  position: absolute;
  z-index: -1;
  top: 0;
  left: var(--innerCenter);
}

@media screen and (min-width:768px) {

  .bg-style-1 {
    padding: 90px 0;
    position: relative;
    z-index: 0;
  }

}

/**
 * 2
 */

.bg-style-2 {
  padding: 20px 15px;
  border-radius: 20px;
  background-color: rgb(var(--accentcolor-1));
}

@media screen and (min-width:768px) {

  .bg-style-2 {
    padding: 40px;
    border-radius: 40px;
  }

}

/**
 * 3
 */

.bg-style-3 {
  padding: 20px 15px;
  border-radius: 20px;
  border: 10px solid rgb(var(--accentcolor-5));
  background-color: rgb(var(--accentcolor-2));
}

@media screen and (min-width:768px) {

  .bg-style-3 {
    padding: 40px;
    border-radius: 40px;
  }

}

/**
 * 4
 */

.bg-style-4 {
  padding: 50px 0;
  position: relative;
  z-index: 0;
}

.bg-style-4::after {
  content: '';
  width: var(--innerWidth);
  max-width: none;
  height: 100%;
  background: url("../_image/_common/image-bg-1.png") repeat;
  position: absolute;
  z-index: -1;
  top: 0;
  left: var(--innerCenter);
}

@media screen and (min-width:768px) {

  .bg-style-4 {
    padding: 90px 0;
    position: relative;
    z-index: 0;
  }

}

/**
 * 5
 */

.bg-style-5 {
  padding: 20px 15px;
  border-radius: 20px;
  border: 2px solid rgb(var(--accentcolor-6));
  background-color: #fff;
}

@media screen and (min-width:768px) {

  .bg-style-5 {
    padding: 40px;
    border-radius: 40px;
  }

}

/**
 * 6
 */

.bg-style-6 {
  padding: 20px 15px;
  border-radius: 20px;
  background-color: rgb(var(--accentcolor-2));
}

@media screen and (min-width:768px) {

  .bg-style-6 {
    padding: 40px;
    border-radius: 40px;
  }

}

/** ***************************************************************************
 * スクロールヒント
 * ************************************************************************* */

@media screen and (max-width:767px) {

  .scroll-hint {
    padding-bottom: 10px;
    position: relative;
    overflow: hidden;
    overflow-x: visible;
  }

  .scroll-hint::before {
    content: '';
    width: 50px;
    height: 50px;
    border-radius: 100px;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.85) url("../_image/_common/icon-arrow-2.png") 0 0 / 100% 100% no-repeat;
    position: absolute;
    z-index: 2;
    top: calc(50% - 25px);
    left: calc(50% - 25px);
    transition:
      visibility 0.8s ease-in-out 0.0s,
      opacity 0.8s ease-in-out 0.0s;
  }

  .scroll-hint.incomplete::before {
    animation: scroll-hint 1.5s cubic-bezier(.645,.045,.355,1) infinite;
    visibility: visible;
    opacity: 1;
  }

  .scroll-hint.done::before {
    visibility: hidden;
    opacity: 0;
  }

  .scroll-hint > * {
    min-width: 1000px;
    max-width: none;
  }

}

@keyframes scroll-hint {
  0% {
    transform: translateX(-10%)
  }
  50% {
    transform: translateX(50%)
  }
  100% {
    transform: translateX(-10%)
  }
}

/** ***************************************************************************
 * フォーム要素
 * ************************************************************************* */

#main label {
  margin: 3px 0;
  display: block;
}

#main input[type="text"],
#main input[type="tel"],
#main input[type="email"] {
  width: 100%;
  margin: 3px;
  padding: 0.25em 0.75em;
  appearance: none;
  font: inherit;
  font-size: inherit;
  border-radius: 5px;
  border: 1px solid #ddd;
  transition: background-color 0.3s ease-in-out 0.0s;
  background-color: #fff;
}

#main input[type="text"]:focus,
#main input[type="tel"]:focus,
#main input[type="email"]:focus {
  background-color: #fff7f9;
}

#main input[name="zip"] {
  width: 8em;
}

#main input[name="tel"] {
  width: 10em;
}

#main input[name="age"] {
  width: 6em;
}

#main input[name*="kazu"] {
  width: 6em;
}

#main input[type="date"] {
  color: inherit;
  font-size: 1em;
}

#main select {
  margin: 3px 0;
  padding: 0.375em 0.5em;
  color: inherit;
  font: inherit;
  font-size: 1em;
  border: 1px solid #ddd;
  background-color: #fff;
}

#main textarea {
  width: 100%;
  min-height: 8em;
  padding: 0.5em;
  appearance: none;
  font: inherit;
  border-radius: 5px;
  border: 1px solid #ddd;
  transition: background-color 0.3s ease-in-out 0.0s;
  background-color: #fff;
}

#main textarea:focus {
  background-color: #fff7f9;
}

#main input::placeholder {
  color: #666;
  font: inherit;
  font-size: 0.875em;
}

#main .wpcf7-list-item {
  margin: unset;
  margin-right: 1em;
}

#main .confirm {
  text-align: center;
}

#main .form-button {
  text-align: center;
}

#main .form-button input {
  min-width: 300px;
}

#main .form-button input[disabled] {
  color: #999;
  border: 1px solid #ddd;
  background-color: #f7f7f7;
}

#main .wpcf7-spinner {
  display: none;
}

#main .wpcf7-response-output {
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  color: rgb(var(--accentcolor-3));
  font-weight: 500;
  border: none;
}

@media screen and (min-width:768px) {

  #main label {
    display: inline-block;
  }

  #main input[type="date"] {
    font-size: 0.875em;
  }

  #main select {
    font-size: 0.875em;
  }

  #main textarea {
    min-height: 12em;
  }

}

/** ***************************************************************************
 * ページャー
 * ************************************************************************* */

ul.page-numbers {
  font-weight: 500;
  display: flex;
  align-items: stretch;
  justify-content: center;
}

ul.page-numbers li {
  min-width: 2em;
  height: 2em;
  margin-left: 2px;
  margin-right: 2px;
}

ul.page-numbers li .page-numbers {
  height: 100%;
  color: #fff;
	text-decoration: none;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease-in-out 0.0s;
  background-color: #f5bec0;
}

ul.page-numbers li .page-numbers:hover {
  background-color: rgb(var(--accentcolor-3));
}

ul.page-numbers li .page-numbers.current {
  background-color: rgb(var(--accentcolor-3));
}

ul.page-numbers li .page-numbers.prev {
  padding-left: 0.75em;
  padding-right: 0.75em;
  font-size: 0.875em;
}

ul.page-numbers li .page-numbers.next {
  padding-left: 0.75em;
  padding-right: 0.75em;
  font-size: 0.875em;
}

ul.page-numbers li .page-numbers.dots {
	color: rgb(var(--accentcolor-3));
	background-color: transparent;
}

/** ***************************************************************************
 * 表示／非表示
 * ************************************************************************* */

@media screen and (max-width:767px) {

  [pc] {
    display: none !important;
  }

}

@media screen and (min-width:768px) {

  [sp] {
    display: none !important;
  }

}
