@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

/* ========================================================
heading
=========================================================*/
.c-pageTitle {
  color: #fff;
  text-shadow: 1px 1px 4px #000;
  padding: 0.5rem;
}
.c-pageTitle[data-style="b_bottom"] {
  border: 0;
}
.c-pageTitle[data-style="b_bottom"] .c-pageTitle__inner {
  border: 0;
}

.c-section-title {
  background-color: #1c1c5a !important;
  color: #fff !important;
}
.c-section-title::before {
  content: none;
}
.post_content h3 {
  margin-bottom: 1%;
  font-size: clamp(1rem, 4vw, 1.3rem);
  background: transparent !important;
}
.post_content h3::before {
  content: none;
}

/* ========================================================
form
=========================================================*/

.form {
  max-width: 90%;
  margin: 0 auto;
}
.form__item {
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.wpcf7-list-item.first {
  margin: 0;
}
.form__label {
  min-width: 134px;
}
.form__input {
  margin-left: 4rem;
}
.form__input .wpcf7-checkbox label,
.form__input .wpcf7-radio label {
  position: relative;
  padding-left: 1rem;
}
.form__input .wpcf7-radio label {
  padding-left: 0.5rem;
}
.form__input .wpcf7-checkbox input,
.form__input .wpcf7-radio input {
  appearance: none;
  border: 0;
  background-color: transparent;
}
.form__input .wpcf7-text,
.form__input .wpcf7-textarea {
  background-color: #fff;
}
.wpcf7-list-item-label::before,
.wpcf7-list-item-label::after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  margin: auto;
}
.form__input .wpcf7-checkbox .wpcf7-list-item-label::before {
  top: 2px;
  width: 20px;
  height: 20px;
  border: 1px solid #ddd;
}
.form__input .wpcf7-checkbox .wpcf7-list-item-label::after {
  display: none;
  left: 5px;
  width: 10px;
  height: 6px;
  border: 0;
  border-left: 3px solid #000;
  border-bottom: 2px solid #000;
  margin: auto;
  transform: rotate(-45deg);
}
.form__input .wpcf7-radio .wpcf7-list-item-label::before {
  top: 3px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  border: 1px solid #000;
}
.form__input .wpcf7-radio .wpcf7-list-item-label::after {
  display: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #000;
  top: 3px;
  bottom: 0;
  left: 5px;
  margin: auto;
}

.form__input input[type="checkbox"]:checked + .wpcf7-list-item-label::after,
.form__input input[type="radio"]:checked + .wpcf7-list-item-label::after {
  display: block;
}

.form__btn-wrap {
  margin-top: 4rem;
  text-align: center;
}
.form__btn-wrap .send-btn {
  border-radius: 10px;
  background-color: #333;
  color: #fff;
  border: 0;
  display: inline-block;
  padding: 0.5rem 4rem;
}
.form__btn-wrap {
  position: relative;
}
.form__btn-wrap .send-btn:hover {
  opacity: 0.7;
}
.wpcf7-spinner {
  position: absolute;
  top: 60px;
  margin: auto;
  left: 0;
  right: 0;
}
.form__item--other {
  display: none;
}

/************************************
** お問い合わせフォームの入力
************************************/
#cf-tbl {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

#cf-tbl table {
  width: 100%;
  border-collapse: collapse;
  border: solid #ccc;
  border-width: 1px;
  color: #444;
}
#cf-tbl table tr th,
#cf-tbl table tr td {
  padding: 1rem;
  text-align: left;
  vertical-align: top;
  border: solid #ccc;
  border-width: 1px;
  vertical-align: middle;
}
#cf-tbl table tr th {
  width: 35%;
  background-color: transparent;
}

.required {
  font-size: 0.8em;
  padding: 5px;
  background: #c30000;
  color: #fff;
  border-radius: 3px;
  margin-right: 5px;
}

.optional {
  font-size: 0.8em;
  padding: 5px;
  background: #000080;
  color: #fff;
  border-radius: 3px;
  margin-right: 5px;
}

