@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

/* タイトル/更新日/著者情報を削除 */
.page .entry-title,
.page .date-tags,
.page .author-info {
  display: none;
}

html {
  scroll-padding-top: 80px;
}

/* 共通 */
.mb0 {
  margin-bottom: 0 !important;
}

.mt0 {
  margin-top: 0 !important;
}

.mb10 {
  margin-bottom: 10px;
}

.mb20 {
  margin-bottom: 20px;
}

.mb40 {
  margin-bottom: 40px;
}

.c-red {
  color: #d9534f;
}

.h50 {
  height: 50px;
}

.gap0 {
  gap: 0;
}

/* パーツ */
h1.ttl-page {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
}

h2.ttl-main {
  position: relative;
  text-align: center;
  width: 100%;
  background-color: #F8F9FA;
  padding: 2.5rem 0 3rem 0;
  margin-top: 70px !important;
}

h2.ttl-main::before {
  content: '';
  position: absolute;
  bottom: 30px;
  display: inline-block;
  width: 60px;
  height: 5px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #0077B6;
  border-radius: 3px;
}

h3.ttl-sub {
  position: relative;
  color: #0077B6;
  width: 100%;
  border-left: 3px solid #0077B6;
  margin-top: 50px !important;
  margin-bottom: 20px;
}

.article h4 {
  border-top: none;
  border-bottom: none;
}

.icon-flow::after {
  content: '';
  position: absolute;
  right: -19px;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 150%;
  content: "\f054";
  color: #666;
}

/* テーブル */
.wp-block-table td:nth-child(1) {
  width: 30%;
}

.wp-block-table td {
  padding: 1rem;
  border-top: 1px solid #909191;
  border-bottom: 1px solid #909191;
}

/* ==========================
   ヘッダー
   ========================== */
#header {
  height: 100px;
  display: flex;
  align-items: center;
}

#header .site-logo img {
  object-fit: contain;
}

.header-container {
  height: 100px;
  display: flex;
  align-items: center;
}

.header-container .site-logo img {
  max-height: 80px;
}

.header-container-in.hlt-top-menu .logo-header img {
  height: 35px;
}

#navi ul li {
  vertical-align: middle;
}

#navi ul li:last-child {
  width: 200px;
}

#navi ul li:last-child a {
  width: 200px;
  color: #fff !important;
  background-color: #00B4D8;
  border-radius: 30px;
  transition: 0.3s;
}

#navi ul li:last-child a:hover {
  background-color: #0070c0;
}

/* ==========================
   フッター
   ========================== */
/* フッター上CTAエリア（ウィジェット > コンテンツ下部） */
.footer-cta {
  background: #e6e6e6;
  text-align: center;
  padding: 40px 20px;
  color: #333;
}

.footer-cta h2 {
  position: relative;
  margin-bottom: 40px;
}

.footer-cta h2 .jp {
  font-size: 22px;
  font-weight: 700;
}

.footer-cta h2 .en {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 36px;
}

.footer-cta h2::before {
  content: '';
  position: absolute;
  bottom: 0;
  width: 60px;
  height: 5px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #0077B6;
  border-radius: 3px;
}

/* CTAボタン */
.cta-top {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}

.cta-btn {
  width: 600px;
  height: 90px;
  background: #00B4D8;
  border-radius: 12px;
  font-size: 16px;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}

.cta-btn:hover {
  background: #0070c0;
}

.cta-btn i {
  margin-right: 10px;
}

.cta-tel-box {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.cta-tel-box {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: #0070c0;
  text-decoration: none;
}

.cta-tel {
	font-size: 40px;
  text-align: left;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.cta-tel span {
  font-size: 16px;
}

.cta-tel i{
  margin-right: 0.5rem;
}

.tel-time {
  font-size: 14px;
  color: #333;
}

.cta-mail {
  display: block;
  margin-top: 10px;
  font-size: 24px;
	text-decoration: none;
}

a.cta-mail:hover {
  color: #0070c0;
}

.cta-mail i {
  margin-right: 6px;
}

/* フッター */
.footer {
  margin-top: 0;
  padding: 0;
}

.footer-bottom-logo img {
  height: 30px;
}

.footer-bottom-logo {
  float: right;
  bottom: 40px;
  position: absolute;
}

/* ==========================
   TOP
   ========================== */
.appeal {
  height: auto !important;
  /* Cocoonの固定高さを無効化 */
  padding-top: 56.25%;
  /* 16:9 の比率（ここは変更可能） */
  background-size: cover !important;
  background-position: center !important;
  position: relative;
}

/* 中のテキストなどがある場合用（固定でも可） */
.appeal .appeal-in {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* スマホスワイプを強制オン */
#metaslider_484.flexslider {
  touch-action: pan-y !important;
  pointer-events: auto !important;
}

#metaslider_484.flexslider .slides {
  pointer-events: auto !important;
  touch-action: pan-y !important;
}

#metaslider_484 ul li:hover {
  transition: 0.3s;
  opacity: 70%;
}

