/*
Theme Name: uisound-wp_v2
Theme URI: 
Description: 
Version: 
Author: otani
Author URI: 
*/

html{
    scroll-behavior: smooth;
}

@font-face {
  font-family: YuGothicM;
  src: local(Yu Gothic Medium),
       local(Yu Gothic);
  font-weight: 500;
}
body {
    font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "ヒラギノ角ゴ ProN W3", Hiragino Kaku Gothic ProN, Arial, "メイリオ", Meiryo, sans-serif;
	background-color: #f2f2f2;
}

@media all and (-ms-high-contrast: none) {
   body {
        font-family: Verdana, Meiryo, sans-serif;
    }
}

img {
    max-width: 100%;
    margin: 0px auto;
    padding: 0px;
    height: auto;
}

.br-sp {
    display: none;
}

.br-pc {
    display: block;
}

a {
    text-decoration: none;
}



/* header */

header {
    background-color: #fff;
}

header h1 {
    padding: 30px 0;
    max-width: 420px;
    margin: 0 auto;
}



/* nav */

nav {
    border-top: solid 1px #afd5e9;
    border-bottom: solid 1px #afd5e9;
    height: auto;
    overflow: auto;
    margin-bottom: 50px;
    background-color: #fefefe;

}

#menu {
    display: block;
}

#menu ul {
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
}
    
#menu ul,
#menu ul li,
#menu ul li a {
    display: flex;
    justify-content: center;
    }


#menu ul li {
    font-size: 100%;
    font-weight: 800;
    line-height: 1.5;
    text-align: center;
    border-left: solid 1px #9ccfea;
}

#menu ul li, 
#menu ul li a {
    flex-basis: 200px;
    }

.menu_c5 {
    border-right: solid 1px #afd5e9;
}

#menu ul li a {
    align-items: center;
    position: relative;
    padding: 1em;
    }

#menu ul li a:hover,
#home #menu ul li.menu_c1,
#chapter1 #menu ul li.menu_c1,
#chapter2 #menu ul li.menu_c2,
#chapter2-1 #menu ul li.menu_c2,
#chapter2-2 #menu ul li.menu_c2,
#chapter2-3 #menu ul li.menu_c2,
#chapter3 #menu ul li.menu_c3,
#chapter3-1 #menu ul li.menu_c3,
#chapter3-2 #menu ul li.menu_c3,
#chapter3-3 #menu ul li.menu_c3,
#chapter3-4 #menu ul li.menu_c3,
#chapter4 #menu ul li.menu_c4,
#chapter4-1 #menu ul li.menu_c4,
#chapter4-2 #menu ul li.menu_c4,
#chapter4-3 #menu ul li.menu_c4,
#chapter4-4 #menu ul li.menu_c4,
#chapter5 #menu ul li.menu_c5,
#chapter5-1 #menu ul li.menu_c5,
#chapter5-2 #menu ul li.menu_c5,
#home #menu ul li.menu_c1 a:visited,
#chapter1 #menu ul li.menu_c1 a:visited,
#chapter2 #menu ul li.menu_c2 a:visited,
#chapter2-1 #menu ul li.menu_c2 a:visited,
#chapter2-2 #menu ul li.menu_c2 a:visited,
#chapter2-3 #menu ul li.menu_c2 a:visited,
#chapter3 #menu ul li.menu_c3 a:visited,
#chapter3-1 #menu ul li.menu_c3 a:visited,
#chapter3-2 #menu ul li.menu_c3 a:visited,
#chapter3-3 #menu ul li.menu_c3 a:visited,
#chapter3-4 #menu ul li.menu_c3 a:visited,
#chapter4 #menu ul li.menu_c4 a:visited,
#chapter4-1 #menu ul li.menu_c4 a:visited,
#chapter4-2 #menu ul li.menu_c4 a:visited,
#chapter4-3 #menu ul li.menu_c4 a:visited,
#chapter4-4 #menu ul li.menu_c4 a:visited,
#chapter5 #menu ul li.menu_c5 a:visited,
#chapter5-1 #menu ul li.menu_c5 a:visited,
#chapter5-2 #menu ul li.menu_c5 a:visited{
    color: #fff;
    background-color: #afd5e9;
}

#toggle {
    display: none;
}


/* contents共通 */

