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

:root { /* 色変更される場合は、#以降のカラーコードを変更してください IE非対応 */
    --base-color: #000000;
    --link-color: #e59424;
    --linkhover-color: #efc180;
    --back-color: #e9a4af;
    --border-color: #e7336e;
    --white-color: #fff;
    --nav-color: rgb(231,51,110,0.7);
}
body {
    background: var(--white-color); 
    color: var(--base-color);
    font-family:"Hiragino Kaku Gothic Pro",HiraKakuPro-W3,"ヒラギノ角ゴ Pro W3","メイリオ", Meiryo,"MS PGothic",verdana,sans-serif;
  line-height: 1.8em;
  font-size: 16px;
}
img {
	max-width:100%;
	height: auto;/*高さ自動*/
}
a {
    display:block;
    color: var(--link-color);
    text-decoration-line: none;
}
a:hover { 
    color: var(--linkhover-color);
}
h2 {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    text-align: center;display: flex;
	align-items: center;
	justify-content: center;
    letter-spacing: 0.2rem;
    font-size: 8rem;
    font-weight: bolder;
    color: #e7336e;     /* 文字色指定 */
}
h2::before, h2::after {
    content:"";
    width:40px;
    height:10px;
    margin:0 10px;
    background-color:#e7336e;
}
h3.underline {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
}
h4 {
    border-left: 5px solid #e7336e;
    padding-left: 1rem;
    font-size: 28px;
    letter-spacing: 0.2rem;
}

h5 {
    font-size: 21px;
    letter-spacing: 0.1rem;
  border-bottom: solid 3px #f6bdbb;
  position: relative;
}

h5:after {
  position: absolute;
  content: " ";
  display: block;
  border-bottom: solid 3px #e7336e;
  bottom: -3px;
  width: 30%;
}

h6 {
    font-family: "Helvetica Neue", "Helvetica", "Hiragino Sans", "Yu Gothic UI", "Yu Gothic", "Meiryo", sans-serif;
    font-size: 26px;
    font-weight: bolder;
    color: #e7336e;
}

h7 {
    font-size: 18px;
    font-weight: bolder;
    letter-spacing: 0.1rem;
}
h8 {
    font-size: 14px;
    font-weight: bolder;
    letter-spacing: -0.1rem;
    line-height:2.6rem
}
h9 {
    font-size: 12px;
    line-height:1;
}


section {
    padding: 3rem 0;
}
/*ヘッダー
-------------------------------------*/
/*スマホ用メニュー
-------------------------------------*/	
.spnavi {
    display: none;
}
nav ul {
	display: flex;
    flex-direction: row;
    justify-content: space-around;
    list-style: none;
	margin: 10px 0 0 0;
}
nav li {
	flex: 1 0 auto;
    font-weight: bolder;
    margin-bottom: 0;
}
nav li a {
    text-decoration: none;
    text-align: center;
    width: 100%;
    color: var(--white-color);
}
nav a:hover {
    color: var(--back-color);   
}
nav a {
    padding: 0.1em;
}

@media screen and (min-width: 769px){
/* 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: 12px;
    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: 12px;
    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: 12px;
    right: 12px;
}
/* スマホ時はメニューを非表示 */
#navi {
    display: none;
}
.navblock {
    margin-top: -10px;
}
}
    
/* サイトタイトル
-------------------------------------*/
.head {
    background: url("../img/mainimg.jpg");/* 背景画像 */
    background-repeat: no-repeat;   
    background-position: center center;
    height: 100vh;
}
.head h1 {
    height: 600px;
    line-height: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white-color);
    text-shadow: 1px 2px 3px var(--base-color); 
    margin: 0;
}
.navblock {
    background: var(--nav-color);
}
.button {
    border-radius: 30px;
    height: 50px;
    line-height: 48px;
    color: var(--white-color);
}
.button:hover {
    border: 1px solid var(--linkhover-color);
    color: var(--linkhover-color);
}

/* キャッチコピー
-------------------------------------*/
.catchback {
/*     background: url('../img/');背景画像 */
    background-size: contain;

}
.catch {
    background-color: var(--white-color);
    margin: 5rem auto;
    padding: 3rem ;
    max-width: 900px;
    border: 1px solid var(--base-color);
    line-height: 2.1;
}
.center {
	text-align: center;
	margin-bottom: 4rem;
}
/* ニュース
-------------------------------------*/
.back-color {
	background-color: var(--back-color);
}
.news {
    margin: 0 auto;
    max-width: 980px;
    padding: 2rem;
}
.news-list{
    list-style: none;
  }
.news-list .item, .item p {
    margin-bottom: 0;
  }
