@charset "UTF-8";
/* CSS Document */
/* -----------------------------------------------------------------
   reset
----------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500&family=Noto+Sans:wght@400;700&family=Noto+Serif+Display:wght@200;300;400&family=Noto+Serif+JP:wght@300;400;500;600&family=Noto+Serif:wght@400;700&display=swap');
html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, address, em, img, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, section, summary {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box; }

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block; }
* {
  outline: none;
}
body {
  line-height: 1;
overflow-x:hidden;}

ol, ul, li {
  list-style: none; }

blockquote, q {
  quotes: none; }

blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none; }

table {
  border-collapse: collapse;
  border-spacing: 0; }

p, div {
  word-break: break-all; }

pre {
  text-align: left;
  white-space: pre;
  white-space: pre-wrap;
  white-space: pre-line; }

img[width="0"], img[width="1"] {
  display: none; }
img{max-width:100%;}

/* -----------------------------------------------------------------
   module
----------------------------------------------------------------- */
body {
background: #fff;
font-family: 'Noto Sans JP', sans-serif,Roboto,'ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','メイリオ',Meiryo,Osaka,'ＭＳ Ｐゴシック','MS P Gothic',sans-serif;
  font-size: 100%;
  line-height: 1.6;
  color: #222;
  height: 100%;
  text-align: center;
  position: relative;
  width: 100%; }

a {
  color: #4d4d4d;
  text-decoration: none;
  transition: .2s; }
a,
a:visited,
a:focus,
a:active,
a:link {
  outline: 0;
}

a:hover {
  opacity: 0.6;
  text-decoration: underline; }


input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
    /*for-safari*/
    -webkit-appearance: none;
  border-radius: 0;
    border:1px solid #d6dae5;
  padding: 10px;
  font-size: inherit;
  font-family: 'Noto Sans JP', sans-serif;
  box-sizing: border-box;
}
input[type="checkbox"]{
    background:#fff;
    border:none;
    outline:none;
    border-radius: 0;
}
input[type="submit"]{
-moz-appearance:none;
-webkit-appearance:none;
appearance:none;
    width: 100%;
    background: #2c8e54;
    color: #fff;
    padding: 3px 0;
font-size:16px;

}

#inquirypage input[type="text"],#inquirypage input[type="email"],#inquirypage input[type="tel"],#inquirypage select, #inquirypage textarea{
        width:80%;
    }
select {
  width: 100%;
background:#fff;
}

header{
    background:#fff;
    text-align: left;
    position:relative;
    overflow: hidden;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}
header .inner{
    width:1100px;
    margin:0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 10px 0 !important;
}
.inner{
    max-width:1100px;
    margin:auto;
    background:#fff;
    ;
}
#toppage .inner{
    padding:40px 130px 70px;
}


#toppage .inner.innerupper{
    padding-bottom: 0;
    border-bottom:2px solid #1a274e;
}
.mv{
    background: url(/top/mv-bg.jpg) center center #003663;
    display: flex;
    align-items: center;
    height: 400px;
}
.page .mv{

}
#toppage .mv{
    height: 610px;
}
.page .mv .inner{
    background:none;
    padding:0;
    display: flex;
    align-items: center;
    justify-content: space-between;
	width:100%;

}


h1{font-size:10px;
padding:10px 0;}
aside{
    margin-bottom: 10px;
}
aside ul{
    display:flex;
    justify-content: flex-end;
    font-size:14px;
    font-weight: 500;
    align-items: flex-end;
}
aside ul li{
    margin-left: 30px;
}
aside ul li a{
    color:#000;
    position:relative;
    transition-duration: 0.5s;
}
aside ul li a:hover{
    text-decoration:none;}
aside ul li a::after{
    content:"";
    transition-duration: 0.5s;
    display: block;
    background: #1a274e;
    height: 2px;
    width: 0;
    margin: auto;
}
aside ul li a:hover::after{
    width:100%;
}
h1 img{width:255px;
display:block;}
.sitename a:hover{
    text-decoration:none;
}
.page{
      width: 100%;
  height: 100vh;
  background: #fff;
}
#nav-container{
    visibility: hidden;}

