@charset "utf-8";

:root {
  --main-color: #01914e;
  --sub-color: #fff226;
  --text-color: #333;
  --white-color: #ffffff;
  --elementary-color: #ed7971;
  --junior-color: #3eb370;
}

html {
  font-size: 62.5%;
  line-height: 2;
}

body {
  font-size: 1.4rem;
}

img {
  width: 100%;
  height: auto;
  contain-intrinsic-size: none !important;
}

p {
  font-size: 1.6rem;
  line-height: 1.8;
}

a {
  color: inherit;
}

h1 {
  max-width: 230px;
}

h2 {
  font-size: 3rem;
  font-weight: bold;
}

h3 {
  font-size: 2rem;
  font-weight: bold;
}

h4 {
  font-size: 1.8rem;
}

section {
  margin-bottom: 6rem;
}

li {
  list-style: none;
}

.row {
  margin: 10% auto;
}

.top_block {
  padding: 0;
}

.nav-banner {
  padding: 1rem;
}

.catch {
  min-height: 500px;
}

.whatsnew li {
  margin: 1rem auto;
}

.whatsnew li span,
.news-title {
  font-size: 1.6rem;
}

.news-title a {
  font-weight: bold;
  color: var(--main-color);
}

.openbtn {
  position: fixed;
  z-index: 10;
  top: 10px;
  right: 10px;
  cursor: pointer;
  width: 50px;
  height: 50px;
}

.openbtn span {
  display: inline-block;
  transition: all 0.4s;
  position: absolute;
  left: 14px;
  height: 3px;
  border-radius: 2px;
  background-color: var(--main-color);
  width: 45%;
}

.openbtn span:nth-of-type(1) {
  top: 15px;
}

.openbtn span:nth-of-type(2) {
  top: 23px;
}

.openbtn span:nth-of-type(3) {
  top: 31px;
}

.openbtn.active span:nth-of-type(1) {
  top: 18px;
  left: 18px;
  transform: translateY(6px) rotate(-45deg);
  width: 30%;
  background-color: #fff;
}

.openbtn.active span:nth-of-type(2) {
  opacity: 0;
}

.openbtn.active span:nth-of-type(3) {
  top: 30px;
  left: 18px;
  transform: translateY(-6px) rotate(45deg);
  width: 30%;
  background-color: #fff;
}

.container {
  width: 100%;
  max-width: 1080px;
  margin: 4rem auto;
}

/* .top_slider {
  position: relative;
  width: 100%;
  margin: 0 auto;
} */

/* .top_catch {
  position: absolute;
  top: 0;
  left: -45px;
  bottom: 0;
  max-width: 500px;
  margin: auto;
} */

.top_logo {
  max-width: 300px;
}

/* #slider {
  width: 100%;
  height: 600px;
  margin: auto;
} */

.top__heading {
  position: relative;
  display: inline-block;
  font-size: 3rem;
  font-weight: bold;
  color: var(--main-color);
  margin-bottom: 4rem;
}

.sub__heading {
  font-size: 1.8rem;
  font-weight: bold;
  padding: 0.8rem 3rem;
  margin-bottom: 2rem;
  border-radius: 3rem;
  color: var(--main-color);
  background-color: var(--sub-color);
}

.text-box {
  max-width: 980px;
  margin: auto;
}

.image__cover {
  height: 100%;
  object-fit: cover;
  object-position: left;
}

#splash {
  position: fixed;
  width: 100%;
  height: 100vh;
  z-index: 999;
  background: var(--main-color);
  text-align: center;
  color: #fff;
  top: 0;
}

#splash_logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#splash_logo img {
  width: 260px;
}

.fadeUp {
  animation-name: fadeUpAnime;
  animation-duration: 0.5s;
  animation-fill-mode: forwards;
  opacity: 0;
}

/* contents */

.contents-top {
  /* padding: 2rem 1rem; */
  /* background-color: var(--main-color); */
  color: #ffffff;
  margin: -10rem 0 6rem;
}

.block__background-image {
  position: relative;
  /* padding: 5rem 12rem; */
  font-weight: bold;
}

.contents-wrap {
  max-width: calc(6rem + 800px);
  margin: auto;
  padding: 3rem;
}

.image_section-top:not(#section__style .image_section-top) {
  margin-bottom: 4rem;
}

.block__background-image::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  background-image: url(../img/image_about.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  opacity: 0.15;
  inset: 0;
  z-index: -1;
}

.color__btn3 {
  cursor: pointer;
  transition: 0.2s cubic-bezier(0.45, 0, 0.55, 1);
}