section#chapter_set,
section#post_set,
section.not-found{
    width: 90%;
    max-width: 980px;
    margin: 0px auto;
    line-height: 1.9;
}

.page_title {
    position: relative;
    text-align: center;
    width: 100%;
    max-width: 980px;
    margin: 0 auto 50px auto;
    color: #332c2f;
}

.page_title span {
    position: relative;
    z-index: 2;
    display: inline-block;
    padding: 0 1em;
    background-color: #f2f2f2;
    text-align: left;
    font-size: 20px;
    letter-spacing: 0.1em;
    font-weight: 800;
}

.page_title::before {
    position: absolute;
    top: 47%;
    z-index: 1;
    content: '';
    display: block;
    width: 100%;
    height: 4px;
    background-color: #afd5e9;
}

h3 {
    font-weight: 600;
    line-height: 1.9;

}

h4 {
    font-weight: 600;
}

p {
    font-size: 16px;
    line-height: 1.8;
    text-align: justify;
    margin-bottom: 15px;
}

strong {
    font-weight: 800;
}

.mb15 {
    margin-bottom: 15px;
}

.mb30 {
    margin-bottom: 30px;
}


/* home,アーカイブページ */

#chapter_set {
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
}

#home_set{
    width: 80%;
    max-width: 980px;
	margin: 0 auto 50px auto;
	
}	
#home_set p{
    width: 100%;
    margin: 0 auto 20px auto;
}

#chapter_set::after {
    content: "";
    display: block;
    width: 30%;
}

#chapter_set article {
    width: 30%;
    background-color: #fefefe;
    margin-bottom: 50px;
}

#chapter_set article a {
    display: block;
    width: 100%;
}

#chapter_set article figure {
    margin-bottom: 20px;
    width: 100%;
    height: 55%;
	overflow:hidden;
    position: relative;
}

#chapter_set article img {
    height: auto;
    transition: all 0.25s ease-in-out;
    width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
    vertical-align: bottom;
    overflow: hidden;

	
}

#chapter_set a:hover > figure img {
    transform: scale(1.15, 1.15);
}

#chapter_set article h1 {
    padding: 0 10px;
    font-size: 100%;
    line-height: 1.5;
    font-weight: 800;
}

#chapter_set article p {
    padding: 10px;
    margin-bottom: 0px;
    font-size: 80%;
    width: 100%;
    box-sizing: border-box;
}

#chapter_set article a {
	color:#000;	
}

#chapter_set article{
    position: relative;
    box-shadow: 1px 1px 5px rgb(231, 230, 230);
}

#chapter_set article div{
    position: absolute;
    display: flex;
    justify-items: center;
    justify-content: center;
    bottom:0;
    right: 0;
    background-color: #eff86d5e;
    width: 30px;
    height: 30px;
	transition-duration: 0.30s;
}

#chapter_set article a:hover div{
	transition-duration: 0.30s;
    background-color: #fff100;
    right: -10px;
      shape-outside: circle(100% at 0%);
      clip-path: circle(100% at 0%);
}

.sub_category{
	width:100%;
	max-width:980px;
	font-size:120%;
	margin:20px auto; 
	border-bottom: 1px dotted #ccc;
}

.chapter_text{
	width:100%;
	max-width:980px;
	font-size:100%;
	margin:20px auto 40px auto; 
}



/* #postページ */

#post_set main {
    float: left;
    width: 68%;
    margin-bottom: 30px;
}

#post_set main .top_img{
    margin-bottom: 20px;
}

#post_set .sub_title{
	font-weight:700;
	margin-bottom:0px;
}

#post_set main h1 {
    font-size: 150%;
    font-weight: 600;
    margin-bottom: 20px;
}

#post_set main h2 {
    font-size: 115%;
    font-weight: 600;
    margin: 40px 0 10px 0;
}

#post_set main p,
#post_set main ul{
    margin-bottom: 20px;
}

#post_set main p.comments{
	padding-top:20px;
	font-size:90%;
	color:#666;
}

#post_set main li{
	list-style: disc;
    list-style-position: outside;
	margin-left:20px;
}

#post_set main ul.post_menu li {
    position: relative;
    line-height: 2;
    list-style-type: none;
    padding: 0em 0em 0em 1.2em;
}

#post_set main ul.post_menu li:before {
    font-family: FontAwesome;
    content: "\f107";
    position: absolute;
    vertical-align: bottom;
    left: 0em;
}

