@charset "UTF-8";
@import url("grid.css");

img {
	max-width:100%;
	height: auto;/*高さ自動*/
}
html body.second_page a:link,
a {
    display:block;
    color: #296aa2;
    text-decoration-line: none;
	-webkit-transition: all ease-in-out .2s;
	-moz-transition: all ease-in-out .2s;
	-o-transition: all ease-in-out .2s;
	transition: all ease-in-out .2s;
}
a:hover { 
    color: #3993e1;
}
a img:hover {
	opacity: 0.8;
}

.underline {
	border-bottom: 3px solid #fff;
	padding-bottom: 0.5rem;
	text-align: left;
}

body.second_page.cancellation h2.underline {
	color: #fff;
	max-width:800px;
	text-align: center;
	margin: 0 auto 0.8em auto;
}
.center {
	text-align: center;
}

/*ヘッダー
-------------------------------------*/
.head {
	display: flex;
    flex-direction: column;
    padding: 0rem 0 0 0;
}

.head h1 { 
    padding: 0.8rem 0;
	font-weight: 700;
	letter-spacing: -0px;
	font-family: 'Meddon', cursive;
	color: #296aa2;
	text-align: center;
	width: auto;
	
}

nav ul {
	display: flex;
    flex-direction: row;
    justify-content: center;
    list-style: none;
	margin-bottom: 0.5rem;
}
nav li {
    display: block;
    flex: 0 0 15%;
}
nav li a {
    text-decoration: none;
    text-align: center;
}
nav a:hover {
    text-decoration: underline;
}
nav a {
    padding: 1rem;
}

@media screen and (min-width: 768px){
/* PC時はMENUボタンを非表示 */
#open,#close {
    display: none !important;
}

#navi {
    display: block !important;
}
}

@media screen and (max-width: 768px){
.head {
	flex-direction: column;
    text-align: left;
    margin-bottom: 0px;
}
.telbox {
	margin-left: 0;
	text-align: center;
}
.head #open,#close  {
    position: absolute;
    top: 28px;
    right: 12px;
    }
nav ul {
	flex-direction: column;
}

nav li {
	padding-top: 0;
	border-bottom: 1px solid #ccc;
	margin-bottom: 0;
}
/* スマホ時はMENUボタンを表示 */
#open {
    display: block;
    background: url(../img/button.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 50px;
    height: 50px;
    border: none;
    position: absolute;
    top: 20px;
    right: 12px;
}
#close  {
    display: block;
    background: url(../img/button2.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 50px;
    height: 50px;
    border: none;
    position: absolute;
    top: 20px;
    right: 12px;
}
/* スマホ時はメニューを非表示 */
#navi {
    display: none;
}
}

body.second_page.cancellation form{
	color: #fff;
}

body.second_page.cancellation form input[type="submit"]{
	color: #296aa2;
	background: #fff;
}
/*メイン画像
-------------------------------------*/
.mainimg{	
  width: 100vw;
  height: 100vh;
	text-align: center;
}
.mv_bg{	
	background: url(../img/mainimg_bg_pc.jpg)  center/cover;
}

.mainimg img.pc{	
	margin: 0 auto;
	height: 100vh;
}

@media screen and (max-width: 768px){
.mainimg{
	background: none;
	height: auto;
}
.mainimg img.sp {
	width: 100vw;
	height: auto;
}	
}


/*メインコンテンツ
-------------------------------------*/
main {
    margin: 0;
	padding: 5rem 0 0rem 0;
	background: #296aa2;
}

body.second_page main {
    margin: 0;
	padding: 0rem 0 0rem 0;
}

/*キャッチタイトル
-------------------------------------*/
h2.catch {
	text-align: center;
	color: #666;
	font-size: 4.0rem;
	margin-bottom: 3rem;
}

/*フッター
-------------------------------------*/
footer {
    background-color: #fff;
    padding: 3rem 0;
}
body#question_page footer {
    padding: 0rem 0;	
}
footer h5 {
    border-bottom: 1px solid #ccc;
}

/*コピーライト
-------------------------------------*/
.copyright {
    text-align: center;
    padding: 1rem 0;
    background-color: #fff;
}
.copyright a {
    color: #000;
    text-decoration: none;
	display: inline-block;
}

/*PC　SP切り替え
-----------------------------------*/
.pc{display: block;}
.sp{display: none;}
@media screen and (max-width: 768px){
.pc{display: none;}
.sp{display: block;}
}
/*ページトップへ戻るボタン
-------------------------------------*/
#pagetop {
    position: fixed;
    bottom: 15px;
    right: 15px;
}
#pagetop a {
    display: block;
    background: #666;
    color: #fff;
    width: 50px;
    padding: 10px 5px;
    text-align: center;
}
#pagetop a:hover {
    background: #999;
}
/*パンくずリスト
-----------------------------------*/
.breadcrumb {
    margin: 0 0 1em 0;
    padding: 0;	
}
.breadcrumb li {
    list-style-type: none;
}
.breadcrumb li a {
    display: inline-block;
    color: #959fa5;
}

