/* CSS Document */

img {
  /* ウィンドウサイズに応じて画像を拡縮 */
  vertical-align: top;
  max-width: 100%;
  width: auto;
  height: auto;
}
body {
  color: #333333;
  /* お好みで */
  -webkit-text-size-adjust: 100%;
  /* 横向きにしたときにフォントサイズが変わらないように */
  line-height: 1.6;
  font-size: 1.6rem;/* 16px */
  background: #ffffff;
/*  min-width: 1160px;*/
}
main {
  padding-bottom: 2rem;
}
.wrapper {
  /* この要素で画面最大幅を限定します。 */
  max-width: 100%;
  box-sizing: border-box;
  margin: 0 auto;
  clear: both;
	overflow: hidden;
}

@media screen and (max-width: 736px) {
	.wrapper {

	}
	body {
	  min-width: inherit;
	  font-size: calc(100% + 0.25vw)
	}
}

.flex_row {
  /* flexible boxの使用宣言（box,flexbox,flex） */
  display: -webkit-box;    /*--- Androidブラウザ用 ---*/
  display: -ms-flexbox;    /*--- ie10 ---*/
  display: -webkit-flex;    /*--- mac old safari ---*/
  display: flex;
  /* flexアイテムの横方向の位置揃え */
  -webkit-box-pack: justify;    /*--- Androidブラウザ ---*/
  -ms-flex-pack: justify;    /*--- ie10 ---*/
  -webkit-justify-content: space-between;    /*--- mac old safari ---*/
  justify-content: space-between;
  /* flexアイテムの縦方向の整列 */
  -webkit-box-align: stretch;    /*--- Androidブラウザ ---*/
  -ms-flex-align: stretch;    /*--- ie10 ---*/
  -webkit-align-items: stretch;    /*--- mac old safari ---*/
  align-items: stretch;
  /* flexアイテムの並び方向 */
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;    /*--- Androidブラウザ 2つに分かれている ---*/
  -ms-flex-direction: row;    /*--- ie10 ---*/
  -webkit-flex-direction: row;    /*--- mac old safari ---*/
  flex-direction: row;
  /* flexアイテムを複数行にするかどうか */
    /* box仕様のbox-linesに当たるが、androidブラウザは未対応 */
    /* wrapさせたい場合はandroid4DefaultBrowser.cssにて対応すること */
  -ms-flex-wrap: nowrap;    /*--- ie10 ---*/
  -webkit-flex-wrap: nowrap;    /*--- mac old safari ---*/
  flex-wrap: nowrap;
}
.flex_row>* {
  /**** flexible box関連指定 ****/
    /* flexアイテムの伸縮、アイテム幅の指定 */
  -webkit-box-flex: 0.1;    /*--- Androidブラウザ 要素がはみ出す場合があることへの対処 ---*/
  -ms-flex: 1 1 auto;    /*--- ie10 ---*/
  -webkit-flex: 1 1 auto;    /* mac old safari */
  flex: 1 1 auto;    /*--- flex-grow,flex-shrink,flex-basis ---*/
  /* 並び順の指定 */
  -webkit-box-ordinal-group: 1;    /*--- Androidブラウザ ---*/
  -ms-flex-order: 0;    /*--- ie10 ---*/
  -webkit-order: 0;    /*--- mac old safari ---*/
  order: 0;
}

@media screen and (max-width: 736px) {
/***************************
 * スマホの場合にどうするかを記載するので接頭辞として、「sp_」を追加
 */
.sp_flex_col {
  /* flexアイテムの並び方向 */
  -webkit-box-orient: vertical;    /*--- Androidブラウザ 2つに分かれている ---*/
  -ms-flex-direction: column;    /*--- ie10 ---*/
  -webkit-flex-direction: column;    /*--- mac old safari ---*/
  flex-direction: column;
}
.sp_flex_col>* {
  width: 100%;
}
}

/***************************
 ** 共通要素
 */


@media screen and (max-width: 736px) {
.pc {
  display: none;
}
.sp {
  display: block;
}

}
/***************************
 ** #main
 */
main {
  display: block;/* for ie10 */
}


/***************************
 ** fv
 */

#fv {
	width: 100%;
	margin-bottom: 40px;
}

#fv img {
  width: 100%;
}

/***************************
 ** cv
 */
