@charset "utf-8";
* {
  margin: 0;
  padding: 0;
}
*,
*:before,
*:after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
ul li {
  list-style: none;
}
a {
  text-decoration: none;
}
a:hover {
  cursor: pointer;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}
body {
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  color: #333333;
  line-height: 1.5;
}
:root {
  /* ベース：本文 */
  --fs-xs: clamp(12px, 1vw, 13px); /* 補足・キャプションなど */
  --fs-sm: clamp(14px, 1.2vw, 16px); /* 通常本文・ナビ・ボタン */
  --fs-md: clamp(16px, 1.4vw, 18px); /* 強調本文・ロゴ文字など */

  /* 見出し系 */
  --fs-lg: clamp(20px, 2vw, 24px); /* h3 相当 */
  --fs-xl: clamp(24px, 2.6vw, 30px); /* h2 相当 */
  --fs-xxl: clamp(28px, 3.4vw, 50px); /* h1・キービジュアル用 */
}
h1 {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-style: normal;
  color: #fff;
  font-size: var(--fs-xxl);
  margin-top: 30px;
  line-height: 1.1;
}
h2 {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 2em;
  border-bottom: 3px solid #2f7cff;
  padding-bottom: 10px;
  display: inline-block;
  margin-bottom: 5px;
}

/*========
ヘッダー
=========*/
.header_inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 80%;
  max-width: 1400px;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, 0);
  z-index: 20;
}
.header_logo {
  width: 350;
}

nav ul li {
  display: inline-block;
  margin: 20px;
  color: #fff;
}
nav ul li a {
  color: #fff;
  position: relative;
}
.header_logo a {
  display: flex;
  align-items: center;
  gap: 8px;
  text-align: center;
  color: #fff;
  font-size: var(--fs-md);
}
.header_logo a img {
  width: 70px;
}
nav ul li a::after {
  position: absolute;
  left: 0;
  content: "";
  width: 100%;
  height: 2px;
  background: #fff;
  bottom: -1px; /*アンダーラインがaタグの下端から現れる*/
  transform: scale(0, 1); /*アンダーラインの縮尺比率。ホバー前はx方向に0*/
  transform-origin: left top; /*変形（アンダーラインの伸長）の原点がaタグ（各メニュー）の左端*/
  transition: transform 0.3s; /*変形の時間*/
}

nav ul li a:hover::after {
  transform: scale(1, 1);
}
/*=========
スライド
===========*/

.swiper img {
  width: 100%;
  height: 100vh;
  object-fit: cover;
}
.kv_content {
  width: 100vw;
  height: 100vh;
  position: relative;
}
.swiper {
  position: relative;
  z-index: 0;
}
.swiper-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2); /* ← ここが暗さ */
  z-index: 1;
  pointer-events: none;
}
.swiper-button-next:after,
.swiper-button-prev:after {
  color: #fff;
}

/*hero*/
.hero {
  position: absolute;
  z-index: 99;
  top: 50%;
  left: 10vw;
  transform: translateY(-50%);
  width: 40%;
}
.under-line {
  width: 30%;
  border-top: 5px solid #fff;
}
.hero p {
  margin-top: 50px;
  margin-bottom: 30px;
  color: #fff;
  font-size: 1em;
  line-height: 1.5;
}
.business_list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 500px;
  text-align: center;
  margin: 50px 0;
}
.business {
  border: 1px solid #fff;
  margin: 5px 10px 5px 0;
  padding: 5px;
  font-size: var(--fs-sm);
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}
.btn-area {
  display: flex;
}
.btn-area a {
  padding-top: 15px;
  padding-bottom: 15px;
  padding-left: 30px;
  padding-right: 30px;
  color: #fff;
}
.contact-btn {
  background-color: #f17c20;
  text-align: center;
  margin-right: 30px;
  position: relative;
  overflow: hidden;
  z-index: 3;
  color: #fff;
}

.contact-btn::before {
  content: "";
  width: 100%;
  height: 100%;
  background-color: #fff;
  color: #f17c20;
  position: absolute;
  left: -100%;
  top: 0;
  transition: all 0.5s;
  z-index: -1;
}

