/*
Theme Name: The Blank
Author: HeyMasa
Description: This theme is The Blank theme
Version: 1.00
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: The Blank

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/


/* RESET CSS*/
*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}:where([hidden]:not([hidden='until-found'])){display:none!important}:where(html){-webkit-text-size-adjust:none;color-scheme:dark light}@supports not (min-block-size:100dvb){:where(html){block-size:100%}}@media (prefers-reduced-motion:no-preference){:where(html:focus-within){scroll-behavior:smooth}}:where(body){block-size:100%;block-size:100dvb;line-height:1.5;font-family:system-ui,sans-serif;-webkit-font-smoothing:antialiased}:where(input,button,textarea,select){font:inherit;color:inherit}:where(textarea){resize:vertical;resize:block}:where(button,label,select,summary,[role='button'],[role='option']){cursor:pointer}:where(:disabled){cursor:not-allowed}:where(label:has(>input:disabled),label:has(+input:disabled)){cursor:not-allowed}:where(button){border-style:solid}:where(a){text-underline-offset:.2ex}:where(ul,ol){list-style:none}:where(img,svg,video,canvas,audio,iframe,embed,object){display:block}:where(img,picture,svg){max-inline-size:100%;block-size:auto}:where(p,h1,h2,h3,h4,h5,h6){overflow-wrap:break-word}:where(h1,h2,h3){line-height:calc(1em + 0.5rem)}:where(hr){border:none;border-block-start:1px solid;color:inherit;block-size:0;overflow:visible}:where(:focus-visible){outline:2px solid var(--focus-color,Highlight);outline-offset:2px}:where(.visually-hidden:not(:focus,:active,:focus-within,.not-visually-hidden)){clip-path:inset(50%)!important;height:1px!important;width:1px!important;overflow:hidden!important;position:absolute!important;white-space:nowrap!important;border:0!important}
/* //RESET CSS*/

body,html{
/* 	font-family: "Inter", sans-serif; */
	font-family: 'Noto Sans JP',sans-serif;
	font-size: 62.5%;
	color: #212224;
	-webkit-font-smoothing: antialiased;
	background-color: #FFFFFF;
	line-height: 2rem;
	letter-spacing: 0.05em;
}
a{
    color: #212224;
    font-size: 1.5rem;
    text-decoration: none;	
}
h1, h2, h3, h4, h5, h6 {
    font-weight: normal;
    line-height: 100%;
    margin: 0;
    padding: 0;
	color:#222222;
}
h1{
	font-size: 3.2rem;	
}
h2, .h2--aiu-crew {
	font-size: 1.9rem;
	margin-bottom:24px;
}
.home h1, .home h2{
	font-family: 'Noto Serif JP', serif;	
}

h3 {
	font-size: 3rem;
}
p{
	font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.75;	
	font-size: 1.6rem;
}
.font-large-5{
	font-size:18px;	
}
hr {
  border: none;
  height: 1px;
  background-color: #E6E2DF;
}
.horizon {
    border: 2px solid #BE991B;
    width: 30px;
    margin: 3.2rem 0;
    position: relative;
    top: 1px;
}
.horizon--center {
	margin-right: auto;
  margin-left: auto;
}
.home .custom-logo-link img{
    width: 266px;
    display: block;
    margin: 0 auto 76px;	
}
header {
    background: white;
   /* position: fixed; */
    z-index: 1000;
    top: 0;
    width: 100%;
}
#site-navigation{
	flex-wrap: nowrap;
	justify-content: space-between;
	align-items: center;
	align-content: space-between;
	height: 6rem;
	box-shadow: 0px 5px 13px 0px rgba(0, 0, 0, 0.08);
	position: relative;	
	display:flex;
}
#navigation-logo {
    width: 24rem;
    padding-left: 5.0rem;
}
#navigation-logo a img {
    width: 187px;
    height: 40px;
}
main{
    max-height: 100%;
    min-height: calc(100% - 30rem);
}
footer{
    text-align: center;
    border-top: 1px solid #e8e8e8;
    padding: 3rem;	
}
.footer-copyright, .footer-copyright-sp {
    font-family: 'Noto Sans JP',sans-serif;
}