.cv {
	max-width: 1040px;
	margin: 0 auto;
}
.cv p.btn01 {
	width: calc(100% - 28%);
	margin: 0 auto;
}
.cv p.btn02 {
	width: calc(100% - 30%);
	margin: 45px auto;
}
.cv02bg01  {
	background: url(../img/pc/cv02_bg01.png) no-repeat;
	background-size: 100% 100%;
}
.cv02 p.note01  {
	width: calc(100% * 860 / 1040);
	font-size: calc(70% + 0.5vw);
	text-align: right;
	margin: 0 auto;
}

.cv02 p.note02 {
	width: calc(100% * 860 / 1040);
	text-align: center;
	font-size: calc(50% + 0.5vw);
	padding-bottom: 40px;
	margin: 0 auto;
}

.cv03 p.btn03 {
	width: calc(100% - 30%);
	margin: 45px auto;
	text-align: center;
}

.cv04bg01  {
	background: url(../img/pc/cv04_bg01.png) no-repeat;
	background-size: 100% 100%;
}
.cv04 p.note01  {
	width: calc(100% * 750 / 1040);
	font-size: calc(70% + 0.2vw);
	text-align: left;
	margin: 0 auto;
	padding-bottom: 20px;
}
.cv04bg02  {
	background: url(../img/pc/cv04_bg02.png) no-repeat;
	background-size: 100% 100%;
}
.cv04 p.note02 {
	width: calc(100% * 860 / 1040);
	text-align: center;
	font-size: calc(50% + 0.5vw);
	padding-bottom: 40px;
	margin: 0 auto;
}

@media screen and (max-width: 736px) {
	.cv p.btn01 {
		width: calc(100% - 6%);
		margin: 0 auto;
	}
	.cv p.btn02 {
		width: calc(100% - 6%);
		margin: 1rem auto 2rem;
	}
	.cv03 p.btn03 {
    width: calc(100% - 6%);
    margin: 3rem auto 0;
	}
	.cv02 p.note01  {
		width: calc(100% - 8%);
		font-size: calc(70% + 0.5vw);
	}
	.cv04 p.note01  {
		width: calc(100% - 6%);
		font-size: calc(70% + 0.5vw);
	}
	.cv02 p.note02,
	.cv04 p.note02 {
		width: calc(100% - 8%);
		font-size: calc(70% + 0.5vw);
		padding-bottom: 2rem;
	}
	.cv02bg01  {
		background: url(../img/sp/cv02_bg01.png) no-repeat;
		background-size: 100% 100%;
	}
	.cv04bg01  {
		background: url(../img/sp/cv04_bg01.png) no-repeat;
		background-size: 100% 100%;
	}
	.cv04bg02  {
		background: url(../img/sp/cv04_bg02.png) no-repeat;
		background-size: 100% 100%;
	}
}

/***************************
 ** #wrapper 
 */

.wrapper h2,
.wrapper h3,
.wrapper p {
	max-width:1160px;
	margin:0 auto;
}

/***************************
 ** #sec00
 */
#sec00 {
    padding: 0 0 6rem;
    text-align: center;
}

.sec00box {
  background: url("../img/sec00_bg.jpg") no-repeat;
  background-size: 100% auto;
}

@media screen and (max-width: 736px) {
	#sec00 {
		padding: 1rem 0;
	}
}


/***************************
 ** #sec01
 */
#sec01 {
	padding: 6rem 0;
	background: url(../img/sec01_bg.jpg) no-repeat;
	background-size: cover;
}
.sec01bg01  {
	background: url(../img/sec01_bg01.png) no-repeat;
	background-size: 100% 100%;
}
.sec01bg01 a  {
	display: block;
	width: calc(100% * 298 / 1160);
	margin: 0 auto;
}
@media screen and (max-width: 736px) {
	#sec01 {
		padding: 3rem 0;
	}
}

/***************************
 ** #sec02
 */
#sec02 {
	padding: 6rem 0;
	background: url(../img/sec02_bg.jpg) no-repeat;
	background-size: cover;
}
.sec02bg01  {
	background: url(../img/sec02_bg01.png) no-repeat;
	background-size: 100% 100%;
}
.sec02bg01 a  {
	display: block;
	width: calc(100% * 298 / 1160);
	margin: 0 auto;
}
@media screen and (max-width: 736px) {
	#sec02 {
		padding: 2rem 0;
	}
}

/***************************
 ** #sec03
 */
