@charset "utf-8";


/* ====================================================
   Base
==================================================== */

/* Font */

:root{

  --font-body: "Zen Old Mincho", sans-serif;

}

h1,
h2,
h3,
h4,
.title{
  font-family: var(--font-title);
  font-weight:900;
}

body{
  font-family: var(--font-body);
  font-weight:500;
  line-height:1.9;
}

strong{
  font-weight:900;
}

/* ====================================================
   Link
==================================================== */
.linkBtn a{
  display: inline-block;
  transition: .3s;
}

.pageBtn a{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  border: 2px solid #000;
  box-sizing: border-box;
  text-decoration: none;
  color: #000;
}

.pageBtn a::after {
  content: "";
  width: 0;
  height: 0;
  margin-left: 15px;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 8px solid #000;
}

.pageBtn a:hover{
  opacity: 0.5;
}





/* ==============================================================================
   SP（ベース）
============================================================================== */
main{
  
}

/* ====================================================
   header
==================================================== */
#header{
  width:95%;
  margin: 0 auto;
  display:flex;
  justify-content:space-between;
  box-sizing:border-box;
  align-items: center;
  padding: 20px 0;
}

.headerLogo{
  display: flex;
  align-items: center;
}

#header h1{
  width:180px;
}

.headerLogo p{
  width: 40px;
  margin: 0 0 0 20px;
}


#headerInner{
  display:flex;
  align-items:center;
}

.pcNav{
  display: none;
}

/* ハンバーガー（70×22の枠） */
.hamburger {
  position: relative;
  width: 50px;
  height: 22px;
  cursor: pointer;
  z-index: 10001;
}

/* 共通ライン */
.hamburger span {
  position: absolute;
  width: 50px; 
  height: 2px;
  background: #000;
  transition: transform 0.3s ease, opacity 0.3s ease, top 0.3s ease, bottom 0.3s ease;
}

/* 3本線の位置 */
.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: rotate(27deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  top: 50%;
  bottom: auto;
  transform: rotate(-27deg);
}

/* フルスクリーンオーバーレイ */
.nav-overlay {
  position:fixed;
  inset:0;

  background:#fff7f0;

  opacity:0;
  visibility:hidden;

  transition:
    opacity .5s ease,
    visibility .5s ease;

  display:flex;
  justify-content:center;
  align-items:center;
  z-index: 9999;
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

.overlay-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  text-align: center;
}

.overlay-logo {
  width:65%;
}

.nav-links {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

ul.nav-links li{
  
  font-family:var(--font-title);
  font-weight:700;
}

ul.nav-links li a{
  font-size:1.6rem;
  color:#000;
}

ul.nav-links li a:hover{
  opacity:.5;
}


#btnContact{
  font-size:1.6rem;
  font-family:var(--font-title);
  font-weight:700;
}

#btnContact a{
  padding:8px 25px;
  background:#b90000;
  color:#fff;
}



/* ====================================================
   footer
==================================================== */
#footer{
  margin-top: 100px;
  padding: 60px 0;
  width: 100%;
  background: #fff;
}

.footerInner{
  width:90%;
  margin: 0 auto;
}

/* -----------------------
   ロゴ・住所等
----------------------- */
.footerInfo{
  margin-bottom: 20px;
}

.footerInfo h2{
  width: 180px;
  margin: 0 auto 20px;
}

.footerInfo p{
  font-size: 1.5rem;
  text-align: center;
  }

/* -----------------------
   フッターメニュー
----------------------- */

.footerMenu{
  margin-bottom: 30px;
}

.footerMenu ul{
  border-top: 1px solid #ccc;
  font-size: 1.5rem;
  margin-bottom: 25px;
}

.footerMenu ul li{
  text-align: center;
  border-bottom: 1px solid #ccc;
  padding: 15px 0;
}

.footerMenu p{
  font-size: 1.8rem;
  width: 100%;
}

.footerMenu p a{
  padding: 10px 0;
  background: #ac0000;
  color: #fff;
  width: 100%;
  display: block;
  text-align: center;
}

.footerMenu a:hover{
  opacity: 0.5;
}

.footerRight .copy{
  font-size: 1.2rem;
  text-align: center;
}

/* ==============================================================================
   Tablet（768px〜）
============================================================================== */
@media screen and (min-width:768px){

.overlay-content{
  min-height: 100vh;
  justify-content: center;
}

.overlay-logo {
  width:30%;
}

/* ====================================================
   header
==================================================== */

#header{
  padding:25px 0;
  height: auto;
}

#header h1{
  width:245px;
}

.headerLogo p{
  width: 45px;
}

.hamburger {
  display: block;
}

.nav-overlay{
  display: block;
}

.pcNav{
  display: none;
}

/* ====================================================
   footer
==================================================== */
#footer{
  margin-top: 120px;
  padding: 50px 0;
}

.footerInner{
  width: 90%;
  margin: 0 auto;
}

/* -----------------------
   ロゴ・住所等
----------------------- */
.footerInfo{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;

  width: 100%;
  margin: 0 0 30px;
}

.footerInfo h2{
  width: 300px;
  margin: 0;
}

.footerInfo p{
  text-align: left;
  }

/* -----------------------
   フッターメニュー
----------------------- */
.footerRight{
  
}

.footerMenu{
  display: flex;
  align-items: center;
  justify-content: center;
}

.footerMenu ul{
  display: flex;
  border-top: none;
  font-size: 1.8rem;
  margin-bottom: 0;
}

.footerMenu ul li{
  margin-right: 30px;
  padding: 0;
  text-align: left;
  border-bottom: none;
}

.footerMenu p{
  font-size: 1.8rem;
  width: auto;
}

.footerMenu p a{
  padding: 5px 20px;
  background: #ac0000;
  color: #fff;
  box-sizing: border-box;
}

.footerMenu a:hover{
  opacity: 0.5;
}

.footerRight .copy{
  font-size: 1.6rem;
  text-align: center;
}


}

/* ==============================================================================
   PC（1200px〜）
============================================================================== */
@media screen and (min-width:1200px){

#logo{
  max-width:50vw;
}

/* ====================================================
   header
==================================================== */

.hamburger {
  display: none;
}

.nav-overlay{
  display: none;
}

.pcNav{
  display: block;
}

.pcNavInner{
  display: flex;
  align-items: center;
}

.pcNavInner ul{
  display:flex;
  flex-direction: row;
  gap: 0;
}

.pcNavInner ul li{
  font-size:1.4rem;
  margin-right:20px;
  font-family:var(--font-title);
  font-weight:700;
}

.pcNavInner ul li a{
  color:#000;
  transition:.3s;
}

.pcNavInner ul li a:hover{
  opacity:.5;
}

.pcNavInner #btnContact{
  font-size:1.4rem;
  font-family:var(--font-title);
  font-weight:900;
}

.pcNavInner #btnContact a{
  padding:5px 20px;
  background:#ac0000;
  color:#fff;
}

/* ====================================================
   footer
==================================================== */
#footer{
  margin-top: 180px;
  padding: 60px 0;
}

.footerInner{
  display: flex;
  justify-content: space-between;
  align-items: end;
}


/* -----------------------
   ロゴ・住所等
----------------------- */
.footerInfo{
  display: block;
  align-items: normal;
  margin: 0;
  width: auto;
}

.footerInfo h2{
  margin-bottom: 10px;
}

/* -----------------------
   フッターメニュー
----------------------- */
.footerRight{
  
}

.footerMenu{
  margin-bottom: 30px;
}

.footerMenu ul{
  flex-direction: row;
  gap: 0;
}

.footerRight .copy{
  text-align: right;
}



}