@charset "UTF-8";

/*
Theme Name: Triton Theme
Description: Custom theme for Triton Fujisawa
Version: 1.0
Author: Triton Fujisawa
*/

/* --- Colors & Variables --- */
:root {
  --color-primary: #007bff;
  --color-secondary: #28a745;
  --color-text: #111111;
  --color-text-gray: #666666;
  --color-bg: #ffffff;
  --color-bg-gray: #f4f5f7;
  --font-main: "Noto Sans JP", sans-serif;
  --font-serif: "Shippori Mincho", serif;
  --header-height: 80px;
  --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.8;
  font-size: 16px;
  letter-spacing: 0.05em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  opacity: 0; /* JSでローディング後に表示 */
  transition: opacity 0.5s ease;
}

body.loaded {
  opacity: 1;
}

/* メニューオープン時のスクロール禁止 */
body.no-scroll {
  overflow: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s ease;
  cursor: pointer;
}

img {
  width: 100%;
  height: auto;
  vertical-align: bottom;
  object-fit: cover;
  /* モバイルでの画像のはみ出し防止 */
  max-width: 100%;
}

/* --- Animations --- */
/* 下からふわっと */
.reveal-text {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 1s var(--ease-out),
    transform 1s var(--ease-out);
}

.reveal-text.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* 画像ズームイン */
.reveal-img-wrap {
  overflow: hidden;
  opacity: 0;
  transition: opacity 1s ease;
}

.reveal-img-wrap img {
  transform: scale(1.1);
  transition: transform 1.5s var(--ease-out);
}

.reveal-img-wrap.is-visible {
  opacity: 1;
}

.reveal-img-wrap.is-visible img {
  transform: scale(1);
}

/* --- Loading Screen --- */
#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition:
    opacity 0.8s ease,
    visibility 0.8s ease;
}

#loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-logo {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  letter-spacing: 0.1em;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.6;
  }
}

/* --- Utility Classes --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px; /* ここで左右の余白を設定 */
}

.container-narrow {
  max-width: 800px;
  margin: 0 auto;
}

/* 修正箇所: 上下のパディングのみ指定し、左右は.containerの設定を活かす */
.section-padding {
  padding-top: 120px;
  padding-bottom: 120px;
}

@media (max-width: 768px) {
  .section-padding {
    padding-top: 80px;
    padding-bottom: 80px;
  }
}

.text-center {
  text-align: center;
}
.font-serif {
  font-family: var(--font-serif);
}

/* 見出しデザイン */
.section-header {
  margin-bottom: 80px;
  position: relative;
}

.section-title-en {
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  color: var(--color-primary);
  display: block;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.section-title-jp {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1.4;
}

/* --- Header --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  height: var(--header-height);
  display: flex;
  align-items: center;
  background-color: transparent;
  transition:
    background-color 0.4s ease,
    padding 0.4s ease;
}

.header.scrolled {
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0 40px;
  max-width: 100%;
  position: relative;
  z-index: 2002;
}

.logo-img {
  height: 40px;
  width: auto;
}

/* ナビゲーション (PC) */
.header-nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.header-nav ul {
  display: flex;
  gap: 40px;
  list-style: none;
}

.header-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: #fff;
  position: relative;
  letter-spacing: 0.05em;
}

.header.scrolled .header-nav a {
  color: var(--color-text);
}

/* 各ページごとのヘッダー文字色調整用（固定ヘッダーで背景が白い場合など） */
.header-dark .header-nav a,
.header-dark .mobile-menu-btn span {
  color: var(--color-text);
  background-color: var(--color-text);
}
/* spanは背景色で色を表現しているので上書き */
.header-dark .header-nav a {
  background-color: transparent;
}

/* ヘッダーボタン (PC) */
.header-cta button {
  background-color: #fff;
  color: var(--color-text);
  padding: 12px 30px;
  border-radius: 0;
  font-weight: 500;
  font-size: 0.9rem;
  border: 1px solid #fff;
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
}

.header.scrolled .header-cta button {
  background-color: var(--color-text);
  color: #fff;
  border-color: var(--color-text);
}

.header-cta button:hover {
  background-color: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

/* ハンバーガーメニューボタン (Mobile) */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 20px;
  position: relative;
  z-index: 2005;
}

.mobile-menu-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #fff;
  position: absolute;
  transition: all 0.3s ease;
}

.mobile-menu-btn span:nth-child(1) {
  top: 0;
}
.mobile-menu-btn span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}
.mobile-menu-btn span:nth-child(3) {
  bottom: 0;
}

.header.scrolled .mobile-menu-btn span {
  background-color: var(--color-text);
}

