@charset "UTF-8";
@font-face {
  font-family: "HanaZome";
  src: url("../font/HanazomeFont.woff2") format("woff2"), url("../font/HanazomeFont.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}
:root {
  --latin: "EB Garamond", serif;
  --jp: "Zen Old Mincho", "Noto Serif JP", "Hiragino Mincho ProN", serif;
  --BaseSize: 1rem;
  --bg: #EFE8DC;
  --panel: #efe8db;
  --text: #46320F;
  --muted: #70572B;
  --accent: #c85a6a;
  --accent-dark: #b24a59;
  --white: #fff;
  --radius: 8px;
  --light: rgb(70, 50, 15, 0.2);
}

body {
  font-family: var(--jp), var(--latin), serif;
  font-optical-sizing: auto;
  font-variant-numeric: lining-nums;
  background-color: #EFE8DC;
  position: relative;
  z-index: -1;
}

* {
  color: #46320F;
  letter-spacing: calc(var(--BaseSize) * 0.07);
}

h1, h2 {
  line-height: 1;
}

h1.title, footer div h2.title {
  font-family: "HanaZome";
}

h2 .title {
  font-size: clamp(var(--BaseSize) * 2, 3vw, var(--BaseSize) * 3.5);
  font-weight: 700;
}

h3 {
  font-size: clamp(var(--BaseSize) * 1.4, 2.6vw, var(--BaseSize) * 2.2);
  line-height: 1.6;
  font-weight: 700;
}

h4 {
  font-size: clamp(var(--BaseSize) * 1.2, 2.2vw, var(--BaseSize) * 1.8);
  line-height: 1.6;
  font-weight: 700;
}

a {
  font-size: clamp(var(--BaseSize), 1.5vw, var(--BaseSize) * 1.2);
  font-weight: 700;
}

.wing {
  display: flex;
  align-items: center;
}
.wing::after {
  content: "";
  background-image: url(../img/top/svg/wing.svg);
  background-size: cover;
  width: 33px;
  height: 32px;
  display: inline-block;
  opacity: 0;
  transition: opacity ease-in 0.6s;
}
.wing:hover::after {
  animation: wing-in 0.6s ease-in forwards;
  opacity: 1;
}
.wing:not(:hover)::after {
  animation: wing-out 0.5s ease-out forwards;
}

@keyframes wing-in {
  0% {
    transform: translate3d(7.5px, -7.5px, 0) rotate(-10deg);
    opacity: 0.1;
  }
  100% {
    transform: translate3d(0, 0, 0) rotate(0);
    opacity: 1;
  }
}
@keyframes wing-out {
  0% {
    transform: translate3d(0, 0, 0) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translate3d(7.5px, -7.5px, 0) rotate(-10deg);
    opacity: 0;
  }
}
p {
  line-height: 1.6;
  font-size: clamp(var(--BaseSize) * 0.75, 1.6vw, var(--BaseSize) * 1);
}

span {
  font-size: clamp(var(--BaseSize) * 0.8, 1.4vw, var(--BaseSize) * 1);
}

header {
  background-color: #EFE8DC;
}
header div {
  background-color: #EFE8DC;
}
header div h1 {
  font-size: clamp(var(--BaseSize), 2.2vw, var(--BaseSize) * 1.8);
  font-weight: 700;
}
header div nav {
  margin: auto 0 0 0;
}
header div nav a {
  font-size: clamp(var(--BaseSize) * 0.8, 1.5vw, var(--BaseSize) * 1.4);
  line-height: 1;
  font-weight: 400;
}
header div button {
  pointer-events: none;
}
header div button img {
  pointer-events: auto;
}

#story {
  height: 33rem;
  overflow: hidden;
  background-image: url(../img/top/svg/mountain01-sp.svg);
  background-position: bottom;
  background-repeat: no-repeat;
}
@media screen and (min-width: 640px) {
  #story {
    height: 100svh;
    background-image: url(../img/top/svg/mountain01.svg);
  }
}
#story .contain {
  height: 100%;
  width: 100%;
}
#story .contain p {
  font-weight: 700;
  font-size: clamp(var(--BaseSize) * 0.92, 1.8vw, var(--BaseSize) * 1.2);
}
#story .button {
  background-color: #70572B;
  color: #EFE8DC;
  padding-top: calc(var(--BaseSize) * 0.6);
  padding-bottom: calc(var(--BaseSize) * 0.6);
  border-radius: 50px;
}

