@charset "UTF-8";

/* =========================================
   変数定義 (Variables)
========================================= */
:root {
  --color-main: #182646;
  /* 鉄紺：深い青 */
  --color-main-light: #2a3d66;
  --color-accent: #C5A059;
  /* 黄金：稲穂の色 */
  --color-text: #333333;
  --color-bg: #F9F9F9;
  --color-white: #ffffff;
  --color-holiday: #ff7e79;
  /* 休日（赤） */
  --color-saturday: #79caff;
  /* 土曜（青） */
  --font-base: "Shippori Mincho", "Yu Mincho", serif;
  --transition-speed: 0.3s;
}

/* =========================================
   基本リセット & 共通設定
========================================= */
body {
  font-family: var(--font-base);
  color: var(--color-text);
  background-color: var(--color-bg);
  margin: 0;
  padding: 0;
  line-height: 1.8;
  letter-spacing: 0.05em;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: opacity var(--transition-speed);
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

/* アニメーション用クラス */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s cubic-bezier(0.2, 1, 0.3, 1), transform 1s cubic-bezier(0.2, 1, 0.3, 1);
}

.fade-in-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================
   ヘッダー (Header)
========================================= */
.header {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(5px);
  height: 80px;
  width: 100%;
  position: fixed;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 4%;
  max-width: 1400px;
  margin: 0 auto;
}

/* ロゴ (画像用スタイル) */
.logo {
  display: flex;
  align-items: center;
  /* テキスト用の古いスタイルは削除 */
}

.logo img {
  height: 50px;
  /* ヘッダー高さに合わせて調整 */
  width: auto;
  display: block;
}

/* ナビゲーション */
.nav-menu {
  display: flex;
  gap: 30px;
  font-size: 15px;
  font-weight: 500;
}

.nav-menu a {
  position: relative;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-accent);
  transition: width 0.3s;
}

.nav-menu a:hover::after {
  width: 100%;
}

/* アクションボタン（共通スタイル） */
.header-actions {
  display: flex;
  gap: 15px;
  align-items: center;
}

.btn-common {
  padding: 12px 24px;
  border-radius: 2px;
  font-size: 14px;
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s;
  font-weight: 500;
}

.btn-contact {
  background-color: var(--color-main);
  color: var(--color-white);
  border: 1px solid var(--color-main);
}

.btn-contact:hover {
  background-color: var(--color-white);
  color: var(--color-main);
}

.btn-order {
  background-color: var(--color-accent);
  color: var(--color-white);
  border: 1px solid var(--color-accent);
}

.btn-order:hover {
  background-color: var(--color-white);
  color: var(--color-accent);
}

/* =========================================
   メインビジュアル (Hero)
========================================= */
.hero {
  margin-top: 80px;
  height: calc(100vh - 80px);
  min-height: 600px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 12%;
}

.hero-slider,
.hero-slide,
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-slider {
  z-index: -1;
}

.hero-slide {
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 2s ease-in-out, transform 8s linear;
  transform: scale(1);
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1.1);
}

.hero-overlay {
  background: linear-gradient(to right, rgba(24, 38, 70, 0.2), rgba(24, 38, 70, 0.6));
  z-index: 0;
}

/* キャッチコピー */
.hero-content {
  z-index: 10;
  display: flex;
  flex-direction: row-reverse;
  height: 60%;
}

.hero-copy {
  writing-mode: vertical-rl;
  color: var(--color-white);
  font-size: 3.8rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  border-right: 2px solid var(--color-accent);
  padding-right: 40px;
  margin-left: 30px;
  animation: textFadeIn 1.5s ease-out forwards;
}

.hero-sub {
  writing-mode: vertical-rl;
  color: var(--color-white);
  font-size: 1.2rem;
  opacity: 0;
  animation: textFadeIn 1.5s ease-out 0.8s forwards;
}

@keyframes textFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* スクロールダウン */
.scroll-down {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--color-white);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  animation: bounce 2s infinite;
}

.scroll-down::after {
  content: '';
  display: block;
  width: 1px;
  height: 40px;
  background: var(--color-white);
  margin: 10px auto 0;
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0) translateX(-50%);
  }

  40% {
    transform: translateY(-10px) translateX(-50%);
  }

  60% {
    transform: translateY(-5px) translateX(-50%);
  }
}

