@charset "UTF-8";
@import url("grid.css");

:root { /* 色変更される場合は、#以降のカラーコードを変更してください IE非対応 */
    --base-color: #000;
    --link-color: #666;
    --linkhover-color: #999;
    --back-color: #f7f7f7;
    --border-color: #ccc;
    --white-color: #fff;
}
body {
	background-color: #fcdae9;
	-webkit-text-size-adjust: 100%;
}
img {
	max-width:100%;
	height: auto;/*高さ自動*/
}
a {
    display:block;
    color: var(--link-color);
    text-decoration-line: none;
}
a:hover { 
    color: var(--linkhover-color);
}



/*ヘッダー
-------------------------------------*/
.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 var(--base-color);
}
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: var(--back-color);   
}
nav a {
    padding: 0.5rem;
}

@media screen and (min-width: 768px){
/* PC時はMENUボタンを非表示 */
#open,#close {
    display: none !important;
}

#navi {
    display: block !important;
}
}

@media screen and (max-width: 768px){
.header {
	flex-direction: column;
    margin-bottom: 10px;
}
.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;
}
}

.pc{
  display:block;
}
.sp{
  display:none;
}
@media screen and (max-width: 768px){
  .pc{
    display:none;
  }
  .sp{
    display:block;
  }
}

    
/*メイン画像
-------------------------------------*/
.mainimg{
  text-align:center;
}
.mainimg h1{
  margin:0;
  background:#fe3b91;
}
.mainimg img {
  width: 100vw;
  max-width:1200px;
  margin:0 auto;
}

@media screen and (max-width: 768px){
  .mainimg h1{
    margin:0;
    background:none;
  }
}

/*メインコンテンツ
-------------------------------------*/
main {
    margin: 5rem 0 0 0;
}
section {
	margin: 3rem 0;
	padding: 1rem 0;
}

picture {
	margin: 0;
	padding: 0;
}

.gray-back {
	background-color: var(--back-color);
}

.moushikomi {
	margin: 0 0;
	padding: 0 0;
}

.moushikomisub {
	margin: 0 0;
	padding-top: 3rem;
	background-color: #ffffff;
}

a {
    display:block;
    color: var(--link-color);
    text-decoration-line: none;
}
a:hover { 
    color: #AEF3F4;
	opacity: 0.5;
	
}

/*===========
.scroll-box
===========*/
.scroll-box {
  overflow-x: auto;
  padding-bottom: 10px;
  -webkit-overflow-scrolling: touch;
}
.scroll-box div img {
  max-width: 100%;
  min-width: 740px;
  vertical-align: top;
}


/*===========
tab
===========*/

.tab-wrap {
  display: flex;
  flex-wrap: wrap;
  margin:20px 0;
}
.tab-wrap:after {
  content: '';
  width: 100%;
  height: 5px;
  display: block;
  order: -1;
}
.tab-label {
  color: White;
  background: #e2136e;
  font-weight: bold;
  white-space: nowrap;
  text-align: center;
  padding: 10px .5em;
  order: -1;
  position: relative;
  z-index: 1;
  cursor: pointer;
  border-radius: 5px 5px 0 0;
  flex: 1;
  
}


.tab-label:not(:last-of-type) {
  margin-right: 5px;
}
.tab-content {
  width: 100%;
  height: 0;
  overflow: hidden;
  opacity: 0;
}
.tab-switch:checked+.tab-label {
  background: #fe3b91;
}
.tab-switch:checked+.tab-label+.tab-content {
  height: auto;
  overflow: auto;
  padding: 15px;
  opacity: 1;
  transition: .5s opacity;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
}

.tab-switch {
  display:none;
  visibility:hidden;
}


input[type=radio].tab-switch{
	display:none;
	visibility:hidden;
}

input[type=radio]{
　visibility:hidden;
  display:none;
}

.tab-switch:checked+.tab-label:after {
    top: 100%;
    left: 50%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-color: rgba(136, 183, 213, 0);
    border-top-color: #fe3b91;
    border-width: 14px;
    margin-left: -14px;
}
.tab-switch:checked+.tab-label {
    background: #fe3b91;
    position: relative;
}