/* hover時の動き */
.contact-btn:hover::before {
  left: 0;
}
.more-btn {
  border: 2px solid #fff;
  position: relative;
  overflow: hidden;
  z-index: 3;
}
.contact-btn::before {
  content: "";
  width: 100%;
  height: 100%;
  background-color: #fff;
  color: #f17c20;
  position: absolute;
  left: -100%;
  top: 0;
  transition: all 0.5s;
  z-index: -1;
}
.contact-btn:hover::before {
  left: 0;
}
.contact-btn:hover {
  border: none;
  color: #f17c20;
}
.more-btn::before {
  content: "";
  width: 100%;
  height: 100%;
  background-color: #fff;
  position: absolute;
  left: -100%;
  top: 0;
  transition: all 0.5s;
  z-index: -1;
}
.more-btn:hover::before {
  left: 0;
}
.more-btn:hover {
  border: none;
  color: #f17c20;
}

.scroll {
  position: absolute;
  bottom: 5vh;
  left: 50%;
  transform: translate(-50%, 0);
}
/*スクロールアイコン*/
.col {
  width: 50%;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
}
.wrapper .col:last-child {
  background-color: #fff;
}
.scroll-down-box {
  display: block;
  position: relative;
  text-decoration: none;
}
.scroll-down-box svg {
  fill: #fff;
}
.scroll-down-box.alt svg {
  fill: #fff;
}
.scroll-down-box .scroll-text {
  width: 80px;
  height: auto;
  -webkit-animation: rotation 10s infinite linear;
  animation: rotation 10s infinite linear;
}
.scroll-down-box.alt .scroll-text {
  -webkit-animation: none;
  animation: none;
}
.scroll-down-box.alt:hover .scroll-text {
  -webkit-animation: rotation 10s infinite linear;
  animation: rotation 10s infinite linear;
}
.scroll-down-box .scroll-icon {
  width: 25px;
  height: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  -ms-transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  -webkit-transition: all 0.2s ease-in;
  transition: all 0.2s ease-in;
}
.scroll-down-box.alt .scroll-icon {
  width: 35px;
}
.scroll-down-box:hover .scroll-icon {
  -webkit-animation: move 1s infinite linear;
  animation: move 1s infinite linear;
}
.scroll-down-box.alt:hover .scroll-icon {
  -webkit-animation: none;
  animation: none;
}

@keyframes rotation {
  from {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(359deg);
    transform: rotate(359deg);
  }
}
@-webkit-keyframes rotation {
  from {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(359deg);
    transform: rotate(359deg);
  }
}

@keyframes move {
  0% {
    -ms-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
  }
  25% {
    -ms-transform: translate(-50%, -35%);
    -webkit-transform: translate(-50%, -35%);
    transform: translate(-50%, -35%);
  }
  50% {
    -ms-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
  }
  75% {
    -ms-transform: translate(-50%, -65%);
    -webkit-transform: translate(-50%, -65%);
    transform: translate(-50%, -65%);
  }
  100% {
    -ms-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
  }
}
@-webkit-keyframes move {
  0% {
    -ms-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
  }
  25% {
    -ms-transform: translate(-50%, -40%);
    -webkit-transform: translate(-50%, -40%);
    transform: translate(-50%, -40%);
  }
  50% {
    -ms-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
  }
  75% {
    -ms-transform: translate(-50%, -60%);
    -webkit-transform: translate(-50%, -60%);
    transform: translate(-50%, -60%);
  }
  100% {
    -ms-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
  }
}

/*=========
メインコンテンツ
===========*/
.wrapper-content {
  width: 60%;
  max-width: 1400px;
  margin: 0 auto;
  margin-top: 100px;
  line-height: 1.5;
}
.about_us,
.designer_content {
  /*display: flex;
  align-items: center;
  gap: 30px;*/
  text-align: center;
}
.designer_content {
  display: grid;
  grid-template-columns: 30% 70%;
  gap: 30px;
}

.about_us div,
.designer_content p {
  /*width: 50%;*/
  margin-bottom: 50px;
}
.about_img {
  width: 50%;
  margin: 0 auto;
}
.about_content h2 {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 2em;
  border-bottom: 3px solid #2f7cff;
  padding-bottom: 10px;
  display: inline-block;
  margin-bottom: 5px;
}
.supplement {
  color: #2f7cff;
  font-size: 0.9em;
  margin-bottom: 50px;
  margin-top: 5px;
}
.lead {
  text-align: left;
}
.lead ul {
  margin: 1em 0;
  font-weight: 700;
}