/* =========================================
   3つの入り口 (Zoning)
========================================= */
.entrances {
  max-width: 1200px;
  margin: -60px auto 0;
  padding: 0 20px;
  position: relative;
  z-index: 20;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.entrance-card {
  background: var(--color-white);
  padding: 50px 30px;
  text-align: center;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  border-top: 4px solid var(--color-main);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
}

.entrance-card:hover {
  transform: translateY(-10px);
}

.card-icon {
  width: 90px;
  height: 90px;
  background-color: #f4f7fa;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  color: var(--color-main);
  font-size: 36px;
  transition: background-color 0.3s, color 0.3s;
}

.entrance-card:hover .card-icon {
  background-color: var(--color-main);
  color: var(--color-accent);
}

.card-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--color-main);
  font-weight: 700;
}

.card-desc {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 25px;
  text-align: left;
  line-height: 1.8;
}

.btn-arrow {
  color: var(--color-accent);
  font-weight: bold;
  font-size: 0.95rem;
  display: inline-block;
}

.btn-arrow::after {
  content: '→';
  margin-left: 5px;
  transition: margin-left 0.3s;
}

.entrance-card:hover .btn-arrow::after {
  margin-left: 10px;
}

/* =========================================
   私たちの想い (About)
========================================= */
.section-about {
  padding: 120px 20px;
  text-align: center;
  background-image: radial-gradient(#e0e0e0 1px, transparent 1px);
  background-size: 20px 20px;
}

.section-title {
  font-size: 2.2rem;
  color: var(--color-main);
  margin-bottom: 40px;
  display: inline-block;
  position: relative;
  padding-bottom: 15px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--color-accent);
}

.about-text {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.15rem;
  line-height: 2.4;
}

.about-text strong {
  color: var(--color-main);
  border-bottom: 1px solid var(--color-accent);
}

/* =========================================
   サービス・商品 (Service)
========================================= */
.section-service {
  padding: 100px 20px;
  background-color: var(--color-white);
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.service-block {
  margin-bottom: 100px;
}

.block-header {
  display: flex;
  align-items: baseline;
  gap: 20px;
  margin-bottom: 40px;
  border-left: 6px solid var(--color-main);
  padding-left: 20px;
}

.block-title {
  font-size: 2rem;
  color: var(--color-main);
  margin: 0;
}

.block-sub {
  font-size: 1rem;
  color: var(--color-accent);
  font-family: sans-serif;
  letter-spacing: 0.1em;
}

/* 商品グリッド */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 40px;
}

.product-item {
  text-align: center;
  transition: transform 0.3s;
}

.product-item:hover {
  transform: translateY(-5px);
}

.product-img-box {
  width: 100%;
  height: 200px;
  background-color: #f0f0f0;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 4px;
}

.product-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.product-item:hover .product-img-box img {
  transform: scale(1.05);
}

.product-name {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--color-main);
  margin-bottom: 8px;
  display: block;
}

.product-link {
  font-size: 0.9rem;
  color: var(--color-accent);
  border-bottom: 1px solid var(--color-accent);
}

/* BtoBリスト */
.biz-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.biz-item {
  background-color: #f8f9fa;
  padding: 30px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  border-left: 4px solid var(--color-accent);
  transition: box-shadow 0.3s;
}

.biz-item:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.icon-gold {
  color: var(--color-accent);
}

.icon-navy {
  color: var(--color-main);
}

.biz-text h4 {
  margin: 0 0 10px 0;
  font-size: 1.2rem;
  color: var(--color-main);
}

.biz-text p {
  margin: 0;
  font-size: 0.9rem;
  color: #666;
  line-height: 1.6;
}

/* =========================================
   フッター (Footer)
========================================= */
.footer {
  background-color: var(--color-main);
  color: var(--color-white);
  padding: 80px 20px 20px;
}