.content{
    max-width:1100px;
    margin:0 auto;
    padding-bottom: 60px;
}
.content .lead{
    text-align:center;
    font-size:24px;
    margin-top: 70px;
    color:#1a274e;
}
.content h3{
    background:url("/business/img/bg-ttl-business.png") no-repeat center #1a274e;
    color:#fff;
    font-size:24px;
    margin-top:50px;
    text-align: left;
    line-height:74px;
    padding-left: 30px;
}
.content h3.sub{
    background:none;
    color:#3b9660;
    font-size:28px;
    padding-left:14px;
    position:relative;
    line-height: 1em;
    font-weight: 600;
}
.content h3.sub::before{
    width: 5px;
    content: "";
    background: #3b9660;
    position: absolute;
    display: inline-block;
    left: 0;
    top: 0;
    height: 1em;
}

#nav-content{
    height:0;}
#toppage h2{
    letter-spacing: 0.2em;
    color: #fff;
    font-size: 28px;
    line-height: 4em;
    font-weight: 600;
    margin-top: 20px;
}
#toppage h3{
    width:1100px;
    margin:auto;
    background:#e9efff;
    text-align: center;
    font-size:25px;
    color:#1a274e;
    line-height: 3em;
    font-weight: 600;
}
#info{
    background:url("/top/info-bg.jpg") no-repeat center top;
    padding-top:60px;
    padding-bottom:30px;
}
#toppage #info h2{
    position:relative;
    display: flex;
    align-items: center;
    font-size:20px;
    width:40%;
    margin:0 auto 40px;
    color: #003764;
        font-weight: 500;
    letter-spacing: 0.05em;
    line-height: 1em;
}
#info h2::before,
#info h2::after{
     content: "";
    height: 2px;
    flex-grow: 1;
    background-color: #283358;
}
#info h2::before{
    margin-right: 1rem;
}
#info h2::after{
    margin-left: 1rem;
}
#info>ul{display:flex;
    width:1050px;
    margin:0 auto;
    justify-content: space-between;
}
#info>ul>li{
    width:500px;
    text-align: left;
    font-size:16px;
}
.info-right{
    border:10px solid #eef1f8;
    background:#fff;
    padding:30px;
}
.info-right>ul{
    display:flex;
    justify-content: space-between;
}
.info-right ul.book{
    border-top:1px dotted #222;
    margin-top:40px;
    padding-top:40px;
}
.info-right ul.book img{

}
.info-right ul li{
    text-align:left;
    width:270px;
}
.info-right ul li:nth-of-type(2){
    display:flex;
    align-items:flex-end;
    width:calc(100% - 280px);
    justify-content: flex-end;
}
.info-right ul.book li:nth-of-type(2){
    width:140px;
}

.info-right .sttl{
    border-bottom:2px solid #222;
margin-bottom: 16px;
}
.info-right .ttl{
    font-size:20px;
    font-weight: 600;
    letter-spacing: 0.05em;
    color:#2c8e54;
   

}
.info-right .ttl span{
    font-size:0.8em;
}
.info-right .sub{
    color:#2c8e54;
    font-size:0.8em;
}
.info-right .sub.sub2,
#profilepage .cover .book .sub.sub2{
	color:#222;
	    font-weight: 400;
    
}
#profilepage .cover .book .sub.sub2{
	font-size: 0.7em;
}
.info-right .bn{
    display:flex;
    align-items: center;
}
.info-right .onsale{
    color:#e66801;
}
.info-right .bn a{
padding-left: 10px;}
.btn{
    display:block;
    border-radius:20px;
    color:#fff;
    text-align: center;
    padding:5px 10px;
    background:#2c8e54;
    font-size:15px;
    border:1px solid #2c8e54;
}
.btn:hover{
    background:#fff;
    color:#2c8e54;
    opacity:1;
    text-decoration:none;
    font-weight: 500;
}
#toppage .content{
    width:100%;
    background:url("/top/top-bg.jpg") repeat-y center top #1a274e;
        background-size: 100%;
    padding-bottom: 0;
}


#toppage .index-ttl{
    font-size:24px;
    color:#3b9660;
    font-weight: 600;
    display:inline-block;
    border-bottom:3px solid #3b9660;
    margin-bottom: 30px;
}
.content .block{
    display: flex;
        margin-top: 50px;
}
#toppage .block{
    margin-bottom: 50px;
margin-top: 0}
#toppage .block.block3{
    justify-content: space-between;
}
.content .block li{
    position:relative;
}

