@import url('https://fonts.googleapis.com/css?family=Sacramento|Alike|Assistant:400,700');

/*
 * "Sacramento" is lisenced under the SIL Open Font License 1.1
 * http://scripts.sil.org/OFL
 * by https://www.google.com/fonts(Astigmatic)
 */

@import url('https://fonts.googleapis.com/css?family=Lovers+Quarrel');

@font-face
{
font-family: Fontpoにほんご;
src: url('https://cdn.leafscape.be/nihongo/FontopoNIHONGO_web.woff2')
     format("woff2");
}


@font-face
{
font-family: 刻明朝;
src: url('https://cdn.leafscape.be/kokumin/font_1_kokumr_1.00_rls_web.woff2')
     format("woff2");
}
/*-------------------------------------------------
このフォントはIPAフォントライセンスv1.0の下で提供されています。
http://ipafont.ipa.go.jp/ipa_font_license_v1.html
オリジナルのフォントは以下から取得できます。
http://ipafont.ipa.go.jp/
-------------------------------------------------*/


* {
    margin: 0;
    padding: 0;
    font-size: 100%;
    font-weight: normal;
    list-style-type: none;
    box-sizing: border-box;
}

input, button, textarea {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin: 0;
    padding: 0;
    background: none;
    border: none;
    border-radius: 0;
    outline: none;
}

textarea {
    width: 100%;
    height: 80px;
    background: rgba(90,90,90,0.1);
    border: 1px solid #dfdfdf;
    padding: 10px;
    font-family: 'Assistant', 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', Meiryo, メイリオ, sans-serif;
    font-size: 11px;
}

strong {
    font-weight: bold;
}

a {
    color: #8E8B82;
}

p {
    margin-bottom: 15px;
}

body {
    color: #444;
    line-height: 1.6;
    letter-spacing: 1px;
    font-size: 12px;
    font-family: 'Assistant', 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', Meiryo, メイリオ, sans-serif;
    word-break: break-all;
    text-align: justify;
    background: #E4DFDF url(img/bg.png);
    background-size: 485px;
}

article {
    margin: 40px auto;
    max-width: 800px;
}

.box {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: flex-start;
    width: 100%;
    margin: 0 auto 30px;
    color: #BCBCBC;
}

.left {
    justify-content: flex-start;
}

article section,
.box p {
    background: #fff;
    padding: 15px 10px;
    box-shadow: 6px 5px 8px rgba(0,0,0,0.1);
    max-width: 220px;
    margin: 20px;
    position: relative;
}

article section {
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
    padding: 20px;
}

article section h2 {
    text-align: center;
    font-weight: bold;
    font-size: 14px;
    letter-spacing: 4px;
    margin: 30px 0 20px;
    padding-bottom: 10px;
    background: none;
    position: relative;
    z-index: 10;
}

article section img {
    display: block;
    max-width: 200px;
    width: 100%;
    margin: -60px auto 30px;
    object-fit: cover;
}

article section p {
    font-size: 13px;
}

article section::before,
.box p::before {
    content: '';
    display: block;
    width: 80px;
    height: 14px;
    background: rgba(90,90,90,0.1);
    -moz-transform: rotate(-10deg);
    -webkit-transform: rotate(-10deg);
    -o-transform: rotate(-10deg);
    -ms-transform: rotate(-10deg);
    transform: rotate(-10deg);
    margin: 0 auto -25px;
    position: relative;
    top: -20px;
}

.box p img {
    width: 100%;
    margin: 8px 0 0;
}

.box p span {
    font-size: 20px;
    font-family: 'Alike', serif;
    display: inline-block;
    letter-spacing: 3px;
    color: #cfcfcf;
}

.box p a {
    text-decoration: none;
    border-bottom: 1px solid #efefef;
    padding: 0 4px 2px;
    margin: -28px 0 0 35px;
    display: block;
    text-align: right;
    font-weight: bold;
    font-size: 12px;
    color: #666;
    letter-spacing: 1px;
}

.box p b {
    font-weight: normal;
    font-size: 10px;
    display: block;
    text-align: right;
    letter-spacing: 1px;
    margin-top: 5px;
}

