.webcontents{
	max-width: 1200px;
	margin:0 auto 3em;
	font: 16px/1.75 "Helvetica Neue",Arial,"Hiragino Kaku Gothic ProN","Hiragino Sans",Meiryo,sans-serif !important;
}

.last-title{
    position: relative;
    margin-top: 1em;
}
.last-title::before {
    content: '';
    background: url(/jikkenigaku/special/writing/images/last-icon.png) no-repeat;
    background-size: 100%;
    width: 10%;
    height: 26%;
    position: absolute;
    left: -14px;
    top: -4%;
}
@media (max-width: 767px){
.last-title::before {
    width: 20%;
    left: -18px;
    top: -1.5%;
}
}

.main-contents{
	margin:6em auto 0;
    max-width: 840px;
}

.chapter-head-container{
    margin: auto;
}
.chapter-head{
    font-family: "Times New Roman", Times, "ヒラギノ明朝 Pro", "Hiragino Mincho Pro", 游明朝, YuMincho, HGS明朝E, "ＭＳ Ｐ明朝", "MS PMincho", serif;
    font-weight: 700;
    background: #eae7cd;
    padding: 22px 20px 22px 142px;
    position: relative;
}
.chapter-head::before{
    content: '';
    position: absolute;
    background: url(/jikkenigaku/special/writing/images/chapter-head_left.png) no-repeat;
    width: 50px;
    height: 83px;
    bottom: -21px;
    left: -23px;
    background-size: 49px;
}
.chapter-head::after{
    content: '';
    position: absolute;
    background: url(/jikkenigaku/special/writing/images/chapter-head_right.png) no-repeat;
    width: 50px;
    height: 83px;
    bottom: -21px;
    right: -23px;
    background-size: 47px;
}
.chapter-num{
    background: #69675e;
    color: #fff;
    padding: 2px 16px 0;
    border-radius: 8px;
    margin-right: 10px;
    font-weight: 400;
    font-size: 90%;
    display: inline-block;
    line-height: 1.5;
    position: absolute;
    left: 16px;
    top: 17px;
}
@media (max-width: 1250px){
    .chapter-head-container{
        width: 96%;
    }
}
@media (max-width: 640px){
    .chapter-head{
    font-size: 22px;
    padding: 30px 20px 22px 20px;
    line-height: 1.4;
    }
    .chapter-num {
    font-size: 80%;
    top: -9px;
    }
    .main-contents{
    margin: 5em auto 0;
    }
}


.subhead-container{
    border-bottom: 4px solid;
    margin: 2em 0;
}
.subhead{
    position: relative;
    border-bottom: 1px solid;
    padding-bottom: 5px;
    line-height: 1.4;
    margin-bottom: 2px;
}
.subhead::before{
    content: '';
    position: absolute;
    width: 56px;
    height: 56px;
    top: -9px;
    left: 0;
}
.subhead-01::before{
    background: url(/jikkenigaku/special/writing/images/subhead_01.png) no-repeat;
    background-size: 56px;
}
.subhead-02::before{
    background: url(/jikkenigaku/special/writing/images/subhead_02.png) no-repeat;
    background-size: 56px;
}
.subhead-03::before{
    background: url(/jikkenigaku/special/writing/images/subhead_03.png) no-repeat;
    background-size: 56px;
}
.subhead-04::before{
    background: url(/jikkenigaku/special/writing/images/subhead_04.png) no-repeat;
    background-size: 56px;
}
.subhead-05::before{
    background: url(/jikkenigaku/special/writing/images/subhead_05.png) no-repeat;
    background-size: 56px;
}
.subhead-06::before{
    background: url(/jikkenigaku/special/writing/images/subhead_06.png) no-repeat;
    background-size: 56px;
}
.subhead-txt{
    padding-left: 62px;
    font-weight: 700;
    display: inline-block;
}
@media (max-width: 640px){
    .subhead{
    font-size: 20px;
}
    .subhead::before{
    width: 51px;
    height: 51px;
    background-size: 51px;
    }
    .subhead-txt{
    padding-left: 60px;
    }
}

.head4{
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
    line-height: 1.5;
}

.beige-box{
    background:#f7f3e2;
    padding: 10px;
    margin: 2.4em 0;
}
.beige-head{
    font-weight: 700;
    margin-bottom: 0.8em;
    line-height: 1.4;
}
.beige-head span{
    display: inline-block;
    width: 16px;
    height: 16px;
    background: #333;
    margin-right: 5px;
    position: relative;
    bottom: -1px;
}
.beige-subhead{
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
}
.beige-subhead span{
    display: inline-block;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    background: #333;
    margin-right: 5px;
    position: relative;
    bottom: -2px;
}
.beige-box p:last-child{
    margin-bottom: 0;
}

