/* ローディング画面 */
#loading-tube canvas {
  z-index: 999;
  position: absolute;
  left: 50%; top: 50%; width: 500px; height: 500px;
  margin: -250px 0 0 -250px;
  background: transparent;
  transition: opacity 1.2s ease-in-out;
}
#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../assets/blim background.png');
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 1.2s ease-in-out;
}
#loading-screen.fade-out {
  opacity: 0;
  pointer-events: none;
}

/* ⬇︎背景設定 */
.lock-container {
  width: 100%;
  height: 100%;
  position: fixed;
  z-index: 0;
  overflow: hidden;
  background: #EC5835;
  object-fit: cover;
}
.sub-container  {
  width: 100%;
  height: 100%;
  position: fixed;
  z-index: 1;
  display: flex;
  flex-direction: row;
}
.right-container {
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}
.lim-fot {
  padding-right: 24px;
  padding-bottom: 8px;
  width: 12%;
  aspect-ratio: 200/200;
}
.pc-left-side {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 23%;
  padding: 12px 8px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}
.left-side-coment {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 18px;
}
.center-title {
  display: flex;
  justify-content: center;
  margin: 12px 0;
}
.center-title-text {
  writing-mode: vertical-rl;
  font-size: 22px;
  margin: 0;
  opacity: 0;
  transition: opacity 2s ease-out;
}
.center-title-text.visible {
  opacity: 1;
}

.link-sns {
  z-index: 55;
  width: 23%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: fixed;
  bottom: 12px;
}
.instagram-button,
.official-facebook-button {
  z-index: 55;
  width: 100%;
  background: none;
  border: 1px solid #fff;
  padding: 8px 0;
  font-size: 14px;
  text-align: center;
}
.mission-wrap {
  background: linear-gradient(0deg, rgba(170,60,32,10%) 0%, rgba(255,255,255,10%) 100% );
  border-radius: 15px 15px 0 0;
  -moz-border-radius: 15px 15px 0 0;
  -ms-border-radius: 15px 15px 0 0;
  -o-border-radius: 15px 15px 0 0;
  -webkit-border-radius: 15px 15px 0 0;
  padding: 64px 32px;
  margin-top: 64px;
  max-width: 626px;
  z-index: 15;
}
.service-wrap {
  background-color: rgb(170 60 32 / 10%);
  padding: 48px 16px;
  max-width: 658px;
  z-index: 15;
}
.vision-wrap {
  background: linear-gradient(0deg, rgba(255,255,255,10%) 0%, rgba(170,60,32,10%) 100%);
  padding: 48px 16px;
  max-width: 658px;
  z-index: 15;
}
.profile-wrap,
.contact-wrap {
  background-color: rgb(255 255 255 / 10%);
  padding: 48px 16px;
  width: 100%;
  max-width: 658px;
  z-index: 15;
}
.contact-wrap {
  z-index: 15;
  padding-bottom: 60px;
  border-radius: 0 0 15px 15px ;
  -webkit-border-radius: 0 0 15px 15px ;
  -moz-border-radius: 0 0 15px 15px ;
  -ms-border-radius: 0 0 15px 15px ;
  -o-border-radius: 0 0 15px 15px ;
}
/* ⬆︎背景設定 */
main {
  position: relative;
}

.main-container {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 1;
}
* {
  font-family: "Shippori Mincho", serif;
  color: #fff;
}
.front-text span{
  font-family:"Times", "Times New Roman", serif;
}
/* ⬇︎英語フォントクラス */
.mission-title-text,
.service-title-text,
.graphic-title-band,
.graphic-title-band span,
.web-title-band,
.web-title-band span,
.line-title-band,
.line-title-band span,
.ai-title-band,
.ai-title-band span,
.vision-title-text,
.profile-title-text,
.profile-name-en,
.profile-name-en span, 
.contact-title-text,
.coment-en,
.coment-en span {
  font-family:"Times", "Times New Roman", serif;
  font-style: italic;
}
.front-wrap,
.mission-wrap,
.front-content,
.vision-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 15;
}