.tab-content h3{
	background-color: #FFFFFF;
	padding-left: 1rem;
	padding-top: 1rem;
	padding-right: 1rem;
	padding-bottom: 1rem;
	color: #fe3b91;
	font-size: 3.5rem;
	font-weight: bold;
}

.tab-content .subtitle {
padding-left: 0rem;
	padding-top: 1rem;
	padding-right: 1rem;
	padding-bottom: 1rem;
	color: #fe3b91;
	font-size: 2.5rem;
	font-weight: bold;


}

/*===========
角丸
===========*/

.marubox{
	padding-top: 1.5rem;
	padding-right: 1.5rem;
	padding-bottom: 1.5rem;
	padding-left: 1.5rem;
	border-radius: 2rem;
	background-color: #FFFFFF;
	margin-bottom: 2rem;
}

.marubox .title{
	color: #0653D7;
	font-weight: bold;
	font-size: 4rem;
	text-align: center;
}

.marubox .subtitle{
	color: #0653D7;
	font-weight: bold;
	font-size: 2.5rem;
	text-align: center;
}


.kiyaku{
	color: #FFFFFF;
	text-align: right;
	width: auto;
}
.kiyaku a {
	color: #FFFFFF;
}

.kiyaku a:hover{
	color: #FFFFFF;
}

/*===========
矢印×ディスク（円形）
===========*/
.kiyaku ul li {
	position: relative;
	text-align: right;
	float: right;
	list-style: none;
	padding-left: 10px;
}
.kiyaku ul li::after,
.kiyaku ul li::before {
  display: block;
  content: '';
  position: absolute;
}
.kiyaku ul li::after {
  top: .35em;
  left: -1.2em;
  width: 14px;
  height: 14px;
  background-color: #FFFFFF;
  border-radius: 100%;
}
.kiyaku ul li::before {
  z-index: 2;
  top: .625em;
  left: -.975em;
  width: 6px;
  height: 6px;
  border-right: 2px solid #0542aa;
  border-bottom: 2px solid #0542aa;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

/*===========
コメント
===========*/
.coment {
	clear: left;
}



/*キャッチコピー
-------------------------------------*/
.catch {
    text-align: center;
}
.catch h2 {
    padding-bottom: 1rem;
}
.under {
    border-bottom: 0.4rem solid var(--base-color);
    padding:0 1rem 1rem 1rem;
}
.center {
	text-align: center;
	margin-bottom: 0rem;
}

/*申し込みの流れ
-------------------------------------*/
.flow.row {
	margin-bottom: 0rem;
}

/*フッター
-------------------------------------*/
footer {
    background-color: var(--back-color); 
    padding: 5rem 0;
}
footer h4 {
    border-bottom: 3px solid var(--border-color);
}

/*お問い合わせ
-------------------------------------*/
.contact-box {
	border: 1px solid var(--border-color);
	text-align: center;
	padding: 2rem 0;
}
.table {
	margin: 4rem 0;
}
.table th {
	width: 250px;
}

/*コピーライト
-------------------------------------*/
.copyright {
    text-align: center;
    padding: 1rem 0;
    background-color: var(--base-color);
}
.copyright a {
    color: var(--white-color);
    text-decoration: none;
	display: inline;
}

/*ページトップへ戻るボタン
-------------------------------------*/
#pagetop {
    position: fixed;
    bottom: 15px;
    right: 15px;
}
#pagetop a {
    display: block;
    background-color: var(--base-color);
    color: var(--white-color);
    width: 50px;
    padding: 10px 5px;
    text-align: center;
}
#pagetop a:hover {
    background-color: var(--link-color);
}

/* 幅768px以下の表示
-------------------------------------*/
@media screen and (max-width: 768px){
	
/*ヘッダー
-------------------------------------*/
.header-box {
	display: none;
}	
/*お問い合わせ
-------------------------------------*/
.table th {
	width: 100%;
	display: block;
}	
.table td {
	display: block;
}
}