.mobile-menu-btn.active span {
  background-color: var(--color-text) !important;
}
.mobile-menu-btn.active span:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}
.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}
.mobile-menu-btn.active span:nth-child(3) {
  bottom: 50%;
  transform: translateY(50%) rotate(-45deg);
}

/* モバイルメニューオーバーレイ */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(255, 255, 255, 0.98);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.mobile-nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-list {
  list-style: none;
  text-align: center;
}

.mobile-nav-list li {
  margin: 30px 0;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
}

.mobile-nav-overlay.active .mobile-nav-list li {
  opacity: 1;
  transform: translateY(0);
}
.mobile-nav-overlay.active .mobile-nav-list li:nth-child(1) {
  transition-delay: 0.1s;
}
.mobile-nav-overlay.active .mobile-nav-list li:nth-child(2) {
  transition-delay: 0.2s;
}
.mobile-nav-overlay.active .mobile-nav-list li:nth-child(3) {
  transition-delay: 0.3s;
}
.mobile-nav-overlay.active .mobile-nav-list li:nth-child(4) {
  transition-delay: 0.4s;
}

.mobile-nav-list a {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text);
}

@media (max-width: 900px) {
  .header-nav,
  .header-cta {
    display: none;
  }
  .mobile-menu-btn {
    display: block;
  }
  .header-container {
    justify-content: space-between;
  }
}

/* --- Hero Section (Stylish Corporate Redesign) --- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: flex-start; /* Left aligned */
  padding-top: var(--header-height); /* Header overlap fix */
  overflow: hidden;
  color: #fff;
  text-align: left; /* Left aligned text */
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("http://skc.staba.jp/skc/Gemini_Generated_Image_e6b4yre6b4yre6b42.png")
    no-repeat center center/cover;
  z-index: -2;
  animation: bgZoom 20s infinite alternate ease-in-out;
}

@keyframes bgZoom {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.15);
  }
}

/* Linear Gradient Overlay for Readability & Mood */
.hero::after {
  content: "";
  position: absolute;
  inset: 0; /* Ensures full coverage */
  background: linear-gradient(
    to right,
    rgba(17, 17, 17, 0.9) 0%,
    rgba(17, 17, 17, 0.7) 40%,
    rgba(17, 17, 17, 0.2) 80%,
    rgba(17, 17, 17, 0) 100%
  );
  z-index: -1;
}

.hero-content {
  z-index: 1;
  padding: 0 5%; /* Responsive padding */
  width: 100%;
  max-width: 1400px; /* Wider container */
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* Left align items */
}

/* Catchphrase: Elegant & Authoritative */
.hero-catch {
  font-family: var(--font-serif);
  font-size: 4.5rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 25px;
  letter-spacing: 0.05em;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.hero-sub {
  font-size: 1.15rem;
  margin-bottom: 40px;
  line-height: 1.9;
  letter-spacing: 0.1em;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
}

/* Amazon Official Tag (Pill Shape) */
.hero-official-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 30px;
  letter-spacing: 0.1em;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 8px 20px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  white-space: nowrap; /* Prevent wrapping handled by autofit but good to have */
}

.hero-official-text i {
  color: #fff;
  font-size: 1.1rem;
  margin-right: 10px;
}

/* Reward Block: Modern Statistic Style */
.hero-reward-block {
  margin-bottom: 40px;
  border-left: 4px solid var(--color-primary);
  padding-left: 20px;
}

.hero-reward-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 5px;
  font-weight: 500;
  letter-spacing: 0.1em;
}

.hero-price-row {
  display: flex;
  align-items: baseline;
}

.hero-price {
  font-family: var(--font-serif);
  font-size: 4.5rem;
  color: #fff;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
}

.hero-price-unit {
  font-size: 1.5rem;
  margin-left: 10px;
  font-weight: 500;
}

/* CTA & Incentive */
.hero-cta-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.btn-hero {
  background-color: #fff;
  color: var(--color-text);
  padding: 18px 50px;
  font-size: 1.1rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.1em;
}