.color__btn3 {
  font-size: 4rem;
  color: var(--white-color);
  background-color: var(--main-color);
  font-weight: 600;
  border-radius: 0;
  box-shadow: none;
  text-align: center;
  width: calc(50% - 2rem);
  padding: 3rem;
  margin: 1rem;
  align-content: center;
}

.color__btn3 div {
  font-weight: 500;
}

.color__btn3 span {
  display: inline-block;
}

.color__btn3:hover {
  background-color: var(--white-color);
  color: var(--main-color);
  border: solid 3px var(--main-color);
}
/* 
.color__btn3 a {
  color: var(--main-color);
} */

/* header */

.btn-rounded {
  border-radius: 1000px;
}

.color__btn {
  background-color: var(--main-color);
  color: #fff !important;
  font-size: 1.6rem;
  border-radius: 0;
  box-shadow: none;
  border: none;
}

/*==ナビゲーション全体の設定*/
nav {
  background: #333;
  color: #fff;
  text-align: center;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
}

nav ul ul {
  display: block;
}

nav ul li {
  position: relative;
}

nav ul li a {
  display: block;
  text-decoration: none;
  color: #333;
  padding: 20px 35px;
  transition: all 0.3s;
}

.nav_main a {
  font-size: clamp(1.2rem, -1.284rem + 3.09vw, 1.8rem);
  font-weight: bold;
  padding: 1.8rem;
}

nav ul li a:hover {
  color: #777;
}

nav ul li.has-child::before {
  content: "";
  position: absolute;
  right: 15px;
  top: 20px;
  width: 10px;
  height: 10px;
  border-top: 2px solid #333;
  border-right: 2px solid #333;
  transform: rotate(135deg);
}

nav ul ul li.has-child::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 17px;
  width: 6px;
  height: 6px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(45deg);
}

nav li.has-child ul {
  position: absolute;
  left: 0;
  top: 62px;
  z-index: 4;
  background: var(--main-color);
  width: 230px;
  padding: 0;
  visibility: hidden;
  opacity: 0;
  font-size: 1.6rem;
  transition: all 0.3s;
}

nav li.has-child:hover > ul,
nav li.has-child ul li:hover > ul,
nav li.has-child:active > ul,
nav li.has-child ul li:active > ul {
  visibility: visible;
  opacity: 1;
}

nav li.has-child ul li a {
  color: #fff;
  border-bottom: solid 1px rgba(255, 255, 255, 0.6);
  font-size: 1.6rem;
  padding: 1.4rem;
}

nav li.has-child ul li:last-child a {
  border-bottom: none;
}

nav li.has-child ul li a:hover,
nav li.has-child ul li a:active {
  background: #3577ca;
}

nav li.has-child ul ul {
  top: 0;
  left: 182px;
  background: #66adf5;
}

nav li.has-child ul ul li a:hover,
nav li.has-child ul ul li a:active {
  background: #448ed3;
}

nav ul li.has-child::before {
  right: 0px;
}

nav ul ul li.has-child::before {
  transform: rotate(135deg);
  left: 20px;
}

nav ul li.has-child.active::before {
  transform: rotate(-45deg);
}

nav li.has-child ul li:last-child a {
  border-bottom: none;
}

nav li.has-child ul li a:hover,
nav li.has-child ul li a:active {
  background: #3577ca;
}

.color__btn2 {
  background-color: #e50065;
  color: var(--white-color) !important;
  font-size: 1.6rem;
  border-radius: 0;
  box-shadow: none;
  border: none;
  width: 18rem;
  margin-left: 1rem;
}

.color__navi {
  background-color: #fff;
  box-shadow: none;
  max-width: 1080px;
  margin: 0 auto;
  height: 18rem;
}

.color__logo {
  color: #212121;
}

.navbar.navbar-light .navbar-nav .nav-item.active > .nav-link {
  background-color: transparent;
  border-bottom: 3px solid #303f9f;
}

.toggler__txt {
  display: block;
  font-size: 0.5em;
}

.nav__main {
  font-size: 1.6rem;
  font-weight: bold;
}

.nav__sub {
  font-size: 1.2rem;
}

/* footer  */

footer {
  background-color: #ccc;
}

footer .row {
  margin: 0 auto;
}

footer img {
  max-width: 350px;
  margin: 5rem auto 0;
}

.footer_line {
  border-left: solid 1px var(--main-color);
}

.footer_nav {
  text-align: center;
  margin: 2rem auto;
  padding: 0;
}

.footer_nav li {
  display: inline-block;
  font-weight: bold;
}

.footer_nav li a {
  font-size: 1.4rem;
  color: #333;
  margin: auto 1rem;
}