#toppage .block li.seminar{
    width:380px;
}
.content .block li figure{
    width:350px;
}
#toppage .block li figure{
    width:500px;
}
#toppage .block li.seminar figure{
    width:100%;
    margin-bottom:20px;
}
.content .block li.desc{
        text-align: left;
        border-top: 5px solid #1a274e;
        margin-left: 60px;
    padding-top: 24px;
}
#toppage .block li.desc{

    background: #fff;
    padding: 30px 5px 30px 30px;
    margin: 120px 0 0 -95px;
}
#toppage .block.block2 li.desc{
padding: 30px 30px 30px 30px;
    text-align: left;
    margin: 120px -95px 0 0;
    z-index: 1;
}
.desc dt{
    color: #1a274e;
    font-size: 22px;
    margin-bottom: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
    position:relative;
        display: flex;
    align-items: center;

}
#servicepage .desc dt{
		padding-bottom: 10px;
    border-bottom: 1px dotted #19274e;
	display:block;
}

#servicepage .desc .term{
	margin-top:20px;
}
#servicepage .desc .term dt{
	font-size: 15px;
    border-bottom: none;
    padding-bottom: 0;
	margin-bottom:0;
}
#servicepage .desc .term dd{
	    font-size: 1em;
    margin-bottom: 10px;
}
#servicepage .content .block li{
    width: 31.8%;
}
#servicepage .item a{
	    color: #19274e;
}
#servicepage .item a:hover{
	opacity:1;
}

#toppage .block li.seminar dt{
    font-size: 20px;
    margin-bottom: 14px;
        display: flex;
    align-items: center;
}
#toppage .block li.seminar dt::before,
#toppage .block li.seminar dt::after{
content: "";
    height: 2px;
    flex-grow: 1;
    background-color: #1a274e;

}
#toppage .block li.seminar dt::before{
    margin-right: 1rem;
}
#toppage .block li.seminar dt::after{
    margin-left: 1rem;
}
.desc dd{
        font-size: 0.9em;
    line-height: 1.8em;
    clear:both;
}
#toppage .desc dd p,
#toppage .block3 dd p{

     display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;

  overflow: hidden;
}
.desc dd p + p{
    margin-top:1em;
}
#toppage .top-profile-inner{
    display:flex;
    align-items: center;
    justify-content: center;
        background: #e9efff;
    padding: 60px 0;
    flex-direction: column;
}
#toppage .content .top-profile-inner .block{
    width:76.36%;

}
#toppage .top-profile-inner .block>li{
    width:37.5%;
}
#toppage .top-profile-inner .block>li:last-child{
    width:62.5%;
        padding: 30px 0;

    display: flex;
    align-items: center;
    justify-content: center;
}
#toppage .top-profile-inner .block li figure{
    width: 100%;

}
#toppage .top-profile-inner .block .desc{
    margin:0;
    border:none;
}
#toppage .top-profile-inner .ttl{
    font-size:24px;
    color:#1a274e;
        font-size: 24px;
    color: #1a274e;
    line-height: 1.4;
    font-weight: 600;
    margin-bottom: 20px;
}
#toppage .top-profile-inner .desc strong{
    font-size: 24px;
    font-weight: normal;
    padding-right: 10px;
}
#toppage .top-profile-inner .desc span{}