.falling-dots {
  pointer-events: none;
  z-index: 1;
  width: 100vw;
  height: 100svh;
  pointer-events: none;
  z-index: 9;
  position: absolute;
  max-width: 1905px;
}

.dot1 {
  animation-name: fall;
  animation-duration: var(--dur);
  animation-delay: var(--delay);
  animation-timing-function: linear; /* イーズインアウト系 */
  animation-iteration-count: infinite;
  transform-box: fill-box;
  transform-origin: center;
  transform: translateY(-50px);
  opacity: 0.95;
}

.dot2 {
  animation-name: fall2;
  animation-duration: var(--dur);
  animation-delay: var(--delay);
  animation-timing-function: linear; /* イーズインアウト系 */
  animation-iteration-count: infinite;
  transform-box: fill-box;
  transform-origin: center;
  transform: translateY(-50px);
  opacity: 0.95;
}

.dot3 {
  animation-name: fall3;
  animation-duration: var(--dur);
  animation-delay: var(--delay);
  animation-timing-function: linear; /* イーズインアウト系 */
  animation-iteration-count: infinite;
  transform-box: fill-box;
  transform-origin: center;
  transform: translateY(-50px);
}

.dot4 {
  animation-name: fall4;
  animation-duration: var(--dur);
  animation-delay: var(--delay);
  animation-timing-function: linear; /* イーズインアウト系 */
  animation-iteration-count: infinite;
  transform-box: fill-box;
  transform-origin: center;
  transform: translateY(-50px);
  opacity: 0.95;
}

/* ---- 雪のようにゆらゆら落ちるアニメーション ---- */
@keyframes fall {
  0% {
    transform: translate3d(0, 0, 0);
    opacity: 0.95;
  }
  20% {
    transform: translate3d(40px, 20svh, 0);
    opacity: 0.9;
  }
  40% {
    transform: translate3d(-25px, 40svh, 0);
    opacity: 0.8;
  }
  60% {
    transform: translate3d(30px, 60svh, 0);
    opacity: 0.4;
  }
  80% {
    transform: translate3d(-20px, 80svh, 0);
    opacity: 0.05;
  }
  90% {
    opacity: 0;
  }
  100% {
    transform: translate3d(0, 100svh, 0);
    opacity: 0;
  }
}
@keyframes fall2 {
  0% {
    transform: translate3d(0, 0, 0);
    opacity: 0.95;
  }
  20% {
    transform: translate3d(55px, 20svh, 0);
    opacity: 0.9;
  }
  40% {
    transform: translate3d(-55px, 40svh, 0);
    opacity: 0.8;
  }
  60% {
    transform: translate3d(20px, 60svh, 0);
    opacity: 0.4;
  }
  80% {
    transform: translate3d(-20px, 80svh, 0);
    opacity: 0.05;
  }
  90% {
    opacity: 0;
  }
  100% {
    transform: translate3d(0, 100svh, 0);
    opacity: 0;
  }
}
@keyframes fall3 {
  0% {
    transform: translate3d(0, 0, 0);
    opacity: 0.95;
  }
  20% {
    transform: translate3d(30px, 20svh, 0);
    opacity: 0.9;
  }
  40% {
    transform: translate3d(-35px, 40svh, 0);
    opacity: 0.8;
  }
  60% {
    transform: translate3d(50px, 60svh, 0);
    opacity: 0.4;
  }
  80% {
    transform: translate3d(-50px, 80svh, 0);
    opacity: 0.05;
  }
  90% {
    opacity: 0;
  }
  100% {
    transform: translate3d(0, 100svh, 0);
    opacity: 0;
  }
}
@keyframes fall4 {
  0% {
    transform: translate3d(0, 0, 0);
    opacity: 0.95;
  }
  20% {
    transform: translate3d(30px, 20svh, 0);
    opacity: 0.7;
  }
  40% {
    transform: translate3d(-35px, 40svh, 0);
    opacity: 0.8;
  }
  60% {
    transform: translate3d(50px, 60svh, 0);
    opacity: 0;
  }
  80% {
    transform: translate3d(-50px, 80svh, 0);
    opacity: 0;
  }
  90% {
    opacity: 0;
  }
  100% {
    transform: translate3d(0, 100svh, 0);
    opacity: 0;
  }
}
#service {
  height: 748px;
  overflow: hidden;
  background-image: url(../img/top/svg/mountain02-sp.svg);
  background-repeat: no-repeat;
  background-position: top;
}
@media screen and (min-width: 640px) {
  #service {
    height: 100svh;
    background-image: url(../img/top/svg/mountain02.svg);
  }
}