#post_set main .stylenone li{
	list-style:none;
}

#post_set main a{
	color:#00C;
}

#post_set span.underline{
	text-decoration:underline;
}


.video{
	position:relative;
	width:100%;
	padding-top:56.25%;
}

.video iframe{
	position:absolute;
	top:0;
	right:0;
	width:100%;
	height:100%;
}

#post_set .search_box{
	margin:50px 0;
}

.search_box input.search{
    padding:8px;
	width:60%;
	height:20px;
	font-size:16px;
	line-height:24px;
    background-color:#fff;
    border:1px solid #aaa;
}

.search_box input#submit_button{
    	width:60px;
    	height:38px;
		font-size:16px;
    	line-height:36px;
    	text-align:center;
    	color:#fff;
    	background-color:#afd5e9;
		border:1px solid #aaa;
    }

.audio_set{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
}

.audio_box{
	max-width:33%;
	border:2px solid #00c;
	border-radius:5px;
	padding:10px;
	margin:10px;
	margin-bottom:30px;
	background-color:#fff;
}

#post_set main .audio_box h1{
	color:#00c;
	font-size:120%;
	text-align:center;
	margin:0px;
	padding:0px;
	border-bottom:2px solid #00c;
}

#post_set main .audio_box ol li{
	list-style-type:decimal;
}

.audio_box input[type="submit"]{
    font-family: FontAwesome;
    -webkit-appearance: none;
	font-size:120%;
	color: #fC0;
	border:none;
	display:inline;
	background-color:#fff;

}

.audio_box input[type="submit"]:hover{
	color: #fD0;
}
	
.table_set{
	overflow:auto;
	margin:0px auto 30px auto;	
	}

.audio_table{
	border: 2px solid #00c;
	width:100%;
	font-size:90%;
	margin:0 auto 30px auto;
}

.audio_table_b{
	border: 2px solid #00c;
	width:auto;
	font-size:90%;
	margin:0 auto 30px auto;
}

.audio_table th:empty {
   background-image: linear-gradient(to top right,
                        transparent, transparent 49%,
                        #00c 49%, #fff 51%,
                        transparent 51%, transparent);
}

.audio_table th, 
.audio_table td {
	line-height:180%;
	padding: 7px 10px;
	white-space: nowrap;
	border-right: 1px solid #00c;
	border-bottom: 1px solid #00c;
}

.audio_table_b th, 
.audio_table_b td {
	line-height:180%;
	padding: 7px 10px;
	border-right: 1px solid #00c;
	border-bottom: 1px solid #00c;
}


.audio_table th,
.audio_table_b th{
	text-align: center;
}


.audio_table_b caption {
	caption-side:bottom;
	text-align:center;
	font-weight:800;
}

.movie-wrap {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 0px;
    height: 0;
}
 
.movie-wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}



/* aside */

#post_set aside {
    float: right;
    width: 28%;
    font-size: 90%;
    margin-bottom: 30px;
}

#post_set aside h3{
    position: relative;
    line-height: 2;
    list-style-type: none;
    padding: 0em 0em 0em 1em;
	margin-bottom: 10px;
	
}

#post_set aside h3:before {
    font-family: FontAwesome;
    content: "\f103";
    position: absolute;
    vertical-align: bottom;
    left: 0em;
}

#post_set aside h3.next_chapter{
	margin-bottom: 30px;
}

#post_set aside h3.next_chapter:before {
    font-family: FontAwesome;
    content: "\f101";
}


#post_set aside .search_box{
	margin: 0 0 30px 15px;
}

#post_set aside ul{
	margin: 0 0 30px 15px;
}

#post_set aside ul.subcat_list{
	margin: 0 0 10px 15px;
}

#post_set aside ul li {
    position: relative;
    line-height: 2;
    list-style-type: none;
    padding: 0em 0em 0em 1em;
}

#post_set aside ul li:before {
    font-family: FontAwesome;
    content: "\f105";
    position: absolute;
    vertical-align: bottom;
    left: 0em;
}

.nav-below{
	width:100%;
	max-width:980px;
	margin:50px auto;
    display: flex;
    justify-content: space-between;
	font-size:80%;
}

.nav-below span{
	padding:10px;
}





/* footer */

