/*! HTML5 Boilerplate v5.0 | MIT License | http://h5bp.com/ */

html {
    color: #222;
    font-size: 16px;
    line-height: 1.7em;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}


/* ==========================================================================
   Author's custom styles
   ========================================================================== */


/* Base --------------------------------------------------------------------- */


body {
	font-family: -apple-system,BlinkMacSystemFont,Helvetica Neue,Hiragino Kaku Gothic ProN,Hiragino Sans,Roboto,Noto Sans JP,游ゴシック Medium,游ゴシック,Yu Gothic,Yu Gothic Medium,Meiryo,Arial,sans-serif;
}

h1, h2 {
	padding: 0;
	margin: 0;
}

ul, li {
	padding: 0;
	margin: 0;
	list-style: none;
}

p {
	margin: 20px 0;
}

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

a {
	color: #09F;
}

a:hover {
	text-decoration: none;
}

a,
a img {
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all  0.5s ease;
}

a:hover,
a:hover img {
    -webkit-filter: contrast(130%);
    -moz-filter: contrast(130%);
    -o-filter: contrast(130%);
    -ms-filter: contrast(130%);
    filter: contrast(130%);
}

hr {
	height: 1px;
	border: none;
	border-top: 1px #e4e4e4 solid;
}

header {

}

.wrap {
	width: 800px;
	margin: 0 auto;
}

header .wrap {
	position: relative;
	width: 1000px;
	margin: 0 auto;
}

.wrap img {
	width: 100%;
	height: auto;
}

img.wimg-m {
	width: 700px;
	margin: 0 auto;
}

img.wimg-s {
	width: 500px;
	margin: 0 auto;
}

.txtbox {
	background: #ffffff;
	padding: 50px 0;
}


footer {
	clear: both;
	background: #333;
	padding: 15px 0 10px;
	text-align: center;
	color: #FFFFFF;
	font-size: 65%;
	line-height: 2.0em;
}

footer a {
	color: #FFFFFF;
}

address {
	font-style: normal;
	color: #777;
}


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

	body {
		background: none;
		width: 100%;
	}
	
	img {
		width: 100%;
		height: auto;
	}

	p {
		margin: 5% 3%;
	}
	
	br {
		display: none;
	}

	hr {
		margin: 5% 5%;
	}

	header {
		background: none;
		height: auto;
	}

	.wrap {
		width: 100%;
		margin: 0;
	}

	header .wrap {
		width: 100%;
	}

	.txtbox {
		width: 96%;
		padding: 5% 0 1%;
		margin: 0 2%;
	}

	img.wimg-m,
	img.wimg-s {
		width: 94%;
		margin: 5% 3%;
	}

	footer {
		margin: 0;
		padding: 3% 0 15%;
	}

}



/* Unique ------------------------------------------------------------------- */

.topcv {
	padding: 30px 0;
}

.band {
	background: #ededed;
	padding: 20px 0;
	text-align: center;
	line-height: 1.0em;
	font-weight: bold;
}

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

	.band {
		padding: 2% 0;
		line-height: 1.5em;
	}

}



.txtblock {
	padding: 100px 0 10px;
}

.title {
	margin-bottom: 50px;
	font-size: 20px;
	font-size: 2.0rem;
	line-height: 1.5em;
	font-weight: bold;
}

.subtitle {
	padding: 10px 0;
	margin-bottom: 50px;
	font-size: 15px;
	font-size:  1.5rem;
	line-height: 1.5em;
	font-weight: bold;
	text-align: center;
	border: solid 1px #e4e4e4;
	border-radius: 6px;
}

.prf {
	border: solid 1px #e4e4e4;
	padding: 10px 15px 0;
	border-radius: 6px;
}

.prf p {
	margin: 10px 0;
}

.author img {
	float: left;
	width: 50px;
	height: 50px;
	border-radius: 100px;
	border: solid 1px #e4e4e4;
}

.author p {
	margin: 0 0 0 65px;
	line-height: 50px;
	font-weight: bold;
	font-size: 1.2em;
}

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

	.txtblock {
		padding: 10% 0;
	}

	.title {
		font-size: 20px;
		font-size: 2.0rem;
		line-height: 1.3em;
		margin: 0 0 5%;
	}

	.prf {
		margin-bottom: 5%;
	}

}



.uvbox {
	background: #fff;
	border-radius: 10px;
	padding: 20px;
}

.uvbox img {
	float: left;
	width: 140px;
	margin: 30px 0 0 30px;
}

.mt15 {
	margin-top: 15px !important;
}

.uvbox h2 {
	margin-top: 20px;
	margin-left: 220px;
	color: #0f80c3;
}

.uvbox p {
	margin-left: 220px;
}


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

	.uvbox {
		width: 90%;
		padding: 3%;
		margin: 0 2%;
	}

	.uvbox img {
		float: none;
		width: 30%;
		margin: 0 35% 0 35%;
	}

	.mt15 {
		margin-top: 0 !important;
	}

	.uvbox h2 {
		margin-top: 5%;
		margin-left: 0;
		text-align: center;
	}

	.uvbox p {
		margin: 3% 2%;
	}

}




.toc {
	background: #0f80c3;
	padding: 15px;
	border-radius: 6px;
}

.toc h2 {
	padding: 10px 0;
	font-size: 20px;
	font-size: 2.0rem;
	line-height: 1.5em;
	font-weight: bold;
	text-align: center;
	color: #fff;
}