.btn-hero:hover {
  background-color: var(--color-primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.hero-incentive-text {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

/* Mobile Responsiveness */
@media (max-width: 900px) {
  .hero {
    justify-content: center;
    text-align: center; /* Switch to Center Aligned */
  }

  .hero::after {
    content: "";
    /* Stronger gradient on mobile to ensure text pop against potentially busy parts of image */
    background: linear-gradient(
      to bottom,
      rgba(17, 17, 17, 0.85) 0%,
      rgba(17, 17, 17, 0.7) 60%,
      rgba(17, 17, 17, 0.5) 100%
    );
  }

  .hero-content {
    padding: 0 20px;
    align-items: center; /* Center items */
  }

  .hero-catch {
    font-size: 2.8rem;
    width: 100%;
  }

  .hero-sub {
    margin: 0 auto 40px; /* Center with auto margins */
  }

  /* Adjust Reward Block for Centered Layout */
  .hero-reward-block {
    border-left: none;
    border-bottom: 4px solid var(--color-primary);
    padding-left: 0;
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .hero-cta-wrap {
    align-items: center; /* Center CTA */
    width: 100%;
  }

  .hero-price {
    font-size: 3.5rem;
  }
}

@media (max-width: 480px) {
  .hero-catch {
    font-size: 2.4rem; /* Small enough to fit but still big */
  }
  .hero-price {
    font-size: 2.8rem;
  }
  .btn-hero {
    width: 100%;
  }
}

/* --- About Section --- */
.about-section {
  position: relative;
}

.about-bg-text {
  position: absolute;
  top: 0;
  left: -50px;
  font-size: 15vw;
  font-weight: 900;
  color: rgba(0, 0, 0, 0.02);
  line-height: 1;
  z-index: -1;
  font-family: var(--font-main);
  pointer-events: none;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-img-wrap {
  position: relative;
}

.about-img-wrap::after {
  content: "";
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 80%;
  height: 80%;
  background-color: var(--color-bg-gray);
  z-index: -1;
}

.about-desc {
  font-size: 1rem;
  color: var(--color-text-gray);
  margin-bottom: 30px;
  line-height: 2;
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .about-img-wrap {
    order: -1;
    margin-bottom: 30px;
  }
  .about-img-wrap::after {
    display: none;
  }
}

/* --- Target Section --- */
.target {
  background:
    linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)),
    url("https://images.unsplash.com/photo-1493135637657-c2411b3497ad?q=80&w=1171&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D");
  background-size: cover;
  background-attachment: fixed;
}

.target-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.target-item {
  background: rgba(255, 255, 255, 0.9);
  padding: 40px 25px;
  border-radius: 0;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(5px);
  transition: transform 0.3s;
}

.target-item:hover {
  transform: translateY(-5px);
}

.target-item i {
  font-size: 2.5rem;
  color: var(--color-secondary);
  margin-bottom: 20px;
  display: block;
}

/* --- Reasons (Vertical Stack Redesign) --- */
.reason-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  max-width: 900px; /* Limit width for readability */
  margin: 0 auto;
}

.reason-item {
  background: #fff;
  padding: 40px;
  display: flex;
  flex-direction: row; /* Horizontal Layout */
  align-items: flex-start; /* Top align icon */
  text-align: left;
  border-radius: 8px; /* Slight roundness */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); /* Soft shadow for card look */
  min-width: 0;
  transition: transform 0.3s ease;
}

.reason-item:hover {
  transform: translateY(-5px);
}

.reason-icon {
  font-size: 2.5rem;
  color: var(--color-primary);
  margin-right: 30px; /* Space between icon and text */
  margin-bottom: 0; /* Reset bottom margin */
  flex-shrink: 0; /* Prevent icon shrinking */
  width: 60px; /* Fixed width area for alignment */
  text-align: center;
}

.reason-content-wrap {
  flex: 1;
  min-width: 0; /* Allow text to wrap/clamp inside flex item */
}

.reason-head {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  margin-bottom: 10px;
  display: block;
  width: 100%;
  font-weight: 700;
}

.reason-text {
  font-size: 0.95rem;
  color: var(--color-text-gray);
  line-height: 1.8;
}

@media (max-width: 768px) {
  .reason-item {
    padding: 30px 20px;
    flex-direction: column; /* Stack on mobile if needed, or keep row if space permits */
    align-items: center;
    text-align: center;
  }

  .reason-icon {
    margin-right: 0;
    margin-bottom: 20px;
  }
}

/* --- Page Header (Sub Pages) --- */
.page-header-section {
  background: #333;
  padding: 180px 0 100px;
  text-align: center;
  color: #fff;
}
.page-header-section .section-title-en {
  color: rgba(255, 255, 255, 0.7);
}
.page-header-section .section-title-jp {
  color: #fff;
}

@media (max-width: 768px) {
  .page-header-section {
    padding: 90px 0 50px;
  }
}

/* --- Workflow --- */
.workflow-item {
  display: flex;
  margin-bottom: 80px;
  align-items: center;
  gap: 50px;
}

.workflow-item:nth-child(even) {
  flex-direction: row-reverse;
}

.workflow-img {
  flex: 1;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.workflow-txt {
  flex: 1;
}

.workflow-step {
  font-family: var(--font-serif);
  font-size: 4rem;
  color: #eee;
  line-height: 1;
  font-weight: 900;
  display: block;
  margin-bottom: -20px;
  position: relative;
  z-index: -1;
}

.workflow-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  display: inline-block;
  background: #fff;
}

.workflow-img img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
  width: 100%;
}

