@charset "utf-8";


/* PC向けおよび大型タブレット向けのレイアウトの指定：769px～960px */
@media only screen and (min-width:1px) and (max-width:960px){
/*==========================================
 body
===========================================*/
body {
	min-width: 100%;
	text-align: center;
	width: 100%;
}

img {
	width: 100%;
	max-width: 100%;
	height: auto;
	width /***/: auto;
	text-align: center;
	}
    
.spImg {
    display: inherit;
}

.pcImg {
    display: none;
}

/*==========================================
Menu
===========================================*/    
nav.NavMenu {
position: fixed;	/*表示位置を固定*/
z-index: 2;		/*重ね順を変更*/
top: 0;		/*表示位置を指定*/
left: 0;	/*表示位置を指定*/
background: #E8E9F5;
color: #000;	/*文字色を黒にする*/
text-align: center;		/*テキストを中央揃え*/
width: 100%;	/*全幅表示*/
transform: translateX(100%);	/*ナビを上に隠す*/
height: 100vh;
}

/*トグルボタンが押されたときに付与するクラス*/
nav.NavMenu.active {
transform: translateX(0%);
transition: all 0.6s;	/*アニメーションの時間を指定*/
}
/*トグルを閉じる操作をしたら付与するクラス*/
nav.NavMenu.off {
transition: all 0.6s;	/*アニメーションの時間を指定*/
}

/*トグルボタンのスタイルを指定*/
.Toggle {
  position: fixed;    /* bodyに対しての絶対位置指定 */
  right: 16px;
  top: 12px;
  width: 49px;
  height: 49px;
  cursor: pointer;
  z-index: 3;
  background-color: #572BBF;
  border-radius: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.Toggle span {
  position: absolute;          /* 中央に重ねるため */
  display: block;
  width: 19px;
  height: 1px;                 /* border-bottom ではなく高さで線を作る */
  background: #FFF;
  transition: .35s ease-in-out;
}

/* 3本線の位置 */
.Toggle span:nth-child(1) {
  top: 16px;
}
.Toggle span:nth-child(2) {
  top: 24px;
}
.Toggle span:nth-child(3) {
  top: 32px;
}

/* active時の変形 */
.Toggle.active span:nth-child(1) {
  transform: rotate(-45deg);
  top: 24px;   /* 真ん中に寄せる */
}
.Toggle.active span:nth-child(2) {
  opacity: 0;  /* 真ん中の線は消す */
}
.Toggle.active span:nth-child(3) {
  transform: rotate(45deg);
  top: 24px;   /* 真ん中に寄せる */
}

/*==========================================
Other
===========================================*/
.NavMenu h1 {
	display: inherit;
}

header section p {
	margin-right: 80px;
}

header section h1 {
max-width: 175px;
min-width: 175px;
width: 100% ;
}

header section {
	margin-left: 16px;
	margin-top: 16px;
}
  
.NavMenu h1 {
	text-align: left;
	margin-top: 20px;
	margin-left: 20px;
	margin-bottom: 45px;
	}
	
.NavMenu ul {
	display: block;
	margin-left: 16px;
	margin-right: 16px;
}

.NavMenu ul li {
	margin-left: 0px;
	margin-bottom: 28px;
	font-size: 1.375em;
}

.NavMenu ul li a {
	border-top-right-radius: 25px;
	border-bottom-left-radius: 25px;
}

.NavMenu ul li a img {
	display: inherit;
}

.NavMenu ul li a {
display: flex;
justify-content: center;
align-items: center;
}

.NavMenu ul li:first-child a img {
	margin-right: 8px;
}

.NavMenu ul li:last-child a img {
margin-left: 8px;
}

header ul li a {
    padding-left: 5px;
    padding-right: 5px;
    padding-top: 5px;
    padding-bottom: 0px;
}
	
.font {
	max-width: 100%;
	width: calc(100% - 2em);
	margin-left: auto;
	margin-right: auto;
}

.btn li {
	font-size: 1.3em;
}

#y_block .inner section h2 {
	font-size: 1.563em;
}

#btnBlock p {
	margin-top: 16px;
width: calc(100% - 1.5em);
}

