@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;
}

img {
	max-width:100%;
	height: auto;/*高さ自動*/
}
a {
    display:block;
    color: var(--link-color);
    text-decoration-line: none;
}
a:hover { 
    color: var(--linkhover-color);
}


/*基準を1rem=10pxに設定*/
html {
    font-size: 62.5%;
}

/*最小値:1.1rem → 可変（0.9rem + 0.625vw（画面幅320px:2px, 800px:5px, 1200px:7.5px））→ 最大値:1.6rem*/
.font-size-S {
    font-size: clamp(1.1rem, calc(0.9rem + 0.625vw), 1.6rem);
}

/*最小値:1.2rem → 可変（1rem + 0.625vw（画面幅320px:2px, 800px:5px, 1200px:7.5px））→ 最大値:1.7rem*/
.font-size-M {
    font-size: clamp(1.2rem, calc(1rem + 0.625vw), 1.7rem);
}

/*最小値:1.6rem → 可変（2.2rem + 0.625vw（画面幅320px:2px, 800px:5px, 1200px:7.5px））→ 最大値:2.9rem*/
.font-size-L {
    font-size: clamp(2.4rem, calc(2.2rem + 0.625vw), 2.9rem);
}


/*ヘッダー
-------------------------------------*/
.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;
}
}
    
/*メイン画像
-------------------------------------*/
.mainimg img {
    width: 100vw;
}

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

/* 241009設定追加 */
.blue-back {
	background-color: #f0f4fa;
	margin: 5rem 0;
	padding: 3rem 2rem;
}

/* 241011設定追加 */
.yellow-back {
	background-color: #ffff99;
	margin: 5rem 0;
	padding: 3rem 2rem;
}

/* 241011設定追加 */
.rb {
	color: #ff3300;
	font: bold 200% serif;
}

/* 241011設定追加 */
.bb {
	font-style: normal;
	font-weight: bold;
	font-size: 200%;
	text-decoration: underline wavy;
}

/* 241011設定追加 */
.ao {
	background-color: #0000ff;
	color: #ffffff;
	padding: 1rem;
}

/* 241011設定追加 */
.midori {
	background-color: #006633;
	color: #ffffff;
	padding: 1rem;
}

/*キャッチコピー
-------------------------------------*/
.catch {
    text-align: center;
    margin-bottom: 5rem; /* 241009設定追加 */
}
.catch h2 {
    text-align: center;
    padding-bottom: 1rem;
    margin-bottom: 2rem; /* 241009設定追加 */
}
.under {
    border-bottom: 0.4rem solid var(--base-color);
    padding:0 0 0.1rem 0; /* 241009設定変更 */
}
.center {
	text-align: center;
	margin-bottom: 4rem;
}

.catch ul li {
    text-align: left;
    padding: 0 10% 1rem 10%; /* 241009設定追加 */
}



/* 改行設定　241010設定追加 */
-------------------------------------*/
.heading {
   font-size: clamp(24px, 2.4vw, 36px);
   /*font-weight: bold;*/
   text-align: center;
   line-height: 1.75;

    span {
        display: inline-block;
        line-height: 1.75;
    }

   @media screen and (max-width: 767px) {
       font-size: clamp(18px, 6vw, 22px);
   }
}


.text {
   font-size: clamp(14px, 1.4vw, 20px);
   line-height: 2;

    span {
        display: inline-block;
	text-align: justify;
        line-height: 2;
    }

   @media screen and (max-width: 767px) {
       font-size: clamp(14px, 2.5vw, 20px);
       margin: 10px 0 0;
   }
}


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

/*フッター
-------------------------------------*/
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;
}


/*ボタン 20241011追加編集中
-------------------------------------*/
.bcenter {
	background-color: #33ff99;
	margin-bottom: 4rem;
}
