/* Theme Name:おちょこ丼*/
:root {
  --beige: #f5f2ed;
  --grey: #595959;
  --grey-light: #848484;
  --grey-bar: #5e5e5e;
  --gold: #c8a562;
  --gold-light: #e0c490;
  --white: #fff;
}
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Zen Maru Gothic", "Noto Sans JP", sans-serif;
  color: #000;
  background: var(--beige);
  overflow-x: hidden;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
}
button {
  font-family: inherit;
  border: none;
  cursor: pointer;
}

/* ===== Nav ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: var(--beige);
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 60px;
}
.nav-logo {
  height: 64px;
}
.nav-logo img {
  height: 100%;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-weight: 500;
  font-size: 16px;
  color: var(--grey);
  letter-spacing: 3px;
  transition: opacity 0.3s;
}
.nav-links a:hover {
  opacity: 0.6;
}
.nav-links .ig {
  width: 26px;
  height: 26px;
}
.hamburger {
  display: none;
  width: 32px;
  height: 24px;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 200;
  background: none;
  border: none;
  padding: 0;
}
.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--grey);
  transition: 0.3s;
}
.hamburger.open span:nth-child(1) {
  transform: translateY(11px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-11px) rotate(-45deg);
}
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--beige);
  z-index: 110;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}
.mobile-overlay.show {
  display: flex;
}
.mobile-overlay a {
  font-weight: 500;
  font-size: 22px;
  color: var(--grey);
  letter-spacing: 4px;
}
.mobile-overlay a img {
  width: 32px;
  height: 32px;
  display: block;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  background: #f1f1f1;
  overflow: hidden;
}
.tile-grid {
  position: absolute;
  inset: 0;
  display: flex;
  gap: 12px;
  padding: 0 10px;
}
.tile-col {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tile-col .tile {
  width: 100%;
  aspect-ratio: 280 / 340;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
  flex-shrink: 0;
}
.tile img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.tile-col.up {
  animation: slideUp 30s linear infinite;
}
.tile-col.down {
  animation: slideDown 30s linear infinite;
}
@keyframes slideUp {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-50%);
  }
}
@keyframes slideDown {
  0% {
    transform: translateY(-50%);
  }
  100% {
    transform: translateY(0);
  }
}
.hero-overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 44%;
  max-width: 620px;
  background: rgba(0, 0, 0, 0.53);
  z-index: 5;
}
.hero-content {
  position: absolute;
  z-index: 10;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}
.hero-logo {
  width: min(457px, 70vw);
  margin: 0 auto 40px;
}
.hero-tagline {
  font-weight: 400;
  font-size: clamp(16px, 2.2vw, 32px);
  color: #fff;
  letter-spacing: clamp(3px, 0.6vw, 8px);
}

/* ===== Common ===== */
.section-bar {
  width: 100%;
  height: 20px;
  background: var(--grey-bar);
}
.section {
  position: relative;
  overflow: hidden;
  scroll-margin-top: 100px;
}
.section-label {
  font-family: "Grape Nuts", cursive;
  font-size: 83px;
  color: #d6d6d6;
  letter-spacing: 13px;
  transform: rotate(7.74deg);
  position: absolute;
  right: 60px;
  top: 80px;
  z-index: 1;
  pointer-events: none;
}
.section-label-img {
  position: absolute;
  right: 60px;
  top: 80px;
  z-index: 1;
  pointer-events: none;
  width: 300px;
}

/* ===== Concept ===== */
.concept {
  background: var(--beige);
  padding: 100px 60px 120px;
  display: flex;
  gap: 60px;
  min-height: 800px;
}
.concept-left {
  flex: 0 0 43%;
  position: relative;
}
.concept-left .illust {
  width: 100%;
  max-width: 622px;
}
.concept-right {
  flex: 1;
  padding-top: 100px;
}
.concept-right h2 {
  font-weight: 400;
  font-size: clamp(24px, 2.8vw, 40px);
  line-height: 1.9;
  margin-bottom: 24px;
  white-space: nowrap;
}
.concept-right .desc {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 30px;
}
.concept .bg-char {
  position: absolute;
  right: 60px;
  top: 100px;
  font-family: serif;
  font-weight: 700;
  font-size: 500px;
  color: rgba(0, 0, 0, 0.02);
  pointer-events: none;
  z-index: 0;
}
.concept .section-num {
  position: absolute;
  left: 60px;
  top: 100px;
  font-family: "Cormorant Garamond", serif;
  font-weight: 300;
  font-size: 100px;
  color: rgba(200, 165, 98, 0.08);
  pointer-events: none;
}
.concept-float {
  position: absolute;
  pointer-events: none;
  z-index: 2;
}
.concept-float img {
  width: 100%;
  height: auto;
}