footer .btn {
justify-content: center;
margin-top: 35px;
}

footer .btn li {
	max-width: 349px;
	width: 100%;
	margin-left: 8px;
	margin-right: 8px;
	margin-bottom: 16px;
	margin-left: auto;
margin-right: auto;
}

#mainTop section p {
    font-size: 1.4em;
}

.mt_text p {
	margin-left: 10px;
	margin-right: 10px;
}

#i05 {
	position: absolute;
	right: 0px;
	top: -127px;
}

#risk2 h2 {
    font-size: 1.7em;
}

.r_box dl dt {
    font-size: 1.4em;
}

#value h2 img {
	right: 0px;
}

#value h2 span {
	display: block;
}

#countermeasure_top section h3 {
    font-size: 1.5em;
}

#countermeasure_price section {
    padding-right: 20px;
    padding-left: 20px;
}

#countermeasure_price section .price p {
font-size: 1em;
}

#countermeasure_price section .price p strong {
    font-size: 2em;
}

#countermeasure_price section .price h4 {
    font-size: 0.9em;
    padding-left: 10px;
    padding-right: 10px;
    margin-right: 13px;
}

#y_block .inner figure {
	width: 350px;
}

.tbbr2 {
	display: inherit;
}
}


@media only screen and (max-width:768px){
/*==========================================
 Other
===========================================*/
#value h2 img {
	width: 88px;
	height: auto;
}

#value h2 {
font-size: 1.7em;
}

#risk {
    margin-top: 60px;
}

#risk_box {
	display: block;
	width: 100%;
}

#risk_box section {
	max-width: 100%;
	margin-bottom: 45px;
}

#risk_contents {
    padding-top: 30px;
}

#risk_contents {
	position: static;
	}
	
#i05 {
	position: static;
	right: auto;
	top: auto;
	min-width: 82px;
	max-width: 82px;
}

#risk_top {
display: flex;
flex-direction:row-reverse;
}

#risk_top p {
	text-align: left;
		padding-right: 17px;
}
	
#copy {
	padding-bottom: 35px;
}

#m_price {
	display: inherit;
}

#mainTop {
	display: block;
	padding-top: 16px;
}

#mainTop section {
    margin-top: 0px;
}

#mainTop section h2 {
	font-size: 2.0em;
	padding-left: 9px;
	margin-bottom: 32px;
	margin-top: 15px;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
    }

#mainTop section p {
	font-size: 1.5em;
	padding-left: 16px;
	padding-right: 16px;
	margin-bottom: 6px;
}

#mainTop section figure {
	display: none;
}


.mt_text {
	margin-left: 0px;
	margin-bottom: 15px;
}

.font {
	text-align: left;
	font-size: 0.875em;
}

.font br {
	display: none;
}

#mainList {
	flex-wrap: wrap;
	justify-content: space-between;
}

#mainList li {
    max-width: 49%;
	width: 100%;
	margin-bottom: 10px;
	margin-left: 0px;
    margin-right: 0px;
}

.btn {
	display: block;
}

.btn li {
	margin-left: auto;
	margin-right: auto;
		margin-bottom: 16px;
}

#y_block .inner {
	display: block;
}

#y_block .inner section {
	margin-bottom: 50px;
}

#y_block .inner figure {
	position: static;
	bottom: 0px;
	padding-bottom: 50px;
	max-width: 384px;
width: calc(100% - 2em);
margin-left: auto;
margin-right: auto;
}

.btn li {
	margin-left: auto;
	margin-right: auto;
		margin-bottom: 16px;
}

#btnBlock .btn {
	display: block;
}

#btnBlock .btn li {
    max-width: 100%;
    width: 100%;
}

#topForm .inner h2 {
font-size: 1.313em;
	padding-bottom: 30px;
}

#f_navi {
	display: block;
		margin-top: 35px;
}

