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

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

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

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

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

  /* 5領域の画像(PCとスマホで画像を使い分け)-------------------------------------------------------------------*/
.pc-only {
  display: block;
}
.sp-only {
  display: none;
}

@media screen and (max-width: 1024px) {
  .pc-only {
    display: none !important;
  }
  .sp-only {
    display: block !important;
  }
}

/* スマホだけ余白を消す(児発の画像) */
@media screen and (max-width: 768px) {
  .img-bottom-jihatu {
    margin-top: 0 !important;
  }
}

/************************************
** タイトル・日付非表示
************************************/
.home .entry-title,
.page .entry-title {
  display: none;
}

.entry-date,
.entry-update,
.post-date,
.post-update {
  display: none;
}

.map-center {
  width: min(100%, 1000px);
  margin: 0 auto;
}

.map-center iframe {
  width: 100%;
  height: 450px;
  display: block;
}

@media (max-width: 768px) {
  .map-center {
    width: 95%;
  }

  .map-center iframe {
    height: 300px;
  }
}

/************************************
** ヘッダーメニュー
************************************/
.menu-item a {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  gap: 6px;
}

.menu-item i {
  display: inline-block;
  font-size: 16px;
}

/* ヘッダーメニューだけアイコンを非表示 */
#navi .fas::before,
#navi .far::before,
#navi .fab::before {
    content: none;
}

/* サイト全体の横幅 */
.container {
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
}

/* ==== サイドバーSNSカード（完成版） ==== */
.sidebar-sns-card {
  background: #ffffff;
  padding: 20px 16px;
  margin-top: 2px;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  text-align: center;
}

/* タイトル */
.sidebar-sns-title {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em; /* 日本語向けに調整 */
  line-height: 1.6;
  color: #555;
  margin-bottom: 16px;
}

/* アイコンエリア */
.sidebar-sns-icons {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 0px;
}

/* 共通SNSボタン */
.sns-btn {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 14px rgba(0,0,0,0.15);
}

/* hover時 */
.sns-btn:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 10px 24px rgba(0,0,0,0.25);
}

/* アイコン */
.sns-btn i {
  font-size: 34px;
  margin-bottom: 6px;
}

/* テキスト */
.sns-btn span {
  font-size: 12px;
  font-weight: 700;
}


