@charset "UTF-8";

/* 変数 */
:root {
	--f1: 2.4em;
	--f2: 1.6em;
	--f3: 1.3em;
	--f4: 1.25em;
	--f5: 1em;
	--f6: 0.8em;

	--base-color: #fcf9ef; /*beige*/
	--sub-color: #038C8C; /*blue*/
	--sub-color-2: #75BFBF;
	--accent-color: #F25041;
	--accent-color-2: #F25041;
	--black: #2e2e2e;
	--gradient: linear-gradient( 79.7deg,  rgba(34,126,34,1) 8.2%, rgba(99,162,17,1) 84.9% ); 
	
	--myw: 720px; /* 標準幅 */
}


body {
	margin: 0;
	box-sizing: border-box;
	font-family: 'Lato', 'Noto Sans JP', '游ゴシック Medium', '游ゴシック体', 'Yu Gothic Medium', YuGothic, 'ヒラギノ角ゴ ProN', 'Hiragino Kaku Gothic ProN', 'メイリオ', Meiryo, 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
	font-weight: 300;
	letter-spacing: 0.05em;
   color: var(--black);
	font-size: 16px;
}

@media (max-width: 740px) {
	body {
		font-size: 14px;
	}
}

body *,
body *::before,
body *::after {
	box-sizing: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

table {
    border-spacing: 0;
    border-collapse: collapse;
}

table th {
	font-weight: 500;
}

.alignleft {
	float: left;
	margin-left: 0;
	margin-right: 1em;
}

.alignright {
	float: right;
	margin-left: 1em;
	margin-right: 0;
}

.aligncenter {
	margin-left: auto;
	margin-right: auto;
}

.wp-block-categories.aligncenter,
.wp-block-latest-posts.aligncenter,
.wp-block-archives.aligncenter,
.wp-block-tag-cloud.aligncenter,
.wp-block-latest-comments.aligncenter,
.wp-block-rss.aligncenter {
	text-align: center;
}


figure {
	margin: 0;
}


p {
	line-height: 1.8;
	font-size: var(--f5);
}

h1 {
	font-size: 26px;
}
h2 {
	font-size: 22px;
}
h3 {
	font-size: var(--f3);	
}
h4 {
    font-weight: 400;
    font-size: 16px;
}
h5 {
	font-size: var(--f5);
}
h6 {
	font-size: var(--f6);
}


/* 横幅 */
.mycontainer {
	margin-left: 10px;
	margin-right: 10px;
}

.alignfull {
	margin-left: -10px;
	margin-right: -10px;
	max-width: none;
	width: auto;
}

@media (min-width: 740px) {

	.mycontainer {
		max-width: none;
		margin-left: calc( ( 100vw - var(--myw) ) / 2 );
		margin-right: calc( ( 100vw - var(--myw) ) / 2 );
	}

	.alignfull {
		margin-left: calc( ( 100vw - var(--myw) ) / 2 * -1 );
		margin-right: calc( ( 100vw - var(--myw) ) / 2 * -1 );
	}

	.alignwide {
		margin-left: calc( ( 100vw - var(--myw) ) / 4 * -1 );
		margin-right: calc( ( 100vw - var(--myw) ) / 4 * -1 );
		max-width: none;
		width: auto;
	}
}

@media (min-width: 1320px ) { 
	.alignwide {
		margin-left: -150px;
		margin-right: -150px;
	}
}


/* 記事に関する情報 */
.myposthead {
	padding-top: 20px;
	padding-bottom: 10px;
	text-align: center;
}

.myposthead p {
	color: var(--base-color);
	font-family: var(--myfont);
	font-weight: bold;
}

.post section img,
.post img {
   display: block;
   border-radius: 5px;
	width: 90%;
   margin: 20px auto;
}

.post section h2,
.post h2 {
	margin: 60px 0 0;
   padding: 0.5em;
   background: var(--base-color);
   border-left: solid 10px #DC163C;
   font-weight: 500;
}

.post section h3,
.post h3 {
  padding: 0.25em 0.5em;/*上下 左右の余白*/
  background: transparent;/*背景透明に*/
  border-left: solid 8px var(--sub-color-2);/*左線*/
    margin: 40px 0 20px;
    font-weight: 500;
}

.post section strong,
.post strong {
	font-size: 20px;
}

.post section a,
.post a {
	color: #1D4B9F;
}

.red {
	color: #DC163C;
	border-bottom: 1px solid #DC163C;
}

.underline {
	background:linear-gradient(transparent 50%, #FFDB05 0%);
}

.post section table,
.post table {
	margin: 20px auto;
	width: 100%;
}

.post section table th,
.post table th,
.post section table td,
.post table td {
	border: 1px solid #f5f5f5;
	padding: 10px;
}

.post section table th,
.post table th {
	background: #f5f5f5;
}

.wp-block-gallery.is-cropped .blocks-gallery-item img {
    object-fit: contain !important;
}


@media (max-width: 739px) {
	.myposthead {
    padding: 20px 10px 20px;
	}
}

/* リンク */
a {
	color: inherit;
	text-decoration: none;
	transition: .3s;
}

a:hover {
	opacity: 0.7;
}

/* 記事が属するカテゴリー */
.post-categories {
	display: flex;
	justify-content: center;
	padding: 0;
	list-style-type: none;
}

.post-categories li:not(:last-child) {
	margin-right: 10px;
}

.post-categories a {
	padding: 3px 10px;
	border: solid 1px currentColor;
	border-radius: 10px;
	color: var(--accent-color);	
	font-size: var(--f6);
}

.post-categories::before {
	content: "\f318";
	font-family: "dashicons";
	color: var(--sub-color);
	font-size: var(--f2);
	line-height: 0.8;
	margin-right: 5px;
}

/* スクリーンリーダー用のテキスト */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

/* 前後の記事へのリンク */
.nav-links {
	display: flex;
	margin: 30px 0;
	font-size: var(--f6);
}

.nav-previous {
	flex: 1;
	display: flex;
	align-items: center;
}

.nav-next {
	flex: 1;
	margin-left: 10px;
	text-align: right;
	display: flex;
	align-items: center;
	justify-content: flex-end;
}

.nav-links a {
	color: var(--sub-color);
}

.nav-previous::before {
	content: "\f141";
}

.nav-next::after {
	content: "\f139";
}

.nav-previous::before, .nav-next::after {
	font-family: "dashicons";
	color: var(--accent-color);
	font-size: var(--f2);
	line-height: 1;
}

/* ヘッダー */
.myhead > div {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px 0;
	color: #444444;
}

.myhead a {
	font-size: var(--f3);
	font-family: var(--myfont);
}

.myhead p {
	margin: 0;
	font-size: var(--f6);
}

/* フッター */
.myfoot {
	margin-top: 70px;
	padding: 50px 0;
	background-color: #eeeeee;
	color: #333333;
	text-align: center;
	font-family: var(--myfont);
}

/* 記事一覧 */
.mypostlist {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

.mypostlist article {
	width: 48%;
	margin-bottom: 20px;
}

.mypostlist figure {
	margin: 0;
}

.mypostlist img {
    width: 340px;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 7px;
    border: 1px solid #F5F5F5;
	transition: .3s;
}

.mypostlist h2,
.mypostlist h3 {
	margin: 0;
	padding: 0;
	border: none;
	font-size: var(--f6);
    background: none;
}

.mypostlist a:hover {
	color: var(--sub-color);
}

.mypostlist a:hover img {
	box-shadow: 0 0 20px -1px rgba(0,0,0,.2);
	opacity: 0.7;
}


/* 関連記事 */
.myrelated {
	border: solid 2px var(--base-color);
	padding: 0 10px;
}

.myrelated h2 {
	border-width: 5px;
	color: var(--base-color);
	font-family: var(--myfont);
	font-size: var(--f5);
}

.myrelated img {
	height: 120px;
}

@media (min-width: 740px) {
	.myrelated article {
		width: 24%;
	}

	.myrelated .mypostlist {
		justify-content: flex-start;
	}

	.myrelated article:not(:last-child) {
		margin-right: calc( 4% / 3 );
	}
}

/* ページネーション */
.pagination .nav-links {
	margin-bottom: 50px;
	justify-content: center;
}

.pagination .page-numbers:not(:last-child) {
	margin-right: 15px;
}

.pagination a {
	color: var(--sub-color);
}

.pagination .current {
	color: #aaaaaa;
}


/* メニュー */
.mymenu {
	margin-top: 40px;
	padding-top: 40px;
	padding-bottom: 40px;
}

.mymenu h2 {
	padding: 10px;
	border: none;
	background-color: var(--sub-color);
	color: #ffffff;
	font-family: var(--myfont);
	font-size: var(--f5);
	margin: 0 auto 15px;
}

.myprofile figure {
	text-align: center;
}

.myprofile img {
	width: 120px;
	height: 120px;
	border-radius: 50%;
}

.myprofile strong {
	display: block;
	text-align: center;
	font-family: var(--myfont);
}

.myprofile p {
	font-size: var(--f6);
}

.widget ul {
	padding: 0;
	list-style-type: none;
	font-size: var(--f6);
}

.widget li:not(:last-child) {
	margin-bottom: 5px;
}

.widget select {
	width: 100%;
	height: 40px;
	border: solid 1px #aaaaaa;
}

@media (min-width: 740px) {
	.mymenu-columns {
		columns: 3;
		column-gap: 30px;
	}

	.mymenu-columns > section {
		position: relative;
		overflow: hidden;
		break-inside: avoid;
	}
}


/* 上下の余白 */
.mymargin {
	margin-top: 40px;
	margin-bottom: 40px;
}


/* お問い合わせ */
.wpcf7-text,
.wpcf7-textarea {
	width: 100%;
	padding: 10px;
	border: solid 1px #bbbbbb;
}

.wpcf7-submit {
	width: 250px;
	padding: 10px;
	border: none;
	background-color: #ffaa00;
	-webkit-appearance: none;
}


/* ナビゲーションメニュー */
.mynav {
	padding: 7px 0;
    color: #fff;
    font-size: var(--f5);
}

.mynav ul {
	display: flex;
	margin: 0;
	padding: 0;
	list-style-type: none;
}

.mynav li:not(:last-child) {
	margin-right: 2.5em;
}

.menu-nav-container {
	display: flex;
	justify-content: center;
	margin-bottom: 20px;
}

/* シェアボタン */
.myshare {
	margin-top: 60px;
	margin-bottom: 40px;
}

.myshare h2 {
	padding: 0;
	border: none;
	color: var(--base-color);
	font-family: var(--myfont);
	font-size: var(--f5);
	text-align: center;
	line-height: 1.2;
}

.myshare .mytwitter {
	color: #1da1f2;
}

.myshare .myfacebook {
	color: #3b5998;	
}

.myshare a {
	width: 49%;
	padding: 10px;
	border: solid 1px currentColor;
	line-height: 1;
	text-align: center;
}


/* ２段組み */
@media (min-width: 1320px) {

	.mycols .mycontainer,
	.mycols .alignwide,
	.mycols .alignfull {
		width: auto;
		max-width: none;
		margin-left: 0;
		margin-right: 0;
	}

	.mycols .mymenu-columns {
		columns: 1;
	}

	.mycols {
		display: flex;
		margin: 50px calc( ( 100vw - 1020px ) / 2 );
		justify-content: space-between;
	}

	.mycols .mycontent {
		width: 68%;
	}

	.mycols .mymenu {
		width: 26%;
		margin-top: 0;
		padding: 10px;
	}

}


/*-----------------------------
header
-----------------------------*/

.logo {
	height: 60px;
}

@media (max-width: 740px) {
	.myhead > div {
		display: block;
	}
	.myfoot {
		padding: 30px 0;
	}
	.logo {
    height: 35px;
    display: block;
	}
	.menu-nav-container {
    display: block;
	}
	.mynav ul {
		display: block;
		text-align: left;
	}
	.mynav ul li {
		padding: 0 0 10px 10px;
	}
}

/*-----------------------------
fv
-----------------------------*/

.fv {
	display: flex;
	background: #7BB291;
   justify-content: center;
	margin-bottom: 20px;
}

@media (min-width: 740px) {
	.topsp {
		display:none;
	}
}
@media (max-width: 739px) {
	.toppc {
		display: none;
	}
	.fv img {
		width: 100%;
		height: 100%;
	}
}


/*-----------------------------
serach
-----------------------------*/

.search-wrap {
	border: 1px solid #f5f5f5;
   padding: 15px;
	background: #fafafa;
}

.search-header {
	background: var(--sub-color);
	padding: 10px;
	color: #fff;
	font-size: var(--f4);
	font-weight: 500;
}

.search-icon {
	font-size: var(--f4);
   line-height: 32px;
   margin-right: 10px;
}

.search-wrap ul {
   list-style: none;
   margin: 0;
	padding: 0;
}

.search-wrap h3 {
    font-size: var(--f5);
    padding: 0.5em;
    background: #fff;
    border-left: solid 5px var(--sub-color);
    margin: 15px 0 10px;
	box-shadow: 0 2px 2px rgba(0,0,0,.2);
}


.searchFormTable th, .searchFormTable td {
	padding: 8px;
	border-bottom: 1px solid var(--base);
}

.searchFormTable th {
   font-size: var(--f6);
   vertical-align: baseline;
	text-align: left;
	width: 100px;
}

.searchFormTable td ul,
.searchFormList {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-row-gap: 5px;
	font-size: var(--f6);
}

.searchFormList {
	padding: 8px;
}

.search-block p {
	font-size: var(--f6);
}

@media (max-width: 740px) {
	.search-wrap {
		margin-top: 20px;
		padding: 5px;
		background: #fff
	}
	.searchFormTable th, .searchFormTable td {
    display: block;
    width: 100%;
	}
	.searchFormTable th {
		background: #fafafa;
	}
	.searchFormTable td {
		background: #fff;
	}
}

/*-----------------------------
btn
-----------------------------*/

.btn {
    width: 70%;
    display: block;
    padding: 15px;
    margin: 20px auto;
    font-size: var(--f4);
    font-weight: 700;
    color: #fff;
    border-radius: 5px;
    background: var(--accent-color);
    letter-spacing: 2px;
    text-align: center;
    cursor: pointer;
    border: none;
    box-shadow: 0 3px 6px 3px rgba(0,0,0,.2);
}

/*-----------------------------
timer
-----------------------------*/

.timer-wrap {
	margin: 5px 0 0;
    color: var(--black);
    text-align: center;
    font-size: 16px;
    padding: 7px;
    background: #fff;
    border-radius: 10px;
}

.timer-img {
	font-size:30px;
	line-height: 28px;
	color: var(--accent-color);
}

.rest {
	margin-left: 20px;
}

.countdown_amount {
    font-size: var(--f3);
    color: var(--accent-color);
	font-weight: 800;	
    margin: 0 5px;
}

@media (max-width: 740px) {
	.time-cage {
		display: block;
	}
	.rest {
		margin-left: 0;
	}
	.timer-img {
		margin-right: 20px;
	}
}

.copy {	
    font-size: var(--f6);
}

.content-img {
	width: 100%;
	margin: 0;
}

th {
	text-align: left;
}

th,td {
	padding: 5px 10px;
}

/* -----------------
  フッターメニュー
 ----------------- */

.footer_menu section div a{
　display: inline-block;
  text-align: center;
  margin-top: 10px; 
  padding: 0 20px;
  border-right: 1px solid #fff;
}
.footer_menu section div a:last-child{
 border-right: none;
}
  @media screen and (max-width: 740px) {
    .footer_menu a{
     display: block;
     text-align: center;
     padding-right: 0px;
     border-right: none;
    }
  }
  
/* -----------------
  ヘッダー
 ----------------- */
 
 header{
 text-align: center;
 background: linear-gradient(80deg, rgba(57,229,170,0.6), rgba(65,235,255,0.2) );
 width: 100%;
 }
 .headerlogo{
 width: 240px;
 margin: 30px auto 25px;
 }
   @media screen and (max-width: 740px) {
 .headerlogo{
 width: 200px;
 margin: 10px auto 8px;
 }
 
  header{
 text-align: center;
 background: linear-gradient(40deg, rgba(57,229,170,.8), rgba(65,235,255,0.5) );
 }
  }
