@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
*/

/************************************
** 子テーマ用のスタイル
************************************/
/*固定ページの日付非表示*/
.post-357 .date-tags {
  display: none;
}

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

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

/*480px以下*/
@media screen and (max-width: 480px) {
  /*必要ならばここにコードを書く*/
}
/*------------------------------------------
 アンカー
------------------------------------------*/
html {
  scroll-padding-top: 50px;
}

@media (min-width: 768px) {
  html {
    scroll-padding-top: 105px;
  }
}

/*------------------------------------------
 共通：目次「もっと見る」ボタンの見た目と中央配置
------------------------------------------*/
.toc-toggle-wrap {
  text-align: center;
  margin-top: 1em;
}

.toc-toggle-btn {
  display: inline-block;
  padding: 6px 12px;
  font-size: 0.9em;
  background-color: #f0f0f0;
  border: 1px solid #ccc;
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
}

/*------------------------------------------
 PC表示：目次3〜4行程度まで表示＋グラデーション
------------------------------------------*/
@media screen and (min-width: 769px) {
  .toc-content.collapsed {
    display: -webkit-box;
    -webkit-line-clamp: 6;
    /* ←見せたい行数に応じて調整（例：6行） */
    -webkit-box-orient: vertical;
    overflow: hidden;
    position: relative;
    transition: max-height 0.3s ease;
  }

  .toc-content.collapsed::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2em;
    background: linear-gradient(to bottom, transparent, #fff);
    pointer-events: none;
  }
}

/*------------------------------------------
 モバイル表示：目次は約4行まで表示（高さ制限方式）
------------------------------------------*/
@media screen and (max-width: 768px) {
  .toc-content.collapsed {
    max-height: 11em;
    /* 約5行分 */
    overflow: hidden;
    position: relative;
    transition: max-height 0.3s ease;
  }

  .toc-content.collapsed::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3em;
    /* モバイルはグラデーション広め */
    background: linear-gradient(to bottom, transparent, #fff);
    pointer-events: none;
  }

  .toc-toggle-btn {
    width: 100%;
    font-size: 1em;
    padding: 10px;
  }
}

.toc-btn-wrapper {
  display: flex;
  justify-content: center;
}

/*------------------------------------------
 2025年9月追記
 お問い合わせページ
------------------------------------------*/
/*へッダーカラー*/
#hd .hd-ctn .sub ul li dl{
	color:#183c83!important;
}
#hd .hd-ctn .sub ul li dl dt span{
	border: 1px solid #183c83!important;
}
#hd .hd-btn a{
	background: #183c83!important;
	border: 1px solid #183c83!important;
}
#hd .hd-btn a:hover{
	background: #fff!important;
	color: #183c83!important;
}
.home #hd .hd-btn a:hover{
	background: #fff!important;
	color: #183c83!important;
}
/* 共通 */
.page-id-1108 .entry-content.cf{
	margin-top: 0;
}
.contact-hero {
  position: relative;
  text-align: center;
  margin-bottom: 2rem;
}
.contact-hero__img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.contact-hero__title {
  font-family: "游明朝", "Yu Mincho", "YuMincho","Hiragino Mincho ProN", "Hiragino Mincho Pro","HGS明朝E", "MS PMincho", "Noto Serif JP", serif;
  position: absolute;
  bottom: 1rem;
  left: 18%;
  transform: translateX(-50%);
  font-size: 41px;
  color: #383838;
  padding: 0.5rem 1rem;
}

/* ===== ヒーロー（上部画像）をデザインデータ寄せ ===== */
.contact-hero {
  position: relative;
  height: 220px;          
  border-radius: 6px;
  overflow: hidden;
}
.contact-hero p{
	margin: 0;
}
.contact-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;       
  object-position: center;  
  filter: saturate(0.95);
}
.contact-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
              rgba(255,255,255,0.88) 0%,
              rgba(255,255,255,0.72) 28%,
              rgba(255,255,255,0.40) 55%,
              rgba(255,255,255,0.00) 82%);
  pointer-events: none;
}

/* ===== レスポンシブ ===== */
@media (max-width: 960px) {
  .contact-hero { height: 200px; }
  .contact-hero__title { left: 28px; transform: translateX(0%);}
  .contact-form-sec { padding: 0 16px; }
}
@media (max-width:768px) {
  .contact-hero { height: 180px; }
  .contact-hero__title { left: 20px; font-size: 30px; padding: 0;}
  .phone-cards { gap: 12px; }
  .contact-by-phone .contact-sec__title,
  .contact-form-sec   .contact-sec__title {
    padding: 16px 18px;
    font-size: 20px;
  }
}

/*不要な項目非表示*/
.page-id-1108 #main{
	padding: 0;
}
.page-id-1108 #breadcrumb{
/*	display: none;*/
}
.page-id-1108 header.article-header.entry-header{
	display: none;
}

/*本文*/
.contact-main{
	position: relative;
	width: 82%;
	max-width: 1300px;
	margin: 0 auto;
}
.contact-main__line{
  position: absolute;
  left: -8%;
  top: -200px;
  bottom: 0;
  width: 1px;
  height: 230px;
  background: #383838;
}
.contact-by-phone .contact-sec__title, .contact-form-sec .contact-sec__title{
	font-family: "游明朝", "Yu Mincho", "YuMincho","Hiragino Mincho ProN", "Hiragino Mincho Pro","HGS明朝E", "MS PMincho", "Noto Serif JP", serif;
	font-size: 28px;
	line-height: 1.2;
	background-color: #fff;
	border: none;
	padding: 0;
	margin: 0;
}
.contact-sec__note{
	margin-top: 30px;
	font-size: 18px;
	line-height: 1.9;
}