#sec03 {
	padding: 0;
	background: url(../img/sec03_bg.jpg) no-repeat;
	background-size: cover;
}
.sec03bg01  {
	background: url(../img/sec03_bg01.png) no-repeat;
	background-size: 100% 100%;
}
.sec03bg01 a  {
	display: block;
	width: calc(100% * 360 / 1160);
	margin-left: calc(100% * 630 / 1160);
}


/***************************
 ** #review
 */
#review {
    max-width: 1160px;
    margin: 0 auto;
    text-align: center;
}
#if_review {
    margin: 0 auto;
	width: 100%;
	height: 600px;
}
@media screen and (max-width: 736px) {
#if_review {
    width: 90%;
    height: 110vh;
}
}
/***************************
 ** #sec04
 */
#sec04 {
	padding: 0;
	background: url(../img/sec04_bg.jpg) no-repeat;
	background-size: cover;
}
.sec04bg01  {
	background: url(../img/sec04_bg01.png) no-repeat;
	background-size: 100% 100%;
}
.sec04bg01 a  {
	display: block;
	width: calc(100% * 320 / 1160);
	margin: 0 auto;
}

.cv04_btn_review {
    text-align: center;
    margin: -170px auto 0;
    display: block;
    padding-bottom: 60px;
}

@media screen and (max-width: 736px) {
	#sec04 {
		padding: 0;
	}
.cv04_btn_review {
    margin: -100px auto 0;
    padding-bottom: 30px;
    width: 74%;
}
}

/***************************
 ** #sec05
 */
#sec05 {
	padding: 0;
	background: url(../img/sec05_bg.jpg) no-repeat;
	background-size: 100% auto;
}
.sec05box {
	max-width:1040px;
	margin:0 auto;
}

/***************************
 ** #sec06
 */
#sec06 {
	max-width:960px;
	margin: 2rem auto;
	background: url(../img/sec06_bg.jpg) no-repeat;
}

#sec06 h3 {
	padding: 3rem 3rem 2rem;
	color: #014d73;
	font-size: calc(120% + 0.25vw);
	font-weight: bold;
}
#sec06 dl {
	padding: 0 3rem 4rem;
	font-size: calc(70% + 0.25vw);
}
#sec06 dd {
	padding-bottom: 1rem;
}

@media screen and (max-width: 736px) {
	#sec06 {
		margin: 0 auto;
		background: url(../img/sec06_bg.jpg) no-repeat;
	}
	#sec06 h3 {
		padding: 3rem 2.5rem 2rem;
		color: #014d73;
		font-size: calc(120% + 0.8vw);
		font-weight: bold;
	}
	#sec06 dl {
		padding: 0 2.5rem 4rem;
		font-size: calc(70% + 1vw);
	}
}

/***************************
 ** #sec06
 */

#container2 {
	max-width: 736px;
	margin: 2rem auto;
}
.ttl01 {
	margin: 2rem auto;
}
.link_box {
	text-align: center;
}

/***************************
 ** #bnr
 */

#bnr_tel {
    width: 320px;
    position: fixed;
    bottom: 0;
    right: 2vw;
    filter: drop-shadow(0 0 0.3rem #333);
}
#bnr_tel .box {
    background: #ff3a01;
    box-sizing: border-box;
    padding: 0.5rem 1rem;
}
#bnr_tel .box img {
	background: #ff3a01;
}
/* radio non-display */
#bnr_tel .radio{
    display: none;
}
/* button control */
#bnr_tel #close:checked ~ .btn-close {
    display: none;
}
#bnr_tel  #close:checked ~ .btn-open {
    display: table;
}
#bnr_tel  #open:checked ~ .btn-close {
    display: table;
}
#bnr_tel  #open:checked ~ .btn-open {
    display: none;
}
/* content control */
#bnr_tel #close:checked ~ .box {
    display: none;
}
#bnr_tel #open:checked ~ .box {
    display: block;
}
@media screen and (max-width: 736px) {
#bnr_tel {
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    ri: center;
    width: 96vw;
    max-width: 736px;
}
}
/***************************
 ** 下層ページ共通
 */

.header_02 {
  text-align: center;
  font-size: calc(120% + 0.5vw);
  font-weight: bold;
  padding: 1rem;
  border-bottom: 1px solid #ccc;
}

.header_02 a {
  color: #024D74;
  text-decoration: none;
}

