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

body {
  min-width: 1040px;
}
@media screen and (max-width: 750px){
  body {
    min-width: initial;
  }
}
img {
	max-width:100%;
	height: auto;/*高さ自動*/
}

a {
    display:block;
    color: #666;
    text-decoration-line: none;
}
a:hover { 
    color: #999;
}

/*ヘッダー
-------------------------------------*/
.header {
	display: flex;
    flex-direction: row;
    padding: 2rem 0 0 0;
}
.header-box {
	margin-left: auto;
	margin-top: 8px;
}
.contact-button {
	padding: 1rem;
	border: 2px solid #000;
}
nav ul {
	display: flex;
    flex-direction: row;
    justify-content: space-around;
    list-style: none;
	margin: 1rem 0 0 0;
}
nav li {
	flex: 1 0 auto;
}
nav li a {
    text-decoration: none;
    text-align: center;
    width: 100%;
}
nav a:hover {
    background-color: #f7f7f7;    
}
nav a {
    padding: 0.5rem;
}


@media screen and (min-width: 768px){
/* PC時はMENUボタンを非表示 */
#open,#close{
    display: none !important;
}
	
#sp-fixed-menu{
    display: none !important;
}
	
table.tbl-r02 {
    margin: 20px auto;
}
	
.tbl-r02 th {
    background: #4169e1;
    border: solid 1px #ccc;
    text-align: center;
    color: #fff;
    padding: 10px;
}
	
#navi {
    display: block !important;
}
	.sp {
		display: none;
	}
}

@media screen and (max-width: 768px){
.header {
	flex-direction: column;
}
.header #open,#close  {
    position: absolute;
    top: 20px;
    right: 12px;
}
nav ul {
	flex-direction: column;
}
.header li {
	padding-top: 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;
}
	h1{
		padding: 0 0 0 10px;
	}
}
    
/*メイン画像
-------------------------------------*/
.mainimg img {
    width: 100vw;
}

/*メインコンテンツ
-------------------------------------*/
main {
    margin: 5rem 0 0 0;
}
section {
	margin: 5rem 0;
	padding: 3rem 0;
}
.gray-back {
	background-color: #f4f4f4;
}

/*キャッチコピー
-------------------------------------*/
.catch {
    clear: both;
    text-align: center;
    padding: 20px;
}
.catch h2 {
    padding-bottom: 1rem;
}
.under {
    border-bottom: 0.4rem solid #000;
    padding:0 1rem 1rem 1rem;
}
.center {
	text-align: center;
	margin-bottom: 5rem;
    clear: both;
}
.center_02 {
	text-align: center;
}

.line_01 {
    line-height: 2;    
}


/*メイン画像修正分
-------------------------------------*/
.main_01,
.main_02,
.main_03{
	padding: 0px;
	margin:0px;
	line-height: 0;
}

.main_05{
	width:57%;
	padding: 0 0 0 50px;
}

p.title_01 {
    font-size: 280%;
    color: #00815e;
}

p.photo_img_01 {
	width: 40%;
	float: right;
	padding: 0;
	margin: 0 20px;
}

p.photo_img_02 {
	width: 18%;
	float: left;
	padding: 0;
	margin: 0 20px;
}

p.color_01 {
	font-size: 150%;
	color: #752f1e;
	text-align: left;
}

p.color_02 {
	font-size: 120%;
	color: #5b5b5b;
	text-align: left;
	margin: 0;
}

p.text_l{
	color: #5b5b5b;
	text-align: right;
	margin: 0;
}

.mainimg{
	clear: both;
}

.color_03{
	background-color:#ffffff;
}


/*申し込みの流れ
-------------------------------------*/
.flow.row {
	margin-bottom: 3rem;
}

/*フッター
-------------------------------------*/
footer {
    background-color: #f7f7f7;
    padding: 5rem 0;
}
footer h4 {
    border-bottom: 3px solid #ccc;
}

/*お問い合わせ
-------------------------------------*/
.contact-box {
	border: 1px solid #ccc;
	text-align: center;
	padding: 2rem 0;
}
.table {
	margin: 4rem 0;
}
.table th {
	width: 250px;
}

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