.toc p {
	margin: 0;
}

.toclist {
	display: none;
}

.chap {
	position: relative;
	background: #ffffff;
	margin: 10px 0;
	font-size: 20px;
	border-radius: 6px;
}


.toggle-switch {
	display: block;
	width: 94%;
	padding: 15px 3%;
}

.off::before {
	content: "＋";
	position: absolute;
	right: 20px;
	color: #0f80c3;
}


#side-menu-toggle1,
#side-menu-toggle2,
#side-menu-toggle3,
#side-menu-toggle4,
#side-menu-toggle5,
#side-menu-toggle6,
#side-menu-toggle7 {
	display: none;
}

/* 非チェック時の.menu-list */
#side-menu-toggle1:not(:checked) ~ .menu-list,
#side-menu-toggle2:not(:checked) ~ .menu-list,
#side-menu-toggle3:not(:checked) ~ .menu-list,
#side-menu-toggle4:not(:checked) ~ .menu-list,
#side-menu-toggle5:not(:checked) ~ .menu-list,
#side-menu-toggle6:not(:checked) ~ .menu-list,
#side-menu-toggle7:not(:checked) ~ .menu-list {
	display: none;
}

/* チェック時の.menu-list */
#side-menu-toggle1:checked ~ .menu-list,
#side-menu-toggle2:checked ~ .menu-list,
#side-menu-toggle3:checked ~ .menu-list,
#side-menu-toggle4:checked ~ .menu-list,
#side-menu-toggle5:checked ~ .menu-list,
#side-menu-toggle6:checked ~ .menu-list,
#side-menu-toggle7:checked ~ .menu-list {
	display: inline-block;
}


.menu-list {
	display: inline-block;
	width: 91%;
	padding: 0 3% 20px 6%;
	margin: 0;
}

.menu-list li {
	margin: 5px 0;
	font-size: 80%;
}


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

	.toc {
		padding: 3% 3% 1%;
		margin: 0 2%;
	}

	.chap {
		margin: 10px 0;
		font-size: 16px;
	}

	.toggle-switch {
		display: block;
		width: 84%;
		padding: 15px 10% 15px 3%;
	}

}






.cvblock {
	border-top: solid 1px #e4e4e4;
	padding: 70px 0;
	text-align: center;
}

.btn {
	display: block;
	background: #FFA500 url("../img/arw.png") 95% 50% no-repeat;
	background-size: 3%;
	width: 80%;
	margin: 0 10%;
	padding: 20px 0;
	font-size: 1.4rem;
	text-decoration: none;
	color: #ffffff;
	text-align: center;
	border-radius: 4px;
}

.btn:hover {
	background-color:  #df682a;
}

header .wrap .btn {
	position: absolute;
	bottom: 40px;
	left: 40px;
	width: 410px;
	padding: 25px 0;
	margin: 0 0;
}

header .wrap p{margin: 20px 0;
    position: absolute;
    bottom: -10px;
    font-size: 85%;
    left: 50px;}

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

	.cvblock {
		padding: 10% 0;
	}

	.btn {
		width: 94%;
		margin: 0 3%;
	}

	header .wrap .btn {
		position: absolute;
		bottom: 6%;
		left: 5%;
		width: 90%;
		padding: 25px 0;
	}
	
	header .wrap p{margin: 0;
    position: absolute;
    bottom: 7px;
    font-size: 80%;
    left: 25px;}


}




/* General Purpose ---------------------------------------------------------- */

.bg-txt {
	background: url("../img/bg.jpg") 50% 50% no-repeat;
	background-attachment: fixed;
	background-size: cover;
}

.bg-img {
	background: url("../img/back.jpg") no-repeat;
	/*background-attachment: fixed;*/
	background-size: cover;
}


.bg-g {
	background: #ededed !important;
}

.bg-b {
	background: #AA75AB !important;
}

.center {
	text-align: center !important;
}

.bold {
	font-weight: bold !important;
}

.bgyellow {
	background: #FF0 !important;
}

.mkr {
	background: linear-gradient(transparent 50%, #ff6 60%);
}

.bgwhite {
	background: #fff !important;
}

.bg-ddd {
	background: #ddd !important;
}

.bg-eee {
	background: #eee !important;
}

.cw {
	color: #fff;
}

.underline {
	text-decoration: underline !important;
}

.strikeline {
	text-decoration: line-through !important;
}

.tal {
	text-align: left;
}

.red {
	color: #F00 !important;
}

.fsS {
	font-size: 80% !important;
	line-height: 1.5em;
}

.fsM {
	font-size: 150% !important;
	line-height: 1.8em !important;
}

.fsL {
	font-size: 200% !important;
	line-height: 1.8em !important;
}

.p0 {
	padding: 0 !important;
}

.pt0 {
	padding-top: 0 !important;
}

.mt0 {
	margin-top: 0 !important;
}

.mt {
	margin-top: 40px !important;
}

.mb0 {
	margin-bottom: 0 !important;
}

.mb {
	margin-bottom: 40px !important;
}

.pc {
	display: inline;
}

.sp {
	display: none;
}


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

	.mt {
		margin-top: 5% !important;
	}

	.mb {
		margin-bottom: 5% !important;
	}

	.spl {
		text-align: left !important;
	}

	.pc {
		display: none;
	}
	
	.sp {
		display: inline;
	}
	
}




/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 35em) {

}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {

}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}