.header_02 a:hover {
  text-decoration: underline;
}

.header_02 a span {
  display: inline-block;
  background: #01A33E;
  color: #fff;
  font-size: 70%;
  padding: 0 0.5em;
  border-radius: 0.8em;
  margin-right: 0.8em;
}

.page_ttl {
  font-size: calc(120% + 0.1vw);
  font-weight: bold;
  text-align: center;
  margin-bottom: 1rem;
}

.top_btn {
  float: right;
  margin-bottom: 5rem;
}

.top_btn + * {
  clear: both;
}

.top_btn a {
  background: #024D74;
  color: #fff;
  text-decoration: none;
  font-size: calc(100% + 0.25vw);
  padding: 0.3em 1em;
  border-radius: 1em;
}

.top_btn a::after {
  content: "»";
  display: inline-block;
  margin-left: 0.5em;
}

.top_btn a:hover {
  opacity: 0.8;
}

.base_table {
  margin: 0 auto 3rem;
  border-top : 2px solid #ccc;
  border-bottom : 2px solid #ccc;
}

.base_table tr th,
.base_table tr td {
  padding: 1.2em;
  text-align: left;
  border-bottom: 1px dotted #ccc;
}

.base_table tr th {
  white-space: nowrap;
}

.base_table tr td {
  word-break: break-all;
}

.paragraph {
  margin-bottom: 1em;
}

@media screen and (max-width: 736px) {
  .top_btn {
    float: right;
    margin-bottom: 5rem;
  }

  .top_btn + * {
    clear: both;
  }

  .top_btn a {
    font-size: calc(100% + 0.8vw);
  }
  
  .base_table {
    width: 100%;
    margin: 0 auto 2rem;
    font-size: calc(100% + 0.5vw);
  }
}


/***************************
 ** 会社概要ページ company.html
 */
.company {
  max-width: 960px;
  box-sizing: border-box;
  padding: 5rem 1rem;
  margin: 0 auto;
}

.company_table {
  width: 80%;
}

.representative {
  margin-bottom: 3rem;
}

.representative .photo {
  width: 25%;
  padding-right: 2%;
}

.representative .photo img {
  max-width: 100%;
}

.representative .text {
  width: 73%;
}

.representative .text p {
  margin-bottom: 1em;
}

@media screen and (max-width: 736px) {
  .company {
    padding: 3rem 1rem;
  }
  
  .representative {
    margin-bottom: 2rem;
  }

  .representative .photo {
    width: 100%;
    padding-right: 0;
    text-align: center;
    margin-bottom: 1rem;
  }
  
  .representative .text {
    width: 100%;
    font-size: calc(100% + 0.8vw);
  }
}

/***************************
 ** 特定商取引法に基づく表記ページ law.html
 */
.law {
  max-width: 960px;
  box-sizing: border-box;
  padding: 5rem 1rem;
  margin: 0 auto;
}

.law_table {
  width: 100%;
}

#pay_table tr th {
  width: 25%;
}

@media screen and (max-width: 736px) {
  .law {
    padding: 3rem 1rem;
  }
}


/***************************
 ** 利用規約ページ terms.html
 */
.terms {
  max-width: 960px;
  box-sizing: border-box;
  padding: 5rem 1rem;
  margin: 0 auto;
}

.terms dl dt {
  font-weight: bold;
  margin-bottom: 0.2em;
}

.terms dl dd {
  margin-bottom: 1.5em;
  padding-left: 1em;
  margin-bottom: 1.5em;
}

.terms dl dd ol {
  margin-left: 1em;
}

.terms dl dd ol li {
  list-style: decimal;
}

.terms h3 {
  font-weight: bold;
}

@media screen and (max-width: 736px) {
  .terms {
    font-size: calc(100% + 0.8vw);
  }
}


/***************************
 ** footer
 */
.footer {
  max-width: 960px;
  margin: 0 auto;
  border-top: 1px solid #ccc;
  text-align: center;
}

.footer ul {
  padding: 2rem 0;
  border-bottom: 1px solid #ccc;
}

.footer ul li {
  display: inline-block;
  margin: 0 1rem;
}

.footer ul li::before {
  content: "»";
  display: inline-block;
  margin-right: 0.5em;
}

.footer ul li a {
  color: #333;
  text-decoration: none;
}

.footer ul li a:hover {
  text-decoration: underline;
}

.footer p {
  padding: 2rem;
}
