﻿@charset "UTF-8";
/* CSS Document */
@media only screen and (max-width : 768px) {
  /*-------------------------------------------------------------------------------------
スマホ用レイアウト（768px以下スクリーン）
----------------------------------------------------------------------------------------*/
  /*--------------------------------------------------
共通設定(スマホ)
-----------------------------------------------------*/
  /*body全体の初期スタイル調整*/
  body {
    width: 100%;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    font-family: sans-serif;
  }

  .fontsize font{
      font-size: 1.1em;
  }

  /*--------------------------------------------------
見出しタグ設定（スマホ）
-----------------------------------------------------*/
  h2 {
    margin: 0.5em 0em;
    font-size: 1.6em;
    font-weight: bold;
    text-align: center;
  }
  h3 {
    margin: 0.5em 0em;
    padding: 0.3em 0.6em;
    font-size: 1.4em;
    font-weight: bold;
    border-left: 8px solid #00abbb;
    border-bottom: 1px dotted #00abbb;
  }
  h4 {
    margin: 0.5em 0em;
    padding: 0.3em 0.6em;
    font-size: 1.2em;
    font-weight: bold;
  }
  h5 {
    margin: 0.5em 0em;
    padding: 0.1em;
    font-size: 1em;
    font-weight: bold;
    border-bottom: 1px dotted #ccc;
  }

  p {
    text-align: justify;
  }
  /*--------------------------------------------------
全体レイアウト／背景設定（スマホ）
-----------------------------------------------------*/
  /*全体エリア（全体背景を設定するにはここ）*/
  .main {
    background-color: #f2f2f2;
  }
  /*記事(ボディ)エリア*/
  .article {
    background-color: #fff;
    border-left: none;
    border-right: none;
    font-size: 1.6em; /*=16px*/
  }
  /*記事(ボディ)エリアの行間*/
  .article p {
    line-height: 1.6;
  }
  /*カラム全体の幅を変更する*/
  .article, .top_image_in {
    width: 100%;
    margin: 0 auto; /*真ん中に要素を置きたいときに使う*/
  }
  .font_01 {
    font-size: 1.1em;
	}



/*--------------------------------------------------
上部固定ヘッダー設定
-----------------------------------------------------*/
/*上部固定ヘッダー全体*/
.header {
  position: sticky;
  position: -webkit-sticky;
  top: 0;
  z-index: 5000;
  background-color: #fff;
  border-bottom: 1px solid #ccc;
  overflow: auto;
}
/*ヘッダー内部をカラム幅にする*/
.header_inr {
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
}
/*ヘッダーのロゴ*/
.header_logo {
  width: 9%;
  float: left;
  margin: 0em;
}
/*ヘッダーの問い合わせボタン*/
.header_mail {
  width: 40%;
  float: right;
  margin: 0.4em;
}
/*ヘッダー内の画像が常に幅100%になるように*/
.header_logo img, .header_mail img, .header_tel img {
  width: 100%;
    margin: 0.5em;
}

  /*--------------------------------------------------
ファーストビュー設定
-----------------------------------------------------*/

.top_image {
  background-repeat: no-repeat;
  background-position: top center;
  height: auto;
}


.top_sp_image_in{
	display: block;
}

.top_sp_image_in img{
	width: 100%;
}

/*--------------------------------------------------
sectionの設定
-----------------------------------------------------*/

*,
*::after,
*::before {
  box-sizing: border-box;
}

.accordion {
  max-width: 100%;
	padding: 1em 2em 2em 2em;
}

/*------------------------------

ここからアコーディオンのCSS

------------------------------*/
/* チェックボックスは非表示 */
.accordion-hidden{
  display: none;
}

/* Question部分 */
.accordion-open {
  display: block;
  padding: 10px 47px 10px 50px;
  background: #00abbc;
  cursor: pointer;
  margin: 5px 0;
  font-weight: 700;
  position: relative;/* 変更部分 */
	color: white;
	border-radius: 15px;
}

/* 開閉状態を示すアイコン+の作成 */
.accordion-open::before,
.accordion-open::after {
  content: '';
  width: 20px;
  height: 3px;
  background: #fff;
  position: absolute;
  top: 50%;
  right: 5%;
  transform: translateY(-50%);
}

/* 一本は縦にして+を作る */
.accordion-open::after {
  transform: translateY(-50%) rotate(90deg);
  transition: .5s;
}

/* ボタン */
.yureru-j{
    animation: yureru-j 2s infinite;
}
@keyframes yureru-j{
    0% {
        transform: translate(0px, 2px);
    }
    5% {
        transform: translate(0px, -2px);
    }
    10% {
        transform: translate(0px, 2px);
    }
    15% {
        transform: translate(0px, -2px);
    }
    20% {
        transform: translate(0px, 2px);
    }
    25% {
        transform: translate(0px, -2px);
    }
    30% {
        transform: translate(0px, 0px);
    }
}



/* アコーディオンが開いたら縦棒を横棒にして-にする */
.accordion-hidden:checked + .accordion-open:after {
  transform: translateY(-50%) rotate(0);
}

/* Answer部分 */
.accordion-close {
  display: block;
  height: 0;/* 要素の高さは0 */
  overflow: hidden;/* 非表示 */
  padding: 0 0 0 60px;
  opacity: 0;
  transition: 0.5s;/* 表示速度の設定 */
  position: relative;
	border-radius: 0 0 15px 15px;
}

/* チェックボックスにチェックが入ったらAnswer部分を表示する */
.accordion-hidden:checked + .accordion-open + .accordion-close {
  height: auto;
  opacity: 1;
  padding: 10px 10px 10px 70px;
  background: #fff;
  font-weight: 100;
	border-right: solid 1px #00abbc;
	border-bottom: solid 1px #00abbc;
	border-left: solid 1px #00abbc;
}

.pay_box{
	padding: 2em;
}

.pay_h1{
	background-color: #114a65;
	color: white;
	font-size: 1.5em;
	padding: 0.2em;
	text-align: center;
	margin-bottom: 0.8em;
}

.pay_h2{
	border-left: 8px solid #114a65;
    border-bottom: 1px dotted #114a65;
    color: #114a65;
    padding: 0.2em 0.3em 0.2em 0.5em;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    font-weight: bold;
	font-size: 1em;
}
.pay_h3{
	font-size: 0.8em;
}

.card_img{
	width: 45%;
}


/*--------------------------------------------------
テーブル設定
-----------------------------------------------------*/
table {
  width: 100%;
  border-top: 1px solid #ccc;
  border-left: 1px solid #ccc;
  margin: 1em 0em;
}
th, td {
  padding: 0.5em;
  border-right: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
}
th {
  background-color: #f0f0f0;
  font-weight: bold;
  text-align: center;
}
td {
  background-color: #fff;
  text-align: left;
}
/*スマホでは行が列になるテーブルタグ*/
.table_style_01 {
  text-align: left;
  vertical-align: middle;
}

/*--------------------------------------------------
プライバシーポリシー
-----------------------------------------------------*/
.privacy {
  padding: 1em 2em;
}
/*--------------------------------------------------
お問い合わせ
-----------------------------------------------------*/
.contact_mian {
  padding: 1em 2em;
}
/*テーブルタグ*/
.main-contents table {
  margin-bottom: 1.5em;
  margin: 0 auto;
  border-collapse: separate;
  border-spacing: 0px 5px;
}
.main-contents th, .main-contents td {
  background-color: #f6f6f6;
  padding: 10px;
  text-align: left;
  border-left: 1px solid #fff;
}
.main-contents th {
  background: #121779;
  vertical-align: middle;
  text-align: center;
  overflow: visible;
  position: relative;
  color: #fff;
  font-weight: normal;
}
/*--------------------------------------------------
フッター部分
-----------------------------------------------------*/
.footer {
  background-color: #e12a2d;
  padding: 2em 0em;
  text-align: center;
  font-size: 1.4em;
  color: #fff;
}
.footer a {
  color: #fff;
}

.footer p{
	text-align: center !important;
	line-height:1em;
	}
