html { font-size: 62.5%; scrollbar-gutter: stable;}
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
body, h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }

body {
  min-height: 100vh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased; 
  text-rendering: optimizeSpeed;
  font-family: Arial, Helvetica, "sans-serif";
  background-color: var(--bg-color);
  color: var(--text-color);
}

ul, ol { list-style: none; padding: 0; }
img, picture, svg, video, canvas { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; }

@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

@font-face {
  font-family: 'Kawara Caps';
  src: url('../font/KawaraCaps.woff2') format('woff2'),
       url('../font/KawaraCaps.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg-color: #ffffff;
  --text-color: #1a1a1a;
  --accent-color: #888;
}
.scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.scrollbar::-webkit-scrollbar {
    display: none;
}

/* *** Header *** */
.header-vessel {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    position: relative;
}
.main-title {
    font-family: 'Kawara Caps';
    font-size: clamp(1.2rem, 3vw, 3.5rem);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-align: center;
}
.title-text {
  clip-path: inset(0);
  display: inline-block;
  font-weight: bold;
  transition: 1.4s cubic-bezier(0.37, 0, 0.63, 1);
  transition-property: clip-path;
}

/* Animation*/
.js-hero span {
  display: inline-block;
  opacity: 0;
  transform: translateX(-40px);
  transition:
    transform 600ms cubic-bezier(0.25, 0.46, 0.45, 0.94),
    opacity   600ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.js-hero.is-show span {
  opacity: 1;
  transform: translateX(0);
}
.js-hero span {
  transform: translateX(-20px);
  transition: 500ms ease-out;
}
.js-fade {
  opacity: 0;
  transform: translate3d(0, 24px, 0) scale(0.98);
  transition:
    transform 700ms cubic-bezier(0.25, 0.46, 0.45, 0.94),
    opacity   700ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.js-fade.is-show { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }

/* nav */
.menu-toggle {
    position: fixed;
    top: 2rem;
    right: 2rem;
    width: 2.2rem;
    height: 1.7rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    appearance: none;
    z-index: 999;
}
.menu-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    transform-origin: center;
    background-color: #111;
    transition: all 0.3s ease;
}
/* active */
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
/* openで表示 */
.header-nav.open { padding-right: 17px; transform: translateY(0); }
.header-nav ul {
    list-style: none;
    text-align: center;
    padding: 0;
}
/* menu */
.header-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--bg-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateY(-100%);
    transition: transform 0.4s ease;
    z-index: 998;
}
.header-nav li {
    margin: 1.5rem 0;
    font-size: 2rem;
}
.header-nav a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}
.header-nav a:hover {
    color: var(--accent-color);
}

/* Sections */
.content-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    margin-bottom: 12rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.section h3 span::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 1px;
  background: currentColor;
  margin: 0 0.6em 0.2em 0.2em;
  opacity: 0.4;
}
.section-label {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    margin: 10rem auto;
    text-align: center;
}

/* *** Ccollection *** */
.collection-grid {margin-bottom: 36rem;}
.collection {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
}
.visual img {
    width: 100%;
    height: auto;
    display: block;
}
.text-box p , .about-body p{
    font-size: 1.4rem;
}
.section.collection .visual img {
  width: 100%;
  height: auto;
  display: block;
}
.text-box .description {
  display: grid;
  justify-content: center;
}

/* *** Gallery *** */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 36rem;
}
.grid-item {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f0f0f0;
    opacity: 0;
    transform: translateY(20px);
}
.grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter 0.4s ease;
}
.grid-item:hover img {
    filter: brightness(0.8);
}
.grid-item.is-show {
  animation: fadeUp 0.8s ease forwards;
}

.grid-item.is-show:nth-child(1) { animation-delay: 0.1s; }
.grid-item.is-show:nth-child(2) { animation-delay: 0.4s; }
.grid-item.is-show:nth-child(3) { animation-delay: 0.7s; }
.grid-item.is-show:nth-child(4) { animation-delay: 1.0s; }
.grid-item.is-show:nth-child(5) { animation-delay: 1.3s; }
.grid-item.is-show:nth-child(6) { animation-delay: 1.6s; }
.grid-item.is-show:nth-child(7) { animation-delay: 1.9s; }
.grid-item.is-show:nth-child(8) { animation-delay: 2.1s; }

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