.border-box{
    border: 1px solid;
    display: flex;
    padding: 10px 15px;
    margin: 1em 0;
}
.border-list{
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
    font-family: "Times New Roman", Times, "ヒラギノ明朝 Pro", "Hiragino Mincho Pro", 游明朝, YuMincho, HGS明朝E, "ＭＳ Ｐ明朝", "MS PMincho", serif;
    font-weight: 700;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.border-list li{
    text-indent: -1em;
    margin-left: 1em;
}
.border-list p:last-child{
    margin-bottom: 0;
}
.guideline-list{
    font-family: "Times New Roman", Times, "ヒラギノ明朝 Pro", "Hiragino Mincho Pro", 游明朝, YuMincho, HGS明朝E, "ＭＳ Ｐ明朝", "MS PMincho", serif;
    font-weight: 700;
    line-height: 1.9;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin-top: 1em;
    margin-bottom: 1em;
    padding-left: 3em;
}
.guideline-list li:not(:root){
    font-size: medium;
}

section p:not(:root){
    font-family: "Times New Roman", Times, "ヒラギノ明朝 Pro", "Hiragino Mincho Pro", 游明朝, YuMincho, HGS明朝E, "ＭＳ Ｐ明朝", "MS PMincho", serif;
    font-weight: 700;
    line-height: 1.9 !important;
    text-indent: 1em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

section strong, a[href^="#modal-id"]{
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 700;
}

.ad-box{
    border: 1px solid #543425;
    margin: 4em 0;
    position: relative;
}
.ad-box a{
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: flex-start;
    padding: 32px 20px 20px;
    color: inherit !important;
	transition: .25s ease-in-out;
	-moz-transition: .25s ease-in-out;
	-webkit-transition: .25s ease-in-out;
}
.ad-box a:hover{
	box-shadow: 0px 10px 15px 0px rgb(0 0 0 / 15%);
	transition: .25s ease-in-out;
	-moz-transition: .25s ease-in-out;
	-webkit-transition: .25s ease-in-out;
    text-decoration: none;
    background: #f7f7f7;
}
.ad-head{
    position: absolute;
    top: -9px;
    background: #fff;
    padding: 0 6px;
    left: 15px;
    font-size: 18px;
    font-weight: 700;
    color: #543425;
    line-height: 1;
}
.ad-img{
    width: 120px;
    box-shadow: 0 1px 4px 0 rgb(214 213 213), 0 6px 10px 0 rgb(197 197 197), 0 2px 2px 0 rgb(173 173 173);
}
.ad-book-title{
    font-weight: 700;
}
.ad-box:hover .ad-book-title{
    text-decoration: underline;
}
@media (min-width: 461px){
.ad-contents{
    margin-right: 25px;
}
}
@media (max-width: 460px){
.ad-box a{
    flex-flow: column-reverse;
    padding: 40px 20px 20px;
}
.ad-img{
    margin: auto;
    margin-bottom: 20px;
}
}

.qa-box{
    background: #f5f5f5;
    padding: 30px 30px 30px 35px;
    border-radius: 20px 0 20px 20px;
    margin: 7em 0 5em;
    position: relative;
}
.qa-box::before{
    content: '';
    position: absolute;
    background: url(/jikkenigaku/special/writing/images/qa-head.png) no-repeat;
    width: 200px;
    height: 44px;
    top: -29px;
    right: -10px;
    background-size: 200px;
}
.qa-list:not(:root){
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    list-style: none;
    padding-left: 0;
    margin-left: 0;
    margin-bottom: 0;
}
.qa-list li:not(:root){
    font-size: medium;
}
.q-icon, .a-icon{
    position: relative;
    top: -4px;
    width: 5%;
}
.q-icon span, .a-icon span{
    font-weight: 700;
    font-size: 20px;
}
.q-icon span{
    color: #005799;
}
.a-icon span{
    color: #D82C2A;
}
.q-txt, .a-txt{
    width: 95%;
}
.q-txt{
    margin-bottom: 0.6em;
}
.qa-box div:not(:last-of-type){
    margin-bottom: 3.2em;
}
@media (max-width: 640px){
.qa-box {
    padding: 30px 16px 30px 16px;
}
.q-icon, .a-icon{
    width: 5%;
    margin-right: 20px;
}
.q-txt, .a-txt {
    width: 86%;
}
}

.asterlisk{
    color: #005698;
}

.pan_navi {
    margin-top: 1.8em;
    padding-left: 20px;
    display: flex;
    justify-content: flex-end;
}

/*プロフィール*/
div.profile{
	border:1px solid #999;
	margin-bottom:10px;
	}

div.profile dl{
	padding:5px 10px 0 10px;
	margin-bottom:20px;
	}

div.profile h3.ttl_profile{
	background-color:#ccc;
	margin:0 0 14px;
	padding:2px 0 2px 10px;
	border-bottom:1px solid #999;
	}

span.tips{text-decoration:underline;color: #428bca;cursor:pointer; margin-right: 2px;}
span.tips .glyphicon{text-indent:0;}
.popover {
    max-width: 600px; /* この数字を変える */
    z-index: 2;
}
.popover-content{
    font-family: sans-serif;
}

.fig-right, .fig-center{
    margin: 2.4em 0;
}
@media (min-width: 641px){
    .fig-right{
    float: right;
    width: 50%;
    margin: 10px 0 10px 15px;
}
    .fig-center{
        width: 85%;
        margin-left: auto;
        margin-right: auto;
    }
}

.switchbox {
  margin: 2.4em 0 10px;
}
.switchbox label {
  font-weight: 700;
  font-size: 1.4rem;
  font-family: sans-serif;
  border: 2px solid #ccc;
  display: flex;
    justify-content: center;
  padding: 15px 20px;
  border-radius: 5px;
  transition: all .25s ease-out;
  position: relative;
  }
.switchbox label::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 20px;
    width: 15px;
    height: 15px;
    border: 2px solid;
    border-color: #afafaf #afafaf transparent transparent;
    transform: translateY(-40%)rotate(135deg);
    -moz-transform: translateY(-40%)rotate(135deg);
    -webkit-transform: translateY(-40%)rotate(135deg);
    z-index: 2;
    transition: all .25s ease-out;
}
.switchbox label::after {
    content: "表示";
    position: absolute;
    top: 50%;
    color: #afafaf;
    transform: translateY(-85%);
    -moz-transform: translateY(-85%);
    -webkit-transform: translateY(-85%);
    z-index: 2;
    right: 16px;
    font-size: 1rem;
    font-weight: 400;
    transition: all .25s ease-out;
}
.switchbox label:hover {
  background: #e7e7e7;
}
.switchbox label span{
    margin-right: 2.2em;
    display: block;
}
.switchbox input {
  display: none;
}
.switchbox .switchbox-inner {
  height: 0;
  overflow-y: hidden;
  transition: 0.8s;
  opacity: 0;
}
.switchbox-inner p:not(:root){
    font-size: 14px;
    line-height: 1.75;
}
.switchbox input:checked + label + .switchbox-inner {
  height: auto;
  opacity: 1;
  overflow: visible;
  margin-top: 2em;
}
.switchbox input:checked + label::before {
    content: '';
    transform: translateY(20%)rotate(-45deg);
    -moz-transform: translateY(20%)rotate(-45deg);
    -webkit-transform: translateY(20%)rotate(-45deg);
}
.switchbox input:checked + label::after {
    content: '非表示';
    right: 11px;
}


.asterlisk-list-wrap{
    margin-top: 2em;
}
.asterlisk-list{
    list-style: none;
    counter-reset: count 0;
    padding-left: 20px;
}
.asterlisk-list li:not(:root){
    text-indent: -2em;
    margin-left: 2em;
    font-size: 14px;
    word-break: break-word;
}
.asterlisk-list li::before{
    content: "※" counter(count) ;
    counter-increment: count 1;
    margin-right: 0.6em;
}

.mt0-5{
    margin-top:0.5em !important;
}

.mt1{
    margin-top:1em !important;
}

.mt2{
    margin-top:2em !important;
}

.mt2-4{
    margin-top:2.4em !important;
}

.mt3{
    margin-top:3em !important;
}

.mt4{
    margin-top:4em !important;
}

.mt4-4{
    margin-top:4.4em !important;
}

.mb1{
    margin-bottom:1em !important;
}

.mb1-5{
    margin-bottom:1.5em !important;
}

.mb2{
    margin-bottom:2em !important;
}

.mb2-4{
    margin-bottom:2.4em !important;
}

.mb3{
    margin-bottom:3em !important;
}

.mb4{
    margin-bottom:4em !important;
}

.mb5{
    margin-bottom:5em !important;
}