#works {
  height: 548px;
  overflow: hidden;
  background-image: url(../img/top/png/forest.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-color: rgba(130, 118, 118, 0.85);
  background-blend-mode: multiply;
}
#works h2 span {
  color: #EFE8DC;
}
@media screen and (min-width: 640px) {
  #works {
    height: 100svh;
  }
}

#contact {
  height: 548px;
}
@media screen and (min-width: 1024px) {
  #contact {
    height: calc(60svh + 100px);
  }
}
#contact a, #contact button {
  color: #EFE8DC;
  font-weight: 500;
  border-radius: 10px;
  line-height: 1.3;
}
#contact a span, #contact button span {
  color: #EFE8DC;
}
#contact .tel {
  background-color: #70572B;
  font-size: clamp(var(--BaseSize) * 1, 2vw, var(--BaseSize) * 2);
}
#contact .mail {
  background-color: #2B703C;
  font-size: clamp(var(--BaseSize) * 1, 1.6vw, var(--BaseSize) * 1.5);
}

footer {
  position: relative;
}
footer div h2 {
  font-size: clamp(var(--BaseSize) * 1.4, 3vw, var(--BaseSize) * 1.8);
  font-weight: 700;
  color: #EFE8DC;
}
footer div p {
  color: #EFE8DC;
}
footer div span {
  color: #EFE8DC;
}
footer div ul li {
  color: #EFE8DC;
}
footer div ul li .wing {
  border-bottom: 1px solid rgba(239, 232, 220, 0.2);
}
@media screen and (min-width: 1024px) {
  footer div ul li .wing {
    border-top: 0;
    border-bottom: 0;
  }
}
footer div ul li .wing::after {
  background-image: url(../img/top/svg/footer-wing.svg);
}
footer:before {
  content: "";
  background-image: url(../img/top/svg/footer-mountain.svg);
  background-size: cover;
  position: absolute;
  left: 0;
  bottom: 0;
  background-size: cover;
  width: 100%;
  height: calc(450px + 5svh);
  z-index: -1;
}
@media screen and (min-width: 1024px) {
  footer:before {
    height: calc(250px + 5svh);
  }
}
footer .copy {
  color: #EFE8DC;
}
footer .copy span {
  color: #EFE8DC;
}
footer .copy #year-range {
  padding-left: 5px;
  padding-right: 5px;
}

.switch {
  transition: opacity ease 0.3s;
}
.switch:hover {
  opacity: 0.7;
  transition: opacity ease 0.3s;
}

.is-visible .on {
  transition: transform ease 0.5s;
}
.is-visible .on:hover {
  transform: scale(1.03);
  transition: transform ease 0.5s;
}

.wrapper {
  opacity: 0;
  z-index: 10;
  display: block;
  pointer-events: none;
  width: 100%;
  height: calc(100vh - 127px);
  transition: opacity 0.5s ease, filter 0.5s ease;
  filter: blur(10px);
}
@media (max-width: 639px) {
  .wrapper {
    height: calc(100vh - 60px);
  }
}
.wrapper.on {
  opacity: 1;
  animation-name: on;
  animation-duration: 0.5s;
  pointer-events: auto;
  filter: blur(0);
}
@keyframes on {
  0% {
    filter: blur(10px);
  }
  20% {
    filter: blur(5px);
  }
  100% {
    filter: blur(0);
  }
}

.curtain {
  opacity: 1;
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;
  background-color: rgba(70, 50, 15, 0.8);
  background-size: cover;
}

.box {
  margin: auto 0;
  background-color: var(--bg);
  background-size: cover;
  height: 33rem;
  width: 90vw;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  overflow-y: scroll;
}
@media screen and (min-width: 640px) {
  .box {
    height: 70vh;
  }
}
.box .movie-header {
  padding: 3vw;
}
.box .movie-header video {
  -o-object-fit: cover;
     object-fit: cover;
}
.box nav ul {
  padding: 3vw;
  justify-content: space-between;
}
.box nav ul li a {
  font-size: clamp(var(--BaseSize) * 1.2, 2.2vw, var(--BaseSize) * 1.8);
  font-weight: 700;
  display: block;
}
@media screen and (min-width: 640px) {
  .box nav ul li a {
    display: inline-block;
  }
  .box nav ul li a::after {
    content: "";
    background-image: url(../img/top/svg/wing.svg);
    background-size: cover;
    width: 33px;
    height: 32px;
    display: inline-block;
    opacity: 0;
    transition: opacity ease-in 0.6s;
  }
  .box nav ul li a:hover::after {
    animation: wing-in-header 0.6s ease-in forwards;
    opacity: 1;
  }
  .box nav ul li a:not(:hover)::after {
    animation: wing-out-header 0.5s ease-out forwards;
  }
}
@keyframes wing-in-header {
  0% {
    transform: translate3d(7.5px, -7.5px, 0) rotate(-10deg);
    opacity: 0.1;
  }
  100% {
    transform: translate3d(0, 5px, 0) rotate(0);
    opacity: 1;
  }
}
@keyframes wing-out-header {
  0% {
    transform: translate3d(0, 5px, 0) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translate3d(7.5px, -7.5px, 0) rotate(-10deg);
    opacity: 0;
  }
}
.box nav ul li div span a {
  font-size: clamp(var(--BaseSize) * 0.6, 1.2vw, var(--BaseSize) * 0.8);
}