.front-wrap {
  padding-top: 42px;
}
.front-logo {
  display: flex;
  justify-content: center;
}
.front-logo-fot {
  width: 120px;
  aspect-ratio: 120/120;
}
.front-text {
  writing-mode: vertical-rl;
  font-size: 32px;
  margin-top: 48px;
}
.front-text-span::before {
  content: '';
  position: absolute;
  top: -60px;
  left: 50%;
  width: 1px;
  height:64px;
}
.front-text-span {
  font-size: 16px;
  letter-spacing: 3px;
  padding: 8px;
  position: relative;
  margin-top: 60px;
  writing-mode:horizontal-tb;
  -webkit-writing-mode:horizontal-tb;
  -ms-writing-mode:horizontal-tb;
}
.mission-down-content {
  margin-left: 12%;
}
.mission-up-content,
.vision-up-content {
  display: flex;
  justify-content: space-around;
}

.mission-title {
  display: flex;
  flex-direction: column;
}
.mission-title-text,
.vision-title-text {
  font-size: 20px;
  font-weight: 400;
}
.mission-title-coment,
.vision-title-coment,
.profile-post,
.profile-name-ja {
  writing-mode: vertical-rl;
  line-height: 20px;
}

.mission-title-coment,
.mission-title-coment span,
.vision-title-coment,
.vision-title-coment span {
  font-size: 32px;
  margin-top: 32px;
  line-height: 35px;
}
.mission-title-fot , .vision-title-fot {
  width: 45%;
  height: auto;
  min-width: 244px;
  aspect-ratio: 1 / 1;
}
.mission-content-text,
.vision-content-text,
.profile-content-text {
  font-size: 15px;
  line-height: 20px;
}
.service-title,
.profile-title,
.contact-title {
  padding-left: 24px;
}
.service-title-text,
.profile-title-text,
.contact-title-text {
  font-size: 40px;
}

.graphic-title-band,
.web-title-band,
.line-title-band,
.ai-title-band {
  background: linear-gradient(90deg, rgba(170,60,32,0) 0%, rgba(170,60,32,1) 100%);
  display: flex;
  justify-content: flex-end;
  padding: 4px 8px;
  width: 102.5%;
  max-width: 690px;
  position: relative;
  left: -16px;
  margin-top: 32px;
}
.graphic-title-band span,
.web-title-band span,
.line-title-band span,
.ai-title-band span {
  margin-left: 8px;
}
.graphic-title-band,
.graphic-title-band span,
.web-title-band,
.web-title-band span,
.line-title-band,
.line-title-band span,
.ai-title-band,
.ai-title-band span {
  font-size: 18px;

}
.graphic-title-text,
.web-title-text,
.line-title-text,
.ai-title-text {
  font-size: 20px;
  margin-top: 24px;
}
.graphic-title-coment,
.web-title-coment,
.line-title-coment,
.ai-title-coment {
  font-size: 15px;
  margin-top: 16px;
  line-height: 20px;
}
.graphic-image-box,
.web-image-box {
  display: flex;
  flex-direction: column;
  margin: 32px 0 64px;
  width: 100%;
  position: relative;
}
.image-frame {
  aspect-ratio: 622 / 350;
  overflow: hidden;
  width: 100%;
  position: relative;
}
.image-box-fot {
  width: 100%;
  flex-shrink: 0;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center center;
  display: block;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
}
.carousel {
  display: flex;
  transition: transform 0.5s ease;
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
  height: 100%;
}
.carousel li {
  min-width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.carousel-indicators {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 15px;
}
.indicator {
  width: 100%;
  height: 4px;
  background-color: white;
  border-radius: 2px;
  transition: background-color 0.3s;
  cursor: pointer;
}
.indicator.active {
  background-color: #b14e2a;
}

.profile-name-box {
  display: flex;
  flex-direction: row-reverse;
  margin-top: 48px;
  position: relative;
  left: 15%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
}
.profile-post {
  font-size: 16px;
  margin-left: 12px;
}
.profile-name-ja {
  font-size: 32px;
  margin-left: 16px;
}
.profile-name-en,
.profile-name-en span {
  margin: auto 0 0;
  font-size: 24px;
}
.profile-name-en span {
  margin-left: 12px;
}
.profile-down-content {
  margin-top: 48px;
  padding: 0 48px;
  z-index: 15;
}

.contact-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 24px;
}
.contact-title-coment {
  margin-top: 24px;
  font-size: 18px;
  line-height: 20px;
}
.contact-personal-information,
.contact-submit button {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
.contact-personal-information button,
.contact-submit button {
  width: 100%;
  background: none;
  border: 1px solid #fff;
  padding: 12px 0;
  margin-top: 24px;
  font-size: 15px;
}

.arrow-button {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 3em;
  line-height: 1;
  gap: 0.5em;
  border: 1px solid #fff;
  padding: 0.5em 1em;
  color: #fff;
  background-color: transparent;
  font-size: 1em;
  cursor: pointer;
}
.arrow-svg {
  transition: transform 0.3s ease;
  display: inline-block;
  transform: translateY(1px);
}
.arrow-svg.open {
  transform: rotate(90deg) translateX(3px);
}
.arrow {
  transition: transform 0.3s ease;
}
.arrow-box.open .arrow {
  transform: rotate(180deg);
}

.privacy-policy-content {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.5s ease;
  line-height: 2;
}
.privacy-policy-content p,
.privacy-policy-content li {
  margin-bottom: 1em;
}
#privacy-policy-toggle {
  cursor: pointer;
}
.privacy-policy-content.show {
  max-height: 2000px;
  margin-top: 20px;
}

