/* ------------------------------
   RESET
------------------------------ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Noto Serif JP", "Hiragino Mincho ProN", "游明朝", serif;
  font-weight: 400;
  color: #222;
  line-height: 1.7;
  background: #fff;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
.btn,
.copy,
.tel {
  font-family: "Hiragino Sans", "Noto Sans JP", sans-serif;
}

/* ------------------------------
   HEADER
------------------------------ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  background: #fff; /* ←透かしを削除し、白ベースへ */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  z-index: 1000;
  border-bottom: 1px solid #eee;
}
.logo img {
  width: 75%;
}

/* ハンバーガーボタン */
.menu-btn {
  width: 48px;
  height: 48px;
  border: none;
  background: #003366; /* ネイビー */
  border-radius: 50%;
  position: relative;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px; /* ← 各線の間隔を追加 */
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.menu-btn span {
  display: block;
  height: 3px;
  width: 22px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* 開閉時アニメーション */
.menu-btn.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.menu-btn.active span:nth-child(2) {
  opacity: 0;
}
.menu-btn.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* スマホ対応 */
@media (max-width: 767px) {
  .menu-btn {
    width: 44px;
    height: 44px;
    gap: 5px;
  }
  .menu-btn span {
    width: 20px;
    height: 2.5px;
  }
}
/* ナビゲーション */
.nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 70%;
  height: 100vh;
  background: #333;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: right 0.4s ease;
  z-index: 999;
}
.nav.active {
  right: 0;
}
.nav ul {
  list-style: none;
  text-align: center;
}
.nav li {
  margin: 20px 0;
}
.nav a {
  color: #fff;
  font-size: 1.2rem;
  transition: 0.3s;
}
.nav a:hover {
  opacity: 0.7;
}

/* ------------------------------
   HERO
------------------------------ */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}
.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 1200px; 
  text-align: center;
  color: #fff;
  z-index: 10;
  line-height: 1.6;
  word-break: keep-all;
  white-space: normal;
}
.hero .hero-text {
  /* フォント読み込みが完了していない場合のフォールバック順も指定 */
  font-family: "Noto Serif JP", "Source Han Serif JP", "源ノ明朝", serif;
  font-weight: 500; /* Medium 相当（本文） */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.hero .hero-text h1,
.hero .hero-text p {
  text-shadow:
    0 2px 6px rgba(0, 0, 0, 0.6),
    0 4px 12px rgba(0, 0, 0, 0.4),
    0 0 2px rgba(0, 0, 0, 0.3);
}

.hero-text h1 {
  font-size: 40pt;
  font-weight: 600; /* SemiBold */
  margin-bottom: 0.5em;
}
.hero-text p {
  font-size: 18pt;
  font-weight: 500;
}

/* ------------------------------
   SECTIONS 共通
------------------------------ */
.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 100px 20px;
}
.section h2 {
  font-size: 1.3rem;
  margin-bottom: 1.5em;
  letter-spacing: 1px;
}

/* ==========================
   LAYOUT（上詰め配置）
========================== */

.about-content,
.company-content,
.area-content,
.case-list {
  display: flex;              /* 念のため明示 */
  align-items: flex-start !important; /* ← 優先度を強制 */
  justify-content: space-between;
  gap: 40px;
}

/* 各テキストブロックの段落余白を強化 */
.about-text p,
.company-text p,
.area-text p {
  margin-bottom: 1em;
}

/* 画像を自然な縦比率で揃える */
.about-img img,
.company-content img,
.area-img img {
  object-fit: cover;
  display: block;
  border-radius: 4px;
}

/* ------------------------------
   ABOUT
------------------------------ */
.about-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.about-text {
  flex: 1;
  font-size: 1rem;
}
.about-img {
  flex: 1;
}

/* ------------------------------
   MESSAGE STRIP
------------------------------ */
.message-strip {
  position: relative;
  width: 100%;
  height: 380px;
  background: url("../img/wooddeck.jpg") center/cover no-repeat;
  display: flex;
  justify-content: flex-end;
  overflow: visible;
}

