@charset "UTF-8";
/*
Theme Name: Xsite
Description: Xsite株式会社LPサイト
Theme URI: 
Author: 
Author URI: 
Version: <span class="hljs-number">1.0<span class="hljs-number">.0
License: 
License URI: 
*/
body {
  font-family: Arial, sans-serif;
}

.container h2 {
  font-size: 1.5rem;
  letter-spacing: 0.2rem;
  color: black;
  border-bottom: 1px solid #969393;
}
.container h3 {
  font-size: 1rem;
  letter-spacing: 0.2rem;
  color: black;
}

.bg-hero {
  background-image: url("./images/hero_img.png");
  background-size: cover;
  background-position: center;
}

header, footer {
  background: #000;
  color: #fff;
  padding: 20px 0;
  text-align: center;
}

.footer-legal-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
}
.footer-legal-nav a {
  color: #fff;
  font-size: 0.875rem;
}

.banner-section {
  padding: 40px 20px;
}

.concept-section {
  padding: 30px 20px;
}

.content-section {
  /* padding: 60px 20px;
  clip-path: polygon(0 5%, 100% 0, 100% 95%, 0 100%); */
    padding: 110px 20px;
    clip-path: polygon(0 3%, 100% 0, 100% 97%, 0 100%);
}

.access-section {
  padding: 110px 20px;
  clip-path: polygon(0 3%, 100% 0, 100% 97%, 0 100%);
}

.contact-section {
  padding: 60px 20px;
  scroll-margin-top: 80px;
  /* background-image: url("./images/contact_bg.png");
  background-size: cover;
  background-position: center;
  clip-path: circle(110% at 50% 90%); */
}

.dark-section {
  background: #333;
  color: #fff;
}
.dark-section h2, .dark-section h3, .dark-section p {
  color: #fff;
}

#service {
  margin-top: 20rem;
}

@media only screen and (max-width: 768px) {
  #service {
    margin-top: 10rem;
  }
}

@media only screen and (max-width: 425px) {
  #service {
    margin-top: 5rem;
  }
}

.service-item {
  margin-bottom: 40px;
}
.service-item img, .service-item p {
  width: 100%;
}
.service-item-visual {
  position: relative;
  overflow: hidden;
}
.service-item img {
  display: block;
}
.service-item span {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.52) 35%, rgba(0, 0, 0, 0) 78%);
  box-sizing: border-box;
  color: #fff;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 5%;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
}
.service-item span h3, .service-item span p {
  color: #fff;
  font-weight: 600;
}

.works-slider .slick-slide, .banner-slider .slick-slide {
  text-align: center;
  margin: 0 10px;
}
.works-slider img, .banner-slider img {
  width: 100%;
  margin: 0 auto;
}

.works-slider.is-single .slick-track {
  margin-right: auto;
  margin-left: auto;
}

.works-movie {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  border: 0;
}

.profile-container {
  max-width: 900px;
}

.profile-list {
  margin: 0;
  color: #fff;
}

.profile-row {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 24px;
  padding: 24px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
}
.profile-row dt {
  font-size: 0.875rem;
  font-weight: 600;
}
.profile-row dd {
  margin: 0;
  line-height: 1.8;
  font-weight: 600;
}
.profile-row:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
}

.profile-business-list {
  margin: 0;
  /* padding-left: 1.25em; */
}

.profile-office + .profile-office {
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.profile-office p {
  margin-bottom: 10px;
}

.profile-office-name {
  font-weight: 600;
}

.profile-map {
  display: block;
  width: 100%;
  margin-top: 14px;
  aspect-ratio: 16/6;
  border: 0;
}

/*==================================
ヨヤスタ専用サービス画面
===================================*/
.yoyasta-page {
  min-height: 100vh;
  padding-bottom: 90px;
  color: #282c31;
  background: #f5f6f7;
  font-family: Arial, "Noto Sans JP", sans-serif;
}

.yoyasta-container {
  width: min(100% - 40px, 960px);
  margin-right: auto;
  margin-left: auto;
}

.yoyasta-hero {
  padding: 130px 20px 40px;
  color: #282c31;
  background: transparent;
  text-align: center;
}
.yoyasta-hero h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: 0.02em;
}
.yoyasta-hero p {
  margin: 12px 0 0;
  color: #66707a;
  font-weight: 600;
}