form, .contact-form-box {
  width: 100%;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
.contact-form-title {
  margin-top: 24px;
}
.contact-form-input {
  color: #000;
  border: none;
  width: 99.5%;
  height: 36px;
  margin-top: 12px;
}
.contact-form-list:last-child .contact-form-input {
  height: 192px;
}
.contact-submit {
  width: 100%;
}
.contact-submit button:hover,
.instagram-button:hover,
.official-facebook-button:hover {
  background: #EC5835;
  cursor: pointer;
}

#thankyou-modal {
  display: none;
  position: fixed;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.9);
  padding: 32px 24px;
  border: 2px solid rgba(170,60,32,0.4);
  border-radius: 15px;
  z-index: 1000;
  max-width: 400px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  opacity: 0;
  transition: opacity 0.5s ease;
}
#thankyou-modal.show {
  display: block;
  opacity: 1;
}
#thankyou-modal p {
  font-size: 18px;
  margin-bottom: 24px;
  color: #333;
}
#thankyou-modal button {
  background: #EC5835;
  color: #fff;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 18px;
}
#thankyou-modal button:hover {
  background: #aa3c20;
}

.kirakira {
  position: absolute;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 8px #fff, 0 0 16px #EC5835;
  animation: kirakiraMove 5s infinite ease-in-out alternate;
}

/* アニメーション */
@keyframes kirakiraMove {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateY(-50px);
    opacity: 0.2;
  }
}
/* /アニメーション */

@media screen and (max-width: 767px) {
.sub-container {
  display: none;
}

.front-wrap {
  height: 100svh;
  display: flex;
  align-items: center;
  position: relative;
  box-sizing: border-box;
  /* overflow: hidden; */
}
.front-content {
  display: flex;
  flex-direction: column;
  /* align-items: center; */
  position: relative;
  height: 100%;
  width: 100%;
}
.front-text {
  writing-mode: vertical-rl;
  text-align: center;
  font-size: 1.3rem;
  line-height: 1.6;
  white-space: normal;
  max-height: 60%;
  overflow-wrap: break-word;
  word-break: break-word;
  display: flex;
  align-items: center;
  margin: auto 0;
}
.arrow-svg {
  width: 12px;
  height: 12px;
  transform: translateY(1px);
}

.mission-title-fot, .vision-title-fot {
  width: 80%;
  min-width: auto;
  aspect-ratio: 1 / 1;
}
}