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

html {
    color: #393a59;
    font-size: 14px;
    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{
	margin: initial;
	overflow: initial;
	display: initial;
	overflow-x: hidden;
}
body {
	font-family: -apple-system,BlinkMacSystemFont,Helvetica Neue,Hiragino Kaku Gothic ProN,Hiragino Sans,Roboto,Noto Sans JP,Yu Gothic,Yu Gothic Medium,Meiryo,Arial,sans-serif;
}

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

ul, li {
	padding: 0;
	margin: 0 1em;
	list-style-type: none
}
ul, ol {
	color: #393a59;
	border: solid #393a59 1px;
	border-radius: 0.3em;
	padding: 0.7em 0 0.5em 0.5em;
	font-weight: bold;
	background-color: #FFFFFF;
  }
  
  ul li, ol li {
	line-height: 1.5;
	padding: 0.5em 0;
  }

p {
	margin: 20px 0;
	text-align: justify;
}

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

a {
	color: #09F;
	text-decoration: none;
	cursor: pointer;
}

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 {
	background-image: url("../img/bg_dot.jpg");
	background-size: cover;
	height: 600px;
	background-position: center center;
}

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

.bg_b{
	background-color: #f8f6f2;
	margin: 1rem auto;
}

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

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

img.wimg-m {
	width: 100%;
	height: auto;
	margin: 0;
	border: solid 1px #e4e4e4;
	border-radius: 10px;
}

.txtbox {
	padding: 10px 0;
}


footer {
	clear: both;
	background: #393a59;
	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;
}
.large_center{
	text-align: center;
	font-size: large;
	font-weight: 600;
	line-height: 1.7em;
	padding: 1em;
	margin: 0 auto;
	position: relative;
	padding:0.25em 1em;
	display: inline-block;
}
.large_center:before, .large_center:after{
	content:'';
	width: 20px;
	height: 30px;
	position: absolute;
	display: inline-block;
}
.large_center:before {
	border-left: solid 2px #cee130;
	border-top: solid 2px #cee130;
	top:0;
	left: 0;
  }
  .large_center:after {
	border-right: solid 2px #cee130;
	border-bottom: solid 2px #cee130;
	bottom:0;
	right: 0;
  }
.LC{
	margin: 0 auto;
	text-align: center;
}
@media screen and (max-width: 640px) {

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

	p {
		margin: 5% 3%;
	}

	hr {
		margin: 5% 5%;
	}

	header {
		
		height: auto;
	}

	.wrap {
		width: 100%;
		margin: 0 auto 2em;
	}

	header .wrap {
		width: 100%;
	}

	.txtbox {
		width: 100%;
		margin: 0 auto;
		padding: 0;
	}

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

}



/* 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;
	}
	.topcv {
		padding: 30px 0 0;
	}

}



.txtblock {
	padding: 1em 0;
	margin: 0 auto;
    background: #f8f6f2;
}
.txtblock_blue {
	padding: 1em 0;
	margin: 0 auto;
    background: #393a59;
}
.txtblock_green {
	padding: 1em 0;
	margin: 0 auto;
    background: #f0f1fa;
}
.title {

	font-size: 1.8rem;
	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 {
	width: 50px;
	height: 50px;
	border-radius: 100px;
}

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

@media screen and (max-width: 640px) {
	.title {
		font-size: 1.3em;
		line-height: 1.7em;
		margin: 0;
	}

	.prf {
		margin-bottom: 5%;
	}

}


/* Table */
table {
    margin: 2rem 0;
    width: 100%;
}
th,
td {
    display: block;
}
th {
    font-weight: normal;
    background: #f8f6f2;
    vertical-align: middle;
    padding: 1rem;
	text-align: left
}
th .author{
	text-align: center;
}
th .author p{
	text-align: center;
}
td {
    padding: .75rem 1rem 1.75rem;
}
.texblock th{
	margin: 0 auto;
}


/* List */
.toc-002 {
    margin-bottom: 30px;
    border: 2px solid #d0bea2;
    border-radius: 3px;
}

.toc-002 div {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 10px 0;
    background-color: #d0bea2;
    color: #fff;
    font-weight: 600;
    font-size: 1.1em;
}

.toc-002 ol {
    list-style-type: disc;
    margin: 0;
    overflow: hidden;
}

.toc-002 > ol {
    padding: 1em 1em 1em 3em;
}

.toc-002 ol ol {
    margin-top: 5px;
    padding-left: 1.1em;
}

.toc-002 li {
    padding: 5px 0;
    font-weight: 600;
}

.toc-002 ol ol li {
    font-weight: 500;
    font-size: .9em;
}

.toc-002 a {
    color: #333;
    text-decoration: none;
}
@media screen and (max-width: 640px) {

	.toc-002 {
		width: 94%;
		margin: 0 3%;
	}

}



.toc {
	background: #ffffff;
	padding: 15px;
	margin: 50px 0 50px;
	box-shadow: 0 0 6px rgba(0,0,0,.2);
}

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

.toc h2::after {
    content: '';
    display: block;
    height: 5px;
    width: 10rem;
    background: #d0bea2;
    margin: 1rem auto;
}
h2{
	padding: 10px 0;
	font-size: 24px;
	font-size: 2.0rem;
	line-height: 1.5em;
	font-weight: bold;
	text-align: center;
}
h1{
	padding: 10px 0;
	font-size: 2.0rem;
	line-height: 1.5em;
	font-weight: bold;
	text-align: center;
	position: relative;
	padding: 0.6em;
	border-bottom: solid #393a59 1px;
}
  

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

	h1 {
		margin: 0 3%;
	}

}

h3 {
	color: #ffffff;
	text-align: center;
	line-height: 170%;
  }



.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;
}


#side-menu-toggle1,
#side-menu-toggle2,
#side-menu-toggle3,
#side-menu-toggle4 {
	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 {
	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 {
	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: 10% 2%;
	}

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

}






.cvblock {
	padding: 50px 0;
}
.cvblock p {
	text-align: center;
}
.btn {
	display: block;
	background: #d6001a url("../img/arw.png") 95% 50% no-repeat;
	background-size: 3%;
	width: 100%;
	padding: 15px 0;
	font-size: 1.2rem;
	text-decoration: none;
	color: #ffffff;
	text-align: center;
	border-radius: 50px;
}

.btn:hover {
	background-color:  #393a59;
}
.btn_smalltext{
	font-size: small;
}
.btn_present{
	margin-top: -1em;
	position: relative;
	z-index: 10;
}
.smalltext{
	font-size: smaller;
}

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

	.cvblock {
		padding: 10% 0;
	}

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

}




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

.yellow-gradient {
    background: linear-gradient(transparent 70%, #ffe63f 0%);
    display: inline;
    padding: 5px 1px 0px;
    position: relative;
}

.bg-g {
	background: #ededed !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;
}

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

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

.tal {
	text-align: left;
}

.red {
	color: #d6001a !important;
}
.red_txtbg {
	background-color: #fff !important;
	padding: 0.1em 0.5em;
}
.fsS {
	font-size: 80% !important;
}

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

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

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

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

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

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


.pc {
	display: inline;
}

.sp {
	display: none;
}


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

	.mt {
		margin-top: 10% !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;
		font-size: 80%;
    }
}