/* toppage */
.top-block--aiu-crew {
	max-height: 100%;
	text-align: center;
  background-color: #FFFFFF;
}
.top-content--aiu-crew {
	background-image: url("./img/aiyukai-logo.svg");
	background-repeat: no-repeat;
    background-position-x: calc(50% + 17px);
	background-position-y: center;
    min-height: calc(100vh - 140px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;	
}
/* Upload / Edit page */
.entry-list{
	margin:10% auto 15%;
	display:block;
    max-width: min(100%, 340px);	
}
.upedit_title{
	font-family:'Noto Sans JP',sans-serif;
	font-size:3.2rem;
	text-align:center;
	margin-bottom:40px;
}
.acf-field div.acf-label label{
    font-size: 1.6rem;
	font-weight:600;
}
.acf-input-wrap input, .acf-input select{
    background: white;
    border: 1px solid #DADADA;
    border-radius: 5px;
    padding: 8px 9px 9px;	
}
.fea-submit-button{
    background: #ED844A;
    color: white;
    font-size: 1.5rem;
    padding: 9px 34px;
    border-radius: 5px;
    margin: 0 auto;
    font-weight: 600;	
}
.upload-files{
	background: #EDEDED;
	color: #212224;
	text-decoration: none;
	font-size: 1.5rem;
	border-radius: 5px;
	padding: 8px 24px;
	margin-top: 0px;
	display: block;	
}
.mypage-list{
	margin:10% auto 15%;
	display:block;
    max-width: min(100%, 800px);	
}
.mypagetitle{
    display: inline-block;
    margin: 0 44px 90px 0;
}
.postbutton{
    background: #ED844A;
    color: white;
    border-radius: 5px;
    padding: 8px 27px;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 500;
    position: relative;
    top: -8px;	
}
.postlist{
	max-width: min(100%, 800px);	
	font-size: 1.6rem;
	font-weight: 400;
}
.postlist li{
	border-bottom: 1px solid #DDDDDD;
	padding: 25px 0 20px;
}
.postlist li time{
    margin-right: 30px;	
}
.editbutton{
    float: right;
    background: #DDDDDD;
    font-size: 1.6rem;
    padding: 4px 20px 5px;
    border-radius: 5px;	
}

/* singleページ */
.single_wrap{
	margin:10% auto 15%;
	display:block;
    max-width: min(100%, 800px);	
}
.single__title{
	margin: 0 0 40px 0;
	font-size: 32px;
	line-height: 1.7;
	letter-spacing: 0.16rem;
	padding-bottom: 26px;
	border-bottom: 1px solid #E6E2DF;
}
main.page_wrap p {
    font-size: 16px;
    margin-bottom: 24px;
    line-height: 2.8rem;
    letter-spacing: 0.08rem;
}
.single_wrap form{
    padding: 0 20px;	
}
.single_wrap form input[type="submit"],.single_wrap form input[type="password"]{
    background: unset;
    box-sizing: unset;
    border: 1px solid #DADADA;
    border-radius: 5px;
    padding: 0 8px;
    font-size: 14px;	
}

form[name="loginform"]{
	margin-top: 33px;
    width: 100%;
}
form[name="loginform"] label{
    font-size: 16px;
    margin-bottom: 10px;
    display: block;	
}
form[name="loginform"] label input{
    background: unset;
    box-sizing: unset;
    border: 1px solid #DADADA;
    border-radius: 5px;
    padding: 6.75px 8px;
    font-size: 14px;
    width: 100%;
    max-width: 307px;
    margin-top: 7px;	
}
form[name="loginform"] input[type="submit"]{
	background: #ED844A;
	color: white;
	border: 0;
	border-radius: 5px;
	max-width: 100px;
	width: 100%;
	font-size: 15px;
	font-weight: 500;
	padding: 5px 15px;
	margin: 30px auto;
	display: table;	
}
.video-container{
	margin:24px 0;
}


/* add */
.aiu-crew__content p span {
	font-weight: 600;
}
.aiu-crew__content p a {
	font-size: 18px;
	text-decoration: underline;
}
.aiu-crew__content p a:hover {
	text-decoration: none;
}
.fea-submit-button {
	border: unset;
}

.btn_back {
	margin: 20px auto;
	padding: 0 20px;
	max-width: 1000px;
}
.back-link{
	display: inline-flex;
	align-items: center;
	gap: .35em;
	text-decoration: none;
	font-size: 13px;
	color: #666;
	font-weight: bolder;
}
.back-link::before{
	content: "＜";
	display: inline-block;
	line-height: 1;
	font-size: 13px;
	color: #777;
	font-weight: bolder;
}
#site-navigation {
	width: auto;
    padding: 0 20px;
}
#navigation-logo {
	padding-left: 0;
}
.policy_link {
	padding: 0 0 15px 0;
}
.policy_link a {
	font-size: 13px;
	text-decoration: none;
	color: #555;
}
.policy_link a:hover {
	text-decoration: underline;
}
.postlist {
	max-width: unset;
}

