/*
Theme Name: VOYAGE
Author: VOYAGE INC.
Description: Custom landing page theme for VOYAGE.
Version: 1.0
*/

@import "tailwindcss";

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    margin: 0;
    padding: 0;
    color: #111;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

.font-en {
    font-family: 'Inter', 'Noto Sans JP', sans-serif;
}

.font-display {
    font-family: 'Inter', 'Noto Sans JP', sans-serif;
    letter-spacing: -0.02em;
}

/* ─── Keyframes ─── */
@keyframes scroll-left {
    0% {
        transform: translateX(0)
    }

    100% {
        transform: translateX(-50%)
    }
}

@keyframes scroll-right {
    0% {
        transform: translateX(-50%)
    }

    100% {
        transform: translateX(0)
    }
}

@keyframes scroll-up {
    0% {
        transform: translateY(0)
    }

    100% {
        transform: translateY(-50%)
    }
}

@keyframes scroll-down {
    0% {
        transform: translateY(-50%)
    }

    100% {
        transform: translateY(0)
    }
}

@keyframes float-a {

    0%,
    100% {
        transform: translate(0, 0) scale(1)
    }

    50% {
        transform: translate(20px, -15px) scale(1.03)
    }
}

@keyframes float-b {

    0%,
    100% {
        transform: translate(0, 0)
    }

    50% {
        transform: translate(-15px, 20px)
    }
}

@keyframes pulse-glow {

    0%,
    100% {
        opacity: .4;
        transform: scale(1)
    }

    50% {
        opacity: .7;
        transform: scale(1.08)
    }
}

@keyframes drift-x {

    0%,
    100% {
        transform: translateX(0)
    }

    50% {
        transform: translateX(30px)
    }
}

@keyframes drift-y {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-25px)
    }
}

@keyframes spin-slow {
    0% {
        transform: rotate(0deg)
    }

    100% {
        transform: rotate(360deg)
    }
}

@keyframes marquee-x {
    0% {
        transform: translateX(0)
    }

    100% {
        transform: translateX(-50%)
    }
}

@keyframes text-shimmer {
    0% {
        background-position: 100% 50%
    }

    100% {
        background-position: 0% 50%
    }
}

@keyframes count-in {
    0% {
        transform: translateY(100%);
        opacity: 0
    }

    100% {
        transform: translateY(0);
        opacity: 1
    }
}

@keyframes shimmer-line {
    0% {
        transform: translateX(-100%)
    }

    100% {
        transform: translateX(200%)
    }
}

@keyframes glow-pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(0, 191, 165, .3)
    }

    50% {
        box-shadow: 0 0 20px 8px rgba(0, 191, 165, .15)
    }
}

@keyframes underline-grow {
    0% {
        transform: scaleX(0)
    }

    100% {
        transform: scaleX(1)
    }
}

@keyframes pyoko-bounce {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-6px)
    }
}

@keyframes pyoko-tilt {

    0%,
    100% {
        transform: rotate(0deg)
    }

    25% {
        transform: rotate(-6deg)
    }

    75% {
        transform: rotate(6deg)
    }
}

@keyframes pyoko-pulse {

    0%,
    100% {
        transform: scale(1)
    }

    50% {
        transform: scale(1.1)
    }
}

@keyframes pyoko-swing {

    0%,
    100% {
        transform: rotate(-3deg) translateX(0)
    }

    50% {
        transform: rotate(3deg) translateX(2px)
    }
}

/* ─── Dot grid pattern ─── */
.dot-pattern {
    background-image: radial-gradient(circle, rgba(0, 191, 165, .08) 1px, transparent 1px);
    background-size: 24px 24px;
}

.dot-pattern-dark {
    background-image: radial-gradient(circle, rgba(255, 255, 255, .04) 1px, transparent 1px);
    background-size: 24px 24px;
}

.dot-pattern-white {
    background-image: radial-gradient(circle, rgba(0, 191, 165, .04) 1px, transparent 1px);
    background-size: 20px 20px;
}

/* Diagonal patterns */
.diagonal-pattern {
    background-image: repeating-linear-gradient(45deg, rgba(0, 191, 165, 0.03) 0, rgba(0, 191, 165, 0.03) 1px, transparent 0, transparent 50%);
    background-size: 10px 10px;
}