header button img:nth-child(1) {
  transform: scale(1);
  animation-name: expand;
  animation-duration: 1s;
  opacity: 1;
}
header button img:nth-child(1).shrink {
  transform: scale(0);
  animation-name: shrink;
  animation-duration: 1s;
  opacity: 0;
}
@keyframes shrink {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(0);
    opacity: 0;
  }
}
header button img:nth-child(2) {
  transform: scale(0);
  animation-name: shrink;
  animation-duration: 1s;
  opacity: 0;
}
header button img:nth-child(2).expand {
  transform: scale(1);
  animation-name: expand;
  animation-duration: 1s;
  opacity: 1;
}
@keyframes expand {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

body:not(.home) main {
  padding-top: 127px;
}
@media (max-width: 639px) {
  body:not(.home) main {
    padding-top: 80px;
  }
}
body:not(.home) main .mainImage {
  position: relative;
}
body:not(.home) main .mainImage .Image {
  clip-path: polygon(calc(100% - 0px) calc(100% - 0px), calc(50% + 90px) calc(100% - 0px), calc(50% + 90px) calc(100% - 0px), calc(50% + 88.822062px) calc(100% - 14.598558px), calc(50% + 85.411776px) calc(100% - 28.447104px), calc(50% + 79.954434px) calc(100% - 41.360346px), calc(50% + 72.635328px) calc(100% - 53.152992px), calc(50% + 63.63975px) calc(100% - 63.63975px), calc(50% + 53.152992px) calc(100% - 72.635328px), calc(50% + 41.360346px) calc(100% - 79.954434px), calc(50% + 28.447104px) calc(100% - 85.411776px), calc(50% + 14.598558px) calc(100% - 88.822062px), calc(50% - 0px) calc(100% - 90px), calc(50% - 0px) calc(100% - 90px), calc(50% - 14.598558px) calc(100% - 88.822062px), calc(50% - 28.447104px) calc(100% - 85.411776px), calc(50% - 41.360346px) calc(100% - 79.954434px), calc(50% - 53.152992px) calc(100% - 72.635328px), calc(50% - 63.63975px) calc(100% - 63.63975px), calc(50% - 72.635328px) calc(100% - 53.152992px), calc(50% - 79.954434px) calc(100% - 41.360346px), calc(50% - 85.411776px) calc(100% - 28.447104px), calc(50% - 88.822062px) calc(100% - 14.598558px), calc(50% - 90px) calc(100% - 0px), 0px calc(100% - 0px), 0px 0px, calc(50% + 320px) 0px, calc(100% - 0px) calc(100% - 0px));
  height: 280px;
  background-size: cover;
  background-position: center;
}
@media (min-width: 640px) {
  body:not(.home) main .mainImage .Image {
    clip-path: polygon(0px 0px, calc(100% - 183px) 0px, calc(100% - 182.303px) 15.96px, calc(100% - 180.22px) 31.77px, calc(100% - 176.79px) 47.29px, calc(100% - 172.04px) 62.39px, calc(100% - 166.01px) 76.93px, calc(100% - 158.75px) 90.78px, calc(100% - 150.31px) 103.81px, calc(100% - 140.77px) 115.9px, calc(100% - 130.2px) 126.95px, calc(100% - 118.68px) 136.86px, calc(100% - 106.3px) 145.55px, calc(100% - 93.16px) 152.96px, calc(100% - 79.38px) 159.02px, calc(100% - 65.06px) 163.69px, calc(100% - 50.33px) 166.93px, calc(100% - 35.31px) 168.73px, calc(100% - 20.13px) 169.07px, calc(100% - 5px) 169.41px, calc(100% - 0px) 170.2px, 100% 100%, 170px 100%, 169.94px calc(100% - 5px), 169.07px calc(100% - 20.13px), 168.73px calc(100% - 35.31px), 166.93px calc(100% - 50.33px), 163.69px calc(100% - 65.06px), 159.02px calc(100% - 79.38px), 152.96px calc(100% - 93.16px), 145.55px calc(100% - 106.3px), 136.86px calc(100% - 118.68px), 126.95px calc(100% - 130.2px), 115.9px calc(100% - 140.77px), 103.81px calc(100% - 150.31px), 90.78px calc(100% - 158.75px), 76.93px calc(100% - 166.01px), 62.39px calc(100% - 172.04px), 47.29px calc(100% - 176.79px), 31.77px calc(100% - 180.22px), 15.96px calc(100% - 182.303px), 0px calc(100% - 183px), 0px 0px);
    height: 493px;
  }
}
body:not(.home) main .mainImage .Image.about {
  background-image: var(--about-bg);
}
body:not(.home) main .mainImage .Image.vision {
  background-image: var(--vision-bg);
}
body:not(.home) main .mainImage .Image.service {
  background-image: var(--service-bg);
}
body:not(.home) main .mainImage .Image.contact {
  background-image: -webkit-image-set(url("../img/contact/smiling-couple-waving-indoor-casual-portrait.webp") type("image/webp"), url("../img/contact/smiling-couple-waving-indoor-casual-portrait.png") type("image/png"));
  background-image: image-set(url("../img/contact/smiling-couple-waving-indoor-casual-portrait.webp") type("image/webp"), url("../img/contact/smiling-couple-waving-indoor-casual-portrait.png") type("image/png"));
}
body:not(.home) main .mainImage .Image.works {
  background-image: var(--works-bg);
}
body:not(.home) main .mainImage h2 {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  bottom: 30px;
  left: -5vw;
  font-size: clamp(var(--BaseSize) * 2, 3vw, var(--BaseSize) * 3.5);
  font-weight: 700;
}
body:not(.home) main .mainImage .about-title {
  left: -6vw;
}
@media (max-width: 639px) {
  body:not(.home) main .mainImage h2 {
    bottom: -20px;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
  }
}
@media (max-width: 639px) {
  body:not(.home) main .mainImage .about-title {
    bottom: -20px;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
  }
}
.company-table {
  width: 100%;
  border-collapse: collapse;
}

.company-table th,
.company-table td {
  padding: 48px 24px;
  vertical-align: middle;
}

.company-table th {
  width: 220px; /* 左カラム幅 */
  font-weight: 300;
  letter-spacing: 0.04em;
  white-space: nowrap;
  border-bottom: 1px solid #46320F;
  text-align: left;
}

.company-table td {
  border-bottom: 1px solid rgba(70, 50, 15, 0.2);
}

.company-table a {
  color: inherit;
  text-decoration: none;
  font-weight: 300;
}

.company-table tr:nth-child(2) td {
  border: none;
}

/* --- SP（レスポンシブ） --- */
@media (max-width: 639px) {
  .company-table,
  .company-table tbody,
  .company-table tr,
  .company-table th,
  .company-table td {
    display: block;
    width: 100%;
  }
  .company-table tr {
    padding: 14px 0;
    border-bottom: 1px solid rgba(74, 61, 43, 0.25);
  }
  .company-table tr:nth-child(2) {
    border-bottom: 0;
    padding-bottom: 0;
  }
  .company-table tr:nth-child(2) td {
    padding-bottom: 0;
  }
  .company-table th {
    width: 100%;
    padding: 10px 16px 6px;
    border-bottom: none;
    opacity: 0.85;
    font-size: 14px;
  }
  .company-table td {
    padding: 0 16px 10px;
    border-bottom: none;
    font-size: 16px;
  }
}
.pankuzu {
  display: flex;
}
.pankuzu a {
  font-weight: 300;
  display: flex;
  align-items: center;
  font-size: clamp(var(--BaseSize) * 0.8, 1.5vw, var(--BaseSize) * 1.2);
}
.pankuzu a::before {
  background-image: url(../common/svg/wing.svg);
  content: "";
  background-image: url(../common/svg/wing.svg);
  content: "";
  background-size: 100% 100%;
  width: 14px;
  height: 14px;
  margin-right: 4px;
  display: block;
}

.vision-bubbles::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../img/vision/svg/bubble.svg"), url("../img/vision/svg/bubble.svg"), url("../img/vision/svg/bubble.svg"), url("../img/vision/svg/bubble.svg");
  background-repeat: no-repeat;
  background-position: right 8vw top 300px, right 15vw bottom 50px, left 5vw bottom 110px, left 25vw top 70px;
  background-size: calc(30px + 5vw), calc(50px + 3vw), calc(30px + 4vw), calc(40px + 3vw);
  pointer-events: none;
}

