/* ==========================
common
========================== */
body * {
  line-height: 1.7;
  letter-spacing: 3px;
  font-family: "fot-tsukubrdgothic-std", sans-serif;
  font-weight: 700;
  font-style: normal;
  color: #333;
}
body p {
  line-height: 2;
  font-size: clamp(0.875rem, 0.8295rem + 0.2273vw, 1rem);
}
a {
  text-decoration: none;
  position: relative;
}
img {
  width: 100%;
  max-width: 100%;
}
/* fonts */
h1 {
  font-size: clamp(1rem, 0.8182rem + 0.9091vw, 1.5rem);
  font-weight: bold;
  padding-left: 24px;
}
h2 {
  font-size: clamp(1.5rem, 1.3182rem + 0.9091vw, 2rem);
  margin-bottom: 16px;
  letter-spacing: 4px;
  font-weight: bold;
}
h3 {
  font-size: clamp(1.125rem, 0.9886rem + 0.6818vw, 1.5rem);
  margin-bottom: 16px;
  font-weight: bold;
}
.txt_center {
  text-align: center;
}
.align_center {
  justify-content: center;
}
/* title */
.title {
  margin-bottom: 32px;
}
.title span {
  color: #99dd55;
}
@media (max-width: 767px) {
h1 {
  padding-left: 8px;
}
}
/* ==========================
layout
========================== */
body * [class*="grid"] {
  display: grid;
}
body * [class*="flex"] {
  display: flex;
  align-items: center;
}
.content {
  padding: 80px 0 0;
}
.wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}
.inner {
  padding: 0 40px;
}
.section {
  margin-bottom: 80px;
}
@media (max-width: 767px) {
.content {
  padding: 40px 0 0;
}
.inner {
  padding: 0 16px;
}
}
/* ==========================
header
========================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.6);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  z-index: 999;
}
.header .grid {
  grid-template-columns: 420px 1fr;
  height: 80px;
  position: relative;
}
.header .wrap {
  align-items: center;
}
.header img {
  height: 60px;
  width: auto;
}
header ul {
  height: 100%;
  justify-content: end;
}
.header li:not(:last-child) {
  padding-right: 1.5rem;
}
header li a {
  padding-bottom: 8px;
}
header li a::after {
  position: absolute;
  left: 0;
  content: '';
  width: 100%;
  height: 2px;
  background: #000000;
  bottom: -1px;               /*アンダーラインがaタグの下端から現れる*/
  transform: scale(0, 1);     /*アンダーラインの縮尺比率。ホバー前はx方向に0*/
  transform-origin: left top; /*変形（アンダーラインの伸長）の原点がaタグ（各メニュー）の左端*/
  transition: transform 0.3s; /*変形の時間*/
}
  
header li a:hover::after {
  transform: scale(1, 1);     /*ホバー後、x軸方向に1（相対値）伸長*/
}
.hero {
  height: 60vh;
  background: url(../img/top.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
.hero h2 {
  font-size: clamp(1.5rem, 0.8182rem + 2.9091vw, 3rem);
  font-weight: bold;
  position: relative;
  top: calc(40vh / 2 + 40px);
  max-width: 1120px;
  margin: 0 auto;
  letter-spacing: 4px;
  color: #fff;
  text-shadow: 0px 0px 10px rgb(88 88 88);
}
@media (max-width: 767px) {
.hero {
  height: 50vh;
}
.header .grid {
  grid-template-columns: calc(100% - 45px) 1fr;
  height: 80px;
}
.header img {
  height: 40px;
}
}
/* ==========================
footer
========================== */
.contact {
  padding: 40px 0 0;
}
footer iframe {
  vertical-align: bottom;
}
.copy {
  padding: 40px 16px 16px;
  font-size: 14px;
}


.btn a {
  display: block;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  width: 240px;
  margin: auto;
  padding: 16px;
  font-weight: bold;
  background-image: linear-gradient(to right, #27acd9 0%, #b4e12b 100%);
  border-radius: 100vh;
  color: #fff;
  border: 2px solid #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, .2);
  -webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, .2);
  transition: 0.5s;
}
.btn a:hover {
	color: #fff;
	background-image: linear-gradient(to left, #27acd9 0%, #b4e12b 100%);
}


button.hamburger {
  display: none;
}
/* 767px以下の画面幅でのレスポンシブ対応 */
@media (max-width: 767px) {
  button.hamburger {
    display: block;
}
/* ハンバーガーメニューアイコンのスタイル */
.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  z-index: 999;
}
.nav-menu {
    top: 80px;
    right: calc(-100% - 48px);
    padding: 24px;
}
.hamburger .bar {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #333;
  margin: 5px auto;
  transition: all 0.3s ease-in-out;
}



.nav-menu.active {
  right: 0; /* メニューを表示する */
}

.nav-menu ul {
  display: block;
}

.nav-menu ul li {
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #ccc;
}
  
  .hamburger {
    display: block; /* メニューアイコンを表示 */
  }
  
/* メニューのリストのスタイル */
.nav-menu {
  position: fixed;
  top: 80px;
  right: calc(-100% - 48px);
  width: calc(100% - 48px);
  height: 100vh;
  padding: 24px;
  background-color: #f9f9f9;
  z-index: 999;
  transition: right 0.3s ease-in-out; /* 右からのスライドアニメーション */
}
}