#toppage .block li.desc .btn,
#toppage .block li.seminar dd .btn{
margin: 20px 0 0;
    padding: 0 20px;
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    float: right;
}
#toppage .block li.seminar dd{
    font-size: 0.9em;
    line-height: 1.8em;
    clear: both;
    text-align: left;
}
#toppage .top-profile-inner .block .desc .btn{
    margin-top:30px;
}
#businesspage .mv{


}
.page .mv h2{
    margin-left:40px;
    color:#fff;
    font-family: 'Noto Serif JP', serif;
    font-size:30px;
    letter-spacing: 0.05em;
}
#businesspage .mv img{

}
footer{
    color:#fff;
    padding:50px 0 30px;
    line-height:3em;
    font-size:13px;
    background: #1a274e;
}
copyright{
    display:block;
}
#page-top {
    position: fixed;
    bottom: 50px;
    right: 30px;
    z-index: 2;
}
#page-top a {
    display: block;
    background: url(/common/icon-pagetop.svg) no-repeat center rgba(217, 217, 217,0.8);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    text-indent: -9999px;
    background-size: 50%;
}
#profilepage .mv img{
    height:400px;
}
#profilepage ul.pharea{
    width:73%;
    margin:100px auto;
        align-items: center;
}
#profilepage ul.pharea img{
    border-radius: 50%;
}
#profilepage .content .block li figure{
    width:auto;
}
#profilepage .content .block li.desc{
    border-top:none;
    padding-top:0;
}
#profilepage .desc dt{
    font-size:26px;
    line-height: 1.4;
}
#profilepage .desc dd .name{
border-top: 1px solid #222;
    border-bottom: 1px solid #222;
    padding: 15px 0;
    font-size: 18px;
    margin-bottom: 15px;
}
#profilepage .desc dd .komatsuname{
    font-size: 28px;
    font-family: 'Noto Serif JP', serif;
    padding-top: 10px;
    font-weight: 600;
}
#profilepage .desc dd .komatsuname span{
    font-size: 14px;
    font-family: 'Noto Sans JP', sans-serif;
}
#profilepage .desc dd p{
    font-size:16px;
    line-height:1.6;
}
#profilepage .block.media{
    justify-content: space-between;
        margin-bottom: 50px;
}
#profilepage .block.media li{
    width:500px;
}
#profilepage .block.media li .sttl{
background: #e9efff;
    color: #1a274e;
    padding: 15px 0;
    font-weight: 600;
    font-size: 17px;
    letter-spacing: 0.05em;
    margin-bottom: 40px;
}
#profilepage .block.media li .ttl{
    color: #2c8e54;
    font-weight: 600;
font-size: 26px;}
#profilepage .block.media li .btn{
        display: inline-block;
    padding: 5px 0;
    width: 50%;
    margin: 20px auto;
    font-size: 17px;
}
#profilepage .block.media li .bn{
    display: flex;
    justify-content: center;
}
#profilepage .block.media li .bn a{
        padding-left: 20px;
}
#profilepage .block.media li .cover{
        display: flex;
    justify-content: space-between;
    padding: 0 30px;
}
#profilepage .block.media li .cover img{
    width:140px;
}
#profilepage .block.media li .ttl.book{

    text-align: left;
}
#profilepage .cover .book span,
#profilepage .cover .book .sub
{
    font-size: 0.8em;
}
#profilepage .cover .book .onsale{
font-size: 16px;
    color: #e66801;
    margin-top: 1em;
}
#profilepage .guideline{
	font-size:0.9em;
	text-align: left;
}
#profilepage .guideline a.pdf{
    margin-top: 5px;
    position: relative;
    color: #2c8e54;
    padding-left: 17px;
}
#profilepage .guideline a::before,
#profilepage .guideline a::after{
content: "";
    width: 7px;
    height: 7px;
    border-top: 2px solid #2c8e54;
    border-right: 2px solid #2c8e54;
    transform: rotate(45deg);
    position: absolute;
    left: 0;
    bottom: 25%;
}
#profilepage .guideline a::after{}

#profilepage .cont,
#inquirypage .cont{
    border: 20px solid #e9efff;
    padding: 60px 55px;
}
#inquirypage .cont{
    margin-top:60px;
    text-align: left;
}
#profilepage .content h3{
    margin-top:0;
}
#profilepage .cont .block{
    align-items:flex-start;
        margin-top: 0;

}
#profilepage .cont .block li{
    text-align:left;
}
#profilepage .cont .block li:first-child{
    margin-right:80px;
}
#profilepage .cont .block .title{
        display: flex;
    background: #1a274e;
    width: 180px;
    height: 180px;
    color: #fff;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    background: url(/common/logo-chain-w.png) no-repeat #1a274e;
    background-size: 100px;
    background-position: right -10px bottom -10px;
}
#profilepage .cont .block dl dt{
    border-left: 4px solid #1a274e;
    padding-left: 15px;
    padding-bottom: 0;
    font-size: 20px;
    color: #1a274e;
    font-weight: 600;
    margin-bottom: 25px;
}
#profilepage .cont .block dl dt:first-child{
    margin-bottom:0;
}
#profilepage .cont .block dl dd{
    border-left: 4px solid #000;
    padding-left: 35px;
    margin-bottom: 24px;
}
#profilepage .cont .block .subtitle{
        border: 1px solid #2c8e54;
    display: inline-block;
    padding: 1px 5px;
    color: #2c8e54;
    font-size: 18px;
    margin-top:10px;
    margin-bottom:5px;
}
#profilepage .cont .block.go{
    justify-content: flex-end;
        margin-top: 0 !important;
}
#profilepage .cont .block.go .btn{
        width: 250px;
    font-size: 17px;
}
#profilepage .cont .block li .list li{
    padding-bottom: 0.5em;
      padding-left: 1em;
  text-indent: -1em;
}
#profilepage .cont .block + .block{
    margin-top: 80px;
}
#profilepage .cont .block li p{
    margin-bottom: 1em;
}
#profilepage .cont + .cont{
    margin-top:50px;
    overflow: hidden;
}
#profilepage .cont table{
    margin-top:40px;
}
#profilepage .cont table th,
#profilepage .cont table td{
    text-align:left;
