/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Oct 30 2026 | 07:07:09 */

/* ==============================
   基本設定
============================== */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
}

/* ==============================
   メイン背景画像
============================== */

.main-visual {
  position: relative;
  width: 100%;
  height: 800px;

  background-image: url("https://www.touen.art/wp-content/uploads/2026/10/bc97eed63733bb0fc787f5dab221d387.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  display: flex;
  justify-content: center;
  align-items: center;

  overflow: hidden;
}

/* ロゴ全体 */
.logo-wrap {
  position: relative;
  z-index: 2;
  width: min(650px, 85%);
  text-align: center;
}

/* ==============================
   TOU-EN 文字
============================== */

.logo-text {
  display: flex;
  justify-content: center;
  align-items: center;

  margin: 0;
  padding: 0;

  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(45px, 7vw, 105px);
  font-weight: 400;
  letter-spacing: 0.06em;
  line-height: 1.2;
  white-space: nowrap;

  color: #59412b;
}

/* 文字の初期状態 */
.logo-text span {
  display: inline-block;
  opacity: 0;
  transform: translateX(-20px);

  animation: letterIn 0.7s ease-out forwards;
}

/* 1文字ずつ登場 */
.logo-text span:nth-child(1) {
  animation-delay: 0.2s;
}

.logo-text span:nth-child(2) {
  animation-delay: 0.5s;
}

.logo-text span:nth-child(3) {
  animation-delay: 0.8s;
}

.logo-text span:nth-child(4) {
  animation-delay: 1.1s;
}

.logo-text span:nth-child(5) {
  animation-delay: 1.4s;
}

.logo-text span:nth-child(6) {
  animation-delay: 1.7s;
}

/* フェードイン */
@keyframes letterIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ==============================
   曲線と葉っぱ
============================== */

.logo-decoration {
  width: 100%;
  margin-top: 2px;
}

.logo-ornament {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

/* 緩やかな曲線 */
.curve {
  fill: none;
  stroke: #9d8956;
  stroke-width: 1.5;
  stroke-linecap: round;

  stroke-dasharray: 100;
  stroke-dashoffset: 100;

  animation: curveDraw 1.5s ease-in-out
             2.5s forwards;
}

/* 曲線を描く */
@keyframes curveDraw {
  to {
    stroke-dashoffset: 0;
  }
}

/* 葉っぱ */
.leaves {
  opacity: 0;
  transform: translateY(6px);

  transform-box: fill-box;
  transform-origin: center;

  animation: leafAppear 0.8s ease-out
             3.8s forwards;
}

/* 葉っぱが登場 */
@keyframes leafAppear {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==============================
   キャッチコピー
============================== */

.main-copy {
  margin: -5px 0 0;
  padding: 0;

  color: #59412b;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.15em;
  line-height: 1.8;

  opacity: 0;
  transform: translateY(12px);

  animation: copyFade 1.2s ease-out
             4.5s forwards;
}

@keyframes copyFade {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==============================
   スマートフォン
============================== */

@media screen and (max-width: 767px) {

  .main-visual {
    height: 75svh;
    min-height: 500px;

    background-image: url("https://www.touen.art/wp-content/uploads/2026/10/f5de7e07489ac58772e287d826fa340b.png");
    background-position: center;
  }

  .logo-wrap {
    width: 90%;
  }

  .logo-text {
    font-size: clamp(36px, 10vw, 60px);
    letter-spacing: 0.03em;
  }

  .logo-decoration {
    margin-top: 0;
  }

  .main-copy {
    font-size: 12px;
    letter-spacing: 0.05em;
    margin-top: -2px;
  }
}

/* ==============================
   アニメーション軽減設定
============================== */

@media (prefers-reduced-motion: reduce) {

  .logo-text span,
  .leaves,
  .main-copy {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .curve {
    animation: none;
    stroke-dashoffset: 0;
  }
}
