@charset "utf-8";
/* スマホファースト ブレイクポイント sp~767/tb768~1023/pc1024~*/
/* ==================
共通・スマホサイズ
=====================*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /* outline: 2px solid blue; */
}

:root {
  --text-color: #808080;
  --bg-color: #efeff4;
  --subtext_color: #333;
  --title-color: #fff;
  /*bg1で使っている共通の高さ*/
  --bg1-height: 50px;
  --bg2-height: 50px;
  --bg3-height: 50px;
  /*余白の一括管理用。主に左右の余白に使っています。4rem＝4文字分。*/
  --content-space-pc: 4rem;
  --content-space-sp: 1.25rem;
}
body {
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  color: var(--text-color);
}
html {
  font-size: 16px;
  margin: 0;
  padding: 0;
  height: 100%;
}
.wrap {
  overflow: hidden;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  text-align: center;
}
ul,
li {
  list-style: none;
}
ol {
  margin-bottom: 0;
}
a,
li a {
  text-decoration: none;
  color: var(--subtext_color);
}
#submain {
  background-color: #fff;
}
.banner img {
  display: none;
}
/*section*/

.main_visual {
  position: relative;
  background: linear-gradient(90deg, #fff24f, #dfd380, #e0ffd3);
  margin: 0 auto;
  border-radius: 50px;
}
.mv_title {
  position: absolute;
}
.mv_br {
  display: block;
}

.copy h2 {
  text-align: left;
  margin: 0;
}

.copy_br {
  border-radius: 50px;
  display: inline-block;
  background-color: #fff6cb;
  padding: 0.5rem 1rem;
  margin-bottom: 0.5rem; /* 各行の余白 */
}
.heading {
  background-image: url("../images/pc/bg_start.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  height: 100%;
}

.img_box {
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 100%;
}
.mv_img img {
  display: block;
}
.mv_title h1 {
  color: var(--title-color);
  text-shadow: -3px 3px 6.383px rgba(0, 0, 0, 0.25);
}

.up_img,
.down_img {
  transform: translateY(20px);
}

.partner {
  padding: 1rem;
  background: #fff;
  color: var(--subtext_color);
  grid-template-rows: auto 1fr; /*１つ目（この場合はfigure要素のサイズ）と「詳しくみる」ボタンの高さは自動に、２つ目（この場合はtextブロック））を残った幅で使う*/
  border-radius: 30px;
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.1);
}
.partner h4 {
  text-align: center;
}
.partner_link {
  display: flex;
  justify-content: center;
}
.copy_content {
  display: flex;
  align-items: center;
}

/* ------------------------------------------------------
ヘッダー・ハンバーガーメニュー
 -------------------------------------------------------- */
/* メニュー本体 */
#g-nav {
  position: fixed;
  top: 0;
  right: 0;
  max-width: 100%;
  height: 100vh;
  background: var(--bg-color);
  z-index: 10000;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}
#g-nav.panelactive {
  transform: translateX(0);
  overflow: scroll;
}

/* メニューリスト */
#g-nav-list {
  list-style: none;
}

#g-nav-list li a {
  text-decoration: none;
  color: #333;
}

/* overlay（PC時だけ表示） */
#g-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(255, 255, 255, 0.5);
  z-index: 9999;
  display: none;
}
@media screen and (min-width: 1025px) {
  #g-nav-overlay.active {
    display: block;
  }
}

.menu-list {
  padding-right: 2rem;
  padding-left: 0;
}

.btn_list .btn a {
  font-weight: 700;
}

.menu-link:hover {
  color: var(--hover-color);
}

/*========= ボタンのためのCSS ===============*/
/* ハンバーガーボタンのスタイル */

/*×に変化*/

.openbtn1 {
  position: fixed;
  z-index: 11000; /* ← 10000より上にする */
  right: 5%;
  cursor: pointer;
  width: 50px;
  height: 50px;
}
.openbtn1 span {
  display: inline-block;
  transition: all 0.4s;
  position: absolute;
  left: 20px;
  height: 1px;
  border-radius: 2px;
  background-color: var(--text-color);
  width: 45%;
}

.openbtn1 .active {
  opacity: 1;
}