.copyright {
  margin-bottom: 0;
  margin-top: 2rem !important;
}

.news_ttl {
  margin-top: 5rem;
}

.whatsnew {
  word-break: break-all;
  overflow: hidden;
  border-top: 1px var(--main-color) solid;
  border-bottom: 1px var(--main-color) solid;
  padding: 10px;
}

.contents-wrap__innner {
  max-width: 580px;
  margin: auto;
}

.table-wrap p {
  font-size: 1.2rem;
}

table {
  width: 100%;
  font-size: 1.6rem;
}

.tbl-r02 th {
  width: 8.5rem;
  color: #333;
  font-size: 1.6rem;
  font-weight: bold;
  padding: 10px;
  vertical-align: text-bottom;
  text-align-last: justify;
}

.tbl-r02 td {
  color: #333;
  font-size: 1.6rem;
  padding: 10px;
}

.tag {
  display: inline-block;
  margin: 0 0.1em 0.6em 0;
  padding: 0.6em;
  font-size: 1rem;
  line-height: 1;
  text-decoration: none;
  color: #0000ee;
  background-color: #fff;
  border: 1px solid #0000ee;
  border-radius: 2em;
}

.footer01 {
  color: #808080;
  background: #e5e5e5;
  padding: 30px;
}

.footer01 a {
  color: #808080;
  text-decoration: none;
}

.footer01 a:hover {
  text-decoration: underline;
}

.footer01 .menu {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
}

.footer01 .menu li {
  margin: 0;
  padding: 0 20px 0 0;
}

.footer01 .copyright {
  margin: 0;
  padding: 20px 0 0 0;
}

.footer-rogo img {
  max-width: 300px;
  margin: 0 auto;
}

.floating-banner {
  position: fixed;
  z-index: 998;
  bottom: 95px;
  right: 0;
}

.floating-banner2 {
  position: fixed;
  z-index: 998;
  bottom: 280px;
  right: 0;
}
.banner {
  width: 200px; /* バナーの横幅 */
  padding: 20px 10px;
  background: #f1f1f1;
  color: #333; /* バナー内の文字色 */
  font-weight: bold;
  text-align: center;
}
.floating-banner a {
  text-decoration: none; /* リンクに下線が入らないように */
}
.copy {
  font-size: 28px;
  margin: 0 auto 20px;
  line-height: 1.6;
}
.cta {
  width: 300px;
  font-size: 2.8rem;
  color: #303f9f;
  font-weight: 900;
}

.floating-banner .btn {
  background-color: #a11017;
  color: #fff;
  border: none;
}

.floating-banner-close {
  font-weight: bold;
  position: absolute;
  top: 5px;
  right: 5px;
  border: none;
  background-color: #f8f8f8;
  border-radius: 25px;
  cursor: pointer;
  -webkit-box-shadow: 0 0 7px rgb(0 0 0 / 40%);
  box-shadow: 0 0 7px rgb(0 0 0 / 40%);
}

/* contactform */

.contact_form {
  margin: 5rem auto;
}

.cf7 h3 {
  border-left: solid 4px var(--main-color);
  padding: 2rem;
}