.yoyasta-content {
  color: #59636d;
  font-weight: 600;
  line-height: 1.8;
}

.yoyasta-lead {
  margin: 28px 0 0;
}

.yoyasta-section {
  margin-top: 54px;
}

.yoyasta-section-title {
  margin: 0 0 18px;
  padding: 0;
  color: #282c31;
  border: 0;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0;
  text-align: center;
}

.yoyasta-plan-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 760px;
  margin: 0 auto;
}

.yoyasta-plan-card {
  display: flex;
  flex-direction: column;
  padding: 22px 18px 18px;
  background: #fff;
  border: 1px solid #d7dce1;
  border-radius: 6px;
}
.yoyasta-plan-card h3 {
  margin: 0 0 10px;
  color: #282c31;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0;
  text-align: center;
}
.yoyasta-plan-card ul {
  margin: 0;
  padding-left: 1.25em;
}

.yoyasta-price {
  margin: auto 0 0;
  padding-top: 16px;
  color: #282c31;
  font-weight: 700;
  text-align: center;
}

.yoyasta-centered {
  text-align: center;
}
.yoyasta-centered p {
  margin: 0;
}

.yoyasta-monthly-price {
  font-weight: 700;
}

.yoyasta-feature-list {
  display: inline-block;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: center;
}

.yoyasta-section a {
  color: #e99b00;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.yoyasta-legal-link {
  margin-top: 24px !important;
}

@media (max-width: 767px) {
  .yoyasta-page {
    padding-bottom: 64px;
  }
  .yoyasta-container {
    width: min(100% - 28px, 960px);
  }
  .yoyasta-hero {
    padding-top: 110px;
  }
  .yoyasta-plan-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
  }
  .yoyasta-section {
    margin-top: 44px;
  }
}

@media (max-width: 575px) {
  .access-section {
    padding: 90px 20px;
  }
  .profile-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 20px 0;
  }
}

.navbar-nav li {
  padding: 0 10px;
}

.concept-img-box {
  position: relative;
}

.concept-img-1 {
  max-width: 58%;
  height: auto;
  position: relative;
}

.concept-img-2 {
  max-width: 58%;
  height: auto;
  position: absolute;
  top: 50%;
  right: 0;
}

.concept-img-3 {
  max-width: 80%;
  height: auto;
  position: absolute;
  top: 200%;
}

#information li {
  border-bottom: 1px solid #969393;
}

.price-style {
  border-top: 1px solid;
  border-color: #e5e7eb;
  margin-top: 10px;
  padding-top: 10px;
}

/*==================================
追従ボタン
===================================*/
.float-button {
  position: fixed;
  bottom: 10px;
  right: 10px;
  z-index: 9999;
}

.float-button-style button {
  padding: 10px 50px !important;
}

/*フッターまでスクロールしたら消す*/
.is-hidden {
  visibility: hidden;
  opacity: 0;
}

/*==================================
ナビバー
===================================*/
#header {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 100%;
}

#mobile-menu {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-in-out, opacity 0.5s ease-in-out;
}

#mobile-menu.open {
  margin-top: 1.5rem;
  max-height: 500px; /* 適切な最大高さに設定 */
  opacity: 1;
}

/*==================================
お問い合わせフォーム
===================================*/
.contact-form {
  width: 100%;
  max-width: 1050px;
  margin: 50px auto 0;
}
.contact-form br {
  display: none;
}
.contact-form p {
  margin: 0;
}

.contact-form-row {
  display: grid;
  grid-template-columns: minmax(230px, 300px) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
  margin-bottom: 28px;
}

.contact-form-label {
  display: flex;
  gap: 14px;
  align-items: center;
  min-height: 50px;
  color: black;
  /* font-weight: 600; */
}

.form-required,
.form-optional {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  padding: 3px 7px;
  color: #fff;
  font-size: 0.75rem;
  line-height: 1.2;
}

.form-required {
  background: #d90000;
}