#vision::before {
  content: "";
  background-image: -webkit-image-set(url("../img/vision/video-production-behind-the-scenes-camera-crew-collage.webp") type("image/webp"), url("../img/vision/video-production-behind-the-scenes-camera-crew-collage.png") type("image/png"));
  background-image: image-set(url("../img/vision/video-production-behind-the-scenes-camera-crew-collage.webp") type("image/webp"), url("../img/vision/video-production-behind-the-scenes-camera-crew-collage.png") type("image/png"));
  background-size: contain;
  background-repeat: no-repeat;
  background-position: right;
  position: absolute;
  top: -130px;
  right: 0;
  display: block;
  width: 130%;
  z-index: -1;
  height: 130%;
}

.serviceBox {
  margin: 0 auto;
}
.serviceBox div {
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
}
@media screen and (min-width: 1280px) {
  .serviceBox div {
    height: 100%;
  }
}
.serviceBox div:nth-child(1)::before {
  content: var(--service-1);
}
.serviceBox div:nth-child(2)::before {
  content: var(--service-2);
}
.serviceBox div:nth-child(3)::before {
  content: var(--service-3);
}
.serviceBox div:nth-child(4)::before {
  content: var(--service-4);
}
.serviceBox div:nth-child(1)::before, .serviceBox div:nth-child(3)::before {
  white-space: pre-line;
  text-align: center;
  color: #fff;
  display: flex;
  justify-content: center;
  padding-top: 20px;
  background-color: #70572B;
  z-index: 2;
  position: absolute;
  height: 110px;
  width: 100%;
  top: 0;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 50%);
}
.serviceBox div:nth-child(1)::after, .serviceBox div:nth-child(3)::after {
  content: "";
  background-color: rgba(67, 52, 25, 0.8); /* 乗算したい色 */
  background-blend-mode: multiply;
  z-index: 1;
  position: absolute;
  height: 110px;
  width: 100%;
  top: 0;
  clip-path: polygon(0 0, 100% 0, 0 100%, 0 100%);
}
.serviceBox div:nth-child(2)::before, .serviceBox div:nth-child(4)::before {
  bottom: 0;
  align-items: end;
  white-space: pre-line;
  text-align: center;
  color: #fff;
  display: flex;
  justify-content: center;
  padding-bottom: 20px;
  background-color: #70572B;
  z-index: 2;
  position: absolute;
  height: 110px;
  width: 100%;
  clip-path: polygon(0 0, 100% 38%, 100% 100%, 0 100%);
}
.serviceBox div:nth-child(2)::after, .serviceBox div:nth-child(4)::after {
  content: "";
  background-color: rgba(67, 52, 25, 0.8); /* 乗算したい色 */
  background-blend-mode: multiply;
  z-index: 1;
  position: absolute;
  height: 110px;
  width: 100%;
  bottom: 0;
  clip-path: polygon(100% 0, 100% 0, 100% 100%, 0% 60%);
}