.cf7__list {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.cf7__list dt:nth-of-type(n + 2),
.cf7__list dd:nth-of-type(n + 2) {
  margin-top: 30px;
}

.cf7__list dt {
  width: 22%;
  margin-right: 3%;
  padding-top: 15px;
}

.cf7__list dd {
  width: 75%;
}

/* 必須・任意 */
.cf7__required,
.cf7__optional {
  margin-right: 15px;
  padding: 6px 14px;
  color: #fff;
  font-size: 12px;
  vertical-align: 1px;
}

.cf7__required {
  background: #de0000;
}

.cf7__optional {
  background: #878d8e;
}

/* input・textarea */
.cf7__list dd input[type="text"],
.cf7__list dd input[type="tel"],
.cf7__list dd input[type="email"],
.cf7__list dd textarea {
  width: 100%;
  padding: 15px 20px;
  background: #f4f4f4;
  border: none;
}

/* ドロップダウンメニュー */
.cf7__select {
  position: relative;
}

.cf7__select:before {
  position: absolute;
  top: 50%;
  right: 20px;
  z-index: 10;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 8px solid #000;
  border-right: 6px solid transparent;
  border-left: 6px solid transparent;
  pointer-events: none;
  content: "";
}

.cf7__select select {
  width: 100%;
  padding: 19px 20px;
  background: #f4f4f4;
  color: #a5a5a5;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

/* チェックボックス・ラジオボタン */
.cf7__list dd .wpcf7-checkbox,
.cf7__list dd .wpcf7-radio {
  display: block;
  padding: 15px 0 10px;
}

/* 縦並び（チェックボックス・ラジオボタン） */
.cf7__list dd .wpcf7-list-item {
  display: block;
  margin: 0;
}

.cf7__list dd .wpcf7-list-item:nth-child(n + 2) {
  margin-top: 18px;
}

/* マウスカーソル（チェックボックス・ラジオボタン） */
.cf7__list dd .wpcf7-list-item label {
  cursor: pointer;
}

/* チェックボックス・ラジオボタン */
input[type="checkbox"],
input[type="radio"] {
  position: relative;
  width: 18px;
  height: 18px;
  margin-right: 8px;
  border: 1px solid #bcbcbc;
  vertical-align: -3px;
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

/* チェックボックス */
input[type="checkbox"]:checked {
  border: 1px solid #000;
  background: #000;
}

input[type="checkbox"]:checked:before {
  position: absolute;
  top: 2px;
  left: 5px;
  transform: rotate(50deg);
  width: 6px;
  height: 10px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  content: "";
}

/* ラジオボタン */
input[type="radio"] {
  border-radius: 50%;
}

input[type="radio"]:checked:before {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #000;
  content: "";
}

/* プレースホルダー */
/* Google Chrome / Safari / Mozilla Firefox / Opera */
.cf7__list dd input[type="text"]::placeholder,
.cf7__list dd input[type="tel"]::placeholder,
.cf7__list dd input[type="email"]::placeholder,
.cf7__list dd textarea::placeholder {
  color: #a5a5a5;
}

/* Microsoft Edge */
.cf7__list dd input[type="text"]::-ms-input-placeholder,
.cf7__list dd input[type="tel"]::-ms-input-placeholder,
.cf7__list dd input[type="email"]::-ms-input-placeholder,
.cf7__list dd textarea::-ms-input-placeholder {
  color: #a5a5a5;
}

/* Internet Explorer */
.cf7__list dd input[type="text"]:-ms-input-placeholder,
.cf7__list dd input[type="tel"]:-ms-input-placeholder,
.cf7__list dd input[type="email"]:-ms-input-placeholder,
.cf7__list dd textarea:-ms-input-placeholder {
  color: #a5a5a5;
}

/* 送信ボタン */
.cf7__button {
  padding-left: 72px;
  text-align: center;
}

input[type="submit"] {
  width: 260px;
  height: 60px;
  background: #be1d1d;
  color: #fff;
  border: none;
  transition: opacity 0.6s;
}

input[type="submit"]:hover {
  opacity: 0.6;
}

/* ajax-loader */
.wpcf7-spinner {
  vertical-align: middle;
}
/* ドロップダウンメニュー */
.cf7__select {
  position: relative;
}

.cf7__select:before {
  position: absolute;
  top: 50%;
  right: 20px;
  z-index: 10;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 8px solid #000;
  border-right: 6px solid transparent;
  border-left: 6px solid transparent;
  pointer-events: none;
  content: "";
}

.cf7__select select {
  width: 100%;
  padding: 19px 20px;
  border: none;
  background: #f4f4f4;
  color: #333;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

/* contactform end */
/* 
  .loading {
    position: fixed;
    inset: 0;
    z-index: 10;
    height: 100svh;
    background-color: var(--main-color);
  }
  
  .loading__inner {
    width: 100%;
    height: inherit;
    display: grid;
    place-content: center;
    row-gap: 10px;
  }
  
  .loading__text {
    font-size: max(12px, 1rem);
    font-weight: 500;
    letter-spacing: 0.2em;
    line-height: 2;
    text-align: center;
    color: #fff;
  }
  
  .loading__logo {} */

/*
 * contact-form
 */
.contact-form .row + .row {
  height: 180px;
  background: #f8f8f9;
}

.contact-form .row p {
  padding: 26px 40px 0;
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 12px;
  letter-spacing: 0.06em;
}

.form-01 .col-sm-6:last-child img {
  position: absolute;
  top: -20px;
}

.contact .page-header {
}

.contact-form {
  width: 100%;
  border-bottom: 1px dotted #686f77;
  padding-bottom: 30px;
}

.contact-form h3.contact-title {
  margin-bottom: 30px;
  margin-top: 30px;
}

/* FORM */

.inner-content {
  max-width: 730px;
  margin: auto;
}

.contact .inner-content dl {
  border-bottom: 1px solid #eee;
  margin: 0;
  padding: 20px 0px;
  float: left;
  width: 100%;
}

.contact .inner-content dl dt {
  width: 250px;
  float: left;
  line-height: 36px;
  font-weight: normal;
}

.contact .inner-content dl dd {
  width: 450px;
  float: left;
}

.contact .inner-content dl dd.checkbox,
.contact .inner-content dl dd.radio {
  line-height: 36px;
}

.contact .inner-content dl dd input[type="text"],
.contact .inner-content dl dd input[type="email"],
.contact .inner-content dl dd input[type="tel"],
.contact .inner-content dl dd textarea {
  padding: 3px 7px;
  border: 1px solid #cfcfcf;
  width: 450px;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -ms-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}

.contact .inner-content dl dd input[type="text"]:focus,
.contact .inner-content dl dd input[type="email"]:focus,
.contact .inner-content dl dd input[type="tel"]:focus,
.contact .inner-content dl dd textarea:focus {
  border: 1px solid #424242;
}

.contact .inner-content dl dd select {
  border: 1px solid #eee;
  height: 35px;
}

.contact .inner-content dl dd select,
.contact .inner-content dl dd input[type="text"],
.contact .inner-content dl dd input[type="email"],
.contact .inner-content dl dd input[type="tel"],
.contact .inner-content dl dd textarea {
  outline: none;
  line-height: 28px;
}

.icon-require {
  margin-top: 5px;
  display: inline-block;
  background-color: #fff;
  color: #e70012;
  border: 1px solid #e70012;
  font-weight: normal;
  font-size: 10px;
  padding: 1px 7px;
  float: right;
  letter-spacing: 0.2em;
  margin-right: 20px;
  line-height: normal;
}

.input-mini_01 {
  width: 60px !important;
}

.input-mini_02 {
  width: 80px !important;
}

.contact .inner-content dl dd .input-group {
  margin-bottom: 10px;
}

.contact .inner-content dl dd .input-group:last-child {
  margin-bottom: 0px;
}

.button-area {
  padding: 20px 0;
  text-align: center;
}

.button-area .btn {
  display: inline-block;
  padding: 10px 20px;
  font-weight: bold;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -ms-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
  margin: 0 10px;
  width: 150px;
  letter-spacing: 0.2em;
}

.button-area .btn-submit {
  background: #e60012;
  color: #fff;
  border: 0 none;
}

.button-area .btn-cancel {
  background: #fff;
  border: 1px solid #424242;
  color: #424242;
}

.button-area .btn-submit:hover {
  background: #ffcd72;
}

.button-area .btn-cancel:hover {
  background: #efefef;
}

.confirm dl dd p {
  padding-top: 7px;
}

.contact .inner-content dl dd .alert-error {
  color: #e70012;
  font-size: 12px;
  margin-top: 5px;
}

.freedial {
  text-align: center;
  border-top: 1px solid #999;
  border-bottom: 1px solid #999;
  padding: 15px 0;
  color: #333;
  margin: 50px 15px;
}

.freedial a {
  font-weight: bold;
}

.agreement {
  border: 1px solid #efefef;
  padding: 15px;
  overflow-y: scroll;
  height: 150px;
  margin: 15px;
}

@media only screen and (max-width: 767px) {
  /*TOP*/
  .contact-form.form-01 h3.contact-title {
    margin-top: 0px;
  }

  .contact-form .row + .row {
    height: auto;
    background: #f8f8f9;
  }

  .contact-form .row p {
    padding: 10px 20px 0;
    font-size: 18px;
  }

  .form-01 .col-sm-6:last-child img {
    position: static;
  }

  .contact-form .col-sm-6 {
    padding: 20px;
  }

  .contact-form .col-sm-6:last-child {
    padding-top: 0;
  }

  /*FORM*/
  #content .page-content h2 {
    margin-right: 15px;
    margin-left: 15px;
    font-size: 20px;
    line-height: 1.4;
    margin-top: 0;
  }

  .contact .inner-content dl dt {
    width: 90%;
    padding-left: 15px;
    padding-right: 15px;
  }

  .contact .inner-content dl dd {
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
  }

  .entry .page-content > p {
    margin: 0 20px;
  }

  .contact .inner-content dl dd input[type="text"],
  .contact .inner-content dl dd input[type="email"],
  .contact .inner-content dl dd input[type="tel"],
  .contact .inner-content dl dd textarea {
    width: 100%;
  }

  .icon-require {
    margin-right: 0px;
  }

  .contact .inner-content dl dd {
    width: 300px;
  }

  .contact .inner-content dl dd input[type="text"],
  .contact .inner-content dl dd input[type="email"],
  .contact .inner-content dl dd input[type="tel"],
  .contact .inner-content dl dd textarea {
    width: 300px;
  }
}