.form-optional {
  background: #333;
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.contact-form-field,
.contact-form-field .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

.contact-form-field input:not([type=radio]):not([type=checkbox]),
.contact-form-field textarea {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  color: #222;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #9a9a9a;
  border-radius: 0;
  font-size: 1rem;
}

.contact-form-field input:not([type=radio]):not([type=checkbox]) {
  min-height: 50px;
}

.contact-form-field textarea {
  min-height: 280px;
  resize: vertical;
}

.contact-form-radio .wpcf7-radio {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  padding-top: 13px;
}

.contact-form-radio .wpcf7-list-item {
  margin: 0;
}

.contact-form-radio label {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: black;
  cursor: pointer;
}

.contact-form-radio input {
  width: 18px;
  height: 18px;
  margin: 0;
}

.contact-form + .wpcf7-response-output,
.contact-form .wpcf7-not-valid-tip {
  color: #fff;
}

@media (max-width: 991px) {
  .contact-form .submit-button input {
    margin-right: auto;
    margin-left: auto;
  }
}

@media (max-width: 767px) {
  .contact-form {
    margin-top: 36px;
  }
  .contact-form-row {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-bottom: 24px;
  }
  .contact-form-label {
    min-height: auto;
  }
  .contact-form-radio .wpcf7-radio {
    padding-top: 4px;
  }
  .contact-form-field textarea {
    min-height: 220px;
  }
}

/*==================================
submitボタン
===================================*/
.submit-button button, .float-button-style button, .submit-button input, .float-button-style input {
  background: #BFA100;
  border-radius: 3px;
  position: relative;
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin-left: auto;
  max-width: 250px;
  padding: 3px 90px;
  text-decoration: none;
  color: #fff;
  line-height: 1.8;
  transition: 0.3s ease-in-out;
  font-weight: 500;
  border: none;
}
.submit-button button:after, .float-button-style button:after, .submit-button input:after, .float-button-style input:after {
  content: "";
  position: absolute;
  top: 50%;
  bottom: 0;
  right: 2rem;
  font-size: 90%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: right 0.3s;
  width: 6px;
  height: 6px;
  border-top: solid 2px currentColor;
  border-right: solid 2px currentColor;
  transform: translateY(-50%) rotate(45deg);
}
.submit-button button:hover, .float-button-style button:hover, .submit-button input:hover, .float-button-style input:hover {
  background: #A68C00;
  color: #FFF;
}
.submit-button button:hover:after, .float-button-style button:hover:after, .submit-button input:hover:after, .float-button-style input:hover:after {
  right: 1.4rem;
}

@media only screen and (max-width: 480px) {
  .submit-button button, .float-button-style button, .submit-button input, .float-button-style input {
    margin: 0;
    margin: auto;
  }
}
/*==================================
SNSボタン
===================================*/
.fa-twitter:before {
  content: "𝕏" !important;
  font-family: sans-serif !important;
  font-weight: bold;
}

/*主な共通部分は省略*/
a.btn-sns {
  font-size: 1rem;
  line-height: 30px;
  width: 30px;
  height: 30px;
  padding: 0;
  letter-spacing: 0;
  color: black;
  border-radius: 50%;
}

a.btn-sns:hover {
  color: black;
}

a.btn-sns--youtube {
  background: #fff;
}

a.btn-sns--instagram {
  background: #fff;
}

a.btn-sns--twitter {
  background: #fff;
}

a.btn-sns--facebook {
  background: #fff;
}

a.btn-sns--tiktok {
  background: #fff;
}

/*==================================
スクロールダウン
===================================*/
.line-left {
  border-left: 1px solid #969393;
  height: 150px;
  float: inline-start;
}

.vertical {
  writing-mode: vertical-rl;
  letter-spacing: 0.1rem;
}

.scrolldown1 {
  position: absolute;
  left: 5%;
  height: 90px;
}

/*Scrollテキストの描写*/
.scrolldown1 span {
  /*描画位置*/
  position: absolute;
  left: -15px;
  top: -15px;
  /*テキストの形状*/
  color: #eee;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
}

/* 線の描写 */
.scrolldown1::after {
  content: "";
  /*描画位置*/
  position: absolute;
  top: 0;
  /*線の形状*/
  width: 1px;
  height: 30px;
  background: #eee;
  /*線の動き1.4秒かけて動く。永遠にループ*/
  animation: pathmove 1.4s ease-in-out infinite;
  opacity: 0;
}

/*高さ・位置・透過が変化して線が上から下に動く*/
@keyframes pathmove {
  0% {
    height: 0;
    top: 0;
    opacity: 0;
  }
  30% {
    height: 30px;
    opacity: 1;
  }
  100% {
    height: 0;
    top: 50px;
    opacity: 0;
  }
}
/*==================================
view more
===================================*/
/*矢印が右に移動する*/
.btnarrow4, .btnarrow5 {
  /*矢印と下線の基点とするためrelativeを指定*/
  position: relative;
  /*形状*/
  display: inline-block;
  padding: 0 20px;
  color: #fff;
  text-decoration: none;
  outline: none;
}

/*矢印と下線の形状*/
.btnarrow4::before, .btnarrow5::before {
  content: "";
  /*絶対配置で下線の位置を決める*/
  position: absolute;
  bottom: -8px;
  left: 15%;
  /*下線の形状*/
  width: 85%;
  height: 1px;
  background: #fff;
  /*アニメーションの指定*/
  transition: all 0.3s;
}

.btnarrow4::after, .btnarrow5::after {
  content: "";
  /*絶対配置で矢印の位置を決める*/
  position: absolute;
  bottom: -3px;
  right: 0;
  /*矢印の形状*/
  width: 15px;
  height: 1px;
  background: #fff;
  transform: rotate(35deg);
  /*アニメーションの指定*/
  transition: all 0.3s;
}

/*hoverした際の移動*/
.btnarrow4:hover::before, .btnarrow5:hover::before {
  left: 20%;
}

.btnarrow4:hover::after, .btnarrow5:hover::after {
  right: -5%;
}

/*矢印が右に移動する*/
.btnarrow5 {
  color: #333;
}

/*矢印と下線の形状*/
.btnarrow5::before {
  content: "";
  /*絶対配置で下線の位置を決める*/
  position: absolute;
  bottom: -8px;
  left: 15%;
  /*下線の形状*/
  width: 85%;
  height: 1px;
  background: #333;
  /*アニメーションの指定*/
  transition: all 0.3s;
}

.btnarrow5::after {
  content: "";
  /*絶対配置で矢印の位置を決める*/
  position: absolute;
  bottom: -3px;
  right: 0;
  /*矢印の形状*/
  width: 15px;
  height: 1px;
  background: #333;
  transform: rotate(35deg);
  /*アニメーションの指定*/
  transition: all 0.3s;
}

/*hoverした際の移動*/
.btnarrow5:hover::before {
  left: 20%;
}

.btnarrow5:hover::after {
  right: -5%;
}

/*==================================
ギャラリー
===================================*/
.gallery {
  -moz-columns: 4;
       columns: 4; /*段組みの数*/
  padding: 0 15px; /*ギャラリー左右に余白をつける*/
  margin: 0;
}
.gallery li {
  margin-bottom: 20px; /*各画像下に余白をつける*/
  list-style: none;
}
.gallery img {
  width: 100%;
  height: auto;
  vertical-align: bottom; /*画像の下にできる余白を削除*/
}

/*　横幅900px以下の段組み設定　*/
@media only screen and (max-width: 900px) {
  .gallery {
    -moz-columns: 3;
         columns: 3;
  }
}
@media only screen and (max-width: 768px) {
  .gallery {
    -moz-columns: 2;
         columns: 2;
  }
}
/*========= ボタンのためのCSS ===============*/
.openbtn1 {
  position: fixed;
  z-index: 9999; /*ボタンを最前面に*/
  top: 10px;
  right: 10px;
  cursor: pointer;
  width: 50px;
  height: 50px;
}

/*×に変化*/
.openbtn1 span {
  display: inline-block;
  transition: all 0.4s;
  position: absolute;
  left: 14px;
  height: 3px;
  border-radius: 2px;
  background-color: #fff;
  width: 45%;
}

.openbtn1 span:nth-of-type(1) {
  top: 15px;
}

.openbtn1 span:nth-of-type(2) {
  top: 23px;
}

.openbtn1 span:nth-of-type(3) {
  top: 31px;
}

.openbtn1.active span:nth-of-type(1) {
  top: 18px;
  left: 18px;
  transform: translateY(6px) rotate(-45deg);
  width: 30%;
}

.openbtn1.active span:nth-of-type(2) {
  opacity: 0;
}

.openbtn1.active span:nth-of-type(3) {
  top: 30px;
  left: 18px;
  transform: translateY(-6px) rotate(45deg);
  width: 30%;
}