/* LINE */
.sns-btn.line {
  background: linear-gradient(135deg, #06c755, #00b44a);
  position: relative;
}

/* LINEおすすめラベル */
.sns-btn.line::after {
  content: "おすすめ";
  position: absolute;
  top: -10px;
  right: -6px;
  background: #ffffff;
  color: #06c755;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

/* フッターモバイルメニュー：濃い緑背景 */
.mobile-menu-buttons {
    background-color: #2E7D32;
}

/* ボタン内の文字・アイコンを白 */
.mobile-menu-buttons .menu-button,
.mobile-menu-buttons .menu-button a,
.mobile-menu-buttons .menu-button span,
.mobile-menu-buttons .menu-button i {
    color: #ffffff;
}

/* アイコン部分 */
.mobile-menu-buttons .menu-button .menu-button-icon {
    color: #ffffff;
}

/* スマホだけ文字サイズを小さく */
@media screen and (max-width: 767px) {
  .sp-text-small {
    font-size: 0.9rem;
  }
}

@media screen and (max-width: 767px) {
	.sp-text-small2{
		font-size: 0.8rem;
	}
}

.sp-br{
  display:none;
}

@media screen and (max-width: 767px){
  .sp-br{
    display:inline;
  }
}

@media screen and (max-width: 767px){

  .img-bottom-jihatu{
    text-align:center;
  }

  .img-bottom-jihatu img{
    width:85% !important;
    margin:0 auto;
    display:block;
  }

}

/************************************
** お問い合わせページ Line,tel
************************************/

.line-contact{
text-align:center;
margin:30px 0;
}

.line-contact a{
display:inline-block;
background:#06C755;
color:#fff;
padding:16px 40px;
border-radius:999px;
font-size:20px;
font-weight:bold;
text-decoration:none;
transition:.3s;
}

.line-contact a:hover{
transform:translateY(-3px);
opacity:.9;
}

.tel-contact {
text-align: center;
margin: 30px 0;
}

.tel-contact a {
display: inline-block !important;
background-color: #ff7f50 !important;
color: #ffffff !important;
padding: 16px 40px !important;
border-radius: 999px !important;
font-size: 20px !important;
font-weight: bold !important;
text-decoration: none !important;
line-height: 1.4;
}

.tel-contact a:hover {
opacity: 0.9;
transform: translateY(-2px);
}

/************************************
** お問い合わせページ
************************************/

/* ページ全体 */
.page-id-3316 .main {
  background: linear-gradient(to bottom,#F1F8E9,#ffffff);
  padding: 20px;
  border-radius: 20px;
}

/* 説明文 */
.contact-message {
  text-align: center;
  margin-bottom: 30px;
}

.contact-message h2 {
  font-size: 32px;
  color: #43A047;
  margin-bottom: 10px;
}

.contact-message p {
  line-height: 2;
  font-size: 16px;
}

/* Contact Form 7 */
.page-id-3316 .wpcf7-form {
  background: #ffffff;
  border: 3px dashed #C8E6C9;
  border-radius: 24px;
  padding: 35px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

/* ラベル */
.page-id-3316 .wpcf7-form p {
  font-weight: bold;
  color: #555;
}

/* 入力欄 */
.page-id-3316 .wpcf7 input,
.page-id-3316 .wpcf7 textarea {
  width: 100%;
  border: 2px solid #C8E6C9;
  border-radius: 14px;
  padding: 14px;
  margin-top: 8px;
  margin-bottom: 20px;
  font-size: 16px;
  transition: .3s;
}

/* フォーカス */
.page-id-3316 .wpcf7 input:focus,
.page-id-3316 .wpcf7 textarea:focus {
  border-color: #66BB6A;
  outline: none;
  box-shadow: 0 0 10px rgba(102,187,106,0.25);
}

/* 送信ボタン */
.page-id-3316 .wpcf7-submit {
  width: 100%;
  background: linear-gradient(45deg,#43A047,#81C784);
  color: white;
  border: none;
  border-radius: 999px;
  padding: 16px;
  font-size: 18px;
  font-weight: bold;
  transition: .3s;
}

/* ホバー */
.page-id-3316 .wpcf7-submit:hover {
  transform: translateY(-3px);
  opacity: .9;
}

/* 投稿者名を非表示 */
.author-info,
.entry-author {
  display: none;
}

/************************************
** LINEスライドイン設定
************************************/

.line-fixed-btn {
  position: fixed;
  left: 15px;
  bottom: 80px;
  z-index: 9999;

  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;

  transition: opacity .5s ease,
              transform .5s ease;
}

.line-fixed-btn.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.line-fixed-btn img{
  width:100px;
}

/************************************
** ヘッダー画像設定
************************************/
body.blog .header,
body.single .header,
body.archive .header {
  background-image: url("http://enryouiku-shinjuku.jp/wp-content/uploads/2026/07/01_ブログ.jpg");
}

body.page-id-18 .header {
  background-image: url("http://enryouiku-shinjuku.jp/wp-content/uploads/2026/07/02_スタッフ紹介.jpg");
}

body.page-id-21 .header {
  background-image: url("http://enryouiku-shinjuku.jp/wp-content/uploads/2026/07/03_スタジオ情報.jpg");
}

body.page-id-3316 .header {
  background-image: url("http://enryouiku-shinjuku.jp/wp-content/uploads/2026/07/05_お問い合わせ.jpg");
}

body.page-id-44 .header {
  background-image: url("http://enryouiku-shinjuku.jp/wp-content/uploads/2026/07/04_フィールド.jpg");
}

/************************************
** PC表示
************************************/
body:not(.home):not(.front-page) .header {
  height: 280px;
}

/************************************
** ロゴ制御
************************************/
.header-container .logo-header {
  display: none !important;
}

/* PCでは表示 */
.home .header-container .logo-header,
.front-page .header-container .logo-header {
  display: block !important;
}

/************************************
** スマホ対応
************************************/

@media screen and (max-width: 768px){

  body:not(.home):not(.front-page) .header {
    height: 140px !important;
    background-position: center top;
  }

  .header-in,
  .header-container {
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0 auto;
  }
}

@media screen and (max-width: 1024px){

  .header {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
  }

  body:not(.home):not(.front-page) .header{
    aspect-ratio:1920 / 500;
    background-size:cover;
    background-position:center;
    height:auto !important;
  }

}

/************************************
** 改行設定
************************************/

/* デフォルトでは改行しない */
.sp-br {
  display: none;
}

/* スマホだけ改行 */
@media (max-width: 768px) {
  .sp-br {
    display: inline;
  }
}

/* PC：2つのカラム内の画像位置を下で揃える */
/* PCのみ */
@media (min-width: 769px) {

.wp-block-columns{
    align-items:stretch;
}

.wp-block-columns > .wp-block-column{
    display:flex;
    flex-direction:column;
}

.wp-block-columns > .wp-block-column > .wp-block-image{
    margin-top:auto;
}

}