footer b {
    margin-top: -30px;
    font-weight: bold;
}

.memo {
    display: flex;
}

.memo div {
    width: 400px;
}

.memo div:first-child {
    margin-right: 50px;
}

.memo h2 {
    margin: 60px 0 0;
    border-top: 1px dashed #777;
    text-align: right;
}

.memo h2 span {
    position: relative;
    top: -22px;
    right: 10px;
    display: inline-block;
    font-family: 'Lovers Quarrel', cursive;
    font-size: 27px;
    padding: 0 10px;
    background: url(img/bg.png);
    background-size: 485px;
    -moz-transform: rotate(8deg);
    -webkit-transform: rotate(8deg);
    -o-transform: rotate(8deg);
    -ms-transform: rotate(8deg);
    transform: rotate(8deg);
}

.memo h3 {
    position: relative;
    background: #fff;
    padding: 0.25em 0.5em;
    border-left: solid 2em #D4D6C8;
    margin: 40px 0 15px;
    font-weight: 700;
}

.memo h3:before {
    font-family: FontAwesome;
    content: "\f00c";
    position: absolute;
    padding: 0em;
    color: #fff;
    font-weight: normal;
    left: -1.35em;
    top: 50%;
    -moz-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.memo h2 + h3 {
    margin-top: 0;
}

@media screen and (max-width:1050px){
    .memo {
        display: block;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .memo div {
        width: 100%;
        margin-right: 0;
    }
}

@media screen and (max-width:710px){
    .box {
        width: 100%;
    }
    
    .box p {
        margin: 20px 0;
    }
    
    .box p:nth-child(odd) {
        margin-right: 20px;
    }
}

@media screen and (max-width:540px){ 
    
    article {
        width: 80%;
    }
    
    .box p {
        margin: 20px 0 !important;
    }
}

@media screen and (max-width:370px){
    .box p {
        margin: 20px 0;
    }
    
    .left {
        justify-content: center;
    }
}

/* 大見出し */
h1{
	position: relative;
	font-size: 30px;
	font-family: 刻明朝;
	padding-top: 15px;
	color: #fff;
	text-shadow: 0 0 5px rgba(0,0,0,0.5);
	}

h1:first-letter {
	color: #fff;
	text-shadow: 0 0 5px rgba(89,185,198,0.7);
	}

/* 左右に線小見出し */	
h8{
	position: relative;
	font-family: 'Lovers Quarrel', cursive;
	font-weight: normal;
	width: 100%;
	padding: 3px 0;
	margin: 15px auto;
	font-size: 1.5rem;
	color: #393f4c;
	display: flex;
	align-items: center;
	}
	
h8:before,h2:after{
	content: "";
	flex-grow: 1;
	height: 1px;
	display: block;
	background-color: #ccc;
	}
	
h8:before{
	margin-right: 10px;
	}
	
h8:after{
	margin-left: 10px;
	}


ul.cp_list {
padding:0.5em;
list-style-type:none;
}
ul.cp_list li {
position:relative;
padding: 0em 0.3em 0.3em 1.3em;
}
ul.cp_list li:after,ul.cp_list li:before {
position:absolute;
content:'';
display:block;
background: #a8a499;
top: 0.43em;
left: 0.5em;
height: 11px;
width: 4px;
border-radius: 10px;
transform: rotate(45deg);
}
ul.cp_list li:before {
top: 0.6em;
left: 0.2em;
height:8px;
transform:rotate(-45deg);
}

/*voice */
h7{
	position: relative;
	font-size: 22px;
	font-family: 刻明朝;
	padding-top: 15px;
	text-shadow: 0 0 5px rgba(0,0,0,0.5);
	}


/*pair*/
table.pair{
	text-align: center;margin:0px auto;
	background: url(img/pair.png) center center no-repeat;
	height: 300px;
	width: 300px;
	padding: 0px auto;
}

table.pair, td{
	padding: 0px auto;
	font-family: 刻明朝;
	font-size: 13px;
	text-shadow: 0 0 5px rgba(0,0,0,0.5);
}

#photo {
    text-align: center;
}
#photo li {
    display: inline-block;
    margin: 0 10px;
}
#photo a {
    position: relative;
    display: block;
}