.about_content a {
  display: block;
  margin-top: 20px;
  color: #2f7cff;
  text-align: right;
}
.about_content a:hover {
  color: #f17c20;
}
.designer-name {
  font-size: var(--fs-lg);
  font-weight: 600;
  font-style: italic;
}
.charator_img img {
  border-radius: 15px;
}
.figcaption {
  font-size: 0.8em;
  text-align: left;
  padding-top: 1em;
}
#service {
  width: 100vw;
  background-color: #dbffed;
  text-align: center;
}
#service h2,
#project h2 {
  font-size: 2.5em;
  margin-bottom: 30px;
}
.inner-wrapper {
  width: 60%;
  text-align: center;
  padding: 100px 0 80px;
  margin: 0 auto;
}
.service_content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-gap: 80px;
  margin-top: 50px;
  text-align: left;
}
.service {
  display: flex;
  flex-direction: column;
  min-height: 680px;
}
.service h3 {
  margin: 30px 0;
  color: #000;
}
.service p:last-of-type,
.service .sub {
  margin-top: auto;
}
.service .sub {
  position: relative; /* 吹き出しの三角の基準にする */
  color: #006400;
  margin-top: 0.5em;
  padding: 1em;
  background-color: rgba(255, 255, 255, 1);
  border: 1px solid #006400;
  border-radius: 10px;
}
.sub {
  margin-top: 30px !important;
}

/* ↓ 吹き出しの “しっぽ（矢印部分）” */
.service .sub::after {
  content: "";
  position: absolute;
  top: -10px; /* 吹き出しの下位置に配置 */
  left: 20px; /* 横位置（調整OK） */
  width: 0;
  height: 0;
  border-width: 0 8px 10px 8px; /* 三角形を作る */
  border-style: solid;
  border-color: transparent transparent #006400 transparent;
}

/* 内側の白い三角（境界線と同じ色を出すため） */
.service .sub::before {
  content: "";
  position: absolute;
  top: -8px; /* 表の三角より少し上 */
  left: 20px;
  width: 0;
  height: 0;
  border-width: 0 8px 10px 8px;
  border-style: solid;
  border-color: transparent transparent rgba(255, 255, 255, 1) transparent;
  z-index: 1;
}
/* ふわっと下から出るアニメーション */
@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.sub {
  opacity: 0; /* 初期状態で非表示 */
  transform: translateY(20px);
}
.service.is-inview .sub {
  animation: fadeUp 0.8s ease forwards;
}

/* ここで “時間差” を指定する */
.service_content .service:nth-child(1).is-inview .sub {
  animation-delay: 0.2s;
}

.service_content .service:nth-child(2).is-inview .sub {
  animation-delay: 0.6s;
}

.service_content .service:nth-child(3).is-inview .sub {
  animation-delay: 1s;
}
.project_content ul {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 1fr 1fr 1fr;
  grid-gap: 20px;
  margin-top: 50px;
}
.project_title:first-letter {
  font-size: 2em;
  color: #2f7cff;
}
.project_title {
  margin: 50px auto 30px;
  width: 200px;
  text-align: center;
  border-top: 3px solid #2f7cff;
  border-bottom: 3px solid #2f7cff;
  background-color: #eee;
}
.project_lead {
  text-align: left;
  margin-top: 30px;
  padding: 1em;
  background-color: #87cefa;
  box-shadow: 4px 4px #333333;
  opacity: 0;
  transition: opacity 1.8s ease-out 0.4s;
}
.project_lead.is-inview {
  opacity: 1;
}
.sample tr td:first-child {
  width: 30%;
}
.sample tr td {
  border: none;
  background-color: #fff;
}
.index-5 {
  text-indent: -5em;
  margin-left: 5em;
}
.index-7 {
  text-indent: -7em;
  margin-left: 7em;
}
.sample-lead {
  margin-top: 1rem;
  font-size: 0.8em;
}
.work-img a {
  display: block;
  overflow: hidden;
}
.work-img img {
  display: block; /* inline 要素の余白回避 */
  transition: transform 0.3s ease;
}
.work-img a:hover img {
  transform: scale(1.1);
}
.sample {
  border-collapse: collapse;
  margin-top: 50px;
}
.sample tr td {
  border-bottom: 1px solid #666;
}
.sample tr:last-child td {
  border-bottom: none;
}
#contact {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url(../images/AdobeStock_398280382.jpeg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}
.contact_to {
  margin-top: 100px;
}