/*電話番号*/
.contact-by-phone {
  padding-top: 80px;
  padding-bottom: 75px;
}
.phone-cards{
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;   
  gap: 1rem;
  margin-top: 70px;
  box-sizing: border-box;
}
.phone-cards > p{
  flex: 1 1 calc(50% - 0.5rem); 
  text-align: center;
  box-sizing: border-box;
}

/* モバイルは1列 */
@media (max-width: 850px){
  .contact-main__line{
	left: -3%;
	top: -170px;
	height: 180px;
  }
}
@media (max-width: 768px){
	.contact-main{
		width: 90%;
	}
	.contact-main__line{
	  top: -150px;
	  height: 150px;
    }
	.contact-by-phone {
    padding-top: 40px;
    padding-bottom: 30px;
   }
  .phone-cards > p{
    flex-basis: 100%;
  }
}
.phone-card {
  display: block;
  border: 1px solid #183c83;
  padding: 1.2rem;
  text-decoration: none;
  color: #183c83;
  transition: all 0.3s ease;
}
.phone-card__label {
  display: block;
  font-family: "游明朝", "Yu Mincho", "YuMincho","Hiragino Mincho ProN", "Hiragino Mincho Pro","HGS明朝E", "MS PMincho", "Noto Serif JP", serif;
  font-size: 21px;
  color: #183c83;
}
.phone-card__number {
  font-family: "游明朝", "Yu Mincho", "YuMincho","Hiragino Mincho ProN", "Hiragino Mincho Pro","HGS明朝E", "MS PMincho", "Noto Serif JP", serif;
  margin-top: 20px;
  display: block;
  font-size: 51px;
  line-height: 1;
  color: #183c83;
  font-weight: bold;
}
.phone-card__number a{
  text-decoration: none;	
  color: #183c83!important;
}
/* 注意書き */
.helper-text {
  font-size: 0.85rem;
  color: #555;
}

/* レスポンシブ */
/* レスポンシブ */
@media (max-width: 850px) {
  .phone-card__label{
	font-size: 18px;
  }
  .phone-card__number{
	font-size: 42px;
  }
}
@media (max-width: 768px) {
  .phone-cards {
    flex-direction: column;
    align-items: center;
	margin-top: 35px;
  }
  .phone-card {
    width: 100%;
  }
}


/*フォーム*/
.contact-form-sec {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0;
}
.form-row {
  margin-bottom: 1.5rem;
}
.form-label {
  display: block;
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: 600;
}
.form-label.required .req {
  color: red;
  margin-left: 0.2rem;
}
.wpcf7-form-grid .input-text, .wpcf7-form-grid .input-textarea{
	background: #f5f6f7;
	border: none;
	border-radius: 0;
}
.submit-note{
	text-align: center;
}

/* 送信ボタン */
.form-actions {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}
.form-actions .btn.btn-primary,
.form-actions input.wpcf7-submit.btn.btn-primary{
  font-family: "游明朝", "Yu Mincho", "YuMincho","Hiragino Mincho ProN", "Hiragino Mincho Pro","HGS明朝E", "MS PMincho", "Noto Serif JP", serif;
  width: 500px;                 /* 横幅 */
  height: 90px;                 /* 縦幅 */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;        /* 角丸 → pill 形状 */
  background: #193D7A;          /* お好みで調整（濃いブルー） */
  color: #fff;
  font-size: 20px;              /* 文字サイズは適宜 */
  font-weight: 600;
  letter-spacing: .04em;
  border: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.6); /* 薄い白縁 */
  cursor: pointer;
  text-decoration: none;
  -webkit-appearance: none;
  appearance: none;
}

.form-actions .btn.btn-primary:hover,
.form-actions input.wpcf7-submit.btn.btn-primary:hover{
  filter: brightness(1.05);
}
.form-actions .btn.btn-primary:focus-visible,
.form-actions input.wpcf7-submit.btn.btn-primary:focus-visible{
  outline: 3px solid rgba(25,61,122,.35);
  outline-offset: 2px;
}

/* 無効時（送信中） */
.form-actions .btn.btn-primary:disabled,
.form-actions input.wpcf7-submit.btn.btn-primary:disabled{
  opacity: .6;
  cursor: not-allowed;
}

/* 入力欄 */
.input-text,
.input-textarea {
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 0.6rem 0.8rem;
  font-size: 1rem;
}
.input-text:focus,
.input-textarea:focus {
  border-color: #0d2d66;
  outline: none;
  box-shadow: 0 0 4px rgba(13,45,102,0.3);
}
.input-textarea {
  min-height: 150px;
  resize: vertical;
}

/* ラジオ */
.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.5rem;
}
.radio-inline label {
  cursor: pointer;
}


@media (max-width: 768px){
  .form-actions .btn.btn-primary,
  .form-actions input.wpcf7-submit.btn.btn-primary{
    width: 350px;
	height: 60px; 
  }
  .submit-note{
   text-align: left;	
  }
}
/*フッターメタ非表示*/
.page-id-1108 .article-footer.entry-footer{
	display: none;
}
#autozip{
  display: none!important;	
}