@charset "utf-8";

/* ==========================
   Hero
========================== */

#hero {
  position: relative;
  height: 100vh;
}

/* 写真の上に薄い黒幕 */
.hero-vegas::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  z-index: 1;
}

/* 文字エリア */
.hero-inner {
  position: relative;
  z-index: 2;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  height: 100%;
  padding: 0 24px;
  box-sizing: border-box;
  color: #fff;
  text-align: center;
}

/* タイトル */
.hero-inner h1 {
  font-size: 4.8rem;
  letter-spacing: 0.08em;
  margin-bottom: 12px;

  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);

  opacity: 0;
  transition: opacity 1s;
}

/* キャッチコピー */
.hero-inner p {
  font-size: 1.5rem;
  letter-spacing: 0.05em;

  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);

  opacity: 0;
  transition: opacity 1s;
}

.hero-inner h1 {
  font-size: clamp(3rem, 6vw, 4.8rem);
}

.hero-inner p {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
}

/* ==========================
   Responsive Hero
========================== */
@media screen and (max-width: 1024px) {

  .hero-inner h1 {
    font-size: clamp(2.8rem, 6vw, 3.6rem);
    line-height: 1.15;
    letter-spacing: 0.05em;
    max-width: 100%;
  }

  .hero-inner p {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    line-height: 1.6;
    max-width: 100%;
  }

  @media screen and (max-width: 767px) {

    .hero-inner h1 {
      font-size: 3rem;
      line-height: 1.15;
      letter-spacing: 0.05em;
    }

    .hero-inner p {
      font-size: 1rem;
      line-height: 1.6;
    }

  }
}
/* ----------------------
Story
------------------------- */
.story-movie-note {
    margin: 0 0 12px;
    font-size: 14px;
    color: #7f9a7a;
    text-align: left;
}

.story-movie {
    width: 100%;
    max-width: 800px;
    margin: 0 auto 50px;
    overflow: hidden;
    border-radius: 4px;
}

.story-movie video {
    display: block;
    width: 100%;
    height: auto;
}

/* ----------------------
about-content
------------------------- */
.section-inner {
  max-width: 700px;
  margin: 0 auto;
}

.section-inner h2 {
  text-align: center;
  margin-bottom: 48px;
}

.about-content h3,
.story-content h3,
.philosophy-content h3,
.contact-content h3 {
  margin-bottom: 20px;
}

.about-content p,
.story-content p,
.philosophy-content p,
.contact-content p {
  line-height: 2;
}

.story-content {
  max-width: 700px;
  margin: 0 auto;
}

.story-content p {
  margin-bottom: 24px;
}

.story-content p:last-child {
  font-weight: bold;
  color: #6f8f72;
}

.section {
  padding: 100px 0 120px;
}


/* ----------------------
works-card
------------------------- */

.works-card {
  position: relative;
  /* 💡 横幅を「800px」から「720px」に少し狭めます！
       枠が狭まることで、右寄せにしているポスターが自動的に左へグッと動き、茶色ボックスに深く食い込みます */
  width: 720px;
  margin: 40px auto 0;
  padding: 40px 40px 100px;
  background-color: #efe4c8;
  box-sizing: border-box;
}

.works-card__label {
  position: absolute;
  top: 30px;
  left: 30px;
  z-index: 2;
  width: 417px;
  height: 311px;
  padding: 65px 0 0 30px;
  background-color: #6b2e16;
  color: #fff;
  box-sizing: border-box;
}

.works-card__category {
  margin: 0 0 12px;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.2;
}

.works-card__type {
  margin: 0;
  font-size: 22px;
  line-height: 1.3;
  opacity: .95;
}

.works-card__image {
  position: relative;
  z-index: 2;
  display: block;
  width: 560px;
  height: auto;
  margin-top: 140px;
  margin-left: auto;
  transform: translateX(-15px);
}

