/*
Template:ystandard
Theme Name:ystandard-child
Theme URI: https://wp-ystandard.com
Author: yosiakatsuki
Author URI: https://yosiakatsuki.net
Description:「自分色に染めた、自分だけのサイトを作る楽しさ」を感じてもらうために作った一風変わったWordPressテーマ「ystandard」の子テーマ
Version: 4.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

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



/* フォントの読み込み */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Dosis:wght@600&display=swap');

/* 全体設定 */

body{
font-family: 'Dosis', 'Noto Sans JP' !important;
color: #3F4B49;/* ★全体の文字色 */
font-size: 15px;
font-weight: 400;
letter-spacing: 0.1em;
line-height: 30px;
box-sizing: border-box;
padding: 0;
margin: 0;
list-style-type: none;
text-decoration:none;	
width: 100vw;
height: 100vh;
background-color: #F0F0F0;/* ★全体の背景色 */
position: relative;
overflow-x: hidden;
}

.sp-br{display:none;}

@media screen and (max-width: 640px) {
	body{font-size:13px;}
	.sp-br{display:inline}
}


a{text-decoration: none;}

p {
    margin-top: 1em;
}

span{line-height:1px;}


.wrap{
max-width: 1000px;
min-height: 100vh;
position: relative;
padding: 30px;
overflow: hidden;
margin: 0 auto 30px;
}

/* リンク文字 */
a{
transition: 0.2s;
border-bottom: 1px dashed #d4bd29;/* ★リンク文字の下線の色 */
}

a:hover{
color: #f5dc3c;/* ★リンクをホバーした時の文字色 */
}

/* 強調文 */
strong{
font-weight: 700;
display: inline-block;
position: relative;
z-index: 0;
text-decoration: underline;
text-decoration-color: #f5dc3c57;
text-decoration-thickness:7px;
}


/* ヘッダー＋コンテンツのレイアウト */
.main-flex{
display: flex;
align-items: flex-start;
column-gap: 7%;
}

/* ヘッダーメニュー */
header{
width: 23%;
height: auto;
text-align: center;
padding: 65px 30px;
border-radius: 16px;
background-color: #f5dc3c;/* ★ヘッダーメニューの背景色 */
}

.nav li{
display: block;
text-align: center;
padding: 12px 0;
transition: 0.2s;
margin: 0px;
}

.nav li+li{
content: '';
border-top: 1px solid rgba(255,255,255,0.4);
}

.nav li a{
font-size: 13px;
color: #FFF;
border-bottom: none;
letter-spacing: 0.2em;
}

.nav li a:hover{
opacity: 0.5;
}

/* メインコンテンツ */
main{
width: 70%;
margin: 0 auto;
padding: 60px 60px 80px;
background-color: #FFF;/* ★メインコンテンツ部分の背景色 */
border-radius: 16px;
}

/* 見出し */
h1,h2,h3,h4{
font-weight: 700;
}

h1{
font-size: 20px;
text-align: center;
padding-bottom: 30px;
color: #FFF;
letter-spacing: 0.15em;
word-wrap: break-word;
}

h2{
font-size: 16px;
padding-bottom: 5px;
color: #f5dc3c;/* ★h2見出しの文字色 */
}

h3{
font-size: 14px;
padding-bottom: 5px;
}

h3:before{
content: '';
width: 3px;
height: 12px;
border-radius: 1px;
background-color: #f5dc3c;/* ★h3見出し左側の縦線の色 */
display: inline-block;
margin-right: 8px;
margin-bottom: -2px;
}

/* セクション（見出し＋本文のセット） */
.section{
width: 100%;
}

.section+.section{
margin-top: 50px;
}

/* 入力フォームと送信ボタン */
form{
display: flex;
align-items: center;
margin-top: 5px;
}

input[type="text"],input[type="radio"],input[type="button"],input[type="reset"],input[type="submit"],select,textarea{
-webkit-appearance: none;
-moz-appearance: none;
-webkit-box-shadow: none;
appearance: none;
box-shadow: none;
background: #F4F4F4;/* ★フォームの背景色 */
border-radius: 4px;
color: #3F4B49;
border: 1px solid #F4F4F4;
width: 30em;
height:2.0em;
padding: 0 6px;
}

