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

/************************************
** 子テーマ用のスタイルを書く
************************************/

@import url('https://fonts.googleapis.com/css2?family=Yuji+Syuku&display=swap');

/* 基本設定 */

body {
 overflow-x: hidden;
	color:#000;
	--wp--style--global--content-size: 1040px;
}
@media screen and (max-width: 1080px){ /*オリジナルの設定値 */
body {	
	--wp--style--global--content-size: 840px;
}
}

a {
	text-decoration:none;
}
a:hover {
	color:#aaaaaa;
}

/* スマホのみの改行用 */
.sp-br {
	display:none;
}
@media screen and (max-width: 480px){
.sp-br {
	display:block;
}
.sp-no {
	display:none;		
}
.sp-only {
	display:block;
	margin-top:20px;
}
}

/* 各余白を削除 */
.page .content,
.page .main,
.page .article,
.page .entry-content,
.page .entry-footer
{
	padding:0 !important;
	margin:0 !important;
	background:#F2F0ED;
}
.page .content {
	margin-bottom:-20px !important;
}
@media screen and (max-width: 834px){
.page .content {
	margin-bottom:-34px !important;
}
}

/* カバーブロックを全幅にする */

.entry-content .wp-block-cover,
.entry-content .wp-block-cover-image {
  margin: 0 calc((100% - 100vw)/2) ;
  min-height: auto;
  width: auto;
  padding-top:100px;
  padding-bottom:100px;
}
@media screen and (max-width: 1023px){
.entry-content .wp-block-cover,
.entry-content .wp-block-cover-image {
  padding-top:100px;
  padding-bottom:100px;
}
}
@media screen and (max-width: 480px){
.entry-content .wp-block-cover,
.entry-content .wp-block-cover-image {
  padding-top:60px !important;/* 効かない? */
  padding-bottom:60px !important;
}
.wp-block-cover__inner-container {
	margin-top:-60px !important;/* 応急処置 */
}
}

/* 2カラム */
.column-wrap {
    gap:2em;
}
.column-wrap img {
	border-radius:400px;
	border:double #eee 14px;
	margin-top:16px;
}

/* 見出しフォントに変更 */

.article h1,
.article h2,
.article h3,
.article h4,
.site-name-text,
.tagline,
nav .menu-header a,
.makimono p,
p.cta-lead,
.wp-block-buttons.cta a 
{
font-family: "Yuji Syuku", serif;
  font-weight: 600;
  font-style: normal;
  letter-spacing:0.05em;
  line-height:1.5;
}

/* 見出し */

.page .article h1 {
	font-size:64px;
	margin-top:-30px;
}
.page .article h2 {
	font-size:50px;
	text-align:center;
	margin-top:-30px;
}
.page h2.wp-block-heading {
	border:none !important;
}
.page .article h2:before,
.page .article h2:after
{
	border:none;
}
.page .article h3 {
	font-size:34px;
	text-align:center;
  letter-spacing:0.01em;
}

@media screen and (max-width: 1080px){ /*オリジナルの設定値 */
.page .article h1 {
	font-size:54px;
	margin-top:-30px;
}
.page .article h2 {
	font-size:42px;
	text-align:center;
	margin-top:-30px;
}
.page .article h3 {
	font-size:30px;
	text-align:center;
  letter-spacing:0.01em;
}
}

@media screen and (max-width: 834px){
.page .article h1 {
	font-size:40px;
	margin-top:-30px;
}
}

@media screen and (max-width: 480px){
.page .article h1 {
	font-size:26px;
	margin-top:0;
}
.page .article h2 {
	font-size:26px;
	text-align:center;
	margin-top:0 !important;
}
.page .article h3 {
	font-size:24px;
	text-align:center;
  letter-spacing:0.01em;
}	
}


/* ヘッダー */

header {
	background:#F7F2ED;	
}
.tagline {
	margin-bottom:-20px !important;
	padding-bottom:0 !important;
	font-size:18px;
	font-weight: 600;	
}
.site-name-text {
	font-size:36px;	
}

@media screen and (max-width: 480px){
.tagline {
	margin-top:30px;
	margin-bottom:-20px !important;
	padding-bottom:0 !important;
	font-size:15px;
	font-weight: 600;	
}
.site-name-text {
	font-size:32px !important;	
}
}

nav .menu-header a {
	font-size:22px;	
}
.page .article-header.entry-header {
	display:none;
}

/* ヒーローエリア */

p.hero-lead {
	line-height:2.4;
}

@media screen and (max-width: 480px){
p.hero-lead {
	line-height:1.8;
}	
	.wp-block-spacer.spacer80 {
	height:30px !important;
}
.wp-block-spacer.spacer20 {
	display:none !important;
}
p.hero-lead {
	text-align:left;
}
}


/* CTA */

p.cta-lead {
	font-size:24px;
	  font-weight: 600;
	margin-top:40px !important;
	margin-bottom:14px;
}
.wp-block-buttons.cta a::before {
	font-family: "Font Awesome 5 Free";
  content: '\f101';
	margin-right:6px;
}
.wp-block-buttons.cta a {
	font-size:28px;
}
@media screen and (max-width: 1080px){ /*オリジナルの設定値 */
.wp-block-buttons.cta a {
	font-size:24px;
}
}

@media screen and (max-width: 480px){
p.cta-lead {
font-size:20px;	
		margin-top:30px !important;
}

.wp-block-buttons.cta a {
	font-size:20px;
}
	
.cta-last p {
	text-align:left;
}
	
}



/* その他 */

p.time {
	background:#000;
	padding:8px;
	border-radius:8px;
	text-align:center;
	margin-top:-16px;
}

.makimono p {
	font-size:34px;
	color:#000;
}
.wp-block-quote.makimono {
	margin-bottom:50px;
	background:#F7F2ED;
}
@media screen and (max-width: 480px){
.makimono p {
	font-size:24px;
text-align:left !important;
}
}



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

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

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