.diagonal-pattern-dark {
    background-image: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.05) 0, rgba(255, 255, 255, 0.05) 1px, transparent 0, transparent 50%);
    background-size: 10px 10px;
}

.crosshatch-pattern {
    background-image:
        linear-gradient(rgba(0, 191, 165, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 191, 165, 0.02) 1px, transparent 1px);
    background-size: 20px 20px;
}

/* ─── Utilities ─── */
@utility animate-card-left {
    animation: scroll-left 45s linear infinite;
}

@utility animate-card-left-slow {
    animation: scroll-left 80s linear infinite;
}

.pause-on-hover:hover {
    animation-play-state: paused;
}

@utility animate-float-a {
    animation: float-a 18s ease-in-out infinite;
}

@utility animate-float-b {
    animation: float-b 22s ease-in-out infinite;
}

@utility pause-on-hover {
    &:hover {
        animation-play-state: paused;
    }
}

@utility animate-pulse-glow {
    animation: pulse-glow 6s ease-in-out infinite;
}

@utility animate-drift-x {
    animation: drift-x 14s ease-in-out infinite;
}

@utility animate-drift-y {
    animation: drift-y 16s ease-in-out infinite;
}

@utility animate-spin-slow {
    animation: spin-slow 60s linear infinite;
}

@utility animate-marquee-x {
    animation: marquee-x 25s linear infinite;
}

@utility animate-pyoko-bounce {
    animation: pyoko-bounce 1.2s ease-in-out infinite;
}

@utility animate-pyoko-tilt {
    animation: pyoko-tilt 1.8s ease-in-out infinite;
}

@utility animate-pyoko-pulse {
    animation: pyoko-pulse 2s ease-in-out infinite;
}

@utility animate-pyoko-swing {
    animation: pyoko-swing 2.2s ease-in-out infinite;
}

@utility text-shimmer {
    background: linear-gradient(90deg, #00BFA5 20%, #4DD8C0 40%, #00BFA5 60%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: text-shimmer 4s linear infinite;
}

@utility animate-reveal {
    animation: fade-in-up-sm 1s ease-out forwards;
}

@keyframes fade-in-up-sm {
    0% {
        opacity: 0;
        transform: translateY(14px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ─── Grain overlay ─── */
.grain-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* ─── Heading line ─── */
.heading-line {
    position: relative;
    display: inline-block;
}

.heading-line::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 3px;
    border-radius: 999px;
    background: #00BFA5;
}

/* ─── Reveal Class ─── */
.scroll-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: all 0.7s ease-out;
}

.scroll-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Custom underline grow */
.animate-underline-grow {
    transform: scaleX(0);
    transform-origin: left;
}

.is-visible .animate-underline-grow {
    animation: underline-grow 0.7s ease-out forwards;
}

.section-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    color: #00BFA5;
    background: rgba(0, 191, 165, .08);
    border-radius: 999px;
    padding: 4px 14px;
    letter-spacing: 0.04em;

    .scroll-reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: all 0.8s ease-out;
    }

    .scroll-reveal.is-visible {
        opacity: 1;
        transform: translateY(0);
    }
}


/* =======================================================================
   CLIENT SHOWCASE / 横スクロールマルキー
   ======================================================================= */

@keyframes marquee-x {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.pause-on-hover:hover {
    animation-play-state: paused;
}



/* =========================
   Contact Form 7 基本スタイル
   ========================= */

/* フォーム全体の幅・余白 */
.wpcf7 {
  max-width: 720px;
  margin: 0 auto;
  padding: 18px 0 40px;
}

/* ラベル */
.wpcf7 form p {
  margin: 0 0 14px;
  font-weight: 800;
  color: #111;
}

/* 入力・テキストエリア共通 */
.wpcf7 .wpcf7-form-control.wpcf7-text,
.wpcf7 .wpcf7-form-control.wpcf7-email,
.wpcf7 .wpcf7-form-control.wpcf7-tel,
.wpcf7 .wpcf7-form-control.wpcf7-textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(0,0,0,.15);
  border-radius: 14px;
  padding: 14px 14px;
  background: #fff;
  font-size: 16px;
  line-height: 1.6;
  outline: none;
}