/* Modal */
.modal {
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.8);
  display:none;
  justify-content:center;
  align-items:center;
  z-index:9999;
}
.modal img { max-width:90%; max-height:90%; }
.modal .close {
  position:absolute;
  top:20px;
  right:30px;
  font-size:2rem;
  color:#fff;
  cursor:pointer;
}

/*** About Section ***/
.about {
    max-width: 800px;
    margin: 0 auto 36rem;
}
.about-title {
    text-align: center;
    font-family: 'Kawara Caps';
    font-size: 2rem;
    margin-bottom: 3rem;
}
.about-body p {
    margin-bottom: .6rem;
    color: #444;
}
.explain {
    margin: 2rem 0;
}
.section:last-child {
    margin-bottom: 0;
}
/*** Footer ***/
.footer {
    padding: 4rem 0 1rem;
    border-top: 1px solid #eee;
}
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.brand-info h3, .contact-link h3 {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    gap: 4rem;
}
.brand-info {
  flex: 2;
}
.contact-link {
  width: 100%;
  flex: 1; 
}
.brand-info p {
    font-size: 1.2rem;
    color: var(--accent-color);
    margin-bottom: 0.3rem;
}
/* Instagram */
.instagram-link {
  margin-bottom:1rem;
}
.instagram-link a {
  font-size:1.4rem;
  letter-spacing:.1em;
  color:#111;
  text-decoration:none;
}
.instagram-embed iframe {
  width:100%;
  height:400px;
  border:none;
  margin:1rem 0;
}

.contact-form {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  min-width: 100%;
  max-width: 260px;
}
.contact-form input,
.contact-form textarea {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  padding: 0.6rem 0;
  border: none;
  border-bottom: 1px solid #bbb;
  background: transparent;
  color: #111;
  outline: none;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #aaa;
  letter-spacing: 0.05em;
}

.contact-form textarea {
  resize: none;
}

.btn {
    width: 60%;
  display: inline-block;
  position: relative;
  background: #fff;
  color: #000;
  border: 2px solid #000;
  padding: 1rem 5rem 1rem 2rem;
    margin: 0 auto;
}
.btn::before,
.btn::after {
  content: "";
  position: absolute;
  display: block;
  transition: all 0.3s;
  right: 1.5rem;
  top: 50%;
}
.btn::before {
  width: 2rem;
  height: 2px;
  background: #666;
  transform: translateY(-50%);
}
.btn::after {
  opacity: 0;
  width: 0;
  height: 0;
  border-top: solid 2px currentColor;
  border-right: solid 2px currentColor;
  transform: translateY(-50%) rotate(45deg);
}
.btn:hover::before {
  width: 1.5rem;
}
.btn:hover::after {
  opacity: 1;
  width: 8px;
  height: 8px;
}

.contact-thanks {
  display: none;
  margin-top: 2rem;
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  color: #111;
}

.contact-sns {
  margin-top: 2.5rem;
}
.contact-sns a {
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  color: #111;
  text-decoration: none;
  position: relative;
}
.contact-sns a::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  background: #111;
  margin-top: 3px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.contact-sns a:hover::after {
  transform: scaleX(1);
}

.cf-turnstile {
  display: flex;
  justify-content: center;
  margin: 1.2rem 0;
}

/* Thank you */
.thankyou {
  margin-top:2rem;
  font-size:1.4rem;
  letter-spacing:.2em;
  opacity:0;
  transition:opacity 1s ease;
}

.footer-copy {text-align:center; font-size:0.85rem; margin:2rem auto;}
.footer-copy img {width:40%; margin: 6rem auto 2rem;}

/* --- Mobile --- */
@media (max-width:768px) {
  .collection { grid-template-columns:1fr; gap:2rem; }
  .header-vessel { height:40vh; padding:1rem; }
  .gallery-grid { grid-template-columns:1fr; gap:1rem; }
  .footer-content { flex-direction:column; gap:2rem; }
  .about { margin-bottom:6rem; padding:0 1rem; }
  .collection-grid, .gallery-grid  {margin-bottom: 6rem;}
  .brand-info { margin: 4rem 0; }
}