.hamburger-line::after {
  content: "MENU";
  font-size: 11px;
  position: absolute;
  bottom: -6px;
  left: 15px;
  color: var(--text-color);
  background-color: var(--text-color);
  display: inline-block;
  transition: all 0.4s;
  position: absolute;
  -webkit-transition: inherit;
  transition: inherit;
  width: 100%;
  height: 100%;
}
.hamburger-line.active::after {
  content: "CLOSE";
  left: 15px;
}
.hamburger-line:nth-of-type(2) {
  top: 53%;
}
.hamburger-line:nth-of-type(1) {
  top: 40%;
}
.hamburger-line:nth-of-type(3) {
  top: 66%;
}
.hamburger-line.active:nth-of-type(2) {
  background: none;
}

.hamburger-line.active:nth-of-type(1) {
  transform: rotate(25deg) translate(4px, 5px);
}
.hamburger-line.active:nth-of-type(3) {
  transform: rotate(-25deg) translate(5px, -6px);
}

.hamburger-line {
  background-color: var(--text-color);
  margin: auto;
  position: absolute;
  right: 3%;
  left: 0;
  top: 5%;
  width: clamp(1.063rem, 0.426rem + 3.18vw, 1.5rem);
  height: 1px;
}

.hamburger-line::after {
  top: 10px;
}

/* ハンバーガーメニュー三本線オープン時 */
.hamburger[aria-expanded="true"] .hamburger-line {
  background-color: var(--bg-color1);
  -webkit-transform: translateY(15px) rotate(-45deg);
  transform: translateY(15px) rotate(-45deg);
}
#index .hamburger[aria-expanded="true"] .hamburger-line {
  -webkit-transform: translateY(15px) rotate(-25deg);
  transform: translateY(15px) rotate(-25deg);
}

.hamburger[aria-expanded="true"] .hamburger-line::before {
  background-color: var(--bg-color1);
  -webkit-transform: translateY(-12px) translateX(20px) rotate(45deg);
  transform: translateY(-12px) translateX(20px) rotate(45deg);
  width: 0;
}

.hamburger[aria-expanded="true"] .hamburger-line::after {
  background-color: var(--bg-color1);
  -webkit-transform: translateY(-30px) rotate(90deg);
  transform: translateY(-30px) rotate(90deg);
}
#index .hamburger[aria-expanded="true"] .hamburger-line::after {
  -webkit-transform: translateY(-10px) rotate(45deg);
  transform: translateY(-10px) rotate(45deg);
}
#index .hamburger[aria-expanded="true"] .hamburger-line,
#index .hamburger[aria-expanded="true"] .hamburger-line:before,
#index .hamburger[aria-expanded="true"] .hamburger-line:after {
  background-color: var(--text-color);
}

.openbtn1::after {
  content: "MENU";
  font-size: 11px;
  position: absolute;
  bottom: -6px;
  left: 15px;
  color: var(--subtext_color);
}

.openbtn1.active::after {
  content: "CLOSE";
  left: 15px;
}
.openbtn1 span:nth-of-type(2) {
  top: 53%;
}

.openbtn1 span:nth-of-type(1) {
  top: 40%;
}
.openbtn1 span:nth-of-type(3) {
  top: 66%;
}
.openbtn1.active span:nth-of-type(2) {
  background: none;
}

.openbtn1.active span:nth-of-type(1) {
  transform: rotate(25deg) translate(4px, 5px);
}
.openbtn1.active span:nth-of-type(3) {
  transform: rotate(-25deg) translate(5px, -6px);
}
.btn_list .btn {
  border-radius: 50px;
  background-color: #fff24f;
  margin-bottom: 1rem;
  text-align: center;
}
.sns_list {
  display: flex;
  justify-content: flex-start;
  gap: 2rem;
}

/*==================================================
main
===================================*/

main {
  letter-spacing: 0.08em;
  background: #e8e8e8;
  margin-top: var(--bg2-height);
}
#start {
  background-color: var(--title-color);
}
.logo_br {
  display: block;
  margin-top: 5rem;
}
.fade-in-text {
  text-align: center;
}
.about h3 {
  text-align: center;
}
.about_title {
  position: relative;
  text-align: center;
  background: linear-gradient(90deg, #e0ffd3, #dfd380, #fff24f);
  line-height: 2;
}

.about_title::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 0;
  inset: 5px -5px -5px 5px;
  border-right: 1px solid var(--subtext_color);
  border-bottom: 1px solid var(--subtext_color);
  z-index: 1;
}
.text {
  position: relative;
}

.text_detail {
  background-color: var(--title-color);
  border-radius: 10px;
}

.text_detail::after {
  content: "";
  position: absolute;
  border: dotted 3px red;
  border-radius: 10px;
  z-index: 10;
}

