 @charset "utf-8";
/* CSS Document */
*::selection {background: var(--green); color: #fff;}
*::-moz-selection {background: var(--green); color: #fff;}

:root {
    --main:#000;
	--red:#BD2800;
	--green:#005b41;
	--gold:#d4af37;
    --gray:#666;
    --gray2:#B1B1B1;
    --gray3:#efefef;
    --white:#fff;
    --font-en: Helvetica , Arial , sans-serif;
    --border: solid 1px var(--main);
    --border2: solid 1px var(--gray2);
    --pdg: 1rem;
    --radius: 3rem;
    --shadow: 0px 0px 15px -5px rgba(0, 0, 0, .4);
}
/* reset:
--------------------------------------------*/

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	-webkit-text-size-adjust: none;
}

ul li {list-style: none;}
em,address {font-style: normal;}


a {
  color: var(--main);
  text-decoration: underline;
}

a:hover,
a:hover:after {
	text-decoration: none;
	transition: 0.3s;	
}

img{vertical-align:middle;}

/* Basic
--------------------------------------------*/

html {
	scroll-behavior: smooth;
	font-size: 18px;
	box-sizing: border-box;
}
html, body {
  height: 100%;
  margin: 0;
}
body {
	font-family: "Noto Serif JP", serif;
	font-size: 1rem;
	font-weight: 400;
	line-height: 2em;
	position: relative;
	top: 0!important;
    color: var(--main);
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}
main {
  flex: 1;
}
/* contents
--------------------------------------------*/
.outline {
    margin: 0 auto;
    position: relative;
    padding: 0 1rem;
    max-width: 1280px;
}

.outline2 {
    margin: 0 auto;
    position: relative;
    padding: 0 1rem;
    max-width: 1024px;
}

/* header
--------------------------------------------*/

header{
	text-align: center;
	background: #fff; 
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
	position: relative;
	z-index: 10;
}
header #logo{
	padding: 1rem 0;
}
header #logo img{
	max-width:200px; 
}
header ul{
	display: flex;
	justify-content: space-around;
	gap:1rem;
/*	border-bottom: solid 1px #ccc;*/
}
header ul li a{
	display: block;
	padding: 0.5rem 1rem;
	text-decoration: none;
}


/* ハンバーガーボタンの基本スタイル */
/* --- ボタンスタイル --- */
.nav-toggle {
	position: absolute;
	right: 1rem;
	top: 1rem;
	width: 32px;
	height: 24px;
	border: none;
	background: none;
	cursor: pointer;
	padding: 0;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.nav-toggle span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--main);
  transition: 0.3s ease;
}

/* --- メニューが開いたとき（is-open） --- */
.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

/* --- ナビメニュー --- */
.glnav {
  position: absolute;
  top: 60px;
  right: 1rem;
  background: #fff;
  border: 1px solid #ddd;
  padding: 0.5rem 1rem;
  display: none;
	z-index: 99;
}

.glnav.is-open {
  display: block;
}

.glnav.is-open ul{
	display: block;
}

@media screen and (min-width: 960px){

  .nav-toggle {
    display: none;
  }
  .glnav {
    position: static;
    display: block;
    border: none;
    padding: 0;
  }

}

/* トップページ
--------------------------------------------*/
/* mainvisual　*/
#mainvisual img{
	width: auto;
	max-width: 100%;
}
#mainvisual img.pc{display: block;}
#mainvisual img.sp{display: none;}

/* about*/
#about{
	padding: 4rem 0;
}

#about h2{
	color: var(--main);
	font-size: 1.6rem;
	text-align: center;
	line-height: 2.4rem;
	font-weight: 700;
	margin-bottom: 2rem;
}
#about p{
	font-size: 1.2rem;
	line-height: 2.2rem;
}

/* footer
--------------------------------------------*/
footer{
	position: relative;
	background: var(--gray3) url("../img/footer_line.gif") no-repeat 0 0;
	background-size:contain;
	padding: 3rem 0;
	margin-top: 3rem;
	text-align: center;
}
footer #logo{
	margin: 0 0 1rem 0;
}
footer #logo img{
	max-width:200px; 
}
.lnk a{
	display: inline-block;
	border: 5px solid;
	border-image: linear-gradient(90deg, #005b41, #d4af37, #c00007) 1;
	padding: 1rem 3rem;
	text-decoration: none;
	background: #fff;
}

.lnk a:hover{
	background: var(--gray3);
}

/* grid
--------------------------------------------*/
.grid{
	display: grid;
	grid-gap: 2rem;
}

.grid.clm2{grid-template-columns: repeat(2,1fr);}
.grid.clm3{grid-template-columns: repeat(3,1fr);}

.grid.clm1_2{grid-template-columns: 1fr 2fr;}
.grid.clm1_3{grid-template-columns: 1fr 3fr;}
.grid.clm1_4{grid-template-columns: 1fr 4fr;}
.grid.clm2_1{grid-template-columns: 2fr 1fr;}
.grid.clm3_1{grid-template-columns: 3fr 1fr;}
.grid.clm4_1{grid-template-columns: 4fr 1fr;}

.flex_img{
    width: auto;
    max-width: 100%;
}
.mgb2{margin-bottom: 2rem;}
.w70_sp100{width: 70%;}

@media screen and (max-width: 959px){

	#mainvisual img.pc{display: none;}
	#mainvisual img.sp{display: block;}

	#about p {
		font-size: 1rem;
		line-height: 2rem;
	}

	.grid {
		grid-gap: 1rem;
	}
	.grid.off{
		grid-template-columns: 1fr;
	}
	.w70_sp100{width: 100%;}
	
}