@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
*/
/*
Theme Name: Cocoon Child
Template: cocoon-master
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/* Googleフォント */
.font_serif {
  font-family: "Noto Serif JP", serif;
  font-optical-sizing: auto;
  font-weight:wait;
  font-style: normal;
}
strong {
    font-weight: 500;
}
.f_wb{
	color:#fff;
	font-weight:600;
	text-shadow: 2px 2px 6px #666666;
}

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* トップページ専用ヘッダー画像 */
.top-header-visual {
  position: relative;
  width: 100vw;
  height: 560px;
  margin: 0;
  padding: 0;
  background-image: url('https://www.moaleplia.site/wp-content/uploads/2025/06/header.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-top: 80px;
  z-index: 10;
}

/* 親の制限を無効化 */
.page .entry-content > .top-header-visual {
  max-width: 100% !important;
  width: 100vw !important;
  margin: 0 auto !important;
  padding: 0 !important;
}

/* トップページのロゴリンク */
.top-logo-link {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 20;
}

/* トップページのロゴ画像 */
.top-logo {
  width: 120px;
  height: auto;
}

/* キャッチコピー（メインタイトル） */
.main-title {
  font-size: 2.7rem;
  color: #fff;
  font-family: "Noto Serif JP", serif;
  font-weight:500;
  text-shadow: 2px 2px 6px #666666;
}

/* キャッチコピー（サブテキスト） */
.sub-text {
  font-size: 1rem;
  color: #fff;
  margin: 0.2em 0 0;
  font-family: "Noto Serif JP", serif;
  text-shadow: 2px 2px 6px #666666;
}
.top-header-texts {
  margin-top: -110px;
}

/* ヘッダーを背面に固定 */
#header-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: -10;
}

/* メインコンテンツを前面に */
#content, .main, .wrap {
  position: relative;
  z-index: 100;
  transition: all 0.6s ease;
}

/* ヘッダーの高さ分コンテンツに余白を追加 */
body {
  padding-top: 560px;
}

/* コンテンツ幅等の調整 */
.content {
    margin-top: -60px;
	margin-bottom: -60px;
}
.main{
	padding:0;
}
.entry-content {
    margin: 0;
}
.wrap,
.main,
.content,
.entry-content {
  max-width: 100% !important;
  width: 100% !important;
}
.wp-block-cover.is-light,
.wp-block-cover__inner-container {
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 auto;
  padding: 0;
}
.wp-block-cover__inner-container.is-layout-constrained {
  max-width: 100% !important;
}
/* 横幅 */
.wrap .entry-content .wp-block-cover__inner-container,
.wrap .entry-content .wp-block-columns {
  max-width: 1200px !important;
  width: 100% !important;
	padding:10px;
}

/* TOPページ内調整 */
.article h3 {
    padding: 0.7em 0em 0.6em;
    color: #584f47;
    background-color: transparent;
    border: none;
	font-family: "Noto Serif JP", serif;
	font-weight:400;
	font-size: 26px;
    /* border-left: solid 5px #c5ac94; */
}
.is-layout-flex {
    padding: 30px 5px 40px;
}

/* table調整 */
table:not(.has-border-color) :where(th, td) {
    border: 0 px solid var(--cocoon-x-thin-color);
}
table tr:nth-of-type(2n+1) {
    background-color: #e9dac4;
}

.wp-block-button a:hover{
	opacity:0.6;
}
.button_pre a:hover{
	opacity:1;
	cursor: default;
}
p.responsive-box.has-background.is-style-light-background-box.has-box-style {
  font-size: 18px;
  line-height: 2;
  text-align: center;
  width: 75%;
  max-width: 100%;
  padding: 50px;
  margin: 10px auto 80px !important;
  box-sizing: border-box;
  word-break: break-word;
  word-wrap: break-word;
}

/* フッター */
.footer {
}
#main > *, #main .article > * {
    margin-bottom: 0;
}
.footer-widgets {
    width: 1400px;
	align-items: center;
	padding-top: 70px;
	margin:0 auto;
}
.footer-left {
    text-align: right;
}

.widget_media_image img{
	width:120px;
}
/* Instagram & LINE */
.footer-social-links {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-left: 200px;
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
}
.footer-line {
  display: flex;
  align-items: center;
  gap: 10px;
}
.line-button {
  margin-left: 10px;
  padding: 8px 16px;
  border: 1px solid #5c4825;
  border-radius: 6px;
  text-decoration: none;
  color: #5c4825;
  transition: background-color 0.3s, color 0.3s;
  font-size: 16px;
  font-family: "M PLUS 1p", sans-serif;
  font-size: 13px;
}
.line-button:hover {
  background-color: #ffec89;
}
.footer-instagram{
	padding-bottom: 20px;
}
.footer-instagram i {
  font-size: 20px;
  margin-left: 6px;
  color: #5c4825;
}
.footer-instagram a{
	text-decoration: none;
}
.footer-instagram a:hover{
	opacity:0.6;
}
.footer-widget-area {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 40px;
  background-color: #fff3c1;
  flex-wrap: wrap;
}

.footer-bottom {
    margin-top: 0;
	font-family: "Noto Serif JP", serif;
    font-weight: 500;
}

/* パンくず非表示 */
#breadcrumb {
  display: none !important;
}