padding: 15px 0;
    font-size: 15px;
}

#profilepage .cont table th{
    padding-right: 50px;
    font-weight: 600;
}
#profilepage .cont table td .btn{
    margin-top: 10px;
    width: 15em;
}
#profilepage .cont .btn{width: 250px;
    margin: 20px 0 0;
    float: right;}
#inquirypage .cont .lead{
text-align: left;
    color: #222;
    font-size: 18px;
    margin-top: 0;
}
#inquirypage .cont .notice{
    font-size: 14px;
    margin: 20px 0;
}
#inquirypage .cont .required{
    color:#ff0000;
}
#inquirypage table{
    width:100%;
}
#inquirypage table th,
#inquirypage table td{
    padding:20px 0;
    padding-right: 50px;
    vertical-align: middle;
}
#inquirypage table textarea{
    width:100%;
}
#inquirypage .btn{
        font-size: 20px;
    width: 34%;
    margin: 30px auto;
    padding: 10px 0;
    border-radius: 30px;
}
#inquirypage .pp{
    font-size: 14px;
    margin-top: 60px;
    border: 1px solid #ddd;
    padding: 20px;
}
#inquirypage .pp li{
    font-size: 12px;

}
#inquirypage .finish{
    text-align: center;
}
#servicepage .tag{
    display: inline-block;
    background: #19274e;
    color: #fff;
    text-align: center;
    margin-bottom: 5px;
    padding: 3px 15px;
    box-sizing: border-box;
    font-size: 13px;
    margin-top: 5px;

}
#servicepage .service-index .tag{
	font-size:12px;
}
#servicepage .content .block li.desc{
	    padding-top: 10px;
    width: 62.7%;
}
#servicepage .item .btn{
	max-width: 300px;
	margin: 30px auto;
	color: #fff;
}
#servicepage .item .btn:hover{
		background:#fff;
		color:#2c8e54;
	}

#servicepage .item .btn.disable{
	background:#bbb;
	color:#666;
	border:none;
	cursor:initial;
	pointer-events: none;
}
	#servicepage .item .btn.disable:hover{
		opacity:1;
		background-color:#ddd;
		text-decoration:none;
		font-weight:normal;
	}

#servicepage .content .block li figure{
	width:100%;
}
.service-index{
	background:#e9efff;
	padding:30px 0;

	.title-serviceindex{
		text-align:center;
		width:10em;
		font-weight: 500;
		margin: 0 auto 30px;
		border-radius: 20px;
        border: 1px solid #1a274e;
        background: none;
        color: #1a274e;
	}
}
.service-index .thum{
    display: flex;
    flex-wrap: wrap;
    max-width: 1100px;
    margin: auto;
   
	li{
		width:calc((100% - 72px) / 4);
		margin-right:24px;
	}
	li:nth-of-type(4n){
		margin-right:0;
	}
}
.service-index .thum img{
	max-width:100%;
}
.service-index .thum li a{
	display:block;
}
.service-index .thum li figure{
	
}
.service-index .thum li figcaption{
	padding-top:5px;
	text-align:left;
	    font-size: 0.9em;
	
	.notice{font-size:0.9em;
	color:#990000;}
}
#servicepage .finished{
	background:#bbb;
	color:#666;
	font-size:20px;
	display:flex;
	justify-content: center;
	align-items: center;
    aspect-ratio: 800 / 533;
}
#servicepage .item .notice{
	color:#990000;
	font-size:0.7em;
	font-weight: normal;
}