.works-card__link {
  position: absolute;
  /* 💡 全体の枠の右端（40px）に合わせることで、ポスターの右下ラインに綺麗に揃います */
  right: 40px;
  bottom: 40px;
  color: #6b2e16;
  text-decoration: none;
}

.works-card__link:hover {
  text-decoration: underline;
}

.works-card {
  position: relative;
  width: 720px;
  margin: 40px auto 0;
  padding: 40px 40px 100px;
  background-color: #efe4c8;
  box-sizing: border-box;

  transition: transform .3s ease, box-shadow .3s ease;
}

.works-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .12);
}




/* ==========================
   Works Detail
========================== */

.work-hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 40px;
  display: flex;
  align-items: center;
  gap: 60px;
}

.work-hero__image {
  flex: 1;
}

.work-hero__image img {
  width: 100%;
  display: block;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .15);
}

.work-hero__text {
  flex: 1;
}

.work-hero__text h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  color: #4f6b54;
}

.work-hero__text p {
  font-size: 1.2rem;
  color: #666;
}

/* 共通 */
.work-overview,
.work-target,
.work-challenge,
.work-concept,
.work-keywords,
.work-process,
.work-solution,
.work-learning,
.work-role,
.work-tools,
.work-duration {

  max-width: 900px;
  margin: 0 auto;
  padding: 70px 40px;
}

.work-overview h2,
.work-target h2,
.work-challenge h2,
.work-concept h2,
.work-keywords h2,
.work-process h2,
.work-solution h2,
.work-learning h2,
.work-role h2,
.work-tools h2,
.work-duration h2 {
  margin-bottom: 25px;
  font-size: 2rem;
  color: #4f6b54;
  border-left: 6px solid #7d9a63;
  padding-left: 15px;
}

.work-overview p,
.work-target p,
.work-challenge p,
.work-concept p,
.work-keywords p,
.work-process p,
.work-solution p,
.work-learning p,
.work-role p,
.work-tools p,
.work-duration p {
  line-height: 2;
  color: #444;
}

.work-target ul,
.work-keywords ul,
.work-role ul,
.work-tools ul {
  margin-left: 20px;
  line-height: 2;
}

.work-process ol {
  margin-left: 24px;
  line-height: 2;
}

/* =========================
   Works Detail Ver.2
========================= */
/* 各セクションをカード風にする */
.work-overview,
.work-target,
.work-challenge,
.work-concept,
.work-keywords,
.work-process,
.work-solution,
.work-learning,
.work-role,
.work-tools,
.work-duration {
  margin-bottom: 32px;
  background-color: #f7f5ef;
  border-radius: 12px;
  box-sizing: border-box;
}

/* Conceptを少し特別に見せる */
.work-concept {
  background-color: #eef2e9;
}

.work-concept__philosophy {
  margin: 0;
  font-size: 1.4rem;
  line-height: 1.9;
  color: #4f6b54;
  font-weight: bold;
}

/* Target・Keywords・Role・Toolsのリスト */
.work-target ul,
.work-keywords__list,
.work-role ul,
.work-tools ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.work-target li,
.work-keywords__list li,
.work-role li,
.work-tools li {
  padding: 10px 18px;
  background-color: #fff;
  border: 1px solid #a8b69b;
  border-radius: 999px;
  color: #4f6b54;
}

/* Processを読みやすくする */
.work-process ol {
  margin: 0;
  padding-left: 24px;
}

.work-process li {
  margin-bottom: 12px;
}

/* Duration */
.work-duration dl {
  margin: 0;
}

.work-duration dl div {
  display: flex;
  gap: 24px;
  padding: 12px 0;
  border-bottom: 1px solid #d8d8d0;
}

.work-duration dt {
  width: 160px;
  font-weight: bold;
}

.work-duration dd {
  margin: 0;
}