.footer-content {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-info h3 {
  font-size: 1.4rem;
  margin-bottom: 25px;
  letter-spacing: 0.1em;
}

.contact-tel {
  font-size: 2.4rem;
  font-weight: bold;
  font-family: sans-serif;
  letter-spacing: 0.05em;
  color: var(--color-accent);
}

.contact-fax {
  font-size: 1.1rem;
  opacity: 0.8;
  margin-top: 5px;
}

.social-links {
  margin-top: 20px;
}

.social-links a {
  color: #fff;
  margin-right: 15px;
}

.footer-links {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

.footer-links ul {
  flex: 1;
}

.footer-links ul li {
  margin-bottom: 12px;
}

.footer-links ul li a {
  position: relative;
  padding-left: 15px;
}

.footer-links ul li a::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--color-accent);
}

/* カレンダー関連スタイル */
.calendar-wrapper {
  flex: 1;
  max-width: 300px;
  background: rgba(255, 255, 255, 0.05);
  padding: 15px;
  border-radius: 4px;
}

.calendar-header-text {
  font-size: 0.95rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--color-accent);
}

.calendar-widget {
  background: #fff;
  color: #333;
  padding: 10px;
  border-radius: 4px;
  font-family: sans-serif;
  font-size: 0.85rem;
}

.cal-table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
}

.cal-caption {
  font-weight: bold;
  padding: 5px;
  color: var(--color-main);
  font-size: 1rem;
}

.cal-th {
  color: #666;
  font-size: 0.75rem;
  padding: 5px 0;
  border-bottom: 1px solid #eee;
}

.cal-td {
  padding: 6px 0;
}

.day-holiday {
  color: var(--color-holiday);
  font-weight: bold;
}

.day-saturday {
  color: var(--color-saturday);
}

.day-today {
  background-color: var(--color-accent);
  color: #fff;
  border-radius: 50%;
  display: inline-block;
  width: 24px;
  line-height: 24px;
}

.day-empty {
  background: none;
}

.calendar-note {
  font-size: 0.75rem;
  margin-top: 8px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  opacity: 0.9;
}

.note-holiday {
  color: var(--color-holiday);
}

.note-saturday {
  color: var(--color-saturday);
}

.copyright {
  text-align: center;
  font-size: 0.8rem;
  opacity: 0.6;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
}

/* =========================================
   レスポンシブ / スマホ対応 (Mobile)
========================================= */
/* ハンバーガーメニュー */
.hamburger {
  display: none;
  cursor: pointer;
  z-index: 1100;
}

.drawer-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  height: 100vh;
  background-color: var(--color-main);
  z-index: 1050;
  transition: right 0.4s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.drawer-menu nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  padding: 40px;
}

.drawer-menu a {
  color: #fff;
  font-size: 1.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 10px;
}

.drawer-menu.is-active {
  right: 0;
}

@media (max-width: 768px) {
  .header-inner {
    padding: 0 15px;
  }

  .nav-menu,
  .header-actions {
    display: none;
  }

  .hamburger {
    display: block;
    width: 30px;
    height: 20px;
    position: relative;
  }

  .hamburger span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: var(--color-main);
    border-radius: 2px;
    transition: .3s;
  }

  .hamburger span:nth-child(1) {
    top: 0;
  }

  .hamburger span:nth-child(2) {
    top: 9px;
  }

  .hamburger span:nth-child(3) {
    top: 18px;
  }

  .hamburger.is-active span {
    background: #fff;
  }

  .hamburger.is-active span:nth-child(1) {
    top: 9px;
    transform: rotate(45deg);
  }

  .hamburger.is-active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.is-active span:nth-child(3) {
    top: 9px;
    transform: rotate(-45deg);
  }

  .hero {
    padding-right: 0;
    justify-content: center;
    height: 80vh;
  }

  .hero-content {
    height: 40%;
    flex-direction: column-reverse;
    align-items: center;
  }

  .hero-copy {
    writing-mode: horizontal-tb;
    border-right: none;
    border-bottom: 2px solid var(--color-accent);
    padding: 0 0 15px 0;
    margin: 0 0 20px 0;
    font-size: 2.2rem;
    text-align: center;
  }

  .hero-sub {
    writing-mode: horizontal-tb;
    margin: 0;
    font-size: 1rem;
  }

  .entrances {
    grid-template-columns: 1fr;
    margin-top: -30px;
  }

  .biz-list {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-links {
    flex-direction: column;
  }

  .calendar-wrapper {
    max-width: 100%;
  }
}