/* ===== Parallax ===== */
/* PC: background image with all decorations */
.parallax {
  position: relative;
  overflow: hidden;
  background: url("images/parallax-full.png") top center/cover no-repeat;
  aspect-ratio: 1440/700;
}
.parallax-text {
  position: absolute;
  left: -9999px;
}
.parallax-text h2 {
  font-size: 1px;
  color: transparent;
}
/* Mobile version (hidden on PC) */
.parallax-mobile {
  display: none;
  background: url("images/parallax-bg.jpg") center/cover;
  position: relative;
  padding: 60px 20px;
  text-align: center;
}
.parallax-mobile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.8);
}
.parallax-mobile .inner {
  position: relative;
  z-index: 2;
}
.parallax-mobile .sub {
  font-family: "Yomogi", cursive;
  font-size: 16px;
  color: #767676;
  letter-spacing: 8px;
  margin-bottom: 12px;
}
.parallax-mobile h2 {
  font-weight: 400;
  font-size: 28px;
  letter-spacing: 6px;
  line-height: 1.6;
}
.parallax-mobile .dishes {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}
.parallax-mobile .dishes img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
}

/* ===== Lineup ===== */
.lineup {
  background: var(--beige);
  padding: 80px 60px 20px 60px;
  position: relative;
}
.lineup > h2 {
  font-weight: 400;
  font-size: 36px;
  letter-spacing: 6px;
  margin-bottom: 60px;
}
@media (min-width: 1024px) {
  .lineup-item {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
  }
}
@media (max-width: 1024px) {
  .lineup-item {
    margin-bottom: 30px;
  }
}
.lineup-item-text .shop-label {
  font-weight: 500;
  font-size: 20px;
  color: var(--gold-light);
  letter-spacing: 3px;
  margin-bottom: 32px;
}
.lineup-item-text h3 {
  font-weight: 400;
  font-size: 28px;
  margin-bottom: 16px;
}
.lineup-item-text .desc {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 28px;
  margin-bottom: 32px;
}
.lineup-item-text .menu-label {
  font-size: 16px;
  color: var(--gold);
  letter-spacing: 3px;
  margin-bottom: 4px;
}
.lineup-item-text .menu-list {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  margin-bottom: 16px;
}
.lineup-item-img {
  flex: 1;
  transform: rotate(8deg);
}
.lineup-item-img img {
  width: 100%;
}
.lineup-divider {
  width: 100%;
  height: 1px;
  background: #b8b8b8;
  margin: 20px 0 60px;
}

/* ===== Shops ===== */
.shops {
  position: relative;
  padding: 80px 60px;
}
.shops-bg {
  position: absolute;
  inset: 0;
  background: url("images/shop-bg.jpg") center/cover;
}
.shops-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.7);
}
.shops-inner {
  position: relative;
  z-index: 2;
}
.shops-inner .section-label-img {
  top: -10px;
}
.shops-inner > h2 {
  font-weight: 400;
  font-size: 36px;
  letter-spacing: 8px;
  margin-bottom: 20px;
}
.shops .region {
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 5px;
  margin-bottom: 30px;
}
.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}
.shop-card {
  background: var(--white);
  border-radius: 4px;
  overflow: hidden;
}
.shop-card-photo {
  height: 220px;
  overflow: hidden;
}
.shop-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.shop-card-map {
  height: 150px;
}
.shop-card-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.shop-card-body {
  padding: 20px;
}
.shop-card-body h4 {
  font-weight: 500;
  font-size: 16px;
  margin-bottom: 12px;
  line-height: 1.4;
}
.shop-card-body .address {
  font-size: 14px;
  line-height: 24px;
  margin-bottom: 4px;
}
.shop-card-body .tel {
  font-size: 14px;
  margin-bottom: 4px;
}
.shop-card-body .menu-name {
  font-size: 14px;
  margin-bottom: 12px;
}
.shop-btns {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.shop-btn {
  background: var(--grey-light);
  color: #fff;
  padding: 10px 16px;
  border-radius: 3px;
  font-size: 14px;
  transition: opacity 0.3s;
}
.shop-btn:hover {
  opacity: 0.8;
}

/* ===== Instagram ===== */
.instagram {
  position: relative;
  padding: 80px 60px;
}
.instagram-bg {
  position: absolute;
  inset: 0;
  background: url("images/instagram-bg.jpg") center/cover;
}
.instagram-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.7);
}
.instagram-inner {
  position: relative;
  z-index: 2;
}
.instagram-inner > h2 {
  font-weight: 400;
  font-size: 36px;
  letter-spacing: 8px;
  margin-bottom: 20px;
}
.instagram .region {
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 5px;
  margin-bottom: 30px;
}
.instagram-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* ===== Media ===== */
.media-section {
  background: var(--white);
  padding: 80px 60px;
  position: relative;
}
.media-section .section-label-img {
  top: 30px;
}
.media-section > h2 {
  font-weight: 400;
  font-size: 36px;
  letter-spacing: 8px;
  margin-bottom: 40px;
}
.media-item {
  background: #f0f0f0;
  border-radius: 4px;
  padding: 30px 40px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 30px;
}
.media-thumb {
  border-radius: 4px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #aaa;
  font-size: 24px;
}
@media (min-width: 1024px) {
  .media-thumb img {
    width: 300px;
    height: 200px;
    aspect-ratio: 16/9;
  }
}
.media-info {
  flex: 1;
}
.media-info .year {
  font-size: 14px;
  color: var(--grey);
  margin-bottom: 4px;
  letter-spacing: 2px;
}
.media-info h4 {
  font-size: 20px;
  margin-bottom: 8px;
}
.media-info .detail {
  font-size: 14px;
  color: var(--grey);
}
.media-link {
  border: 1px solid #555;
  padding: 10px 24px;
  border-radius: 2px;
  font-size: 14px;
  color: #333;
  white-space: nowrap;
  transition: background 0.3s;
}
.media-link:hover {
  background: #555;
  color: #fff;
}