/*ページトップへ戻るボタン
-------------------------------------*/
/*#pagetop {
    position: fixed;
    bottom: 15px;
    right: 15px;
}*/
#pagetop a {
    display: block;
    background: #000;
    color: #fff;
    width: 50px;
    padding: 10px 5px;
    text-align: center;
}
#pagetop a:hover {
    background: #666;
}
.tbl-r03 td{
	    text-align: center;
	}
.tbl-r03 td a{
		display: inline-block;
	text-decoration:underline;
	margin: 0 5px;
	}

/* 幅768px以下の表示
-------------------------------------*/
@media screen and (max-width: 768px){
	
/*ヘッダー
-------------------------------------*/
.header-box {
	display: none;
}

.mainimg {
　margin-top: 80px;
}
nav ul {
  margin: 0;
  background-color: #fff;
  transition: all 0.2s ease-out;
}
	.row .col.span-4{
	  padding:0 20px;
	}
	.col.span-9 {
    padding: 0 20px;
}
/*お問い合わせ
-------------------------------------*/
.table th {
	width: 100%;
	display: block;
}	
.table td {
	display: block;
}
/*新しいテーブル定義*/
p {
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  margin: 60px auto 40px;
}
table {
  margin: 20px auto;
}
.tbl-r02 th {
  background: #4169e1;
  border: solid 1px #ccc;
    text-align: center;
  color: #fff;
  padding: 10px;
}
.tbl-r02 td {
　border: solid 1px #ccc;
    text-align: center;
  padding: 10px;
}
p.title_01 {
    font-size: 150%;
    color: #00815e;
    padding: 0;
    margin: 20px 10px;
}
p.photo_img_01 {
    width: 90%;
	padding: 0;
	float: none;
	margin: 0 auto;
}
.main_05 {
    width: 100%;
	padding: 0 20px;
}
p.color_01 {
    font-size: 150%;
    margin: 0;
}
p.photo_img_02 {
    width: 30%;
    margin: 0 10px;
}
.pc {
	display:none;	
}
.sp {
	margin: 20px;	
}
main {
    margin: 20px 0 0 0;
}
	p{
		margin: 0 20px;
	}
	h3{
		line-height: 2;
	}
 
@media screen and (max-width: 640px) {
  .last td:last-child {
    border-bottom: solid 1px #ccc;
    width: 100%;
  }
  .tbl-r02 {
    width: 80%;
  }
  .tbl-r02 th,
  .tbl-r02 td {
    display: block;
    width: 100%;
	border-bottom: 1px solid #bbb;
  }
	section {
    margin: 1rem 0;
	padding: 0.1rem 0;
}
	table.tbl-r02 {
    margin: 10px;
}
	.catch h2 {
    padding-bottom: 3rem;
}
	table td::before {
    content: attr(data-label);
    font-weight: bold;
    position: absolute;
    left: 20px;
  }
	td.color_03.right{
		text-align: right;
	}
	.container.center.sp_02 {
     margin: 0;
}
	h2 {
    margin: 20px 0 0 0;
}
	.main_01.sp {
    margin: 0;
}
	.container {
    padding: 0;
}
	#sp-fixed-menu {
        position: fixed;
        width: 100%;
        bottom: 0px;
        font-size: 0;
        opacity: 0.95;
        z-index: 99;
		background-color: #154776;
    }
	#sp-fixed-menu ul {
        display: flex;
        list-style: none;
        padding: 0;
        margin: 0;
        width: 100%;
    }
	    #sp-fixed-menu li {
        justify-content: center;
        align-items: center;
        width: 100%;
        padding: 0;
        margin: auto 0;
        font-size: 16px;
        border-right: 1px solid #fff;
    }
	#sp-fixed-menu li.icon_01 {
        background-image: url(../img/home_sp.png);
        background-repeat: no-repeat;
        background-position: 50% 30% ;
        background-size: 35%;
    }
	#sp-fixed-menu li.icon_02 {
        background-image: url(../img/tel_sp.png);
        background-repeat: no-repeat;
        background-position: 50% 30% ;
        background-size: 35%;
    }
	#sp-fixed-menu li.icon_03 {
        background-image: url("../img/mail_sp.png");
        background-repeat: no-repeat;
        background-position: 50% 30% ;
        background-size: 35%;
    }
	#sp-fixed-menu li.icon_04 {
        background-image: url(../img/yazi_sp.png);
        background-repeat: no-repeat;
        background-position: 50% 30% ;
        background-size: 35%;
		border-left: 1px solid #fff;
		border-right: none;
    }
	#sp-fixed-menu li a {
        color: #fff;
        text-align: center;
        display: block;
        width: 100%;
        padding: 40px 0 0 0;
        font-size: 70%;
    }
	.menu-content {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 100%;/*leftの値を変更してメニューを画面外へ*/
    z-index: 80;
    background-color: #3584bb;
    transition: all 0.5s;/*アニメーション設定*/
}
.menu-content ul {
    padding: 70px 10px 0;
}
.menu-content ul li {
    border-bottom: solid 1px #ffffff;
    list-style: none;
}
.menu-content ul li a {
    display: block;
    width: 100%;
    font-size: 15px;
    box-sizing: border-box;
    color:#ffffff;
    text-decoration: none;
    padding: 9px 15px 10px 0;
    position: relative;
}
.menu-content ul li a::before {
    content: "";
    width: 7px;
    height: 7px;
    border-top: solid 2px #ffffff;
    border-right: solid 2px #ffffff;
    transform: rotate(45deg);
    position: absolute;
    right: 11px;
    top: 16px;
}
.margin_z {
    margin: 0;
}
/* ハンバーガーメニューのスタイル */
.hamburger {
  position: fixed;
  right: 26%;
bottom: 0px;
  cursor: pointer;
  z-index: 10; /* メニューより前に表示 */
}

