@charset "UTF-8";

/* --- Variables & Reset --- */
:root {
  --text-color: #333;
  --bg-color: #fff;
  --bg-gray: #f4f4f4;
  --border-color: #ddd;
  --primary-color: #2c3e50; /* アクセント（濃紺） */
  --cta-color: #e67e22;     /* アクション（オレンジ） */
  --sp-sm: 8px;
  --sp-md: 16px;
  --sp-lg: 32px;
  --sp-xl: 64px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: var(--text-color);
  line-height: 1.6;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* --- Utilities --- */
.container {
  width: 90%;
  max-width: 1000px;
  margin: 0 auto;
}

.section {
  padding: var(--sp-xl) 0;
  border-bottom: 1px dashed var(--border-color);
  scroll-margin-top: 90px;
}

.section-title {
  font-size: 1.5rem;
  margin-bottom: var(--sp-lg);
  text-align: center;
  font-weight: bold;
}

.text-center { text-align: center; }

/* プレースホルダー（画像代わり） */
.placeholder {
  background-color: var(--border-color);
  color: #777;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}
.placeholder--hero { height: 520px; width: 100%; }
.placeholder--img { height: 180px; width: 100%; }
.placeholder--map { height: 300px; width: 100%; }

/* Images */
.fv {
  position: relative;
}
.fv__catchcopy {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--bg-color);
  font-size: 3rem;
  font-weight: bold;
  text-align: center;
  width: 90%;
}
.fv__image img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  display: block;
}
.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}
.grid-4 img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

/* Gallery auto scroll */
.gallery {
  overflow: hidden;
}
.gallery__track {
  display: flex;
  gap: var(--sp-md);
  width: max-content;
  animation: gallery-scroll 30s linear infinite;
}
.gallery__track img {
  width: 260px;
  height: 180px;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
  border: 1px solid var(--border-color);
}
@keyframes gallery-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --- Components --- */
/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-color);
  border-bottom: 1px solid var(--border-color);
  padding: var(--sp-md) 0;
}
.header__inner {
  display: flex;
  flex-direction: column; /* SPは縦並び */
  align-items: center;
  gap: var(--sp-md);
}
.header__logo {
  font-size: 1.25rem;
  font-weight: bold;
}
.nav__list {
  display: flex;
  gap: var(--sp-md);
  font-size: 1rem;
  align-items: center;
}

/* Footer */
.footer {
  background-color: var(--bg-gray);
  padding: var(--sp-lg) 0;
  text-align: center;
  margin-top: var(--sp-xl);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 10px 20px;
  border: 1px solid var(--text-color);
  background: #fff;
  cursor: pointer;
}
.btn--cta {
  background-color: var(--cta-color);
  color: #fff;
  border: none;
  font-weight: bold;
  padding: 15px 40px;
  border-radius: 4px;
}
.nav__contact {
  display: inline-flex;
  align-items: center;
  background-color: var(--cta-color);
  color: #fff;
  border: none;
  font-weight: bold;
  font-size: 1rem;
  padding: 10px 18px;
  border-radius: 4px;
}
.btn-area {
  margin-top: var(--sp-lg);
  text-align: center;
}

/* Cards & Grid */
.grid {
  display: grid;
  gap: var(--sp-lg);
}
/* PC用グリッド（768px以上） */
@media (min-width: 768px) {
  .header__inner {
    flex-direction: row;
    justify-content: space-between;
  }
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.card {
  border: 1px solid var(--border-color);
  padding: var(--sp-md);
}
.card__title {
  font-weight: bold;
  margin: var(--sp-md) 0 var(--sp-sm);
}

/* Tables */
.table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: var(--sp-lg);
}
.table th, .table td {
  border: 1px solid var(--border-color);
  padding: var(--sp-sm);
  text-align: left;
}
.table th { background: var(--bg-gray); }

/* Forms */
.form-group { margin-bottom: var(--sp-md); }
.form-label { display: block; margin-bottom: 5px; font-weight: bold; }
.form-input, .form-textarea {
  width: 100%;
  padding: 8px;
  border: 1px solid #ccc;
}
.form-textarea { height: 100px; }

/* Access map */
.access__map img {
  width: 100%;
  height: 300px;
  object-fit: contain;
  background: var(--bg-color);
  display: block;
}
.access__info-grid {
  margin-top: 20px;
}
.access__info h3 {
  margin-bottom: var(--sp-sm);
}
.access__info p {
  margin: 0;
}
.access__info p + p {
  margin-top: 4px;
}