.small{font-size:0.8em;}
.sp-only{display:none;}
/* --------------------------------------
    SP
--------------------------------------- */
@media screen and (max-width: 640px){
  body{
    min-width:320px;
    }
    img{max-width:100%;}

    .sp-only{
    display:block;
    }
    .pc-only{display:none !important;}
    main{
        padding-top: 70px;
    }

    .scroll{
overflow-x: auto;
    }
    header{
  position: fixed;
  width: 100%;
  height: 70px;

    }
    header .inner{
        width:100%;
        padding: 0 !important;
    }
.inner{
        width: 100%;
    padding: 20px;
    flex-direction:column;
    }
        #toppage .inner{
        width: 96%;
                padding: 20px;
    }
#nav-container {
visibility: visible;
    position: fixed;
    height: 100vh;
    width: 100%;
    pointer-events: none;
    z-index: 2;
}
    #nav-container .bg {
  position: absolute;
  top: 70px;
  left: 0;
  width: 100%;
  height: calc(100% - 70px);
  visibility: hidden;
  opacity: 0;
  transition: .3s;
  background: #000;
}
#nav-container:focus-within .bg {
  visibility: visible;
  opacity: .6;
}
#nav-container * {
  visibility: visible;
}

.button {
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 1;
  -webkit-appearance: none;
  border: 0;
  background: transparent;
  border-radius: 0;
  height: 70px;
  width: 30px;
  pointer-events: auto;
  right: 10px;
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(0,0,0,0);

}
.icon-bar {
  display: block;
  width: 100%;
  height: 3px;
  background: #003663;
  transition: .3s;
}
.icon-bar + .icon-bar {
  margin-top: 5px;
}

#nav-container:focus-within .button {
  pointer-events: none;
}
#nav-container:focus-within .icon-bar:nth-of-type(1) {
  transform: translate3d(0,8px,0) rotate(45deg);
}
#nav-container:focus-within .icon-bar:nth-of-type(2) {
  opacity: 0;
}
#nav-container:focus-within .icon-bar:nth-of-type(3) {
  transform: translate3d(0,-8px,0) rotate(-45deg);
}

#nav-content {
  margin-top: 70px;
  padding: 20px;
  width: 80%;
  max-width:280px;
  position: absolute;
  top: 0;
  right: 0;
  height: calc(100% - 80px);
  background: #003663;
  pointer-events: auto;

  transform: translateX(100%);
  transition: transform .5s;
  will-change: transform;
  contain: paint;
}

#nav-content ul {
  height: 100%;
  display: flex;
  flex-direction: column;
}

#nav-content li a {
  padding: 10px 5px;
  display: block;
  text-transform: uppercase;
  transition: color .1s;
        color: #fff;
    text-align: left;

}
    h1{
        width:100%;
        margin:auto;
        text-align: center;
        padding:5px 0;
    }
    h1 img{
        display:block;
    width: 70%;
    margin: 2px auto;
    max-width: 250px;

    }
    header{
        flex-direction: column;
            z-index: 2;
    }
aside{display: none;}
#nav-container:focus-within #nav-content {
  transform: none;
}
    .page .mv{
        height: auto;
        padding: 20px 20px 30px;
            background-size: cover;
    }
    #profilepage.page .mv{
            padding: 0 0 0 20px;
    }
    #inquirypage.page .mv{
        padding-bottom: 0;
    }
    .page .mv h2{
            margin: 0 auto 10px;
    font-size: 24px;
    }
    #profilepage.page .mv .inner{
        flex-direction: inherit;
    }
    #profilepage.page .mv h2{
        margin: 0;
    }
    #profilepage .mv img{
        width: 40%;
    height: auto;
    }
    #profilepage ul.pharea img{
        width:50%;

    }