/* テキスト全体を右上寄せ＆上にはみ出す */
.message-inner {
  position: relative;
  display: flex;
  flex-direction: row-reverse; /* ← 右から左に読む */
  align-items: flex-end;
  justify-content: flex-end;
  gap: 40px;
  margin-top: -40px; /* ← エリア上に少しはみ出す */
  margin-right: 5%;  /* ← 右端に余裕を持たせる */
}

.vtext {
  writing-mode: vertical-rl;
  text-orientation: upright;
  color: #fff;
  font-family: "Noto Serif JP", "Source Han Serif JP", "源ノ明朝", serif;
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 2px;
  line-height: 1.8;
  padding: 1rem 0.5rem;
  background: #064f37;
  border-radius: 6px;
}

/* 段差（右→左へ下がる） */
.vtext-right { margin-bottom: 246px; }
.vtext-center { margin-bottom: 165px; }
.vtext-left { margin-bottom: 100px; }
@media (max-width: 768px) {
.vtext-right { margin-bottom: 185px; }
.vtext-center { margin-bottom: 120px; }
.vtext-left { margin-bottom: 85px; }

}
/* ------------------------------
   RESPONSIVE
------------------------------ */
@media (max-width: 768px) {
  .message-strip {
    height: 280px;
  }
  .message-inner {
    gap: 20px;
    margin-top: -20px;
    margin-right: 4%;
  }
  .vtext {
    font-size: 1rem;
    padding: 0.6rem 0.3rem;
  }
}
}
/* ------------------------------
   COMPANY INFO
------------------------------ */
.company-content {
  display: flex;
  gap: 40px;
  align-items: center;
}
.ceo-img {
  flex: 1;
}
.ceo-img img {
  border-radius: 6px;
}
.company-text {
  flex: 1;
}
.company-text h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5em;
}

/* ------------------------------
   AREA
------------------------------ */
.area-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.area-text {
  flex: 1;
}
.area-img {
  flex: 1;
}
.btn {
  display: inline-block;
  background: #00a3d2;
  color: #fff;
  padding: 10px 30px;
  border-radius: 30px;
  margin: 20px 0;
  transition: 0.3s;
}
.btn:hover {
  background: #007fa7;
}

/* ------------------------------
   CASE
------------------------------ */
.case-list {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.case-item {
  flex: 1;
  text-align: center;
}
.case-item p {
  margin-top: 0.5em;
  font-weight: bold;
}

/* ------------------------------
   CONTACT
------------------------------ */
.contact {
  background: #00a3d2;
  color: #fff;
  text-align: center;
  padding: 80px 20px;
}
.contact a {
  text-decoration: underline;
}
.tel {
  font-size: 1.4rem;
  margin-top: 10px;
}

/* ------------------------------
   FOOTER
------------------------------ */
.footer {
  position: relative;
  text-align: center;
  color: #fff;
}
.footer-img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.footer-logo {
  position: absolute;
  top: 50%;
  left: 60%;
  transform: translate(-50%, -50%);
}
.footer .footer-logo img{
width:40%;
}



/* スマホ対応 */
@media (max-width: 767px) {
	.footer-logo {
	  position: absolute;
	  top: 36%;
	  left: 60%;
	  transform: translate(-50%, -50%);
	}
	.footer .footer-logo img{
	width:40%;
	}
}


.copy {
  font-size: 0.8rem;
  margin: 10px 0;
  color: #888;
}
.sns a {
  display: inline-block;
  color: #ff33aa;
  font-weight: bold;
  margin-bottom: 20px;
}



/* ------------------------------
   RESPONSIVE
------------------------------ */
@media (max-width: 767px) {
  .section {
    padding: 80px 20px;
  }
  .about-content,
  .company-content,
  .area-content,
  .case-list {
    flex-direction: column;
  }
  .hero-text h1 {
    font-size: 1.5rem;
  }
  .hero-text p {
    font-size: 0.9rem;
  }
  .company-content {
    text-align: center;
  }
  .case-item {
    width: 100%;
  }
  .case-list {
    gap: 40px;
  }
  .nav {
    width: 100%;
  }
}
