@charset "UTF-8";
/* CSS Document */

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
outline: 0;
font-size: 100%;
vertical-align: baseline;
background: transparent;
}
a,a:active,a:visited{
text-decoration: none;
color: #000;
display: block;
}
hr {
height: 0;
margin: 0;
padding: 0;
border: 0;
}
*, *:before, *:after, *:hover {
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
table{
border-collapse: collapse;
}
html {
font-size: 62.5%;
scroll-behavior: smooth;
}
body{
font-size: 1.6rem;
font-family: "Zen Kaku Gothic New", sans-serif;
line-height: 180%;
font-weight: 500;
word-wrap: break-word;
background: #1d304b;
}
@media (max-width: 768px) {
body{font-size: 1.4rem;}
}
@media (min-width: 769px) {
a[href^="tel:"] {
    pointer-events: none;
    cursor: default;
}
}

/* ヘッダーのスタイル */
header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 5px 20px;
background-color: #fffeee;
border-bottom: 2px solid #000;
color: #000;
position: fixed; /* ヘッダーを固定位置に変更 */
top: 0; /* 初期位置は画面の上端 */
left: 0;
width: 100%;
transition: top 0.3s; /* スクロールに伴うスムーズな表示 */
z-index: 1001; /* メニューより前面に表示 */
}
/* スクロールして一定位置でヘッダーを上から表示 */
header.hidden {
top: -70px; /* ヘッダーの高さ分だけ上に隠す */
}
/* ヘッダーが表示された状態 */
header.visible {
top: 0; /* 上から表示 */
}
header::before {
content: '';
width: 100%;
height: calc(100% + 4px);
border-bottom: 4px solid #78c497;
position: absolute;
top: 2px;
left: 0;
}
.logo {
font-size: 24px;
font-weight: bold;
max-width: 380px;
}
.logo img{
width: 100%;
}
nav {
position: relative;
}
.menu {
display: flex;
list-style: none;
}
.menu li {
border-right: 1px solid #000;
}
.menu li:last-of-type{
border-right: none;
}
.menu li a {
text-decoration: none;
padding: 0px 20px;
display: block;
transition: 0.3s ease;
}
.menu li a:hover {
margin-top: -5px;
}
/* ハンバーガーメニューのスタイル */
.hamburger {
display: none;
flex-direction: column;
justify-content: space-between;
cursor: pointer;
position: relative;
z-index: 1002;
width: 25px;
height: 20px;
}
.hamburger span {
display: block;
width: 100%;
height: 3px;
background-color: #000;
transition: 0.3s;
position: absolute;
left: 0;
}
/* 各ラインの位置を調整 */
.hamburger span:nth-child(1) {
top: 0; /* 上部 */
}
.hamburger span:nth-child(2) {
top: 50%; /* 中央 */
transform: translateY(-50%); /* 真ん中に配置 */
}
.hamburger span:nth-child(3) {
bottom: 0; /* 下部 */
}
/* ハンバーガーメニューが開いた時の「×」表示 */
.hamburger.open span:nth-child(1) {
top: 50%; /* 中央に配置 */
transform: translateY(-50%) rotate(45deg); /* 真ん中に配置 */
}
.hamburger.open span:nth-child(2) {
opacity: 0; /* 中央のラインを非表示 */
}
.hamburger.open span:nth-child(3) {
bottom: 50%; /* 中央に配置 */
transform: translateY(50%) rotate(-45deg); /* 真ん中に配置 */
}
@media (max-width: 910px) {
header {padding: 5px 10px;}
.logo {max-width: 300px;}
.menu li a {padding: 0px 15px;}
}
@media (max-width: 768px) {
  .logo {max-width: 250px;}
  .menu {
  position: fixed;
  top: 0;
  right: 0; /* 右側からスライドイン */
  width: 80%;
  height: 100%;
  background-color: #fffeee;
  opacity: 0;
  transform: translateX(100%); /* 初期位置を画面外に設定 */
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 1001;
  display: flex;
  flex-direction: column; /* 縦並びに設定 */
  justify-content: center; /* 中央に配置 */
  }
  .menu.open {
  opacity: 1;
  transform: translateX(0); /* 開いた時に元の位置に移動 */
  }
  .menu li {
  text-align: center;
  margin: 10px 0; /* アイテム間の間隔を調整 */
  }
  .menu li a {
  padding: 15px;
  }
  .hamburger {
  display: flex;
  }
  /* 背景の透過（メニュー以外の部分） */
  .menu-bg {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  }
  .menu-bg.open {
  display: block;
  }
}

main{
padding-top: 80px;
}
.inner{
max-width: 1100px;
margin-left: auto;
margin-right: auto;
}
.inner img{
width: 100%;
}
@media (max-width: 1160px) {
.inner{padding: 0 30px;}
}
@media (max-width: 768px) {
.inner{padding: 0 10px;}
main{padding-top: 55px;}
}

footer{
background: #1d304b;
color: #fff;
position: relative;
padding: 15px 30px 15px;
}
footer a{
color: #fff;
}
footer h2{
font-family: "Zen Maru Gothic", serif;
font-weight: 700;
margin-bottom: 10px;
}
footer h2 img{
width: 30px;
display: inline-block;
margin-right: 1rem;
vertical-align: middle;
}
footer ul,
footer li{
list-style: none;
color: #fff;
}
footer .box01{
border-bottom: 1px solid #fff;
padding-bottom: 5px;
}
footer .box01 ul{
position: absolute;
top: 15px;
right: 30px;
}
footer .box01 li{
display: inline-block;
border-right: 1px solid #fff;
}
footer .box01 li:last-of-type{
border: none;
}
footer .box01 li a{
display:block;
padding: 3px 15px;
color: #fff;
}
footer .box02 ul{
text-align: center;
margin-top: 10px;
}
footer .box02 li{
display: inline-block;
margin: 5px 5px 0;
vertical-align: text-bottom;
}
footer .box02 li img{
height: 20px;
vertical-align: text-bottom;
}
footer .box02 li.logo img{
width: auto;
height: 30px;
}
footer .box02 li a{
color: #fff;
}
footer .box03 ul {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  margin: 0 auto;
  max-width: 100%;
justify-content: center;
}
footer .box03 li {
  flex: 0 1 calc(25% - 20px);
  padding: 10px 10px 0;
  text-align: center;
  max-width: 250px;
}
footer .box03 li img{
width: 100%;
}

@media (max-width: 1170px) {
footer h2{
margin-bottom: 5px;
}
footer .box01 ul{
position: relative;
top: 0;
right: 0;
text-align: right;
margin-bottom: 5px;
}
}
@media (max-width: 768px) {
footer{
padding: 15px 15px 15px;
}
footer .box01 ul{
text-align: center;
margin-bottom: 10px;
}
footer .box01 li{
display: inline-block;
border-right: none;
border-bottom: 2px dotted #fff!important;
margin: 0 3px;
}
footer .box01 li a{
padding: 3px 3px;
}
footer .box02 li:first-of-type{
display: block;
margin: 5px auto 0;
}
footer .box03 li {
flex: 0 1 calc(50% - 20px);
}
}



copy{
display: block;
text-align: center;
font-size: 1.4rem;
letter-spacing: 0.1rem;
}

@media (max-width: 768px) {
copy{
font-size: 1.2rem;
}



}