.contact {
  padding: 56px 20px 40px;
}

.contact__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.contact__title {
  text-align: center;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin: 0 0 36px;
  font-size: clamp(22px, 3.2vw, 40px);
}

.form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  -moz-column-gap: 56px;
       column-gap: 56px;
  align-items: start;
  margin-bottom: 32px;
}

/* field */
.form__col {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.field {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 18px;
  align-items: center;
  margin-bottom: 18px;
}
.field:last-child {
  margin-bottom: 0;
}

.field--textareaTop,
.field--textareaBottom {
  align-items: start;
}

.field__labelRow {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-start;
}

.field__label {
  font-size: 16px;
  color: var(--text);
  white-space: nowrap;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 22px;
  padding: 0 8px;
  border-radius: 3px;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.08em;
}

.required .smf-item__label__text::after {
  content: "必須";
  background: var(--accent);
  color: var(--white);
  padding: 4px;
  border-radius: 3px;
  margin-left: 8px;
}

.smf-text-control .imput {
  width: 100%;
  border: none;
  background: var(--panel);
  border-radius: 4px;
  padding: 14px 14px;
  font-size: 16px;
  color: var(--text);
  outline: none;
}

.smf-textarea-control .textarea {
  width: 100%;
  border: none;
  background: var(--panel);
  border-radius: 4px;
  padding: 14px 14px;
  font-size: 16px;
  color: var(--text);
  outline: none;
}

.smf-button-control {
  display: flex;
}
.smf-button-control .smf-button-control__control {
  display: flex;
  width: 100%;
  justify-content: center;
}

.smf-action .smf-button-control .smf-button-control__control[data-action=back] {
  margin-bottom: 10px;
}
@media screen and (min-width: 640px) {
  .smf-action .smf-button-control .smf-button-control__control[data-action=back] {
    margin-bottom: 0;
  }
}
@media screen and (min-width: 640px) {
  .smf-action .smf-button-control {
    width: auto;
  }
}
.smf-action .smf-button-control + .smf-button-control {
  margin-left: 0;
}
@media screen and (min-width: 640px) {
  .smf-action .smf-button-control + .smf-button-control {
    margin-left: 10px;
  }
}
.smf-action .smf-action, .smf-action .smf-button-control__control {
  border: none;
  background: var(--muted);
  color: var(--white);
  padding: 14px 34px;
  border-radius: 6px;
  font-size: 16px;
  letter-spacing: 0.06em;
  cursor: pointer;
  min-width: 260px;
}

.smf-action {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media screen and (min-width: 640px) {
  .smf-action {
    flex-direction: row;
  }
}

/* プライバシー枠（右下の白い箱のイメージ） */
.privacy {
  margin-top: 22px;
  margin-left: auto;
  max-width: 520px;
  background: #ffffff;
  border-radius: 6px;
  padding: 18px 18px 16px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.03);
}

.privacy__title {
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--text);
}