/*index
-----------------------------------*/

.intro_box{
	text-align: center;
	padding: 0 0em 4em 0;
}

.container{
	padding: 0 1em;
}

body.cancellation .container{
	text-align: center;
}
.campaign_box_outer h3{
	margin: 1em 0 0; 
	padding: 0;
}

.campaign_box_outer{
	background-image: url("../images/campaign_box_outer_bg.png");
	background-repeat: no-repeat;
	background-position: top 3em left 0%;
	background-size: 100% auto;
	margin: 30px auto 0 auto;
	max-width: 750px;
	
}

.campaign_box{
	background-image: url("../images/campaign_box_inner_bg.png");
	background-repeat: no-repeat;
	background-size: 100% auto;
	background-position: bottom left;
	width: 100%;
	
	
}

.campaign_box button{
	background-color:#ffe552;
	width: 80%;
	height: 100%;
	font-family: YuMincho,/* Mac用 */
	'Yu Mincho', /* Windows用 */
	serif;
	color: #296aa2;
	border-radius:0.25em;
	font-size: 200%;
	border: none;
	margin: 1.5em 0 1.5em 0;
	padding: 0.3em 0;
}
.campaign_box button:hover{
	background-color:#fffd7c;
}

.campaign_box button a{
	display: block;
	width: 100%;
	height: 100%;
	line-height: 150%;
}


@media screen and (max-width: 768px){
.campaign_box_outer{
		margin: 0 auto;
		min-width: 375px;
		background-position: top 2.4em left 0%;	
	}
.campaign_box button{
		font-size: 100%;
	}	
.campaign_box button a span{
	display: block;
	font-size: 150%;
}
.campaign_box_outer h3{
margin: 0em 0 0;	
}
.service_box h2 img{
	width: 80%;
}
}

body.second_page .service_box{
	text-align: center;
	padding: 3.5em 0 ;
	background-color: #296aa2;
}

.service_box{
	text-align: center;
	padding: 3.5em 0 ;
	background-color: #7989b6;
}

.service_box p.service_txt{
	max-width: 700px;
	text-align: left;
	margin: 3.2em auto 3.2em auto;
	color: #fff;
}

body.cancellation .service_box p.service_txt{
	text-align: center;
}

.service_box p.service_txt strong{
	background: #fffcb6;
	color: #296aa2;
	font-weight: 100;
	padding: 0.3em;
}

.service_box figure img{
	padding-bottom:0 0 2em 0;  
}
.service_box ul{list-style: none; margin: 0; padding: 0;}
.service_box ul.flow li p{margin: -2.5px; padding: 0;}
.service_box ul.flow li p.title img{ width: 12%;}
.service_box ul.flow li{
	background: url("../images/flow_box_bg_pc.jpg") no-repeat 0 0;
	background-size: 100% auto;
	padding: 1em 0 3em 0;
	color: #fff;
}
html body main .service_box ul.flow li a{
	display: inline;
	color: #fff !important;
}
html body main .service_box ul.flow li a:hover{
	text-decoration: underline;
}

.service_box ul.flow li:last-child{
	background:none;
	border: solid 2px #fff;
	padding-left: 1.5em;
	padding-right: 1.5em;
}

.card_box{
	text-align: center;
	padding: 3.5em 0 ;
	background-color: #fff;
}

.card_box_bottom{
	text-align: center;
	padding: 2em 0 0 0;
	background-color: #fff;
}

.card_box h2 img{
	width:auto;
}

.card_box figure{
	margin-top: 4.5rem;
}

.card_box_bottom figure{
	text-align: center;
}
.card_box_bottom figure img{
	margin: 0 auto;
}
.card_box_bottom figure img,
.card_box figure img{
	max-width: 750px;
}

.card_box h3 img{
	width:30%;
}
.card_box p.author,
.card_box p.card_txt{
	max-width: 700px;
	margin: 0 auto 0.5em auto;
	color: #698bbd;
}

.card_box .picture_wp .col figure img{
	width: 70%;
}

body.second_page .form_box{
	text-align: center;
	padding: 3.5em 0 ;
	background-color: #fff;
	color:#296aa2;
}
body.second_page .form_box .container{
	margin: 0 auto;
	text-align: left;
	border: solid 0px #bbb;
	width: 75%;
}
body.second_page .form_box h2.underline{
	text-align:left;
	border-bottom:none;
}
@media screen and (max-width: 768px){
body.second_page .form_box .container{
	width: 95%;
}
body#question_page .row.picture_wp,	
body .row.picture_wp {
    display: flex;
    flex-direction: inherit;
    padding: 0;
    width: 100%;
}
	.card_box .picture_wp .col figure img{
		width: 100%;	
	}
	.card_box figure{
		margin-top: 1em!important;
		margin-bottom: 1em!important;
	}
	.card_box_bottom figure img{
		width: 100% !important;
	}
}
.original-button_wp{
	text-align: center;
}
.original-button {
	margin: 1.5em auto;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  text-decoration: none;
  color: #698bbd;
	font-size: 90%;
  border-radius: 5px;
  width: 450px;;
  height: 50px;
  border: 1px solid #698bbd;
  position: relative;
  transition: 0.3s;
  background-color: #ffffff;
}