.content{
        width:100%;
    background-size: contain;
    padding-bottom: 0;
       }

    #toppage .content{
        background-size: contain;
         padding-top: 1px;
        padding:1px 0 0;
    }
    .content .lead{
            margin-top: 30px;
    font-size: 20px;
    font-weight: 600;
    padding: 0 20px;
    }
    .content .mv{
            height:auto;
        padding:14px 0;

    }
    .content h3{
    margin-top: 20px;
    line-height: 2.2em;
    text-align: center;
    padding-left: 0;
            font-size: 20px;
    }
    .content h3.sub{
        padding-left:0;
        font-size:22px;
    }
    .content h3.sub::before{
        width:0;
    }
    .content .block li.desc{
        margin-left: 0;
    margin-top: 20px;
        padding: 24px 0;
    }
    .desc dd{
        font-size:1em;
    }
    #toppage .block li.desc .btn, #toppage .block li.seminar dd .btn{
        font-size:15px;
        width:9em;
padding: 2px 0;
    }

    #toppage .mv{
        height:auto;
        padding:14px 0;

    }
    #toppage #info{
        padding-top: 30px;
    }
    #toppage  #info>ul{
        width:calc(100% - 40px);
    flex-wrap:wrap;
        margin:auto;
    }
    #toppage #info>ul>li{width:100%;

    }
    #toppage #info>ul>li:first-child{
        margin-bottom:20px;
    }
    #toppage #info h2{
        width: calc(100% - 40px);
    margin-bottom: 30px;
    }
    #toppage #info ul{
        flex-direction: column;
    }
    .info-right ul li{
        width:100%;
    }
    .info-right .sttl,
    .info-right .ttl{
        text-align:center;
    }
    .info-right .ttl{}
    .info-right .bn{
            justify-content: center;
    }
    .info-right .btn{
        width: 80%;
    margin: 10px auto;
    }
    .info-right .onsale{
        text-align:center;
    }
    .info-right ul li:nth-of-type(2){
        justify-content: center;
        margin-top:10px;
        width: 100%;
    }
    .info-right ul.book li:nth-of-type(2){
        width: 100%;

    }
    .info-right ul.book img{
            width: 50%;
    margin: auto;
    display: block;
    }
    #toppage h2{
        font-size: 1.4em;
    letter-spacing: 0;
    line-height: 2em;
    }
    #toppage h3{
        width: 96%;
    font-size: 20px;
    }
        .content .block{
        flex-wrap:wrap;
        margin-bottom: 20px;
            margin-top: 20px;
    }
    #toppage .block{
        flex-wrap:wrap;
        margin-bottom: 20px;
    }
    #toppage .block.block2{
        flex-direction: column-reverse;
    }
.content .block li{
        width:100%;
    }
    #toppage .block li{
        width:100%;
    }
.content .block li figure{
        width:100%;

    }
    #toppage .block li figure{
        width:100%;

    }
    #toppage .top-profile-inner .block li figure{
        width:60%;
    }
    .block li.desc{
        width:100%;
        padding: 10px 20px;
    }
    #toppage .block li.desc,
    #toppage .block.block2 li.desc{
    margin: -40px 0 30px;
    width: 94%;
    }
    #toppage .block.block2 li.desc{
        margin: -40px 0 30px 6%;
	padding-right: 5px;
    }
    #toppage .block.block3{
        flex-wrap:wrap;
    }
    #toppage .block li.seminar{
        width:100%;
        padding-bottom: 50px;
    }
    #toppage .block li.seminar + .seminar{
        padding-bottom:0;
    }
    #toppage .content .top-profile-inner .block{
        width:100%;
    }
    #toppage .block li.seminar dt{
        font-weight: 600;
    }
    #toppage .block li.seminar dt::before, #toppage .block li.seminar dt::after{

    }
    #toppage .content .top-profile-inner .block{
        flex-direction: column;
            margin-bottom: 10px;
    }
    #toppage .top-profile-inner .block>li{
            width: 100%;
    z-index: 1;
    }
    #toppage .top-profile-inner .block>li:last-child{