#f_navi li {
	background-image: none;
	padding-right: 0px;
	margin-right: 0px;
	margin-bottom: 20px;
	text-align: center;
}

#c_flow {
    margin-top: 30px;
}

#risk h2 {
    font-size: 1.5em;
}

.font2 br {
	display: none;
}

.font3 br {
	display: none;
}

.font3 {
	text-align: left;
}

#reason h2 {
	font-size: 1.8em;
	margin-bottom: 20px;
}

.tbbr {
	display: inherit;
}

#reason {
    padding-top: 47px;
}

.section_inner {
display: block;
}

.section_inner figure {
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	margin-bottom: 10px;
}

.section_inner p {
	padding-left: 0px;
	padding-right: 0px;
}

#reason section h3 {
font-size: 1.125em;
	margin-bottom: 10px;
	}
	
.font3 {
	font-size: 1em;
	padding-bottom: 0px;
}

#reason section {
	margin-top: 50px;
}

#risk2_block {
display: block;
}

.r_box {
	width: 100%;
	margin-bottom: 40px;
}

#risk2 h2 br {
	display: none;
}

#risk2 section p {
	ont-size: 1em;
	text-align: left;
	margin-top: 20px;
}

#risk2 {
    padding-top: 50px;
    padding-bottom: 25px;
}

#value {
    padding-top: 50px;
    padding-bottom: 30px;
}

#value h2 img {
    right: 15px;
}

#countermeasure {
	padding-top: 50px;
	padding-bottom: 50px;
}

#countermeasure h2 {
	font-size: 1.7em;
}

#countermeasure_top {
display: block;
}

#countermeasure_price {
display: block;
}

#countermeasure_price section {
	width: 100%;
}

#countermeasure_top section h3 {
    font-size: 1.4em;
}

#countermeasure_top section h3 {
	text-align: center;
}

#countermeasure_top section {
    text-align: center;
}

#countermeasure_top section p {
	margin-bottom: 30px;
}

}


@media only screen and (max-width: 470px){
/*==========================================
 幅470px以下から ヘッダー等微調節
===========================================*/
#countermeasure_price section {
    padding-top: 20px;
    padding-bottom: 20px;
}

#countermeasure_price section .price {
display: block;
}

#countermeasure_price section .price h4 {
	font-size: 1.063em;
	display: inline-block;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

#countermeasure_price section .price p {
font-size: 1.375em;
}

#countermeasure_price section .price p strong {
font-size: 2.273em!important;
}

#countermeasure_price section aside {
	font-size: 1em;
	margin-bottom: 10px;
}


#countermeasure_top section h3 {
    padding-bottom: 30px;
}

#countermeasure_price section .price p {
	font-size: 1.125em;
	line-height: 1.5;
}

#countermeasure_price section .price p strong {
font-size: 1.1em;
}

#countermeasure_top section h3 {
    font-size: 1.313em;
}

#countermeasure_top section h3 br {
	display: none;
}

#countermeasure_top section p br {
	display: none;
}

#countermeasure h2 {
	font-size: 1.313em;
}

#value h2 img {
    right: 0px;
}

#value section {
	margin-top: 35px;
	margin-bottom: 50px;
	padding-top: 20px;
	padding-right: 25px;
	padding-bottom: 35px;
	padding-left: 25px;
}

#value h2 {
	font-size: 1.313em;
	text-align: left;
}

.r_box {
	padding-top: 27px;
	padding-right: 18px;
	padding-bottom: 27px;
	padding-left: 18px;
}

.r_box dl dt {
font-size: 1.500em;
	margin-bottom: 25px;
}

.r_box dl dd {
	font-size: 1em;
	padding-bottom: 25px;
}

#risk2 section p br {
display: none;
}

#reason h2,
#risk2 section h3 {
	font-size: 1.313em;
}

#risk2 h2 {
font-size: 1.313em;
}

#risk_top p {
	font-size: 1em;
}

#risk h2 {
	padding-top: 12px;
	padding-bottom: 12px;
font-size: 1.1em;
}