footer {
    width: 100%;
    text-align: center;
    background-color: #dcdddd;
    margin-top: 20px;
    height: auto;
}

#footer_set {
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
}

#footer_set section {
    width: 30%;
    margin-bottom: 30px;
    text-align: left;
}

#footer_set section.footer_about {
    width: 33%;
    margin-right: 5%;

}

#footer_set p,
#footer_set ul {
    font-size: 90%;
	line-height:1.9;
}

#footer_set strong span{
    font-size: 90%;
}

#footer_set p.disp_text{	
    font-size: 80%;
}

#pagetop {
    width: 95%;
    height: 40px;
    max-width: 980px;
    margin: 0px auto 0 auto;
    z-index: 10;
    position: relative;
}

#pagetop p {
    width: 40px;
    margin-top: -15px;
    text-align: center;
    position: absolute;
    right: 0;
}

#pagetop p a {
    display: block;
    color: #eee;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    background-color: #9fb5f2;
}

#pagetop p a:hover {
    background-color: #537ef5;
}

.fa-chevron-up {
    font-size: 100%;
    margin-top: 10px;
}

p.copyright {
    width: 100%;
    font-size: 75%;
    text-align: center;
    letter-spacing: 0.1em;
    padding: 10px 0;
    margin: 0;
    background-color: #fff100;
}




/* ▼▼▼ スマートフォン小用 CSS設定　▼▼▼ */

@media screen and (max-width: 960px) {
	
	
	.page_title {
	width:95%;
	}
	
	.sub_category{
	width:95%;
	margin-bottom:10px;
	}
	
	.chapter_text{
	width:95%;
	}

	 #footer_set {
        width: 95%;
        margin: 0px auto 10px auto;
    }


}



/* ▼▼▼ スマートフォン小用 CSS設定　▼▼▼ */

@media screen and (max-width: 600px) {

    .br-pc {
        display: none;
    }

    .br-sp {
        display: block;
    }

    header h1 {
        padding-top: 30px;
    }

    header h1 {
        max-width: 300px;
    }

    nav {
        border: none;
        margin-bottom: 40px;
    }

    #toggle {
        display: block;
        line-height: 50px;
        text-align: center;
    }

    #toggle a {
        display: block;
        color: #fff;
        font-size: 16px;
        letter-spacing: 1.5px;
        text-decoration: none;
        background: #444;
    }

    #toggle a::after {
        font-family: 'FontAwesome';
        content: '\f0c9';
        margin-left: 15px;
        font-size: 18px;
        font-weight: 100;
    }

    #menu {
        display: none;
    }

#menu ul,
#menu ul li,
#menu ul li a {
    display: block;
    box-sizing: border-box;
    }
    
    #menu ul li a {
        flex-direction: column;
    }

    #menu ul li {
        width: 100%;
        font-size: 16px;
        border-bottom: 1px solid #eee;
    }

    #menu ul li a {
        padding: 12px;
    }

    section {
        padding-bottom: 20px;
    }
	
   	.chapter_text{
	width:90%;
	}
	
	.page_title {
	width:90%;
    margin: 0 auto 20px auto;
    }
	
	.sub_category{
	width:90%;
	margin-bottom:0px;
	}

    .page_title span {
        font-size: 16px;
        letter-spacing: 0.05em;
    }

    strong,
    h4,
    figcaption {
        font-size: 15px;
    }

    p {
        font-size: 14px;
    }

    section ul,
    section ol {
        font-size: 14px;
    }

    #chapter_set article {
        width: 100%;
        margin: 20px auto;
    }
	
	#home_set{
    	width: 90%;
		margin: 0 auto 0px auto;
	}
	
	#home_set p{
    	width: 100%;
    	max-width: 980px;
    	margin: 0 auto 20px auto;
	}
	
    #post_set main,
    #post_set aside {
        float: none;
        width: 100%;
    }
	
	
	.audio_box{
		width:100%;
		max-width:100%;
	}
	
	
.movie-wrap {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
}
 
.movie-wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

	
	.audio_table{
		font-size:80%;
	}

	 #footer_set {
        width: 100%;
	}
	
    #footer_set section,
    #footer_set section.footer_about {
        width: 90%;
        margin: 0px auto 10px auto;
    }

    footer {
        margin-top: 0px;
    }

}


/* @end */