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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
/* common */
.container .content .main {
	margin-inline: auto;
	padding: 132px 60px 80px;
	max-width: 1160px;
	overflow-x: hidden;
}
.c-button {
	margin-top: 80px;
}
.c-button a {
	margin-top: 0;
	padding: 20px 100px;
	background-color: #009A4E;
	display: inline-block;
	position: relative;
	color: #fff;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-decoration: none;
	box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.25);
	transition: background-color .3s;
}
.c-button a:hover {
	background-color: #00CC66;
}

.home h2,
.article h2{
	margin: 0 0 24px 0;
	padding: 0;
	background-color: transparent;
	color: var(--cocoon-text-color);
	font-size: 48px;
	line-height: 1.5;
	letter-spacing: 0.1em;
}
.home h3,
.article h3 {
	margin-bottom: 16px;
	padding: 0 0 0 41px;
	max-width: 100%;
	border: none;
	font-size: 20px;
	position: relative;
}
.home h3::before,
.article h3::before {
	content: "";
	width: 25px;
	height: 2px;
	background-color: var(--cocoon-text-color);
	display: inline-block;
	position: absolute;
	top: calc(50% - 1px);
	left: 0;
}
.home p,
.article p {
	margin-bottom: 16px;
	max-width: 100%;
	letter-spacing: 0.05em;
}

/* header */
.header .header-in .logo {
	display: none;
}
.navi-in > ul li {
	height: 84px;
}
.menu-close-button {
	padding-inline: 16px;
	text-align: right;
}
.navi-menu-content ul > li {
	padding-block: 10px;
}

/* home */
.home .c-section {
	margin: 216px auto 0;
}
.home .wp-block-image {
	margin: 0;
}
/*  first view */
.home .p-fv {
	position: relative;
}
.home .p-fv__content {
	padding-bottom: 26.7%;
	gap: 0;
}
.home .p-fv__name {
	margin-top: clamp(60px, 8.4%, 80px);
	gap: 32px;
}
.home .p-fv__name h1 {
	margin: 0;
	font-size: 40px;
	text-shadow: 0 0 8px rgba(114 114 114 / .25);
}
.home .p-fv__name p {
	margin: 0;
	font-size: 20px;
}
.home .p-fv__bg {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: -1;
}
/* profile */
.home .p-profile__txt {
	padding: 80px 68px;
	background-color: #F8FAF5;
}
/* table */
.home table tr:nth-child(odd) {
	background-color: transparent;
}
.home table tr:nth-child(even) td {
	padding: 10px 0 30px;
	font-size: 14px;
}
.home table td {
	padding: 0;
	min-width: 132px;
	border: none;
	letter-spacing: 0.05em;
	vertical-align: top;
}
.home table td:first-child {
	padding-right: 10px;
}
/* seminar */
.home .p-seminar section+section {
	margin-top: 60px;
}
.home .p-seminar__content {
	max-width: 100%;
	gap: 40px;
}
.home .p-seminar__content figure {
	max-width: 40%;
}
.home .p-seminar__content p {
	padding: 32px;
	background-color: #F8FAF5;
	flex: 1;
}
/* contact */
.home .p-contact h2 {
	margin-bottom: 64px;
}
.home .p-contact div {
	margin-bottom: 0;
}
.home .p-contact__content {
	gap: 100px;
}
.home .p-contact__txt {
	text-align: center;
}
.home .p-contact .c-button {
	margin-top: 0;
}
.home .p-contact .c-button a {
	margin-top: 8px;
	padding-inline: 66px;
}
.home .p-contact__content figure {
	width: 303px;
}


/* page */
.body .article {
	margin-bottom: 120px;
}
.article .c-section {
	margin-top: 160px;
}
.article .c-button {
	margin-top: 40px;
	padding-left: 40px;
}
.article .p-calendar iframe {
	margin-inline: auto;
	max-width: 100%;
	display: block;
}

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
	.container .content .main {
		padding: 80px 60px 0;
	}
	
	.article .c-button {
		padding-left: 0;
		text-align: center;
	}
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
	.container .content .main {
		padding-inline: min(11%, 80px);
	}
	.home .c-button a,
	.article .c-button a {
		padding: 16px 80px;
	}
	.home h2,
	.article h2 {
		font-size: 40px;
	}
	.home h3,
	.article h3 {
		padding-left: 28px;
	}
	.home h3::before
	.article h3::before {
		width: 20px;
		height: 2px;
		left: 0;
	}
	.home .c-section {
		margin-top: 180px;
	}

	.home .p-fv__content {
		padding-bottom: 167.5px;
		width: 100%;
	}
	.home .p-fv__img {
		width: 320px;
	}
	.home .p-fv__name {
		gap: 24px;
	}
	.home .p-fv__bg {
		min-width: 714px;
		max-width: unset;
		left: 50%;
		right: unset;
		transform: translateX(-50%);
	}
	.home .p-profile__txt {
		padding: 60px 56px;
	}
	.home .p-seminar__content {
		flex-direction: column;
		gap: 20px;
	}
	.home .p-seminar__content figure {
		max-width: 100%;
	}
	.home table td {
		min-width: 100px;
	}
	.home table tr:nth-child(even) td {
		padding-bottom: 20px;
	}
	.home .p-contact__content {
		flex-direction: column;
	}
	.home .p-contact__content figure {
		width: 400px;
		max-width: 100%;
	}
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
	.home .content .main {
		padding: 40px 20px 0;
	}
	.home h2,
	.article h2 {
		font-size: 36px;
	}
	.home .c-button {
		margin-top: 48px;
	}
	.home .c-section {
		margin-top: 140px;
	}
	.home .p-fv__content {
		padding-bottom: 153px;
	}
	.home .p-fv__img {
		max-width: 90%;
	}
	.home .p-fv__name {
		fap: 20px;
	}
	.home .p-fv__name h1 {
		font-size: 36px;
	}
	.home .p-fv__name p {
		font-size: 16px;
	}
	.home .p-fv__bg {
		width: 543px;
		min-width: unset;
	}
	.home .p-profile__txt {
		padding: 40px 32px;
	}
	.home .p-contact__content figure {
		width: 80%;
	}
	
	.article .c-section {
		margin-top: 120px;
	}
}