/* ヘッダーふわっと */

@keyframes fadeInSimple {
  0% {
    opacity: 0;
    transform: scale(1.08); /* ← 最初ちょっと大きく */
  }
  100% {
    opacity: 1;
    transform: scale(1); /* ← 元のサイズに戻す */
  }
}
.fade-in-onload {
  opacity: 0;
  animation: fadeInSimple 2s ease-out forwards;
  animation-delay: 0.2s;
}


/* ふわっと */

@keyframes fadeInLeft {
  0% {
    opacity: 0;
    transform: translateX(-40px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes fadeInRight {
  0% {
    opacity: 0;
    transform: translateX(40px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}


.fade-left,
.fade-right,
.fade-up {
  opacity: 0;
  visibility: hidden;
  transition: all 1.8s ease-out;
}

/* showが付いたら表示＆アニメーション */
.fade-left.show {
  opacity: 1;
  visibility: visible;
  animation: fadeInLeft 1.8s ease-out forwards;
}
.fade-right.show {
  opacity: 1;
  visibility: visible;
  animation: fadeInRight 1.8s ease-out forwards;
}
.fade-up.show {
  opacity: 1;
  visibility: visible;
  animation: fadeInUp 1.8s ease-out forwards;
}







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

@media (max-width: 768px) {
	body {
		padding-top: 400px !important;
 　 }
	.top-header-visual {
    height: 400px;
    padding-top: 60px;
    background-position: top;
  }
	.top-logo {
    width: 70px;
	}
  .main-title {
    font-size: 1.5rem;
  }
  .sub-text {
    font-size: 0.9rem;
    padding: 0 1em;
  }
  .content {
    margin-top: -60px;
  }
  main.main, div.sidebar {
        padding: 12px 0 16px;
        margin: 0 0 10px;
  }
	
/* カラム全体を縦並びに変更 */
  .wp-block-columns {
    flex-direction: column !important;
  }

  /* 画像の入っているカラムを横並びに */
  .image-column {
    display: flex !important;
    justify-content: space-between;
    gap: 5px;
  }

  /* 各画像を均等配置 */
  .image-column .wp-block-image {
    flex: 1 1 0;
  }

  figure.img-1 img {
  width: 100%;
  height: auto;
}

figure.img-2 img {
  width: 80%;
  height: auto;
}

figure.img-3 img {
  width: 100%;
  height: auto;
}
.wp-block-cover, .wp-block-cover-image {
    min-height: 330px;
}
	.sp_wellness {
    font-size: 26px !important;
	padding-left: 20px;
  }
figure.wp-block-image.size-full.is-resized img {
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

	/* 画像の下余白をなくす */
  figure.wp-block-image.size-full.is-resized {
    margin-bottom: 10px !important;
  }

  /* 見出しの上余白をなくす */
  p.has-text-align-center.font_serif {
    margin-top: 0 !important;
    padding-top: 0 !important;
    margin-bottom: 10px !important;
    padding-bottom: 0 !important;
    line-height: 1.2 !important;
  }
	
	.mb-tight,.sp-tight {
    margin-bottom: 1em !important;
    text-align:center;
  }
	.button-spacing {
    padding: 0 0 50px !important;
  }
	br.sp-hide {
    display: none;
  }
	br.pc-hide {
    display: inline !important;
  }
	p.has-text-align-center.font_serif.line_b {
    line-height: 1.5 !important;
    margin-bottom: 30px !important;
  }
	.fz-40px {
    font-size: 28px;
}
	.fz-22px {
    font-size: 16px;
}
	.wp-block-image img {
    max-width: 80%;
    margin: 0 auto;
}
	.center-ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    list-style-position: inside;
	padding-bottom: 40px;
  }
	.article ul, .article ol {
        padding-left: 0;
    }
	figure.wp-block-image.size-full {
  margin-bottom: 10px !important;
}
	.btn-margin {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
	.fz-24px {
    font-size: 20px;
}
	.profile-title {
    font-size: 14px;
    line-height: 1.6;
    }
	.profile-list {
    font-size: 14px;
    margin-left: 10px;
  }
	.profile-table {
    font-size: 16px;
  }
	.profile-table td:first-child {
    width: 15%;
    white-space: nowrap;
}

    .profile-table td {
    padding: 4px 8px;
}
	.profile-table td {
    padding: 0 8px 12px;
}
	p.responsive-box.has-background.is-style-light-background-box.has-box-style {
    font-size: 15px;
    padding: 24px 16px;
  }
	.entry-content > *:last-child {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}
	#main {
    padding-bottom: 0;
}
	.block-column-fix {
    margin-top: 30px !important;
  }

  .footer-widget-area {
    flex-direction: column;
    text-align: center;
  }

  .footer-social-links {
    margin-left: 0;
  }
p.responsive-box.has-background.is-style-light-background-box.has-box-style {
  width: 100%;
  }

.footer-mobile {
  display: flex;
  align-items: center;
  margin-top: 60px;
}

.widget_media_image {
  flex: 0 0 40%;
  max-width: 40%;
  text-align: left;
}

.widget_custom_html {
  flex: 1;
}
	.widget_media_image img {
  max-width: 70% !important;
  height: auto !important;
}

}



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