/*---------------------
アコーディオン
-----------------------*/
.accordion {
  background-color: #fff;
  color: #333;
  cursor: pointer;
  padding-right: 12px;
  padding-top: 12px;
  padding-bottom: 12px;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.qa_accordion {
  object-fit: cover;
  background-color: #fff24f;
  margin: 0 auto;
  border-radius: unset !important;
  align-items: center;
}
.accordion p,
.qa_accordion p {
  margin-bottom: 0;
  font-feature-settings: "palt";
}
.qa_accordion p {
  letter-spacing: 0.05em;
}
.panel {
  list-style-type: none;
  margin: 0;
  background-color: #fff;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease, padding 0.3s ease;
}
.feature_panel {
  font-feature-settings: "palt";
  text-align: justify;
}
.qa_panel {
  max-height: 0;
  object-fit: cover;
  background-color: #fff6cb;
  overflow: hidden;
}

.panel li {
  letter-spacing: 0.05em;
  font-feature-settings: "palt";
}
.symbol {
  position: relative;
  display: inline-block;
  padding-left: 20px;
}
.symbol.open :hover {
  display: block;
  width: 100%;
  height: 100%;
}

/* 初期状態（∨）*/
.symbol :before {
  content: "";
  width: 6px;
  height: 6px;
  border: 0;
  border-bottom: solid 2px #333;
  border-right: solid 2px #333;
  transform: rotate(45deg);
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  margin: auto;
}
.symbol.open :before {
  content: "";
  transform: rotate(-135deg);
}
.accordion_container {
  display: flex;
  align-items: flex-start;
  width: 80%;
  justify-content: center;
  margin: 20px auto;
}

.bg1 {
  background-position: bottom center;
  background-size: 100% var(--bg3-height);
  background-repeat: no-repeat;
  padding-bottom: var(--bg1-height);
  background-image: url("../images/pc/bg1_bottom.png");
  background: #fff;
}

/*bg2背景
---------------------------------------------------------------------------*/
.bg2 a {
  color: inherit;
}
.bg2 {
  background-position: top center, bottom center;
  background-size: 100% var(--bg3-height);
  background-repeat: no-repeat;
  padding-top: var(--bg3-height);
  padding-bottom: var(--bg3-height);
  background-image: url("../images/pc/bg1_top2.jpg"), url("../images/pc/bg2_bottom.png");
}

.bg2-inner {
  background: #fff6cb;
  padding-top: var(--bg2-height); /*変更不要*/
  padding-bottom: var(--bg2-height); /*変更不要*/
}

/*ボックス内の上下の空白が広くなりすぎるので、sectionの上下マージンをなくす*/
.bg2-inner > section {
  margin-top: 0;
  margin-bottom: 0;
}
/*2カラムブロック　※900px未満では１カラム（私たちのこだわりブロック）
---------------------------------------------------------------------------*/
.list_half * {
  margin: 0;
  padding: 0;
}

/*背景画像*/
#what {
  background: url("../images/pc/bg_what.png") no-repeat top center/ 100vw; /*left(左)、top(上)に配置し、幅は画面幅の50%に。*/
  background-size: contain;
}
#for {
  position: relative;
}

#for::after {
  content: "";
  position: absolute;
  background: url("../images/pc/bg_for.png") no-repeat bottom right;
  background-size: contain;
  pointer-events: none;
  z-index: 10;
}

/*２カラムを囲むブロック*/
.list_half .list {
  display: flex; /*flexボックスを使う指定*/
  flex-direction: column; /*子要素を縦並びにする*/
  margin-bottom: 2rem; /*ボックスの下に2文字分のスペースを空ける*/
}

/*ブロック内のh4見出し*/
.list_half .list h4 {
  text-align: center;
  margin-bottom: 1rem; /*下に１文字分のスペースを空ける*/
}

/*ブロック内のh4内のspan（小さな装飾文字）*/
.list_half .list h4 span {
  display: block;
  opacity: 0.5;
  font-weight: normal;
  font-size: 0.5em;
  letter-spacing: 0.1em; /*文字間隔をほんの少し広く*/
}

/*画像ブロック共通*/
.list_half .image_l img,
.list_half .image_r img {
  border-radius: 50px; /*角を丸くする指定。*/
  /* box-shadow: 10px 10px #fff6cb; ボックスの影。 */
}
.list_half .image_r img {
  position: absolute;
  top: 0;
  right: 20%;
  z-index: 20;
}
.list_half .image_l img {
  position: absolute;
  top: -80px;
  left: 32%;
  z-index: 20;
}