.privacy__body {
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
}

.privacy__body p {
  margin: 0 0 10px;
}

.privacy__note {
  margin-top: 12px;
  color: var(--text);
  font-weight: 600;
}

/* 下部の Contact 表記エリア（簡易） */
.contactFooter {
  position: relative;
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 16px;
}

.contactFooter__word {
  font-size: clamp(38px, 5vw, 64px);
  letter-spacing: 0.06em;
  font-weight: 700;
  color: var(--text);
}

.contactFooter__jp {
  font-size: 14px;
  letter-spacing: 0.18em;
  color: var(--muted);
  margin-bottom: 10px;
}

.contactFooter__bird {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle at 30% 30%, rgba(200, 90, 106, 0.9), rgba(200, 90, 106, 0.2));
  border-radius: 24px;
  opacity: 0.35;
}

/* レスポンシブ */
@media (max-width: 980px) {
  .form__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .privacy {
    max-width: 100%;
    margin-left: 0;
  }
}
@media (max-width: 640px) {
  .field {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .btn {
    width: 100%;
    min-width: unset;
  }
  .contactFooter__bird {
    display: none;
  }
}
/* プライバシーポリシー（同意前スクロール） */
.privacyBox {
  background: #ffffff;
  border-radius: 6px;
  padding: 15px 10px;
  margin-bottom: 8px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.04);
  height: 130px;
}

.privacyBox__title {
  font-size: 16px;
  margin-bottom: 8px;
  color: var(--text);
}

.privacyBox__content {
  max-height: 100px; /* ← スクロール高さ */
  overflow-y: auto;
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
  padding-right: 6px; /* スクロールバー分 */
}

/* スクロールバー（Webkit系・やさしい見た目） */
.privacyBox__content::-webkit-scrollbar {
  width: 6px;
}

.privacyBox__content::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.15);
  border-radius: 4px;
}

.privacyBox__content::-webkit-scrollbar-track {
  background: transparent;
}

.wrap {
  max-width: 1200px;
  margin: 0 auto;
}

/* Tabs */
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 8px;
}

.tab-btn {
  padding: 8px;
  border-radius: 3px;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  transition: transform 0.05s ease, background-color 0.05s ease;
  background-color: var(--bg);
}
.tab-btn:hover {
  background-color: var(--text);
  color: var(--bg);
}
.tab-btn:active {
  transform: translateY(1px);
}
.tab-btn.is-active {
  background-color: var(--text);
  font-weight: 700;
  color: var(--bg);
}