.blue {
  color: #2f7cff;
}

.contact_to a {
  padding: 20px 50px;
  background-color: #f17c20;
  color: #fff;
  border-radius: 100vh;
  display: inline-block;
  position: relative;
  transform: scale(1);
  transition: transform 0.3s ease;
}

.contact_to a:hover {
  transform: scale(1.1);
}

.contact_to a::before {
  content: "";
  position: absolute;
  right: 30px;
  top: 0;
  bottom: 0;
  margin: auto;
  width: 7px;
  height: 7px;
  border-right: 2px solid #fff;
  border-top: 2px solid #fff;
  transform: rotate(45deg);
  transition: right 0.3s ease;
}

.contact_to a:hover::before {
  right: 25px;
}

.cta_area h2,
.cta_area p {
  color: #fff;
}
.cta_btn {
  background-color: #f17c20;
  color: #fff;
  padding: 20px 30px;
  margin-top: 50px;
  display: inline-block;
}
.cta_btn:hover {
  transform: scale(1.2);
  transition: all 0.3s;
}
.cta_btn {
  transform: scale(1);
  transition: all 0.3s;
}
footer {
  background-color: #333333;
  color: #fff;
  text-align: center;
  padding: 5px 0;
  font-size: 0.8em;
}
.sp {
  display: none;
}
.pc {
  display: block;
}

/*モバイル*/
@media screen and (max-width: 1024px) {
  .swiper img {
    height: 50vh;
  }
  .kv_content {
    height: 50vh;
  }
  h1 {
    font-size: 3em;
    text-align: center;
  }
  .scroll {
    display: none;
    bottom: 50px;
  }
  #about section {
    display: block;
  }
  #about section div {
    width: 100%;
  }
  .wrapper-content {
    width: 90%;
    margin: 0 auto;
  }
  .service_content {
    display: block;
  }
  .service div {
    width: 30%;
    margin: 0 auto;
  }
  .service h3 {
    text-align: center;
  }
  .service {
    margin-bottom: 30px;
  }
  .inner-wrapper {
    width: 90%;
  }
  .project_content ul {
    grid-template-columns: 1fr 1fr;
  }
}
@media screen and (max-width: 655px) {
  .sp {
    display: block;
  }
  .pc {
    display: none;
  }
  .header_inner {
    margin-top: 10px;
    width: 90%;
  }

  .hero {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    z-index: 2;
  }
  h1 {
    font-size: 2em;
  }
  .business_list {
    width: auto;
  }
  .business {
    height: 50px;
  }
  .under-line {
    margin: 0 auto;
  }
  .kv_content {
    height: 100vh;
  }
  .swiper img {
    height: 100vh;
    object-position: center;
  }
  .swiper-pagination-bullet-active {
    background-color: #fff;
  }
  .scroll {
    display: block;
    left: 55%;
    /*bottom: 10px;*/
  }
  .project_content ul {
    grid-template-columns: 1fr;
  }
  .btn-area {
    justify-content: center;
  }
  /*.hero p {
    margin-bottom: 200px;
  }*/
  .scroll-down-box .scroll-text {
    width: 60px;
  }
  .scroll-down-box .scroll-icon {
    width: 15px;
  }
  /*ハンバーガーメニュー*/

  .hamburger {
    width: 30px;
    height: 80px;
    position: relative;
    appearance: none;
    border: 0;
    padding: 0;
    margin: 0;
    cursor: pointer;
    background-color: transparent;
  }
  .hamburger span,
  .hamburger span::after,
  .hamburger span::before {
    position: absolute;
    display: block;
    content: "";
    width: 100%;
    height: 2px;
    background-color: #fff;
    transition: all 0.5s;
  }
  .hamburger span::before {
    top: -10px;
  }
  .hamburger span::after {
    bottom: -10px;
  }
  .hamburger.open span {
    background-color: transparent;
  }
  .hamburger.open span::before {
    top: 0;
    transform: rotate(45deg);
  }
  .hamburger.open span::after {
    bottom: 0;
    transform: rotate(-45deg);
  }
  .sp_nav {
    position: fixed;
    display: block;
    transition: all 0.5s;
    right: -120vw;
    transition: all 0.5s;
  }
  .nav_list {
    display: block;
    width: 100%;
    padding: 50px;
  }
  .nav__item {
    display: block;
    border-bottom: 2px solid #fcaea3;
    text-align: center;
  }
  .nav__item a {
    color: #fcaea3;
    font-weight: 600;
  }
  .sp_nav.open {
    right: 0;
    left: 0;
    position: fixed;
    z-index: 9999;
    background-color: rgba(255, 255, 255, 1);
    height: 50vh;
    transition: all 0.5s;
    width: 100%;
  }
  .service {
    display: block;
    min-height: auto;
  }
}
@media screen and (max-width: 768px) {
  .sample {
    display: block;
    width: 90%;
    margin: 0 auto;
  }

  .sample tr {
    display: block;
    width: 100%;
    margin-bottom: 20px; /* 行間調整 */
  }

  .sample tr td {
    display: block;
    width: 100% !important;
    height: 100%;
    margin-bottom: 10px; /* セル間スペース */
  }
  .sample tr td:first-child {
    border-bottom: none;
  }
  .blue {
    font-size: 1.1em;
    font-weight: bold;
  }
}
/*=========
下層ページ
=========*/
#second_page {
  background-color: #fcaea3;
  width: 100vw;
}
#second_page .header_inner {
  position: static;
  margin: 0 auto;
  transform: none;
}
#business,
#designer {
  text-align: center;
}
.about_title {
  margin: 0 auto;
}
#business h3,
#designer h3 {
  font-weight: 400;
  color: #2f7cff;
  margin-top: 10px;
}
table {
  margin: 0 auto 100px;
}
td,
th {
  line-height: 2;
  font-size: 1.2em;
  height: 2em;
  line-height: 1.5;
  background-color: #eee;
  padding: 1em 0 1em 1em;
}

