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

/************************************
** 子テーマ用のスタイルを書く
************************************/
html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* ===== 全体の文字色を統一 ===== */
.entry-content p,
.entry-content td,
.entry-content th,
.entry-content strong {
  color: #4d3b08 !important;
}
.entry-content p:not([class*="text-align-center"]),
.entry-content td,
.entry-content th,
.entry-content strong {
  text-align: justify;
  text-justify: inter-ideograph;
}

.wp-block-paragraph:not([class*="has-text-align-center"]) {
  text-align: justify;
  text-justify: inter-ideograph;
}

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

/* トップページ専用ヘッダー画像 */
.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: 999; /* 最前面にする */
  pointer-events: auto;
}

/* トップページのロゴ画像 */
.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: 0;
}

/* メインコンテンツを前面に */
#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;
	border: 0 !important;
}
.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;
}
.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: 100%;
  max-width: 880px;
  padding: 45px;
  margin: 10px auto 80px !important;
  box-sizing: border-box;
  word-break: break-word;
  word-wrap: break-word;
}

.font_w6 {
  font-weight: 600 !important;
  font-variation-settings: "wght" 600 !important;
}
.font_w7 {
  font-weight: 700 !important;
  font-variation-settings: "wght" 700 !important;
}
.button-p1{
	padding-top:123px
}
.button-p2{
	padding-top:60px
}

.wp-block-column .column-body {
  margin-left: auto;
  margin-right: auto;
  width: fit-content;
}
.wp-block-column .wp-block-list {
  color: #4d3b08 !important;
}
.wp-block-list {
  padding-left: 0 !important;
}

.wp-block-contents {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.profile-list {
    margin-left: 15px;
  }
.entry-content td,
.entry-content th {
  vertical-align: top;
}
.text-revise {
  text-align: justify;
  text-justify: inter-ideograph;
}

/* フッター */
.footer {
	padding: 8px 0 0 !important;
}
#main > *, #main .article > * {
    margin-bottom: 0;
}
.footer-widgets {
	align-items: center;
	padding-top: 70px;
	margin:0 auto;
	background:#fef0b6;
}
.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 !important; */
  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;
	background-color: #feefb6;
}

/* パンくず非表示 */
#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;
  background-color: #feefb6;
}

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

.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;
}
br.pc-hide {
  display: none;
}

.cover-no-space {
  min-height: auto !important;
  padding-top: 3rem !important;
  padding-bottom: 3rem !important;
}

@media (min-width: 769px) {
  .pc-hidden {
    display: none !important;
  }
}

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/

@media (min-width: 1330px) {
  .footer-social-links {
  margin-left: 150px !important;
  }	
}
@media (min-width: 835px) {
  .footer-social-links {
  margin-left: 40px;
  }
  .footer-widgets {
  display: flex;
  }
}
@media (max-width: 840px) {
	main.main{
        padding: 0 !important;
    }
}
@media screen and (max-width: 835px) and (min-width: 768px){
  .footer-widgets {
  display: flex;
	  background:#feefb6;
  margin-bottom: 0;
  }
  .footer-social-links {
  margin-left: 10px !important;
  }
	.footer-widgets-mobile{
		display:none;
  }
}
/*
@media (max-width: 780px) {
    .img_bg1 img {
        max-width: 100% !important;
    }
}
*/

@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.6rem;
    font-weight: bold;
  }
	.sub-text {
    font-size: 1rem;
    padding: 0 1em;
    font-weight: 500;
  }
	.content {
    margin-top: -60px;
  }
	main.main, div.sidebar {
	padding: 12px 0 16px;
	margin: 0 0 10px;
  }
	.pc-only {
    display: none !important;
  }
	.image-column {
    display: none !important;
  }
	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;
	margin-bottom:10px
  }
	
	ul.wp-block-list.is-style-bottom-margin-0em {
	margin-bottom: 28.5px !important;
  }

	/* 画像の下余白をなくす */
	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;
    list-style-position: inside;
	padding-bottom: 40px;
  }
	
	.article ul, .article ol {
	padding-left: 0;
  }
	figure.wp-block-image.size-full {
	margin-bottom: 20px !important;
  }
	.btn-margin {
	margin-top: 0 !important;
	padding-top: 0 !important;
  }
	.space_none{
	padding-top: 0 !important;
  }
	.space_none02{
	margin-bottom: 1.5rem !important;
	padding-bottom: 0 !important;
  }
	.font_w7 {
    font-weight: 600 !important;
    font-variation-settings: "wght" 600 !important;
}
	.fz-24px {
    font-size: 20px;
  }
	.profile-title {
    font-size: 14px;
    line-height: 1.6;
  }
	.profile-list {
    font-size: 14px;
  }
	.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;
	text-align:left;
	text-align: justify;
	text-justify: inter-ideograph;
  }
	.entry-content > *:last-child {
	margin-bottom: 0 !important;
	padding-bottom: 0 !important;
  }
	#main {
    padding-bottom: 0;
  }

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

	.footer-social-links {
    margin-left: 0;
  }

	.footer-mobile {
	display: flex;
	align-items: center;
	padding-top: 40px;
	background:#feefb6;
  }

	.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;
  }
	.cover-no-space {
    padding: 1rem 0 !important;
  }
	.article h3{
    margin-bottom: .9rem !important;
  }
	.img_bg1 img {
    max-width: 130%;
    padding-bottom: 3rem;
	padding-left: 10px;
  }
	.img_bg2 img {
    max-width: 100%;
  }
    .custom-row {
    padding: 10px 0 !important;
    margin-bottom: 0 !important;
  }
    .not-p {
    gap: 0 !important;
  }

}