#mainTop section p:first-child {
	margin-right: 50px;
    }
	
#mainTop section p:last-child {
	margin-left: 50px;
    }
	
#mainTop section h2 {
	margin-top: 0px;
	margin-bottom: 10px;
    }
	
.mt_text {
    width: 100%;
    display: inline-flex;
	flex-wrap:wrap;
}
		
#page-top {
max-width: 64px;
width: 100%;
}

.form_btn {
    background-position: right 20px center;
}

#topForm {
	background-color: #2B5DBF;
	padding-top: 50px;
	padding-bottom: 80px;
}

#topForm .inner .form {
	border-radius: 10px;
	padding-top: 35px;
	padding-bottom: 35px;
}

#btnBlock p {
	font-size: 1.125em;
	line-height: 1.5;
}

#btnBlock .btn li {
font-size: 1.2em;
}

#y_block .inner section h2 {
	font-size: 1.1em;
}

.btn li {
	font-size: 1.2em;
}

.btn li img {
	width: 35px;
}

#mainList {
	display: block;
}

#mainList li {
	margin-left: 0px;
	margin-right: 0px;
	background-color: #FFFFFF;
	max-width: 100%;
	width: 100%;
	text-align: center;
	padding-top: 8px;
	padding-bottom: 8px;
	font-size: 1.375em;
	font-weight: bold;
	border-radius: 8px;
	margin-bottom: 8px;
	    -webkit-box-shadow: 0px 3px 6px hsla(0,0%,0%,0.16);
    box-shadow: 0px 3px 6px hsla(0,0%,0%,0.16);
}

#mainTop section h2 {
	font-size: 1.6em;
	padding-left: 9px;
	margin-bottom: 20px;
}

#mainTop section p {
	font-size: 1.125em;
	padding-left: 16px;
	padding-right: 16px;
	margin-bottom: 6px;
}
.spbr {
	display: inherit;
}

.NavMenu h1 {
	margin-top: 16px;
	margin-left: 16px;
	}
	
header section h1 {
	margin-right: 0px;
	margin-bottom: 16px;
}

header section {
	display: block;
}

header section p {
	margin-right: 16px;
}

    .NavMenu ul li {
        font-size: 1em;
    }
	
#c_flow_img {
	display: none;
}
	
.tabs {
	display: inherit;
}

/*タブ切り替え全体のスタイル*/
.tabs {
	max-width: 100%;
	width: calc(100% - 2em);
	margin-left: auto;
	margin-right: auto;
	margin: 0 auto;
}

/*タブのスタイル*/
.tab_item {
	width: 50%;
	height: 50px;
	border-bottom: 3px solid #5ab4bd;
	background-color: #ECECEC;
	line-height: 50px;
	font-size: 16px;
	text-align: center;
	color: #565656;
	display: block;
	float: left;
	text-align: center;
	font-weight: bold;
	transition: all 0.2s ease;
}
.tab_item:hover {
  opacity: 0.75;
}

/*ラジオボタンを全て消す*/
input[name="tab_item"] {
  display: none;
}

/*タブ切り替えの中身のスタイル*/
.tab_content {
	display: none;
	padding-bottom: 0;
	clear: both;
	overflow: hidden;
}


/*選択されているタブのコンテンツのみを表示*/
#all:checked ~ #all_content,
#programming:checked ~ #next_content,
#next:checked ~ #next_content {
  display: block;
}

/*選択されているタブのスタイルを変える*/
.tabs input:checked + .tab_item {
	background-color: #5ab4bd;
	color: #fff;
	background-image: url(../images/s_point.png);
	background-repeat: no-repeat;
	background-position: center top;
}
}

@media only screen and (max-width: 320px){
/*==========================================
 幅320px以下から ヘッダー等微調節
===========================================*/
ul#banners li {
display: block;
width: 100%;
margin-left: 0px;
margin-right: 0px;
}

    .btn li {
        font-size: 1em;
    }
	
    #value h2 img {
        width: 58px;
        height: auto;
    }
}