/* ===== News ===== */
.news-section {
  background: url("images/news-bg.jpg") center/cover;
  padding: 80px 60px;
  position: relative;
}
.news-section > h2 {
  font-weight: 400;
  font-size: 36px;
  letter-spacing: 8px;
  margin-bottom: 40px;
}
.news-list {
  list-style: none;
}
.news-item {
  border-bottom: 1px solid #ccc;
  padding: 20px 0;
  display: flex;
  gap: 30px;
  align-items: baseline;
}
.news-date {
  font-size: 14px;
  color: var(--grey);
  flex-shrink: 0;
  width: 150px;
  letter-spacing: 2px;
}
.news-text {
  font-size: 16px;
  flex: 1;
}
.news-arrow {
  font-family: "Cormorant Garamond", serif;
  font-size: 16px;
  flex-shrink: 0;
}

/* ===== Franchise ===== */
@media (min-width: 1024px) {
  .franchise {
    background: var(--beige);
    padding: 0 60px 80px 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-content: space-between;
    gap: 40px;
    position: relative;
  }
}
@media (max-width: 1024px) {
  .franchise {
    background: var(--beige);
    padding: 0 60px 80px 0;
    position: relative;
  }
}
.franchise-images {
  flex: 0 0 480px;
}
.franchise-images img {
  width: 100%;
}
.franchise-form {
  padding-top: 80px;
}
.franchise-form {
  flex: 1;
}
.franchise-form h2 {
  font-weight: 400;
  font-size: 36px;
  letter-spacing: 6px;
  margin-bottom: 16px;
}
.franchise-form .sub {
  font-size: 16px;
  line-height: 28px;
  margin-bottom: 40px;
  color: var(--grey);
}
.franchise-form label {
  display: block;
  font-size: 14px;
  margin-bottom: 6px;
  color: var(--grey);
}
.franchise-form input,
.franchise-form textarea {
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 12px;
  font-size: 16px;
  margin-bottom: 20px;
  font-family: inherit;
  background: #fff;
}
.franchise-form textarea {
  height: 120px;
  resize: vertical;
}
.franchise-form .submit-btn {
  background: var(--grey);
  color: #fff;
  padding: 14px 40px;
  border-radius: 4px;
  font-size: 16px;
  float: right;
}