h2.ttl-top {
  position: relative;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 36px;
  text-align: center;
  width: 100%;
}

h2.ttl-top::before {
  content: '';
  position: absolute;
  bottom: 0px;
  display: inline-block;
  width: 60px;
  height: 5px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #0077B6;
  border-radius: 3px;
}

h2.ttl-about {
  position: relative;
  text-align: center;
  padding: 100px 0;
  color: #fff;
  margin-bottom: 0;
  background-image: url(/wp-content/uploads/2025/10/img_ttl-top01-scaled.jpg);
}

h2.ttl-about::before {
  content: '';
  position: absolute;
  bottom: 70px;
  display: inline-block;
  width: 60px;
  height: 5px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 3px;
  background-color: #F8F9FA;
  opacity: 0.7;
}

/* カラムの高さを揃える */
.equal-height,
.equal-height .wp-block-columns,
.equal-height.column-wrap {
  display: flex !important;
  flex-wrap: wrap;
  align-items: stretch !important;
  width: 100%;
}

/* 子カラムを均等に伸ばす */
.equal-height>.wp-block-column,
.equal-height>.wp-block-cocoon-blocks-column-left,
.equal-height>.wp-block-cocoon-blocks-column-right,
.equal-height .wp-block-column,
.equal-height .column-left,
.equal-height .column-right {
  display: flex !important;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
  flex: 1 1 0;
}

/* Gutenbergのflowレイアウトを上書き */
.equal-height .is-layout-flow {
  height: auto !important;
  align-self: stretch !important;
}

/* 最後の段落の余白を詰める（整列用） */
.equal-height p:last-child {
  margin-bottom: 0;
}

.box-top-about.left {
  background: #D9D9D9;
  background-image: url('/wp-content/uploads/2025/10/bg-left.png') !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
  background-size: 161px auto !important;
  background-attachment: scroll !important;
  position: relative;
  z-index: 1;
}

.box-top-about.right {
  background: #D8ECDA;
  background-image: url('/wp-content/uploads/2025/10/bg-right.png') !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
  background-size: 196px auto !important;
  background-attachment: scroll !important;
  position: relative;
  z-index: 1;
}

.equal-height .box-top-about {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding: 2em;
  box-sizing: border-box;
}

.box-top-about .column-wrap>div {
  width: 50% !important;
}

.box-top-about .label {
  text-align: center;
  padding: 5px 20px;
  font-size: 26px;
  color: #fff;
  border-radius: 20px;
  margin-bottom: 0px;
}

.box-top-about.left .label {
  background-color: #787979;
}

.box-top-about.right .label {
  background-color: #47B35C;
}

