/*
Theme Name: Reborn Creative Studio
Theme URI:
Author: TandM WEB DESIGN
Author URI:
Description: Reborn Creative Studio テーマ
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: reborn
*/

:root {
  --bg: #efefef;
  --white: #ffffff;
  --text: #141414;
  --sub: #444444;
  --panel: #d1d1d1;
  --font-en: "Lexend Zetta", sans-serif;
  --font-ja: "Zen Kaku Gothic New", sans-serif;
  --font-cur: 'Meow Script', cursive;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ja);
  line-height: 1.6;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

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

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

h1,
h2,
h3,
p,
dl,
dt,
dd {
  margin: 0;
}

.page-wrapper {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  padding: 18px 40px 0;
}

.site-header {
  text-align: center;
  padding-bottom: 18px;
}

.site-header__logo {
  display: inline-block;
  margin-bottom: 30px;
  font-family: var(--font-en);
  font-size: 14px;
  letter-spacing: 0.18em;
}

/* =========================================
   アニメーション
   ========================================= */

/* スクロール追従ヘッダー */
.site-header--fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: rgba(239, 239, 239, 0.95);
  backdrop-filter: blur(6px);
  padding-bottom: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  animation: headerSlideDown 0.4s ease both;
}

@keyframes headerSlideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }

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

/* 固定ヘッダー分のオフセット */
.page--header-fixed {
  padding-top: 120px;
}

/* スクロールフェードイン */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ナビリンクホバー */
.site-nav__link {
  position: relative;
}

.site-nav__link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 1px;
  background: var(--text);
  transition: width 0.35s ease, left 0.35s ease;
}

.site-nav__link:hover::after {
  width: 100%;
  left: 0;
}

/* サービスカード画像ホバー */
.service-card__image {
  transition: transform 0.6s ease;
}

.service-card:hover .service-card__image {
  transform: scale(1.04);
}


.site-nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 36px;
  height: 36px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  margin: 0 auto 14px;
}

.site-nav__toggle span {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--text);
  transition: transform 0.3s, opacity 0.3s;
  transform-origin: center;
}

/* 開いた状態：× に変形 */
.site-nav__toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-nav__toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.site-nav__toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-nav__list {
  display: flex;
  justify-content: center;
  gap: 26px;
}

.site-nav__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: var(--font-en);
  font-size: 14px;
  letter-spacing: 0.16em;
  line-height: 1.4;
}

.site-nav__sub {
  margin-top: 2px;
  color: var(--sub);
  font-family: var(--font-ja);
  font-size: 10px;
}

.hero {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 18px;
  align-items: stretch;
  margin-bottom: 100px;
}

.hero__content {
  display: flex;
  flex-direction: column;
  min-height: 350px;
  padding: 52px 10px 28px;
  background: transparent;
}

.hero__title {
  margin-top: 8px;
  margin-bottom: 18px;
  font-family: var(--font-en);
  font-size: 24px;
  font-weight: 300;
  line-height: 1.33;
  letter-spacing: 0.12em;
}

.hero__text {
  color: var(--sub);
  font-size: 16px;
  line-height: 1.8;
}

.hero__cta-wrap {
  width:100%;
  margin-top: auto;
  text-align: center;
}

.hero__cta-text {
  margin-bottom: 10px;
  color: var(--sub);
  font-size: 16px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 40px;
  background: var(--sub);
  color: var(--white);
  font-size: 16px;
  transition: background 0.4s ease, color 0.4s ease, letter-spacing 0.4s ease;
}

.button:hover {
  background: #333333;
  color: #ffffff;
  letter-spacing: 0.12em;
}

.hero__media {
  position: relative;
  min-height: 350px;
  overflow: hidden;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__catch {
  position: absolute;
  right: 50px;
  bottom: 50px;
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-cur);
  font-size: 50px;
  line-height: 0.95;
  text-align: center;
  transform: rotate(-13deg);
}

