@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=Kaisei+Tokumin:wght@400;500;700;800&display=swap');

body {
 overflow-x: hidden;
	color:#000;
	--wp--style--global--content-size: 980px;
}

a {
	text-decoration:none;
	color:#43B481;
}

a:hover {
	color:#43B481;
}

/* スマホのみの改行用 */
.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;
}
.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;
}
.wp-block-cover__inner-container {
	margin-top:30px !important;
	margin-bottom:-30px !important;/* 応急処置 */
}

@media screen and (max-width: 1023px){
.entry-content .wp-block-cover,
.entry-content .wp-block-cover-image {
	padding 60px 20px !important;
}
.wp-block-cover__inner-container {
	margin-top:20px !important;
	padding-left:20px;
	padding-right:20px;
}	
}
@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:-30px !important;
	padding-left:0;
	padding-right:0;
}

.hero .wp-block-cover__inner-container {
	margin-top:-60px !important;
}
	
	
}

/* 2カラム */
.column-wrap {
    gap:2em;
}

@media screen and (max-width: 834px){
.column-2.reverse .column-left {
	order:2;
} 
.column-2.reverse .column-right {
	order:1;
}
}

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

.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: "Kaisei Tokumin", serif;
  font-weight: 400;
  font-style: normal;
  letter-spacing:0.05em;
  line-height:1.5;
}

/* 見出し */

.page .article h1 {
	font-size:54px;
	margin-top:-60px;
	color: #333;
}
.page .article h2 {
	font-size:38px;
	text-align:center;
	margin-top:-30px;
	background: #E2E0D9;
	color: #231F20;
}
.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;
	color: #231F20;
	background: #EFEDE4;
	margin-top:60px;
}
.page .article h4 {
	font-size:28px;
	color: #231F20;
	border-top: 1px solid #231F20;
	border-bottom: 1px solid #231F20;
}

.page .article h4 a {
	color:#000;	
}


@media screen and (max-width: 1023px){ 
.page .article h1 {
	font-size:44px;
	margin-top:-50px;
}
.page .article h2 {
	font-size:30px;
	text-align:center;
	margin-top:-30px;
}
.page .article h3 {
	font-size:28px;
	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:24px;
	margin-top:0 !important;
}
.page .article h3 {
	font-size:24px;
  letter-spacing:0.01em;
}
.page .article h3.message {
	text-align:left;
}	
.page .article h3.message br {
	display:none;
}
.page .article h4 {
	font-size:24px;
text-align:center;
}	
	
}


/* ヘッダー */

header {
	background:#fff;
	padding-top:10px;
}

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

@media screen and (max-width: 1023px){
.cta-top,
.space-top
{
	display:none !important;
}
}

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

.navi-in a:hover {
	background-color: #EFEDE4;
}

nav .menu-header {
	margin-top:-20px !important;
}

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


/* ヒーロー */
@media screen and (max-width: 834px){
.hero p br {
	display:none;
}
}

@media screen and (max-width: 480px){
.hero h1 {
	text-align:center;
	font-size:24px;
	margin-top:-50px !important;
	margin-bottom:130px;
}
.hero p {
	text-align:left !important;
	margin-bottom:8px !important;
	line-height:1.6;
	color:#fff;
}	
.hero p:first-child {
	display:none;
}
.hero p:last-child {
	margin-bottom:0 !important;
}
.hero-lead {
	background:rgb(92, 86, 76, 0.6);
	padding:12px;
	margin-bottom:-50px !important;
}
}

/* リスト */
.article ul,ol {
	margin-top:40px !important;
	padding-left:0 !important;
	line-height:2.0;
	list-style: none;
}
.article ul li {
  position: relative;
  padding: 0 0 0 1.6em;
  margin: 0;
  margin-bottom: 24px !important;
}
.article ul li::before {
  position: absolute;
  left: 0;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: '\f152';
  color: #43B481;
}
li:last-child {
	margin-bottom: 0 !important;
}

/* CTA */

p.cta-lead {
	font-size:24px;
	  font-weight: 600;
	margin-top:40px !important;
	margin-bottom:14px;
}
.wp-block-buttons.cta {
	margin-bottom:30px !important;
}
.wp-block-buttons.cta a {
		font-size:24px;
		color:#fff !important;
}

@media screen and (max-width: 834px){
.cta .wp-block-button{
	width:300px;
	margin:0 auto;
}
}

.wp-block-buttons.cta a::before {
	font-family: "Font Awesome 5 Free";
  content: '\f0eb';
	margin-right:6px;
}

@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;
}
.wp-block-buttons.cta {
	margin:0 auto !important;
}
	
.cta-spacer {
		height:20px;
	}	
	
}

.site img {
	margin-bottom:-30px !important;
}


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

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

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