/* テキストエリア高さ */
.wpcf7 .wpcf7-form-control.wpcf7-textarea {
  min-height: 160px;
  resize: vertical;
}

/* フォーカス時 */
.wpcf7 .wpcf7-form-control:focus {
  border-color: rgba(0,191,165,.9);
  box-shadow: 0 0 0 4px rgba(0,191,165,.12);
}

/* 送信ボタン */
.wpcf7 .wpcf7-submit {
  appearance: none;
  border: 0;
  border-radius: 999px;
  background: #00BFA5;
  color: #fff;
  font-weight: 900;
  padding: 14px 26px;
  cursor: pointer;
  box-shadow: 0 18px 55px rgba(0,0,0,.10);
}

.wpcf7 .wpcf7-submit:hover {
  filter: brightness(0.95);
}

/* エラー表示 */
.wpcf7 .wpcf7-not-valid-tip {
  font-size: 13px;
  font-weight: 800;
  margin-top: 6px;
}

.wpcf7 .wpcf7-response-output {
  margin: 18px 0 0;
  border-radius: 14px;
  font-weight: 800;
}

/* =========================
   Contact page layout
   ========================= */
.contact-page{
  max-width: 760px;
  margin: 0 auto;
  padding: 150px 16px 60px; /* ←上の110pxでヘッダー分の隙間を確保 */
}

.contact-page h1,
.contact-page h2{
  font-weight: 900;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}

.contact-page p{
  margin: 0 0 22px;
  color: rgba(0,0,0,.70);
  line-height: 1.9;
  font-weight: 700;
}

/* =========================
   Contact Form 7 styling
   ========================= */
.contact-page .wpcf7{
  margin-top: 6px;
}

.contact-page .wpcf7 form p{
  margin: 0 0 14px;
  font-weight: 800;
  color: #111;
}

/* input/textarea */
.contact-page .wpcf7 input[type="text"],
.contact-page .wpcf7 input[type="email"],
.contact-page .wpcf7 input[type="tel"],
.contact-page .wpcf7 textarea{
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(0,0,0,.15);
  border-radius: 14px;
  padding: 14px 14px;
  background: #fff;
  font-size: 16px;
  line-height: 1.6;
  outline: none;
}

.contact-page .wpcf7 textarea{
  min-height: 180px;
  resize: vertical;
}

.contact-page .wpcf7 input:focus,
.contact-page .wpcf7 textarea:focus{
  border-color: rgba(0,191,165,.9);
  box-shadow: 0 0 0 4px rgba(0,191,165,.12);
}

/* submit button */
.contact-page .wpcf7 input[type="submit"]{
  appearance: none;
  border: 0;
  border-radius: 999px;
  background: #00BFA5;
  color: #fff;
  font-weight: 900;
  padding: 14px 26px;
  cursor: pointer;
  box-shadow: 0 18px 55px rgba(0,0,0,.10);
}

.contact-page .wpcf7 input[type="submit"]:hover{
  filter: brightness(.95);
}

/* response / errors */
.contact-page .wpcf7-not-valid-tip{
  font-size: 13px;
  font-weight: 800;
  margin-top: 6px;
}

.contact-page .wpcf7-response-output{
  margin: 18px 0 0;
  border-radius: 14px;
  font-weight: 800;
}

/* mobile */
@media (max-width: 767px){
  .contact-page{
    padding: 90px 16px 50px;
  }
}

/* =======================================================================
   Contact Form 7 フォーム背景カード
   ======================================================================= */

/* entry-content内のwpcf7フォームにカード風背景をつける */
.entry-content .wpcf7,
.contact-page .wpcf7 {
  background: #f5fdfb;
  border: 1px solid rgba(0, 191, 165, 0.12);
  border-radius: 20px;
  padding: 36px 32px 40px;
  box-shadow: 0 4px 24px rgba(0, 191, 165, 0.07);
  margin-top: 12px;
}

/* モバイル */
@media (max-width: 767px) {
  .entry-content .wpcf7,
  .contact-page .wpcf7 {
    padding: 24px 20px 28px;
    border-radius: 16px;
  }
}




