.hamburger span {
  display: block;
  height: 2px;
  background-color: #fff; /* ボタンの色 */
  margin: 5px 3px;
  transition: 0.4s;
}

/* メニューのスタイル */
.menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 91.5%;
  background-color: #fff;
  opacity: 0; /* 初期状態は透明 */
  pointer-events: none; /* クリック不可 */
  transition: opacity 0.5s ease; /* フェードインのアニメーション */
  padding: 20px;
  box-sizing: border-box;
  z-index: 5;
}

/* メニューが開いたとき */
.menu.open {
  opacity: 1; /* 不透明にする */
  pointer-events: auto; /* クリック可能にする */
}
	.menu li.color_03 a{
	  color: #666!important;
	  font-size: 100%!important;
	  padding: 20px 0 0 0!important;
	}

/* バツ印に変わるハンバーガーボタン */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0; /* 真ん中の線を透明にする */
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);

}
	p.icon_text {
    font-size: 65%;
    font-weight: normal;
    color: #fff;
    margin: 0;
    padding: 5px 0 0 0;
}
.menu ul {
  display: none;
}
	
}

table, th, td {
    width: auto !important;
}
.nowrap {
    white-space: nowrap;
}
.tel {
    display: flex;
}
/*テーブル
---------------------------------------------------------------------------*/

/*新しいテーブル定義*/
p {
    font-size: 16px;
    font-weight: bold;
    text-align: center;
	margin: 60px 50px 40px;
}
table {
    margin: 20px auto;
}
.tbl-r02 th {
    background: #4169e1;
    border: solid 1px #ccc;
    text-align: center;
    color: #fff;
    padding: 10px;
}
.tbl-r02 td {
    　border: solid 1px #ccc;
    text-align: center;
    padding: 10px;
}

@media screen and (max-width: 640px) {
.last td:last-child {
    border-bottom: solid 1px #ccc;
    width: 100%;
}
.tbl-r02 {
    width: 80%;
}
.tbl-r02 th {
    border-bottom: none;
    display: block;
    width: 100%;
	text-align: center;
}
.tbl-r02 td {
    border-bottom: none;
    display: block;
    width: 100%;
	text-align: left;
    padding-left: 50px;
}
	.tbl-r02 td {
		border-bottom: 1px solid #bbb;
	}
	p {
	margin: 0 20px;
}
}
}
table.tbl-r04  td{
        text-align: center;
    }