@media screen and (max-width: 900px) {
	#navigation-logo a img {
		width: 150px;
	}
	.single_wrap,
	.mypage-list {
		max-width: unset;
		padding: 0 20px;
	}
	.postlist {
		padding: 0;
		font-size: 15px;
	}
	.editbutton {
		font-size: 13px;
	}
	.upedit_title {
		font-size: 2.6rem;
	}
	.btn_back {
		max-width: unset;
		width: auto;
	}
	.mypagetitle {
		display: inline-block;
		margin: 0 40px 40px 0;
		font-size: 2.6rem;
	}
	.postbutton {
		padding: 7px 22px;
		font-size: 1.4rem;
		top: -5px;
	}
}

/* 投稿一覧の1行 */
.postlist li{
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  column-gap: 16px;
}

/* 日付 */
.postlist li time{
  white-space: nowrap;
  color: #666;
}

/* タイトル */
.postlist li > a:not(.editbutton){
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 編集ボタン */
.postlist li .editbutton{
  white-space: nowrap;
}

main {
	max-height: unset;
    min-height: unset;
    height: auto;
}

.acf-fields>.acf-field {
	padding: 20px 0!important;
}
.acf-fields>.acf-field.item_video_upload {
	border-top: dashed 1px #aaa!important;
	padding-bottom: 0!important;
}
.acf-fields>.acf-field.item_pass {
	border-top: dashed 1px #aaa!important;
}
.please-log-in {
	text-align: center;
	font-size: 18px;
	padding: 40px 0;
}
.please-log-in a {
	font-size: 18px;
	text-decoration: underline;
}
.pnf {
	text-align: center;
	padding: 50px 0;
}
.pnf .page_head__title {
	margin-bottom: 15px;
}
.pnf .page_head__lead {
	margin-bottom: 15px;
}
.pnf .btnTop {
	text-decoration: underline;
}

.acf-icon.-pencil.dark {
	display: none;
}


/* ---------- SP ---------- */
@media screen and (max-width: 900px){
	.postlist li{
		grid-template-columns: 1fr auto;
		grid-template-areas:
			"date date"
			"title edit";
		row-gap: 6px;
	}

	.postlist li time{
		font-size: 13px;
		grid-area: date;
	}

	.postlist li > a:not(.editbutton){
		grid-area: title;
		white-space: normal;
	}

	.postlist li .editbutton{
		grid-area: edit;
		justify-self: end;
	}
}