.section {
  margin-bottom: 100px;
}

.section-heading {
  padding-bottom: 32px;
  text-align: center;
}

.section-heading--left {
  padding: 20px;
  flex-shrink: 0;
  text-align: left;
  flex: 0 0 30%;
  position: relative;
}

.section-heading--left:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100px;
  height: 100%;
  background: #fff;
  z-index: -1;

}

.spec-layout .section-heading--left {
  max-width: 450px;
  padding: 18px 20px 14px;
  background: var(--white);
}

.section-heading__title {
  font-family: var(--font-en);
  font-size: 30px;
  font-weight: 300;
  line-height: 1.35;
  letter-spacing: 0.16em;
}

.section-heading__sub {
  margin-top: 2px;
  color: var(--sub);
  font-size: 16px;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.service-card {
  position: relative;
  min-height: 276px;
  overflow: hidden;
  background: transparent;
}

.service-card__image {
  height: 276px;
  object-fit: cover;
}

.service-card__body {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 10px 10px 12px;
  background: linear-gradient(to bottom,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.4) 60%,
      rgba(255, 255, 255, 1) 100%);
}

.service-card__title {
  margin-bottom: 8px;
  color: var(--text);
  font-size: 18px;
}

.service-card__text {
  margin-top: auto;
  color: var(--text);
  font-size: 15px;
  line-height: 1.7;
}

.feature-layout,
.spec-layout,
.equipment-layout,
.gallery-layout {
  display: flex;
  gap: 18px;
  align-items: stretch;

}

.feature-box,
.gallery-box,
.equipment-box {
  flex: 1;
  padding: 0;
  background: transparent;
}

.feature-box {
  display: flex;
  justify-content: flex-end;
}

.feature-content {
  position: relative;
  display: block;
  width: 580px;
  min-height: 200px;
}

.feature-content img {
  position: relative;
  left: -200px;
  z-index: 1;
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.feature-content__text {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  width: 580px;
  padding: 16px 22px;
  background: #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  color: var(--text);
  font-size: 16px;
  line-height: 1.8;
}

.spec-box {
  position: relative;
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: #f6f6f6;
  align-items: stretch;
}

.studio-card {
  position: relative;
  background: transparent;
  display: flex;
  flex-direction: column;
}

.studio-card__image {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.studio-card__body {
  position: relative;
  flex: 1;
}

.studio-card__label {
  position: absolute;
  top: -30px;
  bottom: 0;
  left: 0;
  z-index: 3;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 44px;
  background: #cfcfcf;
  font-family: var(--font-en);
  font-size: 26px;
  font-weight: 300;
}

.studio-card__label small {
  position: absolute;
  bottom: 40px;
  font-size: 14px;
  letter-spacing: 0.14em;
  writing-mode: vertical-rl;
}

.studio-card__content {
  position: relative;
  left: 44px;
  top: 0;
  z-index: 1;
  width: 241px;
  padding: 10px 14px;
  background: transparent;
  color: var(--text);
  font-size: 16px;
  line-height: 1.8;
}

.studio-card__content strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-weight: 400;
}

.equipment-items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 34px;
  align-items: center;
  padding: 40px 28px;
}

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

.equipment-card__image {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin: 0 auto 10px;
}

.equipment-card__title {
  font-size: 15px;
  font-weight: 500;
}

.price-box {
  padding: 40px;
  background: var(--white);
}

.price-box__list {
  margin-top: 20px;
  font-size: 16px;
  line-height: 2;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.gallery-grid img {
  height: 160px;
  object-fit: cover;
}

.access-box {
  padding: 40px;
  background: var(--white);
}

.access-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 30px;
  align-items: start;
  margin-top: 20px;
}

.access-address {
  padding-left: 20px;
  border-left: 2px solid var(--panel);
  color: var(--text);
  font-size: 16px;
  line-height: 1.9;
}