input.wpcf7-form-control.wpcf7-text,
textarea.wpcf7-form-control.wpcf7-textarea {
  width: 100%;
  padding: 8px 15px;
  margin-right: 10px;
  border: 1px solid #ddd;
  border-radius: 3px;
  background-color: #fff;
}
textarea.wpcf7-form-control.wpcf7-textarea {
  height: 200px;
}

input.wpcf7-submit {
  display: block;
  padding: 15px;
  width: 400px;
  background: #c30000;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  border-radius: 2px;
  margin: 3rem auto 0;
}

input.wpcf7-submit:hover {
  box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.15), 0 0 5px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
  opacity: 0.7;
}

span.wpcf7-not-valid-tip,
.wpcf7-response-output.wpcf7-validation-errors {
  color: red;
  font-weight: 600;
}

/* ========================================================
header
=========================================================*/
.-img .c-headLogo__link {
  display: inline-block;
}
.l-fixHeader__logo {
  padding: 5px 0;
}
.c-gnav .sub-menu {
  background: rgba(0, 0, 68, 0.4);
}
.c-gnav .sub-menu a {
  color: #fff;
}
.c-gnav > .menu-item > a {
  justify-content: flex-end;
  padding-bottom: 15px;
}
.c-gnav > .menu-item > a .ttl {
  font-weight: 700;
  color: #333;
}

/* ========================================================
footer
=========================================================*/
.w-footer__box {
  padding: 2rem;
}

.w-footer__box-item {
  margin-top: 2rem;
}

.w-footer__head {
  margin-bottom: 0;
}

.w-footer__text {
  line-height: 2;
}

/* ========================================================
table
=========================================================*/
.is-style-double table,
table.is-style-double {
  border-collapse: collapse;
}

.post_content td,
.post_content th {
  padding: 1rem;
}

.post_content .td_to_th_ tbody tr > :first-child:before,
.post_content tbody th:before {
  background-color: #f6f6f6;
}

.post_content .td_to_th_ tbody tr > :first-child,
.post_content tbody th {
  background-color: transparent;
  width: 200px;
}

.post_content td:last-child,
.post_content th:last-child {
  width: calc(100% - 200px);
}

/* ========================================================
カテゴリー
=========================================================*/
.c-category-page-title {
  margin-bottom: 2rem;
  padding: 1rem;
  font-size: clamp(1.2rem, 4vw, 1.6rem);
  background-color: #000044;
  color: #fff;
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}
.p-category-list__item {
  margin-top: 1rem;
}
.p-category-list__link {
  display: block;
  color: #333;
  padding: 0.7rem;
  background-color: #f1f9ff;
  font-weight: 700;
  font-size: 0.9rem;
  border-left: 3px solid #000044;
  transition: 0.3s all;
}
.p-category-list__link:hover {
  opacity: 0.7;
  transform: translateX(20px);
}
.p-category-list__date {
  display: inline-block;
  margin-right: 0.5rem;
}

/* ========================================================
wp-block-group
=========================================================*/

.is-style-broken {
  opacity: 0;
}
.is-style-broken.animate__slideInLeft,
.is-style-broken.animate__slideInRight {
  opacity: 1;
}
.wp-block-group__inner-container .wp-block-media-text,
.wp-block-group__inner-container .wp-block-media-text:last-child {
  margin: 4rem 0 !important;
}

.wp-block-latest-posts__post-title {
  font-weight: 700;
  margin-bottom: 1rem;
  color: #02033f;
  display: block;
  text-decoration: underline;
}
.wp-block-latest-posts__post-title:hover {
  text-decoration: none;
}

a.wp-block-latest-posts__post-title:hover {
  text-decoration: underline;
}