/*============
global-nav
=============*/
.global-nav {
  display: block;
  position: fixed;
  top: 0;
  left: -300px;
  bottom: 0;
  width: 300px;
  background: #ffffff;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transition: all .5s;
  z-index: 20;
  opacity: 0;
}

.open .global-nav {
  left: 0;
  opacity: 1;
}

.global-nav .inner {
  padding: 25px;
}

.global-nav .inner ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.global-nav .inner ul li {
  position: relative;
  margin: 0;
  border-bottom: 1px solid #333;
}

.global-nav .inner ul li a {
  display: block;
  color: #333;
  font-size: 14px;
  padding: 1em;
  text-decoration: none;
  transition-duration: 0.2s;
}

.global-nav .inner ul li a:hover {
  background: #e4e4ed;
}

@media screen and (max-width: 767px) {
  .global-nav {
    left: -260px;
    width: 260px;
  }

  .global-nav .inner {
    padding: 24px 20px;
  }

  .global-nav .inner ul li a {
    padding: 16px 8px;
    font-size: 16px;
  }

  .nav-logo {
    margin-bottom: 36px;
  }

  .nav-logo span {
    font-size: 20px;
  }

  .toggle_btn {
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
  }

  .toggle_btn span {
    width: 26px;
    margin-left: -13px;
  }

  .toggle_btn span:nth-child(1) {
    top: 10px;
  }

  .toggle_btn span:nth-child(2) {
    top: 19px;
  }

  .toggle_btn span:nth-child(3) {
    top: 28px;
  }
}

/*============
.toggle_btn
=============*/
.toggle_btn {
  position: fixed;
  top: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(238, 244, 237, .9);
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
  transition: .3s;
  cursor: pointer;
  z-index: 20;
}

.toggle_btn span {
  display: block;
  position: absolute;

  /* 44pxのボタン中央に配置 */
  left: 50%;
  margin-left: -15px;

  width: 30px;
  height: 2px;
  background-color: #333;
  border-radius: 4px;
  transition: all .5s;
}

.toggle_btn span:nth-child(1) {
  top: 11px;
}

.toggle_btn span:nth-child(2) {
  top: 21px;
}

.toggle_btn span:nth-child(3) {
  top: 31px;
}

.open .toggle_btn span {
  background-color: #fff;
}

.open .toggle_btn span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}

.open .toggle_btn span:nth-child(2) {
  opacity: 0;
}

.open .toggle_btn span:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

/*============
#mask
=============*/
#mask {
  display: none;
  transition: all .5s;
}

.open #mask {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  opacity: .8;
  z-index: 10;
  cursor: pointer;
}

/*============
main
=============*/
main {
  padding: 50px;
}

main h1 {
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  text-align: center;
}

/*============
body
=============*/
body {
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
}

.nav-logo {
  margin-bottom: 50px;
}

.nav-logo a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
}

.nav-logo img {
  display: block;
  width: 34px;
  height: 34px;
  max-width: 34px;
  object-fit: contain;
  flex-shrink: 0;
}

.nav-logo span {
  font-size: 22px;
  font-weight: 600;
  color: #6f8f72;
  white-space: nowrap;
}

/* =========================
   Page Top
========================= */

.page-top {
  position: fixed;
  right: 40px;
  bottom: 40px;
  z-index: 1;

  width: 80px;
  height: 80px;
  padding: 0;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  background-color: #f3ead0;
  color: #713319;
  border: 1px solid #713319;
  border-radius: 50%;

  font-family: inherit;
  cursor: pointer;

  opacity: 1;
  visibility: visible;
  transform: translateY(15px);

  transition:
    opacity 0.3s ease,
    visibility 0.3s ease,
    transform 0.3s ease,
    background-color 0.3s ease;
}

.page-top.is-show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.page-top:hover {
  background-color: #e7d9b1;
  transform: translateY(-4px);
}