/* Grid */
.grid-works {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 1000px) {
  .grid-works {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 740px) {
  .grid-works {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 460px) {
  .grid-works {
    grid-template-columns: 1fr;
  }
}
.grid-works a {
  font-size: clamp(var(--BaseSize) * 0.8, 1.4vw, var(--BaseSize) * 1);
  font-weight: 400;
}

.card {
  overflow: hidden;
}

.thumb {
  aspect-ratio: 16/9;
  background: #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.thumb.first {
  background: none;
  display: block;
  pointer-events: none;
}

.meta {
  padding: 5px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tag {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  padding: 8px;
  border-radius: 3px;
  background-color: var(--bg);
  width: -moz-fit-content;
  width: fit-content;
}

.works-table {
  /* =========================
     Sidebar
  ========================= */
  /* =========================
     Video
  ========================= */
  /* =========================
     Links / Buttons
  ========================= */
}
.works-table h2 {
  font-size: clamp(var(--BaseSize) * 1.4, 2.6vw, var(--BaseSize) * 2.2);
  line-height: 1.6;
  font-weight: 700;
}
.works-table .wrap {
  max-width: 1380px;
  margin: 0 auto;
}
.works-table .layout {
  display: grid;
  gap: 5VW;
  align-items: start;
}
@media screen and (min-width: 768px) {
  .works-table .layout {
    grid-template-columns: 240px 1fr;
  }
}
.works-table .side {
  position: sticky;
  top: 16px;
}
.works-table .cards {
  display: block;
}
.works-table .card {
  overflow: hidden;
  margin-bottom: 14px;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.works-table .card:hover {
  transform: translateY(-2px);
}
.works-table .card a {
  display: block;
  color: inherit;
  text-decoration: none;
}
.works-table .card .thumb {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--light);
  overflow: hidden;
}
.works-table .card .thumb img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}
.works-table .card .cap {
  padding: 10px 0;
  font-size: 0.75rem;
  line-height: 1.6;
}
.works-table .video {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
  border-radius: var(--radius);
  overflow: hidden;
}
.works-table .video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.works-table .mini-link {
  display: inline-block;
  margin-top: 10px;
  text-decoration: none;
}
.works-table .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  text-decoration: none;
  font-weight: 700;
}
.works-table .button {
  background-color: #70572B;
  color: #EFE8DC;
  padding-top: calc(var(--BaseSize) * 0.6);
  padding-bottom: calc(var(--BaseSize) * 0.6);
  border-radius: 50px;
  line-height: 1;
}

.hachidori-wrap {
  position: absolute;
}
.hachidori-wrap.one {
  top: 45%;
  right: -80px;
  transform: translateY(-60%);
}
@media screen and (min-width: 640px) {
  .hachidori-wrap.one {
    right: -80px;
    top: 35%;
  }
}
@media screen and (min-width: 1024px) {
  .hachidori-wrap.one {
    right: -80px;
    top: 45%;
  }
}
@media screen and (min-width: 1536px) {
  .hachidori-wrap.one {
    right: -3vw;
  }
}
.hachidori-wrap.two {
  top: 45%;
  left: -80px;
  transform: translateY(-60%) scaleX(-1);
}
@media screen and (min-width: 640px) {
  .hachidori-wrap.two {
    left: -80px;
    top: 35%;
  }
}
@media screen and (min-width: 1024px) {
  .hachidori-wrap.two {
    left: -80px;
    top: 45%;
  }
}
@media screen and (min-width: 1280px) {
  .hachidori-wrap.two {
    left: -3vw;
  }
}
.hachidori-wrap.three {
  top: 40%;
  right: -50px;
  transform: translateY(-60%) rotate(-22deg);
}
@media screen and (min-width: 1280px) {
  .hachidori-wrap.three {
    right: 100px;
  }
}
@media screen and (min-width: 1536px) {
  .hachidori-wrap.three {
    right: 3vw;
    top: 35%;
  }
}
.hachidori-wrap.four {
  left: -50px;
  transform: scaleX(-1);
  bottom: -50px;
}
@media screen and (min-width: 640px) {
  .hachidori-wrap.four {
    left: 8vw;
  }
}
@media screen and (min-width: 1024px) {
  .hachidori-wrap.four {
    left: 20vw;
  }
}
@media screen and (min-width: 1280px) {
  .hachidori-wrap.four {
    left: 20vw;
  }
}
@media screen and (min-width: 1536px) {
  .hachidori-wrap.four {
    left: 30vw;
    bottom: -50px;
  }
}

/* =========================
 * three.js 用コンテナ
 * ========================= */
/* three.js の canvas 本体 */
canvas {
  display: block;
  width: 200px;
  height: 200px;
  transform: none;
}
@media screen and (min-width: 1800px) {
  canvas {
    width: 100%;
    height: 100%;
  }
}/*# sourceMappingURL=style.css.map */