input:focus, textarea:focus{
outline: none;
height:2.0em;
background: #FFF;/* ★フォームフォーカス時の背景色 */
border: 1px solid #C9C9C9;/* ★フォームフォーカス時の枠線の色 */
}

input[type="submit"]{
width: auto;
border: none;
background-color: #f5dc3c;/* ★送信ボタンの背景色 */
color: #FFF;/* ★送信ボタンの文字色 */
padding: 0 10px;
cursor: pointer;
transition: 0.2s;
}

input[type="submit"]:hover{
background-color: #3F4B49;/* ★送信ボタンホバー時の背景色 */
color: #f5dc3c;/* ★送信ボタンホバー時の文字色 */
}

/* 名前変換フォーム */
.dream{
margin-bottom: 20px;
flex-wrap: wrap;
gap: 10px;
}

.dream input[type="text"]{
width: 70px;
}

.dream input[type="submit"]{
width: 30px;
}

/* 分岐ページ */
.long+.long{
padding-top: 10px;
}

/* ブログ */
.blog-ttl{
font-size: 18px;
text-align: center;
padding-bottom: 30px;
}

.list{
padding-bottom: 20px;
margin-bottom: 20px;
border-bottom: 1px dashed rgba(0,0,0,0.13);
}

.date{
padding: 1px 8px;
background-color: #F0F0F0;
width: fit-content;
border-radius: 5px;
margin-bottom: 10px;
}

.btn{
text-align: right;
padding-top: 10px;
}

.btn a{
padding: 1px 8px;
border-radius: 5px;
background-color: #f5dc3c;/* ★追記ボタンの背景色 */
color: #FFF;/* ★追記ボタンの文字色 */
border-bottom: none;
}

.btn a:hover{
background-color: #3F4B49;/* ★追記ボタンホバー時の背景色 */
color: #f5dc3c;/* ★追記ボタンホバー時の文字色 */
}

.back{
text-align: left;
}

.page{
text-align: left;
}

/* フッター */
footer{
text-align: right;
margin-top: 20px;
font-size: 11px;
}

.footer-main a{
	border-bottom:none;
}

/* 640px以下のデバイスでの見え方 */
@media screen and (max-width: 640px) {
.wrap{
padding: 0px;
}

.main-flex{
display: block;
height: auto;
}

header{
width: 100%;
padding: 15px 30px;
}

.nav{
display: flex;
column-gap: 25px;
justify-content: center;
}

h1{
padding-bottom: 0;
}
.entry-content h1 {
    margin: 2em 0 0.25em;
}
	
	
.nav li+li{
content: '';
border-top: none;
}

main{
width: 100%;
margin-top: 30px;
padding: 40px 30px;
}
}

.radio-title{
font-size: 1em;
font-weight: bold;}

.has-background .archive__main, .has-background .content__main, .has-content-bg-color .archive__main, .has-content-bg-color .content__main {
    --ystd-content-padding: calc(var(--ystd-layout-gap));
    max-width: 100%;
}

.footer-main {
    padding-top: 1em;
    padding-bottom: 1em;
    overflow: hidden;
    background-color: var(--footer-bg);
    color: #060606;
}

.entry-content {
     margin-top: 0em; 
     margin-bottom: 0em; 
}

main#main {
    padding: 0px;
    margin: 0px;
}


.emo{width: 30px;
    vertical-align: middle;
    margin-right:5px;}

.lcp_paginator li {
    padding: 5px 10px !important;
    line-height: 1em !important;

}

/*画像の左右反転*/
.scale {
  transform: scale(-1, 1);
}


/*魔改造*/
header#masthead {
    display: none;
}
.admin-bar.has-fixed-header .site-header {    top: 32px;    display: none;}header.singular-header.entry-header{display: none;} :root {--ys-site-header-height: 0px; }ul {padding-left: 0em;}

.has-background .site-content {
    --ystd-container-margin-vertical: calc(var(--ystd-layout-gap)*0);
}

/*ギャラリー*/
figure.wp-block-gallery.has-nested-images{
    position:relative;
}
figure.wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image::before{
    content:"";
    display: block;
    padding-top: 100%; /*正方形。16:9にしたい場合は56.25%*/
}
.wp-block-gallery.has-nested-images figure.wp-block-image img{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
@media only screen and (max-width:480px) {
	.lum-lightbox-inner img{
		width:100%;
		height: 400px;
	}
}