padding: 20px;
    margin-top: -80px;
    width: 95%;
    z-index: 0;
    padding-top: 100px;
    border-top: 5px solid #1a274e;
    margin-left: 5%;
    }
    #toppage .top-profile-inner .ttl{

        font-size:20px;
    }
    #profilepage ul.pharea{
        width:100%;
        flex-direction: column;
        margin: 30px auto;
    }
    #profilepage .desc dt{
            font-size: 22px;
    margin: 15px auto;
        justify-content: center;
    }
    #profilepage .content .block li.desc{
        margin:0;
        text-align: center;
    }
    #profilepage .block.media{
        flex-wrap: wrap;
        margin-bottom: 20px;
    }
    #profilepage .block.media li .ttl{
        font-size:22px;
        font-weight: 600;
    }
    #profilepage .block.media li .sttl{
        margin-bottom:20px;
        padding: 10px 0;
    }
    #profilepage .block.media li .btn{
        font-size: 15px;
    width: 70%;
    margin: 15px auto;
    }
    #profilepage .block.media li{
        width:100%;
    }
    #profilepage .block.media li + li{
        margin-top:40px;
    }
    #profilepage .block.media li .cover{
    justify-content: center;
        flex-wrap: wrap;
    }
    #profilepage .block.media li .cover img{
            width: 50%;
    margin: 20px auto;
    }
    #profilepage .block.media li .ttl.book{
        text-align:center;
    font-size: 24px;
    }
    #profilepage .cont{
        padding:20px;
        border: 10px solid #e9efff;
    }
    #profilepage .cont + .cont{
        margin-top:30px;
    }
    #profilepage .cont .block{
        flex-direction: column;
    }
    #profilepage .cont .block + .block{
        margin-top:40px;
    }
    #profilepage .cont .block .title{
            width: 100%;
    margin: 0 auto 20px;
    height: auto;
    font-size: 18px;
    padding: 10px 0;
    background-size: 18%;
    background-position: right center;
    }
    #profilepage .cont .block li:first-child{
        margin-right:0;
    }
    #profilepage .cont .block dl dt{
        border-left:none;
        padding-left: 0;
    }
    #profilepage .cont .block dl dd{
        border-left: none;
        padding-left: 20px;
    }
    #profilepage .cont .block li li{
          padding-left: 0.5em;
  text-indent: -0.5em;
    }
    #profilepage .cont .block.go .btn{
        width:80%;
        margin:auto;
        font-size: 15px;
    }
    #profilepage .cont table{
        margin-top:20px;
    }
    #profilepage .cont table td .btn{
        width:80%;
        margin: 10px 0;
    }
    #profilepage .cont table th, #profilepage .cont table td{
     padding: 0;
    padding-bottom: 8px;

    }
    #profilepage .cont table th{
        padding-right: 8px;
    white-space: nowrap;
    }
    #profilepage .cont .btn{
            float: none;
    margin: 10px auto;
    width: 80%;
    }
	#profilepage .guideline p{
		margin-bottom:2em;
	}
    #inquirypage .cont{
            margin-top: 20px;
    padding: 20px;
            border: 10px solid #e9efff;
    }
    #inquirypage .cont .lead{
        padding:0;
        font-size: 16px;
    }
    #inquirypage .cont .notice li{
          padding-left: 1em;
  text-indent: -1em;
    }
    #inquirypage table th, #inquirypage table td{
padding: 10px 0;
        display: block;
    }
    #inquirypage table th{
            padding-bottom: 0;
    }
    #inquirypage table td{
        padding-top: 5px;
    }
    #inquirypage table th.magazine, #inquirypage table td.magazine{
    display: inline-block;
            padding: 10px 0;
    }

    #inquirypage table th.magazine{
        padding-right: 30px;
    }
    #inquirypage .btn{
        width: 100%;
    padding: 5px 0;
    font-size: 18px;
    }
    #inquirypage .pp{
    margin-top:20px;}
    #inquirypage .pp li{
        font-size:14px;
    }
    #inquirypage input[type="text"],#inquirypage input[type="email"],#inquirypage input[type="tel"],#inquirypage select, #inquirypage textarea{
        width:100%;
    }
	#servicepage .content .block li,
	#servicepage .content .block li.desc{
		
		width:100%;
	}
	#servicepage .item .btn{
	max-width:100%;
	padding: 7px 0;
	}
	
	#servicepage .service-index{
		    padding: 30px 20px;
    box-sizing: border-box;
	}
	.service-index .thum{
		max-width:100%;
		li{
		margin-right: 5%;
        width: calc(95% / 2);
			margin-bottom: 30px;
		}
		li:nth-of-type(even){
			margin-right:0;
		}
	}	
	
    footer{
            line-height: 1.6em;
        padding: 20px 0;
    }

    copyright{
        margin-top:1em;

    }
}
.mb10{
    margin-bottom:10px;
}
