﻿:root{
  --container: 1100px;
  --text: #1a1a1a;
  --muted: #666;
  --bg: #ffffff;
  --bg2: #f6f6f6;
  --line: #e7e7e7;
  --shadow: 0 10px 30px rgba(0,0,0,.12);
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans JP", sans-serif;
  line-height: 1.8;
}

.container{
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

/* Header */
.header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(8px);
}
.header__inner{
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}
.brand{
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: .5px;
  display: grid;
  line-height: 1.05;
}
.brand__main{ font-size: 18px; }
.brand__sub{ font-size: 14px; opacity: .9; }

.nav{
  display: flex;
  gap: 18px;
}
.nav a{
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  opacity: .95;
}
.nav a:hover{ opacity: 1; text-decoration: underline; }

/* Hero */
.hero{
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;

  /* メイン画像をここで指定（添付画像のように） */
  background-image: url("images/hero.jpg");
  background-size: cover;
  background-position: center;
}
.hero__overlay{
  position:absolute;
  inset:0;
  background: linear-gradient(to bottom, rgba(0,0,0,.45), rgba(0,0,0,.35));
}
.hero__content{
  position: relative;
  padding: 80px 20px;
}
.hero__title{
  margin: 0;
  font-size: clamp(44px, 7vw, 84px);
  line-height: .95;
  letter-spacing: 1px;
  text-shadow: 0 8px 26px rgba(0,0,0,.35);
}
.hero__lead{
  margin: 14px 0 0;
  opacity: .95;
}
.hero__icons{
  margin-top: 16px;
  display: inline-flex;
  gap: 8px;
  font-size: 20px;
  opacity: .9;
}

/* Sections */
.section{
  padding: 64px 0;
  border-bottom: 1px solid var(--line);
}
.section--alt{
  background: var(--bg2);
}
.section__title{
  margin: 0 0 14px;
  font-size: 22px;
  letter-spacing: .3px;
}
.section__desc{
  margin: 0 0 18px;
  color: var(--text);
}

/* Notice block */
.notice{
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 26px;
  align-items: start;
}
.notice__img img{
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: var(--shadow);
}
.notice__text p{ margin: 0 0 10px; color: var(--muted); }

.bullets{
  margin: 12px 0 18px;
  padding-left: 18px;
}

/* Buttons */
.btn{
  display: inline-block;
  padding: 12px 18px;
  border-radius: 999px;
  text-decoration: none;
  color: #fff;
  background: #111;
  font-weight: 700;
}
.btn:hover{ opacity: .9; }
.btn--ghost{
  background: transparent;
  color: #111;
  border: 1px solid #111;
}

/* Gallery */
.gallery{
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.gallery img{
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,.08);
}

/* Info table-ish */
.info{
  margin-top: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.info__row{
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 14px;
  padding: 14px 16px;
  border-top: 1px solid var(--line);
}
.info__row:first-child{ border-top: 0; }
.info__row span{ color: var(--muted); }
.info__row strong{ font-weight: 800; }

/* Contact */
.contact{
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 18px;
}
.contact__buttons{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

/* Footer */
.footer{
  padding: 26px 0;
  background: #0f0f0f;
  color: #fff;
}
.footer__inner{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 16px;
}
.footer__brand{ font-weight: 800; letter-spacing: .6px; }

/* Back to top */
.toTop{
  position: fixed;
  right: 16px;
  bottom: 18px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #fff;
  color: #111;
  text-decoration: none;
  border: 1px solid var(--line);
  box-shadow: 0 10px 25px rgba(0,0,0,.12);
}

/* Responsive */
@media (max-width: 820px){
  .notice{ grid-template-columns: 1fr; }
  .gallery{ grid-template-columns: 1fr; }
  .gallery img{ height: 200px; }
  .nav{ gap: 12px; }
}
.hero__logo img{
  width: min(420px, 80vw); /* PCでは420px、スマホでは画面幅に追従 */
  height: auto;
  filter: drop-shadow(0 10px 30px rgba(0,0,0,.35));
}
.hero__overlay{
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,.35),
    rgba(0,0,0,.25)
  );
}