.table_1 {
  width: 60vw;
}
td {
  text-align: left;
  padding-left: 2em;
  width: 80%;
}
.business_content {
  text-indent: 0;
  padding-left: 2em;
}
.business_content li {
  list-style: disc;
}
.list_title {
  text-indent: -1em;
}
.g_design {
  margin-top: 1em;
}
.designer_profile {
  margin: 10px;
  margin-top: 50px;
}
.cap {
  text-align: left;
  margin-bottom: 50px;
}
.designer_profile th,
.designer_profile td {
  background-color: #fff;
  border-bottom: 2px #666 dashed;
}
.image_area {
  height: 100px;
  display: flex;
  justify-content: center;
}
.image_area_1 {
  margin-top: 50px;
  height: 100px;
  display: flex;
  justify-content: space-between;
}
.message {
  margin-bottom: 50px;
  color: #2f7cff;
}
.text {
  display: flex;
  justify-content: center;
  align-items: center;
  text-transform: uppercase;
}
.text.is-active {
  --x: 0;
}

.char {
  overflow: hidden;
}

.char-text {
  display: inline-block;
  transform: translateX(var(--x, -101%));
  transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
  transition-delay: calc(0.05s * var(--char-index));
}

/* 初期CSS */

.visuallyHidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.req {
  color: #f17c20;
  font-size: 0.9em;
}

@media screen and (max-width: 655px) {
  td,
  th {
    padding: 0.5em;
  }
  table {
    margin: 0 auto 50px;
  }
  .list_title {
    text-indent: -0.5em;
  }
  .image_area {
    height: 80px;
  }
  .sp-message {
    border: 2px solid #2f7cff;
    border-radius: 10px;
    padding: 1em 0;
    opacity: 0;
    transition: opacity 1.6s ease-out 0.3s;
    margin-bottom: 3em;
    color: #2f7cff;
  }
  .sp-message.is-inview {
    opacity: 1;
  }
  .about_title {
    margin: 50px auto 0;
  }
  .charator_img img {
    width: 50%;
  }
}
@media screen and (max-width: 1024px) {
  .designer_content {
    display: block;
  }
  .designer_content p {
    width: 100%;
  }
}
/*コンタクトフォーム*/
.contact-title {
  text-align: center;
  margin-top: 50px;
}
.contact-lead {
  text-align: center;
}