/*画面幅900px以上の追加指定*/
@media screen and (min-width: 900px) {
  /*２カラムを囲むブロック*/
  .list_half .list {
    flex-direction: row; /*子要素を横並びにする*/
    justify-content: space-between; /*並びかたの種類の指定*/
    align-items: center; /*垂直揃えの指定。天地中央に配置されるように。*/
  }

  /*画像ブロック共通*/
  .list_half .image_r {
    width: 33%;
  }
  .list_half .image_l {
    width: 15%;
  }

  /*画像を右に配置する場合*/
  .list_half .image_r {
    margin-left: 2rem;
  }

  /*画像を左に配置する場合*/
  .list_half .image_l {
    order: -1;
    margin-right: 2rem;
  }

  /*テキストブロック*/
  .list_half .text {
    flex: 1;
  }
}
/*list-grid1（３カラムボックス）
---------------------------------------------------------------------------*/
.list_grid1 .list * {
  margin: 0;
  padding: 0;
}
.text_grid1 {
  border-radius: 10px;
  background-color: var(--title-color);
  object-fit: cover;
}
/*ボックス１個あたり*/
.list_grid1 .list {
  display: grid;
  margin-bottom: var(--global-space);
}

/*ボックス内のp要素*/
.list_grid1 .list p {
  text-align: justify;
  line-height: 1.8;
  letter-spacing: 0.1em;
}
.btn {
  display: flex;
  justify-content: center;
}

.small_title {
  margin-top: 2rem;
  text-align: center;
  margin-bottom: 0.5rem;
}
.text_grid1 .btn {
  margin-top: 3.3rem;
}
/*ボックス１個あたり*/
.list_grid1 .list {
  padding: 1rem 0; /*ボックス内の余白。１文字分。*/
  color: #111; /*文字色*/
  grid-template-rows: auto 1fr auto;
}

/*ボックス内のfigure画像*/
.list_grid1 .list figure {
  margin: -1rem auto;
  margin-bottom: 0.5rem;
}

/*画面幅800px以上の追加指定*/
@media screen and (min-width: 800px) {
  /*listブロック全体を囲むブロック*/
  .list_grid1 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1vw;
    width: 100%;
    overflow-x: auto;
  }

  /*ボックス１個あたり*/
  .list_grid1 .list {
    margin-bottom: 0;
    padding: 1rem;
  }
  .list-half {
    width: 100%;
  }
  #flow {
    padding: 3rem;
  }
}

/*bg3背景
---------------------------------------------------------------------------*/
.bg3 a {
  color: inherit;
}

.bg3-inner {
  background: #e8e8e8;
  padding-top: var(--bg3-height);
  padding-bottom: var(--bg3-height);
}

/*ボックス内の上下の空白が広くなりすぎるので、sectionの上下マージンをなくす*/
.bg2-inner > section {
  margin-top: 0;
  margin-bottom: 0;
}
/*よくある質問
---------------------------------------------------------------------------*/
.qa_detail {
  background-color: var(--title-color);
}
.small {
  display: block;
  text-align: left;
}
.title2_wrapper {
  width: 80%;
  margin: 0 auto;
}
/*コンタクト
---------------------------------------------------------------------------*/
#contact_top,
.banner_sec {
  background-color: var(--title-color);
}

.contact {
  display: flex;
}
.contact_l,
.contact_r {
  flex: 1;
  text-align: center;
  border: 1px solid var(--text-color);
  border-radius: 30px;
}

.contact_l .btn,
.contact_r .btn {
  border-radius: 50px;
  background-color: #fff24f;
  text-align: center;
}

.contact_text {
  display: inline-block;
}
.contact_text p {
  text-align: justify;
}

.banner_sec {
  display: flex;
  justify-content: space-around;
}
/* フッター */
footer {
  background-color: #e8e8e8;
  text-align: center;
}

.footer_detail {
  padding: 22px 0;
  align-items: center;
  margin-bottom: 24px;
}

.footer_brand_name img {
  width: 50%;
}

.floatBtn {
  display: none;
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1000;
}

.inn {
  opacity: 0;
  transform: translateY(-20px);
  transition: 2s ease;
}
.inn.active {
  opacity: 1;
  transform: translateY(0);
}

/* ==================
page-contact.php
=====================*/

.contact_section {
  padding: 0;
}
.col-form-label {
  text-align: right;
  flex-direction: column;
  align-items: flex-end;
  color: var(--subtext_color);
  font-size: clamp(0.75rem, 0.629rem + 0.52vw, 1.25rem);
  font-feature-settings: "palt";
}