@media (max-width: 768px) {
  .workflow-item,
  .workflow-item:nth-child(even) {
    flex-direction: column;
    gap: 30px;
    margin-bottom: 60px;
  }
}

/* --- Recruit Table --- */
.recruit-table-wrap {
  margin-bottom: 80px;
  border-top: 1px solid #111;
}

.recruit-row {
  display: flex;
  border-bottom: 1px solid #e0e0e0;
}

.recruit-th {
  width: 30%;
  background-color: #fafafa;
  padding: 30px 20px;
  font-weight: 700;
  font-family: var(--font-serif);
  display: flex;
  align-items: center;
}

.recruit-td {
  width: 70%;
  padding: 30px 20px;
}

@media (max-width: 768px) {
  .recruit-row {
    flex-direction: column;
  }
  .recruit-th {
    width: 100%;
    padding: 20px;
    background-color: #f4f5f7;
  }
  .recruit-td {
    width: 100%;
    padding: 20px;
  }
}

/* --- Flow Steps --- */
.flow-container {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-bottom: 80px;
  flex-wrap: wrap;
  gap: 20px;
}

.flow-step {
  flex: 1;
  min-width: 200px;
  background: #fff;
  padding: 30px 20px;
  text-align: center;
  border: 1px solid #e0e0e0;
  position: relative;
}

.flow-num {
  display: block;
  font-family: var(--font-serif);
  color: var(--color-primary);
  font-size: 1.2rem;
  margin-bottom: 10px;
  font-weight: 700;
}

.flow-label {
  display: block;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.flow-desc {
  font-size: 0.9rem;
  color: #666;
}

.flow-step:not(:last-child)::after {
  content: "\f054"; /* fa-chevron-right */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  right: -15px;
  top: 50%;
  transform: translateY(-50%);
  color: #ccc;
  z-index: 1;
  background: #fff;
  height: 30px;
  display: flex;
  align-items: center;
}

@media (max-width: 900px) {
  .flow-container {
    flex-direction: column;
  }
  .flow-step:not(:last-child)::after {
    content: "\f078"; /* fa-chevron-down */
    right: 50%;
    top: auto;
    bottom: -25px;
    transform: translateX(50%);
  }
}

/* --- Form & Contact --- */
.contact-section {
  background-color: var(--color-bg-gray);
}

.form-container {
  background: #fff;
  padding: 60px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
}

.form-control {
  width: 100%;
  padding: 15px;
  border: 1px solid #ddd;
  background: #f9f9f9;
  margin-bottom: 20px;
  font-size: 1rem;
  border-radius: 0;
}

.btn-submit {
  background: var(--color-text);
  color: #fff;
  width: 100%;
  padding: 18px;
  font-size: 1.1rem;
  border: none;
  cursor: pointer;
  transition: opacity 0.3s;
}

.btn-submit:hover {
  opacity: 0.8;
}

/* --- Footer --- */
.footer {
  background: #111;
  color: #888;
  padding: 80px 0 30px;
  font-size: 0.9rem;
}

.footer-logo {
  filter: grayscale(100%) brightness(200%);
  width: 200px;
  margin-bottom: 30px;
  opacity: 0.7;
}

.footer-links {
  display: flex;
  gap: 30px;
  margin-bottom: 50px;
}

.footer-links a:hover {
  color: #fff;
}

/* Fixed CTA Mobile */
.fixed-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  display: none;
}
.fixed-cta button {
  width: 100%;
  background: var(--color-primary);
  color: #fff;
  border: none;
  padding: 15px;
  font-weight: 700;
  font-size: 1.1rem;
}
@media (max-width: 768px) {
  .fixed-cta {
    display: block;
  }
}

/* --- Text Autofit Utility --- */
.text-autofit {
  white-space: nowrap;
}

/* Amazon Badge text sizing */
.official-badge-modern.text-autofit {
  font-size: clamp(10px, 3.8vw, 1.2rem);
}

.reason-head.text-autofit {
  font-size: clamp(10px, 3.8vw, 1.4rem);
}

.hero-official-text.text-autofit {
  font-size: clamp(9px, 3.5vw, 1.5rem); /* Reduced min size & rate */
  max-width: 100%; /* Ensure it doesn't exceed parent */
}

@media (max-width: 400px) {
  .hero-official-text {
    padding: 6px 12px; /* Reduce padding on small screens */
    width: auto;
    display: inline-flex;
  }
}