.news-list .item a{
    display: flex;
    flex-wrap: wrap;
    color: var(--base-color);
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem 0;
}
.news-list .item:first-child a{
    border-top: 1px solid var(--border-color);
}
.news-list .item .date{
    min-width: 120px;
    color: var(--link-color);
}
.news-list .item a:hover .title{
    color: var(--link-color);
}
/* メニュー
-------------------------------------*/
.menuback {
    background: url('../img/menuback.jpg');/* 背景画像 */
    background-repeat: no-repeat;
    padding: 15rem 0;
    margin-bottom: 3rem;
}
.menuback h2, .contactback h2 {
    text-shadow: 1px 2px 3px var(--white-color); 
}
/* マウスホバーで画像を拡大
-------------------------------------*/
.hoverbox{
    max-height: 500px;
    overflow: hidden;
}
.hoverbox-img{
    transition-duration: 0.3s;
}
.hoverbox-img:hover{
    transform: scale(1.3);
    transition-duration: 0.3s;
}
/* お問い合わせ
-------------------------------------*/
.contactback {
    background: url('../img/contactback.jpg');/* 背景画像 */
    background-repeat: no-repeat;
    background-position: center center;
    padding: 15rem 0;
}
/* Googleマップ
-------------------------------------*/
.gmap {
	margin: 3rem 0;
}
/*電話
-------------------------------------*/
a.tel {
    display: inline-block;
}
@media screen and (min-width: 768px){
a[href*="tel:"] { /* PC時は電話番号無効 */
    pointer-events: none;
    cursor: default;
}
}
/*お問い合わせ
-------------------------------------*/
h3.stripe {
	position: relative;
	padding: 0.3em;
}
h3.stripe:after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 3px;
	background: repeating-linear-gradient(-45deg, var(--link-color), var(--link-color) 2px, var(--back-color) 2px, var(--back-color) 5px);
}
.button,input[type="submit"] {
    color: var(--white-color);
    background-color: var(--link-color);
    border: 1px solid var(--link-color);
    margin: 1rem;
}
.button:hover,input[type="submit"]:hover {
    color: var(--white-color);
    background-color: var(--linkhover-color);
    border: 1px solid var(--linkhover-color);
}
.table {
	margin: 4rem 0;
}
.table th {
	width: 150px;
}
input[type="email"], input[type="number"], input[type="search"], input[type="text"], input[type="tel"], input[type="url"], input[type="password"], textarea, select {
    border-radius: 10px;
}
input[type="email"]:focus,input[type="number"]:focus,input[type="search"]:focus,
input[type="text"]:focus,input[type="tel"]:focus,
input[type="url"]:focus,input[type="password"]:focus,textarea:focus,
select:focus {
  border: 1px solid var(--link-color);
}
/* SNS
-------------------------------------*/
.snsicon {
    display: flex;
    flex-direction: row;
    justify-content: center;
}
.snsicon li {
    width: 60px;
    list-style-type: none;
    margin-top: 2rem;
    padding: 0 1rem;
}

/*フッター
-------------------------------------*/
footer {
    background-color: var(--white-color); 
    background: url('../img/footerback.png');/* 背景画像 */
    background-size: center;
}
/* フッターメニュー
-------------------------------------*/
.footermenu {
    display: flex;
    flex-direction: row;
    justify-content: center;
    list-style-type: none;
    margin-top: 2rem;
}
.footermenu li {
    margin-bottom: 0;
    padding: 1rem;
}
.footermenu a {
    color: var(--base-color);
}
/*コピーライト
-------------------------------------*/
.copyright {
    text-align: center;
    padding: 1rem 0;
}
.copyright a {
    color: var(--base-color);
    text-decoration: none;
}
/*ページトップへ戻るボタン
-------------------------------------*/
#pagetop {
    position: fixed;
    bottom: 25px;
    right: 25px;
    display: block;
    width: 40px;
    height: 40px;
    box-sizing: border-box;
    background: var(--link-color);
    border: 1px solid var(--link-color);
    border-radius: 50%;
    padding-top: 30px;
    text-align: center;
    text-decoration: none;
    opacity: 0.8;
}
#pagetop::after{
    content: "";
    display: block;
    border-top: 2px solid var(--white-color);
    border-right: 2px solid var(--white-color);
    width: 25%;
    height: 25%;
    top: 45%;
    left: 0;
    right: 0;
    margin: auto;
    position: absolute;
    transform: rotate(-45deg);
}
#pagetop:hover{
    opacity: 0.5;
}
/* 下層ページヘッダー
-------------------------------------*/
.subhead {
    height: 500px;
    background: url('../img/subpageback.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    margin-bottom: 2rem;
}
.subhead h1 {
    height: 500px;
    line-height: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white-color);
    text-shadow: 1px 2px 3px var(--base-color); 
    margin: 0;
}
/*パンくずリスト
-----------------------------------*/
.breadcrumb {
    margin: 0 0 1em 0;
    padding: 0;	
}
.breadcrumb li {
    list-style-type: none;
}
.breadcrumb li a {
    display: inline-block;
    color: var(--link-color);
}

/* 幅768px以下の表示
-------------------------------------*/
@media screen and (max-width: 768px){
h2 {
    font-size: 2.2rem;
    font-family: 'M PLUS 1p', sans-serif;
}
h3 {
    font-size: 2.2rem;
}
h2::before, h2::after {
    width:30px;
}
/* サイトタイトル
-------------------------------------*/
.head {
    height: 100%;
}
.head h1 {
    height: 500px;
}
/*キャッチコピー
-------------------------------------*/
.catch {
    margin: 3rem 2rem;
    max-width: 100%;
}
.catch h2 {
    margin-bottom: 1rem;
}
/*ニュース
-------------------------------------*/
.news-list .item .title{
    margin-top: 1em;
}
/*お問い合わせ
-------------------------------------*/
.table th {
	width: 100%;
	display: block;
}	
.table td {
	display: block;
}
/* フッターメニュー
-------------------------------------*/
.footermenu {
    flex-flow: row wrap;
}
.footermenu li {
    text-align: center;
}
}