/* ========================================================
お問い合わせウィジェット
=========================================================*/
.p-contacts {
  margin: 8% auto 0;
  max-width: 900px;
  background: url(src/img/bg-widget-contacts.png) no-repeat center center;
  background-color: #f9fdff;
  border: 10px double #fff;
  padding: 1rem;
}
.p-contacts__inner {
  padding: 1.5rem;
  display: flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.8);
}
.p-contacts__left {
  width: 50%;
}
.p-contacts__tel {
  color: #c30100;
  font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 2rem);
  line-height: 1;
  margin-bottom: 0.5rem;
  font-family: "Roboto", sans-serif;
}
.p-contacts__text {
  font-size: clamp(0.6rem, 4vw, 1rem);
  margin-bottom: 0.5rem;
  color: #555;
  line-height: 1;
  font-weight: 700;
}
.p-contacts__text--small {
  margin-top: 0.5rem;
  font-size: clamp(0.5rem, 4vw, 0.7rem);
  display: block;
  line-height: 1.4;
}
.p-contacts__right {
  width: 50%;
}
.p-contacts__button {
  padding: 1.5rem 1rem;
  background-color: #c30100;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  cursor: pointer;
  font-size: clamp(0.6rem, 4vw, 1.1rem);
  text-align: center;
}
.p-contacts__button i {
  display: inline-block;
  margin-left: 0.5rem;
  margin-right: 0.5rem;
}
.p-contacts__button:hover {
  opacity: 0.7;
}

@media (min-width: 768px) {
  a[href^="tel:"] {
    pointer-events: none;
  }
}

/* ========================================================
ボタン
=========================================================*/

.is-style-btn_normal a:hover {
  opacity: 0.7;
}

/* ========================================================
utility
=========================================================*/

.sp-br {
  display: none !important;
}

/* ========================================================
pages
=========================================================*/
.page-id-935 .l-article {
  max-width: none;
}
.page-id-935 .post_content {
  padding: 0;
}

/* ========================================================
media querys
=========================================================*/
@media (min-width: 960px) {
  .c-headLogo {
    height: 120px;
  }
  .l-fixHeader .c-headLogo {
    height: 100px;
  }
  .-parallel-bottom .l-header__logo {
    padding-bottom: 30px;
  }
}
@media (max-width: 959px) {
  .l-header__inner {
    height: 80px;
  }
  .c-headLogo {
    height: 80px;
  }
}
@media (max-width: 820px) {
  .p-contacts__right,
  .p-contacts__left {
    width: 100%;
  }
  .p-contacts__left {
    text-align: center;
  }
  .p-contacts__right {
    margin-top: 1rem;
  }
  .p-contacts__inner {
    flex-direction: column;
  }
}

@media screen and (max-width: 768px) {
  input.wpcf7-submit {
    width: 250px;
  }
  .form {
    max-width: none;
  }
  .form__item {
    align-items: flex-start;
    flex-direction: column;
  }
  .form__input {
    margin-left: 0;
    width: 100%;
  }
  .form__label {
    margin-bottom: 0.5rem;
  }
  .form__input .wpcf7-text,
  .form__input .wpcf7-textarea {
    max-width: 90%;
  }
  .post_content .td_to_th_ tbody tr > :first-child,
  .post_content tbody th {
    background-color: transparent;
    width: 150px;
  }

  .post_content td:last-child,
  .post_content th:last-child {
    width: calc(100% - 150px);
  }

  #cf-tbl {
    width: 100%;
  }

  #cf-tbl table,
  #cf-tbl table tbody,
  #cf-tbl table tr,
  #cf-tbl table tr th,
  #cf-tbl table tr td {
    display: block;
  }

  #cf-tbl table {
    width: 100%;
    border-width: 0 0 1px 0;
  }

  #cf-tbl table tr th,
  #cf-tbl table tr td {
    width: 100%;
    padding: 3% 5%;
  }

  #cf-tbl table tr td {
    border-width: 0px 1px 0px 1px;
  }
}

@media screen and (max-width: 600px) {
  .form__item {
    padding-left: 0;
  }
  .wpcf7-form-control.wpcf7-checkbox {
    display: flex;
    flex-direction: column;
  }
  .wpcf7-checkbox .wpcf7-list-item {
    margin-left: 0;
  }

  .post_content .is-style-double tr {
    display: flex;
    flex-direction: column;
  }
  .post_content .is-style-double .td_to_th_ tbody tr > :first-child,
  .post_content .is-style-double tbody th {
    width: 100%;
  }

  .post_content .is-style-double td:last-child,
  .post_content .is-style-double th:last-child {
    width: 100%;
  }

  .p-contacts__button {
    padding: 0.7rem 1rem;
  }

  .sp-br {
    display: block !important;
  }

}