.access-map {
  height: 300px;
  overflow: hidden;
}

.access-map iframe {
  width: 100%;
  height: 100%;
  display: block;
}

.contact-box {
  position: relative;
  padding: 40px 10px;
  overflow: hidden;
  background: #dddddd;
}

.contact-box img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-box__overlay {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.contact-box__text {
  margin: 26px 0 10px;
  color: var(--text);
  font-size: 16px;
}

.site-footer {
  width: 100%;
  background: var(--panel);
  margin-top: 46px;
	padding:20px;
}

.site-footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1280px;
  margin: 0 auto;
  padding: 22px 40px;
}

.site-footer__brand {
  font-family: var(--font-en);
  font-size: 16px;
  letter-spacing: 0.12em;
}

.site-footer__info {
  color: var(--text);
  font-size: 16px;
  line-height: 1.8;
  text-align: right;
}

@media (max-width: 1180px) {
  .page-wrapper {
    padding: 18px 24px 0;
  }

  .site-header {
    position: relative;
  }

  .site-nav__toggle {
    display: flex;
  }

  .site-nav__list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 100;
    background: var(--white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    max-height: 0;
    padding: 0;
    transition: max-height 0.4s ease, padding 0.4s ease;
  }

  .site-nav.is-open .site-nav__list {
    max-height: 600px;
    padding: 8px 0;
  }

  .site-nav__link {
    flex-direction: row;
    gap: 8px;
    width: 100%;
    padding: 16px 24px;
    font-size: 14px;
    border-bottom: 1px solid #efefef;
  }

  .site-nav__list li:last-child .site-nav__link {
    border-bottom: none;
  }

  .site-nav__sub {
    font-size: 12px;
  }

  .hero {
    grid-template-columns: 320px 1fr;
    margin-bottom: 60px;
  }

  .hero__content {
    min-height: 420px;
    padding: 36px 10px 24px;
  }

  .hero__title {
    font-size: 20px;
  }

  .hero__media {
    min-height: 420px;
  }

  .section {
    margin-bottom: 60px;
  }

  .service-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .feature-content {
    width: 100%;
  }

  .feature-content img {
    left: -100px;
    width: 100%;
  }

  .feature-content__text {
    width: 100%;
  }

  .studio-card__image {
    width: 100%;
  }

  .studio-card__content {
    width: calc(100% - 44px);
  }

  .equipment-items {
    padding: 30px 20px;
    gap: 20px;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery-grid img {
    height: 120px;
  }
}

@media (max-width: 900px) {

  .hero {
    grid-template-columns: 1fr;
    grid-template-areas:
      "media"
      "content";
    margin-bottom: 40px;
  }

  .hero__content {
    grid-area: content;
    min-height: auto;
    padding: 20px 0 16px;
  }

  .hero__media {
    grid-area: media;
    min-height: 320px;
  }

  .service-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-layout {
    display: block;
  }

  .feature-content {
    width: 100%;
  }

  .feature-content img {
    left: 0;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .feature-content__text {
    position: static;
    width: 100%;
    margin-top: 12px;
  }

  .spec-layout {
    display: block;
  }

  .spec-layout .section-heading--left {
    background: none;
  }

  .spec-box {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .equipment-items {
    grid-template-columns: repeat(2, 1fr);
    padding: 20px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  body {
    min-width: 0;
  }

  .page-wrapper {
    width: 100%;
    padding: 12px 12px 0;
  }

  .site-header {
    padding-bottom: 14px;
  }

  .site-header__logo {
    margin-bottom: 12px;
    font-size: 16px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 40px;
  }

  .hero__media {
    order: -1;
  }

  .hero__content {
    min-height: auto;
    padding: 0;
  }

  .hero__title {
    font-size: 22px;
	  display:block;
	  margin:8px auto 18px;
  }

  .hero__text {
    font-size: 18px;
    margin-bottom: 20px;
    text-align: center;
  }

  .hero__cta-wrap {
    width: 100%;
    margin-top: 18px;
    text-align: center;
  }

  .hero__media {
    min-height: auto;
  }

  .hero__media img {
    height: auto;
    aspect-ratio: 16 / 8;
  }

  .hero__catch {
    right: 14px;
    bottom: 14px;
    font-size: 18px;
  }

  .section {
    margin-bottom: 40px;
  }

  .feature-layout,
  .spec-layout,
  .equipment-layout,
  .gallery-layout {
    display: block;
  }

  .section-heading--left {
    width: 100%;
    margin-bottom: 14px;
    padding: 0;
    background: transparent;
    text-align: center;
  }

  .section-heading--left:after {
    display: none;
  }

  .section-heading__title,
  .access-heading__title {
    font-size: 16px;
  }

  .section-heading__sub,
  .access-heading__sub {
    font-size: 14px;
  }

  .service-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .service-card {
    min-height: auto;
  }

  .service-card__image {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .service-card__body {
    position: static;
    padding: 12px;
    background: #ffffff;
  }

  .service-card__title {
    margin-bottom: 6px;
    font-size: 18px;
  }

  .service-card__text {
    font-size: 14px;
  }

  .feature-box,
  .gallery-box,
  .equipment-box {
    display: block;
  }

  .feature-content {
    width: 100%;
    min-height: auto;
  }

  .feature-content img {
    left: 0;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .feature-content__text {
    position: static;
    width: 100%;
    margin-top: 12px;
    padding: 12px 14px;
    box-shadow: none;
    font-size: 14px;
  }

  .spec-layout .section-heading--left {
    background: none;
  }

  .spec-box {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .studio-card__body {
    min-height: auto;
    margin-top: 0;
  }

  .studio-card__label {
    position: static;
    width: 100%;
    padding: 8px 12px;
    justify-content: flex-start;
    font-size: 20px;
    align-items: center
  }

  .studio-card__label small {
    position: static;
    margin-left: 8px;
    font-size: 14px;
    writing-mode: horizontal-tb;
    transform: none;
  }

  .studio-card__content {
    left: 0;
    width: 100%;
    padding: 12px 14px;
    font-size: 14px;
  }

  .equipment-layout {
    display: block;
  }

  .equipment-items {
    grid-template-columns: repeat(2, 1fr);
    padding: 20px;
  }

  .studio-card__image {
    height: 230px;
  }

  .equipment-card__title {
    font-size: 14px;
  }

  .gallery-box {
    padding: 0;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .gallery-grid img {
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .access-box {
    padding: 40px 10px;
  }

  .access-heading {
    margin-bottom: 18px;
  }

  .access-content {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .access-address {
    padding-bottom: 0;
    padding-left: 0;
    font-size: 14px;
  }

  .access-map {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .contact-box__text {
    margin: 18px 0 10px;
    font-size: 14px;
  }

  .site-footer__inner {
    display: block;
    padding: 16px 14px;
  }

  .site-footer__brand,
  .site-footer__info {
    font-size: 14px;
  }

  .site-footer__info {
    margin-top: 8px;
    text-align: left;
  }
}
/* =========================================
   固定ページ・投稿ページ共通
   ========================================= */
.page-content {
  padding: 60px 0 100px;
}

.page-inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 40px;
}

.page-title {
  font-family: var(--font-en);
  font-size: 28px;
  font-weight: 300;
  letter-spacing: 0.16em;
  margin-bottom: 40px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--panel);
}

.post-item {
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--panel);
}

.post-item h2 {
  font-size: 20px;
  margin-bottom: 10px;
}

.post-item h2 a:hover {
  opacity: 0.7;
}

@media (max-width: 767px) {
  .page-content {
    padding: 40px 0 60px;
  }

  .page-inner {
    padding: 0 16px;
  }

  .page-title {
    font-size: 20px;
  }
}