.page-top-leaf {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-top-leaf img {
  width: 24px;
  height: 24px;
  display: block;
}

.page-top-text {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  letter-spacing: 0.08em;
}

@media screen and (max-width: 767px) {

  main {
    padding: 0;
  }

  /* =========================
     Works Smartphone
  ========================= */

  .works-card {
    width: calc(100% - 32px);
    margin: 32px auto 0;
    padding: 20px 16px 64px;
    overflow: hidden;
  }

  .works-card__label {
    position: relative;
    top: auto;
    left: auto;

    width: 100%;
    height: auto;
    padding: 24px 20px 72px;
  }

  .works-card__category {
    font-size: 24px;
    line-height: 1.3;
  }

  .works-card__type {
    font-size: 18px;
  }

  .works-card__image {
    width: 94%;
    margin: -52px auto 0;
    transform: none;
  }

  .works-card__link {
    right: 20px;
    bottom: 20px;
    font-size: 15px;
  }

  .page-top {
    right: 16px;
    bottom: 16px;
    width: 60px;
    height: 60px;
  }

  .page-top-leaf {
    font-size: 19px;
  }

  .page-top-text {
    font-size: 10px;
  }
}


/* =========================
   Contact Page
========================= */

.contact {
  max-width: 900px;
  margin: 0 auto;
  padding: 80px 24px;
}

.contact-title {
  margin-bottom: 32px;
  font-size: 36px;
  text-align: center;
}

.contact-lead {
  margin-bottom: 32px;
  font-size: 18px;
  line-height: 2;
  text-align: center;
}

.contact-btn-area {
  margin-top: 40px;
  margin-bottom: 64px;
  text-align: center;
}

.contact-btn {
  display: inline-block;
  padding: 14px 36px;
  color: #fff;
  text-decoration: none;
  background-color: #6f8f72;
  border-radius: 999px;
  transition: 0.3s;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .08);
  cursor: pointer;
}

.contact-btn:hover {
  background-color: #5f7d62;
  transform: translateY(-2px);
  opacity: .9;
}

.contact-instagram {
  padding-top: 40px;
  text-align: center;
  border-top: 1px solid #ccc;
}

.contact-instagram h2 {
  margin-bottom: 16px;
  font-size: 24px;
}

.contact-instagram p {
  margin-bottom: 24px;
  line-height: 1.8;
}

.instagram-btn {
  display: inline-block;
  padding: 14px 36px;
  color: #fff;
  text-decoration: none;
  background-color: #6f8f72;
  border-radius: 999px;
}

/* ==========================
   Custom Cursor
========================== */
.cursor {
  position: fixed;
  width: 20px;
  height: 20px;
  border-radius: 50%;

  background: #8FAE8A;
  opacity: .25;
  filter: blur(2px);

  pointer-events: none;
}

/* =========================
   Breadcrumb
========================= */

.breadcrumb {
  max-width: 1100px;
  margin: 60px auto;
  padding: 0 40px;
  font-size: 0.9rem;
}

.breadcrumb ol {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.breadcrumb a {
  color: #6f8f72;
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb li:last-child {
  color: #333;
  font-weight: 500;
}

/* =========================
   Work Instagram
========================= */

.work-instagram {
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 40px;
}

.instagram-text {
  margin-bottom: 24px;
  line-height: 1.8;
}

/* =========================
   Footer
========================= */

.site-footer {
  text-align: center;
  padding: 20px 0 40px;
}

.copyright {
  font-size: 14px;
  color: #666;
}

/* ==========================
   Tablet Works
========================== */

@media screen and (min-width: 768px) and (max-width: 1024px) {

  .works-card {
    width: calc(100% - 80px);
    margin: 40px auto 0;
  }

}

/* ==========================
   Work Detail Tablet
========================== */

@media screen and (max-width:900px) {

  .work-hero {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }

  .work-hero__image {
    width: 100%;
  }

  .work-hero__image img {
    width: 80%;
    max-width: 520px;
    margin: 0 auto;
  }

  .work-hero__text {
    width: 100%;
  }

}