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

/************************************
** 基本設定
************************************/
* {
  box-sizing: border-box;
}

img {
  max-width: 100% !important;
  height: auto;
}

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

body.page-id-42 .header {
  background-image: url("http://enryouiku-araiyakushi.jp/wp-content/uploads/2026/04/02スタッフ.png");
}

body.page-id-45 .header {
  background-image: url("http://enryouiku-araiyakushi.jp/wp-content/uploads/2026/04/02スタジオ.png");
}

body.page-id-80 .header {
  background-image: url("http://enryouiku-araiyakushi.jp/wp-content/uploads/2026/04/02お問い合わせ.png");
}

body.page-id-3049 .header {
  background-image: url("http://enryouiku-araiyakushi.jp/wp-content/uploads/2026/05/新井薬師ヘッダーPC.png");
}

/* 共通 */
.header {
  background-size: cover;
  background-position: center;
  overflow: visible;
}

.header-container {
  overflow: visible;
}

/************************************
** 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;
}


/************************************
** レイアウト
************************************/
.wrap,
.container,
.content,
.main,
.sidebar {
  max-width: 100%;
}
/* PCだけ「中身」だけ縮める */
@media screen and (min-width: 769px) {
  .container {
    max-width: 90%;
    margin: 0 auto;
  }
}

/* スマホはそのまま */
@media screen and (max-width: 768px) {
  .container {
    max-width: 100%;
  }
}

.sidebar {
  width: 300px;
}

.main {
  width: calc(100% - 320px);
}

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

@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: 768px) {

  .wp-block-cover > .wp-block-group > .wp-block-columns {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 10px !important;
  }

  .wp-block-cover > .wp-block-group > .wp-block-columns > .wp-block-column {
    flex: 0 0 calc(50% - 5px) !important;
    max-width: calc(50% - 5px) !important;
  }

  .wp-block-columns .wp-block-columns {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
  }

  .wp-block-columns .wp-block-columns > .wp-block-column {
    flex: 0 0 calc(50% - 5px) !important;
    max-width: calc(50% - 5px) !important;
  }

  .wp-block-column img {
    width: 100% !important;
    height: auto !important;
    display: block;
  }
}

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

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

/************************************
** サイドバー
************************************/
.sidebar .widget-title {
  font-size: 16px;
  background: #ffe4ec;
  padding: 8px 12px;
  border-radius: 8px;
}

.widget_recent_entries li a {
  font-size: 13px;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.widget_recent_entries li {
  margin-bottom: 6px;
}

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

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

@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;
  }

}


/************************************
** タッチ端末用ヘッダー画像
************************************/

/**********************************
@media (hover: none){

  /* ブログ *
  body.blog .header,
  body.single .header,
  body.archive .header{
    background-image:url("http://enryouiku-araiyakushi.jp/wp-content/uploads/2026/05/スマホ用ブログ.png") !important;
  }

  /* スタッフ *
  body.page-id-42 .header{
    background-image:url("http://enryouiku-araiyakushi.jp/wp-content/uploads/2026/06/スマホ用スタッフ3.png") !important;
  }

  /* スタジオ *
  body.page-id-45 .header{
    background-image:url("http://enryouiku-araiyakushi.jp/wp-content/uploads/2026/05/スマホ用スタジオ.png") !important;
  }

  /* お問い合わせ *
  body.page-id-80 .header{
    background-image:url("http://enryouiku-araiyakushi.jp/wp-content/uploads/2026/05/スマホ用お問い合わせ.png") !important;
  }

  /* フィールド *
  body.page-id-3049 .header{
    background-image:url("http://enryouiku-araiyakushi.jp/wp-content/uploads/2026/05/スマホ用フィールド.png") !important;
  }

}

****************************/

  /* 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;
  }
}

/* まず星を変更できるようにする */
.box-menu-icon .fa-star:before{
font-family: "Font Awesome 5 Free";
font-weight: 900;
}

/* ホーム */
a[href="https://enryouiku-araiyakushi.jp/"] .fa-star:before{
content: "\f015";
}

/* ブログ */
a[href*="blog"] .fa-star:before{
content: "\f02d";
}

/* スタジオ情報 */
a[href*="%e3%82%b9%e3%82%bf%e3%82%b8%e3%82%aa"] .fa-star:before{
content: "\f5fc";
}

/* スタッフ情報 */
a[href*="%e3%82%b9%e3%82%bf%e3%83%83%e3%83%95"] .fa-star:before{
content: "\f0c0";
}

/* フィールド */
a[href*="%e3%83%95%e3%82%a3%e3%83%bc%e3%83%ab%e3%83%89"] .fa-star:before{
content: "\f1bb";
}

/* お問い合わせ */
a[href*="%e3%81%8a%e5%95%8f%e3%81%84%e5%90%88%e3%82%8f%e3%81%9b"] .fa-star:before{
content: "\f0e0";
}

.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-80 .main {
  background: linear-gradient(to bottom,#fff8fb,#ffffff);
  padding: 20px;
  border-radius: 20px;
}

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

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

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

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

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

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

/* フォーカス */
.page-id-80 .wpcf7 input:focus,
.page-id-80 .wpcf7 textarea:focus {
  border-color: #ff7eb6;
  outline: none;
  box-shadow: 0 0 10px rgba(255,126,182,0.2);
}

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

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

/* スマホ */
@media screen and (max-width:768px){

  .contact-message h2{
    font-size:26px;
  }

  .page-id-80 .wpcf7-form{
    padding:20px;
  }

}

/* PC */
.two-column {
  display: flex;
  gap: 30px;
}

/* スマホ */
@media screen and (max-width: 768px) {
  .two-column {
    display: block;
  }

  .two-column > * {
    height: auto !important;
    min-height: 0 !important;
  }
}

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

  .wp-block-image {
    margin-top: 0 !important;
    margin-bottom: 20px !important;
  }

}

/* スマホだけ文字サイズを小さく */
@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;
  }

}

/* ==== サイドバー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: 110px;
  height: 110px;
  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);
}

/* Instagram */
.sns-btn.instagram {
  background: linear-gradient(
    135deg,
    #833ab4,
    #fd1d1d,
    #fcb045
  );
}

.line-fixed-btn {
  position: fixed;
  right: 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;
}