/* ===== Footer ===== */
.footer {
  background: var(--white);
  padding: 60px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-logo {
  height: 64px;
}
.footer-nav {
  display: flex;
  gap: 32px;
  align-items: center;
}
.footer-nav a {
  font-size: 16px;
  color: var(--grey);
  letter-spacing: 3px;
  transition: opacity 0.3s;
}
.footer-nav a:hover {
  opacity: 0.6;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.footer-trademark {
  font-size: 14px;
  color: var(--grey);
  line-height: 1.8;
}
.footer-copyright {
  font-size: 14px;
  color: var(--grey);
}
html {
  scroll-behavior: smooth;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .pconly {
    display: none;
  }
  .smonly {
    display: block;
  }
  .nav {
    padding: 0 24px;
  }
  .nav-links {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .section {
    scroll-margin-top: 70px;
  }
  .section-label {
    font-size: 50px;
    right: 20px;
    top: 20px;
  }
  .section-label-img {
    width: 200px;
    right: 20px;
    top: 20px;
  }
  .concept {
    flex-direction: column;
    padding: 20px 40px 40px;
    min-height: auto;
    gap: 10px;
  }
  .concept-left {
    flex: none;
    width: 100%;
    margin: 0 auto;
  }
  .concept-right {
    padding-top: 0;
  }
  .concept-right h2 {
    font-size: 28px;
    white-space: normal;
  }
  .concept-float {
    display: none;
  }
  .concept .bg-char {
    display: none;
  }
  .concept .section-num {
    display: none;
  }
  .parallax {
    display: none;
  }
  .parallax-mobile {
    display: block;
  }
  .parallax-mobile h2 {
    font-size: 24px;
    letter-spacing: 4px;
  }
  .lineup {
    padding: 60px 40px;
  }
  .lineup-item {
    flex-direction: column;
  }
  .lineup-item:last-child {
    margin-top: 30px;
  }
  .lineup-item-text {
    flex: none;
    width: 100%;
  }
  .lineup-item-img {
    max-width: 350px;
    margin: -10px auto 0;
    transform: rotate(3deg);
  }
  .lineup-item {
    margin-bottom: 30px;
    gap: 0;
  }
  .lineup-divider {
    margin: 0;
  }
  .shops {
    padding: 60px 40px;
  }
  .shop-grid,
  .instagram-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .media-section,
  .news-section {
    padding: 60px 40px;
  }
  .media-thumb img {
    width: 100%;
    max-height: 200px;
    aspect-ratio: 16/9;
  }
  .media-item {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  .media-link {
    align-self: flex-end;
  }
  .franchise {
    flex-direction: column;
    padding: 40px;
    gap: 20px;
  }
  .franchise-images {
    display: none;
  }
  .franchise-form {
    padding-top: 0;
  }
  .footer {
    padding: 40px 24px;
  }
  .footer-nav {
    flex-wrap: wrap;
    gap: 16px;
  }
}
@media (max-width: 767px) {
  .pconly {
    display: none;
  }
  .nav {
    height: 60px;
    padding: 0 16px;
  }
  .nav-logo {
    height: 40px;
  }
  .tile-col:first-child,
  .tile-col:last-child {
    display: none;
  }
  .tile-grid {
    gap: 8px;
    padding: 0 6px;
  }
  .hero-overlay {
    width: 60%;
  }
  .section-bar {
    height: 10px;
  }
  .section-label {
    font-size: 36px;
    right: 16px;
    top: 16px;
  }
  .section-label-img {
    width: 150px;
    right: 16px;
    top: 16px;
  }
  .concept {
    padding: 40px 20px;
  }
  .concept-right h2 {
    font-size: 20px;
    line-height: 1.8;
  }
  .concept-right .desc {
    font-size: 14px;
    line-height: 24px;
  }
  .lineup {
    padding: 40px 20px;
  }
  .lineup > h2 {
    font-size: 26px;
  }
  .lineup-item-img img {
    width: 100%;
  }
  .lineup-item-text .shop-label {
    font-size: 16px;
  }
  .lineup-item-text h3 {
    font-size: 20px;
  }
  .lineup-item-img {
    transform: rotate(2deg);
  }
  .shops,
  .instagram {
    padding: 40px 20px;
  }
  .shops-inner > h2 {
    font-size: 26px;
  }
  .shop-grid,
  .instagram-grid {
    grid-template-columns: 1fr;
  }
  .instagram-card {
    margin: 0 auto;
  }
  .media-section,
  .news-section {
    padding: 40px 20px;
  }
  .media-section > h2,
  .news-section > h2 {
    font-size: 26px;
  }
  .media-info h4 {
    font-size: 16px;
  }
  .news-item {
    flex-direction: column;
    gap: 4px;
  }
  .news-date {
    width: auto;
  }
  .franchise {
    padding: 20px;
  }
  .franchise-form h2 {
    font-size: 24px;
  }
  .footer {
    padding: 30px 16px;
  }
  .footer-top {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
  .footer-nav a {
    font-size: 13px;
    letter-spacing: 2px;
  }
  .footer-trademark,
  .footer-copyright {
    font-size: 12px;
  }
}
.privacy {
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 20px;
  margin-bottom: 30px;
  height: 200px;
  overflow-y: scroll;
}
.privacy h2 {
  font-size: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid #ccc;
  margin-bottom: 20px;
}
.privacy dl dt {
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid #ccc;
}
.privacy dl dd {
  margin-bottom: 30px;
}
.privacy dl dd p {
  margin-bottom: 30px;
  line-height: 1.8;
}

.privacy dl dd p:last-child {
  margin-bottom: 0;
}