.original-button::before, .original-button::after {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  right: 15px;
  transform-origin: 100% 50%;
  height: 1px;
  width: 11px;
  background-color: #333;
  border-radius: 2px;
  will-change: transform;
  transition: .3s;
}

.original-button::before {
  transform: translateY(-50%) rotate(30deg);
}

.original-button::after {
  transform: translateY(-50%) rotate(-30deg);
}

.original-button:hover::before {
  transform: translate(5px, -50%) rotate(30deg);
}

.original-button:hover::after {
  transform: translate(5px, -50%) rotate(-30deg);
}


@media screen and (max-width: 768px){
.original-button{
		width: 100%;
}	
.card_box figure img{
	width: 100%;
}
.card_box h2 img{
	width: 70%;
}
.card_box h3 img{
	width:70%;
}
.card_box p.author,	
.card_box p.card_txt{
	width: 95%;
}
}


@media screen and (max-width: 768px){
.service_box ul.flow li p{margin: 0px;}	
.service_box ul.flow li p.title img{ width: 32%;}	
.service_box ul.flow li{
	background: url("../images/flow_box_bg.jpg") no-repeat 0 0;
	background-size: 100% auto;
	padding: 0.5em 0 2em 0;
	margin: 0 auto;
	max-width: 395px;
}
section.question_box h2 img{
	width: 80%;
}	
}

section.question_box{
	text-align: center;
	padding: 3.5em 0 ;
	background-color: #8da0d4;
}

.accordion {
  margin: 3em auto;
  max-width: 80vw;
}

@media screen and (max-width: 768px){
.accordion {
  max-width: 100vw;
}	
}
.toggle {
  display: none;
}
.option {
  position: relative;
  margin-bottom: 1em;
}
.title_q,
.content_q {
  -webkit-backface-visibility: hidden;
	backface-visibility: hidden;
    transform: translateZ(0);
    transition: all 0.3s;
}
.title_q {
	border: solid 1px #fff;
	padding: 1em;
	display: block;
	color: #fff;
	font-weight: bold;
	text-align: left;
}
.title_q:after, .title_q:before {
  content: "";
  position: absolute;
  right: 1.25em;
  top: 1.25em;
  width: 2px;
  height: 0.75em;
  background-color: #fff;
  transition: all 0.3s;
}
.title_q:after {
  transform: rotate(90deg);
}
.content_q {
  max-height: 0;
  overflow: hidden;
	text-align: left;
	color: #fff;
}
.content_q p {
  margin: 0;
  padding: 0.5em 1em 1em;
  font-size: 0.9em;
  line-height: 1.5;
}
.toggle:checked + .title_q + .content_q {
	max-height: 600px;
	transition: all .8s;
}
.toggle:checked + .title_q:before {
	transform: rotate(90deg) !important;
}
.content_q h4{
	font-size:120%;
}

.content_q a{
	display: inline !important;
	color: #fff !important;
	text-decoration: underline;
}
input#toggle1,
input#toggle2,
input#toggle3,
input#toggle4,
input#toggle5,
input#toggle6,
input#toggle7,
input#toggle8,
input#toggle9,
input#toggle10,
input#toggle11{
	display: none;
}

.pcimg{display: block;}
.spimg{display: none;}

@media screen and (max-width: 768px){
	.pcimg{display: none;}
	.spimg{display: block;}
}

.notice_box{
	text-align: center;
	padding: 3.5em 0 1.7em 0; ;
	background-color: #dfe7e9;
}

.notice_box figure{
	margin-top: 0rem;
}
.notice_box figure img{
	margin: 0 auto;
}

.pt2{
	padding-top: 2em;
}

.caution_text{font-size:80%;text-align: center;padding: 2em 1.5em 0 1.5em;}
.footer_sub_menu{font-size:70%;
padding-bottom: 1.5em;
}

body.second_page .form_box input[type="submit"].seikyu_button{
	background-color: #296aa2;
	text-align: center;
	color: #fff;
	border-radius: 0.8em;
	padding: 0.5em 2em;
	height: auto;
	margin: 0 auto;
}
body.second_page .form_box input[type="submit"].seikyu_button:hover{
	background-color: #7989b6;
}
.seikyu_button_wp{text-align: center;}

html body#gaibu_file h1 a:visited{
	color: #296aa2!important;
}

html body#gaibu_file #navi ul li a:visited{
	color: #296aa2!important;
}
html body#question_page small a,
html body#gaibu_file small a{
	display: inline!important;
}
body#question_page .se_Only{display: block;}
body.index_page .se_Only{display: none;}


body.second_page{
	color: #fff;
}

body.second_page p.sample_img img{
	width: 80%;
}