.form-control {
  font-size: clamp(0.688rem, 0.625rem + 0.31vw, 1rem);
  height: clamp(1.688rem, 1.096rem + 2.52vw, 4.125rem);
  text-align: left;
}
textarea.for -control {
  min-height: calc(10em + (0.75rem + 2px));
}
.required {
  color: var(--subtext_color);
  padding: 2px 5px;
  font-size: 10px;
  margin-left: 5px;
  display: block;
}
.sankou {
  font-size: 70%;
  background-color: var(--text-color);
  color: #fff;
  padding: 3px 4px;
  margin: 0 5px;
  white-space: nowrap;
}
.sankou.blue {
  background-color: #000080;
}

.form-check {
  color: var(--subtext_color);
}
.form-check .form-check-input {
  float: none;
  vertical-align: baseline;
}
.contact_check {
  text-align: center;
}
.contact_recap {
  color: var(--subtext_color);
  text-align: justify;
  font-size: clamp(0.688rem, 0.583rem + 0.56vw, 1.25rem);
  font-feature-settings: "palt";
}
.contact_recap a {
  color: var(--subtext_color);
}
.contact_title {
  font-size: clamp(1rem, 0.622rem + 1.61vw, 2rem);
  text-align: center;
  color: var(--subtext_color);
  margin: clamp(1.125rem, -0.72rem + 7.87vw, 6rem) 0;
}
.contact-button {
  font-family: "Noto sans JP", sans-serif;
  font-size: clamp(0.875rem, 0.638rem + 1.01vw, 1.5rem);
  color: #fff;
  text-align: center;
  background-color: var(--subtext_color);
  cursor: pointer;
  display: block;
  margin: 0 auto 10rem;
}
.contact-button:hover {
  color: var(--hover-color);
}
.mousikomi tr {
  width: 80vw;
}
.mousikomi tr,
.mousikomi td {
  border: 1px solid var(--subtext_color);
  text-align: center;
  height: 50px;
}
.mousikomi {
  margin: 20px auto;
  border-collapse: collapse;
  table-layout: fixed;
}
/* テーブル */

.mousikomi td {
  color: var(--subtext_color);
  padding-left: 10px;
  vertical-align: middle;
}
.yoyaku {
  background-color: #fff;
  width: 30vw;
  vertical-align: middle;
}
.yoyaku_answer {
  background-color: rgba(128, 128, 128, 0.5);
  width: 70vw;
}
#mail_submit2,
.wpcf7-previous {
  font-family: "Noto Sans JP", sans-serif;
  background: var(--subtext_color);
  color: var(--title-color);
  font-size: 14px;
  font-weight: normal;
  margin: 20px 0 25px;
  padding: 9px 18px;
  text-decoration: none;
}
#mail_submit2:hover,
.wpcf7-previous:hover {
  color: var(--hover_color);
}
.wpcf7-spinner {
  width: 10px;
  height: 10px;
  margin: 0 5px;
}
textarea.form-control {
  min-height: 200px;
}

/*=================
PrivatelyPolicy
=====================*/
.privacy-policy {
  color: var(--subtext_color);
  font-size: clamp(0.688rem, 0.583rem + 0.56vw, 1.25rem);
}

.form-check-label {
  font-size: clamp(0.688rem, 0.583rem + 0.56vw, 1.25rem);
  margin-bottom: clamp(2.25rem, 1.564rem + 2.93vw, 4.063rem);
}
#pp-detail {
  padding-bottom: 100px;
  padding: 0 2rem;
  text-align: justify;
}

#pp-detail h5 {
  font-weight: 500;
}
#pp-detail p {
  text-align: justify;
}
#pp-detail ul li {
  list-style: disc;
}
/*=====================================================
404.php
======================================================*/
#not-found.body-wrap {
  text-align: center;
}
#not-found a {
  text-decoration: none;
  color: var(--subtext_color);
  font-weight: 500;
}
#not-found p {
  margin-top: 2rem;
}
#not-found div {
  font-size: 1.5rem;
  margin-top: 1rem;
  border: 1px solid var(--contenttext-color);
  display: inline-block;
  padding: 10px 20px;
}
#not-found h2 {
  margin-top: 4rem;
}
/*=====================================================
page-line-link.php
======================================================*/
.line_link {
  text-align: center;
}
.grecaptcha-badge {
  visibility: hidden;
}