.box-top-flow {
  padding: 70px 0;
  background: linear-gradient(#D9F4FF, #fff);
}

.wide-gap-column {
  width: 28% !important;
}

/* ==========================
   お問い合わせ
   ========================== */
.contact-form {
  max-width: 1000px;
  margin: 0 auto;
  background: #fff;
  padding: 40px 30px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  font-size: 16px;
}

/* 各フォーム要素 */
.form-group {
  margin-bottom: 1.8em;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5em;
}

.required,
.optional {
  display: inline-block;
  font-size: 12px;
  color: #fff;
  padding: 2px 6px;
  border-radius: 3px;
  margin-left: 6px;
}

.required {
  background-color: #d9534f;
}

.optional {
  background-color: #aaa;
}

.form-text {
  font-size: 14px;
  color: #686868;
  ;
}

/* 2列構成（名前など） */
.name-fields input {
  width: 48% !important;
  display: inline-block;
  margin-right: 2%;
  margin-bottom: 8px;
  padding: 12px 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.name-fields input:last-child {
  margin-right: 0;
}

/* 住所フィールド */
.address-fields input,
.address-fields select {
  width: 100%;
  padding: 10px;
  margin-bottom: 6px;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-sizing: border-box;
}

/* 郵便番号 */
.zip-fields {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}

.zip-fields input {
  width: 80px;
  text-align: center;
}

.address-fields select[name="prefecture"] {
  width: 50%;
  max-width: 260px;
}

/* 電話番号 */
.tel-fields {
  display: flex;
  align-items: center;
  gap: 6px;
}

.tel-fields input {
  width: 28%;
  max-width: 120px;
  text-align: center;
  margin-bottom: 8px;
  padding: 12px 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.checkbox-group label {
  display: inline-block;
  margin-right: 20px;
  font-weight: normal;
}

/* 入力欄共通 */
.form-input,
.form-textarea,
input[type="email"],
input[type="tel"],
select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
}

.form-input:focus,
.form-textarea:focus,
input:focus,
select:focus {
  border-color: #005bac;
  outline: none;
}

/* プライバシー同意 */
.form-privacy {
  margin: 2em 0;
  text-align: center;
}

.form-privacy a {
  color: #005bac;
  text-decoration: underline;
}

/* 送信ボタン */
.form-btn-wrap {
  text-align: center;
}

.btn-submit {
  background-color: #00B4D8;
  color: #fff;
  padding: 14px 60px;
  border: none;
  border-radius: 30px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn-submit:hover {
  background: #0070c0;
}

/* フッター連絡先 */
.footer-contact {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 40px;
  font-size: 18px;
}

.footer-contact span {
  font-weight: 600;
}


/* 確認画面 */
.confirm-area {
  display: none;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px 16px;
}

.confirm-title {
  font-size: 1.4em;
  margin-bottom: 30px;
  padding-bottom: 8px;
  border-bottom: 2px solid #e5e5e5;
}

/* リスト */
.confirm-list {
  margin: 0;
  padding: 0;
}

.confirm-row {
  display: flex;
  padding: 16px 0;
  border-bottom: 1px solid #eee;
}

.confirm-row dt {
  width: 30%;
  font-weight: 600;
  color: #333;
}

.confirm-row dd {
  width: 70%;
  margin: 0;
  color: #555;
  line-height: 1.6;
  word-break: break-word;
}

/* ボタン */
.confirm-btns {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 40px;
}

.confirm-btns button {
  min-width: 200px;
  padding: 14px 20px;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
}

/* 戻る */
.btn-back {
  background: #f5f5f5;
  border: 1px solid #ccc;
  color: #333;
  padding: 14px 60px;
  border: none;
  border-radius: 30px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn-back:hover {
  background: #eee;
}

.btn-submit:hover {
  opacity: 0.85;
}

@media (max-width: 768px) {

  .confirm-row {
    flex-direction: column;
    padding: 14px 0;
  }

  .confirm-row dt,
  .confirm-row dd {
    width: 100%;
  }

  .confirm-row dt {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 6px;
  }

  .confirm-row dd {
    font-size: 1em;
    color: #222;
  }

  .confirm-btns {
    flex-direction: column;
    gap: 16px;
  }

  .confirm-btns button {
    width: 100%;
  }
}

/* ==========================
   プライバシーポリシー
   ========================== */
.page-id-3 .main {
  max-width: 1000px;
  margin: 0 auto !important;
}

ul.li-alpha li {
  list-style-type: lower-alpha;
}

ul.li-circle li {
  list-style-type: circle;
}

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px) {
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px) {
  /*必要ならばここにコードを書く*/


  #metaslider_484 ul li {
    width: 100% !important;
  }

  .wide-gap-column {
    width: 100% !important;
  }

  .cta-tel.tel-line {
    justify-content: center;
    text-align: center;
    width: 100%;
  }

  .cta-tel-box {
    flex-direction: column;
    text-align: center;
  }

  .cta-tel a {
    font-size: 34px;
    text-align: center;
    margin: 0 auto;
  }

  .tel-time {
    text-align: center;
    margin: 4px 0 0 0;
  }

  .footer-bottom-logo {
    position: relative;
  }

  .footer-bottom-logo img {
    height: 20px;
    margin-top: 60px;
  }

}

/*480px以下*/
@media screen and (max-width: 480px) {
  /*必要ならばここにコードを書く*/
}