/*
Theme Name: Interesting Stories
Theme URI: https://interesting-stories.net/
Author: Hina Ono
Author URI: https://interesting-stories.net/
Description: 自分の世界観や思想を発信するための独自WordPressテーマ。ブログ、宿泊施設向けサービス紹介、将来のAIツールや創作プロジェクトにも対応。
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: interesting-stories
Tags: custom-background, custom-logo, custom-menu, flexible-header, full-width-template, threaded-comments
*/

/* =========================
   Base
========================= */
:root {
  --color-red: #be6c6c;
  --color-green: #6dbd86;
  --color-yellow: #d9bf4c;
  --color-aqua: #6fc5c3;
--color-black: #333;
}
body {
  margin: 0;
font-family:'M PLUS 1', sans-serif;
  color: #222;
  line-height: 1.9;
  background: #fff;
}
.SP{display:none;}
/* =========================
   Hero
========================= */
.hero-brand {
  position: relative;
  width: 100vw;
  height: 70vh;
  background: url('https://interesting-stories.net/wp-content/uploads/2026/02/S__2834434.jpg') center center / cover no-repeat;
  overflow: hidden;
  margin-left: calc(-50vw + 50%); /* PC用 */
}
.hero-title {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-6deg);
  font-family:'M PLUS 1', sans-serif;
  font-weight: 700;
  font-size: clamp(32px, 6vw, 90px); 
  color: #ffffff;
  letter-spacing: 0.03em;
  text-align: center;
  opacity: 0;
  animation: fadeUp 1.8s ease-out forwards;
  text-shadow: 0 2px 6px rgba(0,0,0,0.25), 0 4px 12px rgba(0,0,0,0.15);
  white-space: nowrap; 
  max-width: 95%;   
}

/* 電球*/
.hero-bulb {
  position: absolute;
  top: calc(50% + 80px); 
  left: 50%;
  transform: translateX(-50%);
  width: 60px;          
  height: auto;
  opacity: 0;
  animation: bulbPop 1s ease-out forwards;
  animation-delay: 2s;   
}

/* 電球*/
@keyframes bulbPop {
  0% {
    transform: translateX(-50%) scale(0);
    opacity: 0;
  }
  60% {
    transform: translateX(-50%) scale(1.2);
    opacity: 1;
  }
  100% {
    transform: translateX(-50%) scale(1);
    opacity: 1; 
  }
}
.hero-sub {
  position: absolute;
  top: calc(50% + 200px);
  left: 50%;
  transform: translateX(-50%);
  font-size: clamp(14px, 1.6vw, 18px);
  font-weight: 500;
  letter-spacing: 0.12em;
  color: #ffffff;
  opacity: 0;
  animation: fadeInSub 1.5s ease forwards;
  animation-delay: 2.8s;
  text-align: center;
  white-space: nowrap;
}
@keyframes fadeInSub {
  from {
    opacity: 0;
    transform: translate(-50%, 10px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}
/* PC */
@media (min-width: 769px) {
  .hero-bulb {
    top: calc(50% + 120px); 
    width: 80px;         
  }
  .hero-title {
    animation:
      fadeUp 1.8s ease-out forwards,
      subtleDrift 8s ease-in-out infinite;
    animation-delay: 0s, 2s; 
  }

  @keyframes subtleDrift {
    0%, 80%, 100% {
      transform: translate(-50%, -55%) rotate(-6deg);
    }

    85% {
      transform: translate(-50%, -56%) rotate(-5deg);
    }

    90% {
      transform: translate(-50%, -54%) rotate(-7deg);
    }

    95% {
      transform: translate(-50%, -55%) rotate(-6deg);
    }
  }
}
/* スマホ */
@media (max-width: 768px) {
.SP{display:block;}
  .hero-bulb {
    width: 48px;          
    top: calc(50% + 50px);
  }
  .hero-sub {
    top: calc(50% + 120px);
    font-size: 13px;
    letter-spacing: 0.08em;
  }
 .hero-brand {
    margin-left: 5px!important;
    width: 100%;
  }

  .hero-title {
font-size: 40px;
    white-space: nowrap;
    max-width: none;
  }
}

@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translate(-50%, -40%) rotate(-6deg);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(-6deg);
  }
}

/* =========================
   HERO（安定ブランド版）
========================= */

.top .top-visual {
  position: relative;
  width: 100%;
  background:
    linear-gradient(to top, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.4) 45%, rgba(255,255,255,0) 75%),
    url('https://interesting-stories.net/wp-content/uploads/2026/02/afafa.webp') center center / cover no-repeat;
  padding: 140px 20px 70px;
  display: flex;
  align-items: flex-end;
  box-sizing: border-box;
}

.top-visual-inner {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

/* サブ */
.title-sub {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  opacity: 0.8;
}

.title-heart {
  width: 20px;
  height: auto;
  flex-shrink: 0;
}

.subtitle {
  font-family: 'Hubballi', sans-serif;
  font-size: 19px;
font-weight: 600;
  letter-spacing: 0.15em;
  color: #666;
}

/* メイン */
.main-title {
  font-size: clamp(30px, 6.5vw, 52px);  
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0.02em;
  color: #1a1a1a;

  white-space: normal !important;
  overflow-wrap: break-word;
  word-break: normal;
}

/* PC */
@media (min-width: 769px) {

  .top .top-visual {
    padding: 220px 6vw 110px;
  }

  .main-title {
    font-size: clamp(44px, 4.5vw, 68px); /* ← 大きすぎない */
    line-height: 1.5;
  }

  .subtitle {
    font-size: 16px;
  }
}
/* =========================
   Story / Local / AI
========================= */
.story,
.local,
.ai {
  max-width: 720px;
}

/* =========================
   Partner
========================= */
.partner a {
  display: inline-block;
  margin-top: 12px;
  color: #222;
  text-decoration: underline;
}

/* =========================
   Responsive
========================= */
@media (max-width: 768px) {
  .top section {
    margin: 80px 0;
  }
}

/* =========================
   TOP
========================= */


.service-images::-webkit-scrollbar-thumb {
  background: #ddd;
  border-radius: 3px;
}
.service-images-wrap {
  position: relative;
}

.service-images {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 20px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  margin-top: 30px;
}

.service-images::-webkit-scrollbar {
  display: none;
}

/* scroll文字 */
  .service-images-wrap::after {
    content: "scroll →";
    position: absolute;
    right: 6px;
    bottom: 4px;
    font-size: 11px;
    letter-spacing: 0.08em;
    color: #999;
    pointer-events: none;
  }


.service-images::-webkit-scrollbar {
  display: none;
}
.service-images img {
  width: auto;
  height: 300px;
  object-fit: cover;
  flex-shrink: 0; 
  transition: transform .3s ease, box-shadow .3s ease;
}
.Rogoimg{
  width: auto !important;
  height: 150px !important;
  object-fit: cover;
  flex-shrink: 0; 
  transition: transform .3s ease, box-shadow .3s ease;
}

.service-images img:hover {
  transform: scale(1.04);
  box-shadow: 0 6px 20px rgba(0,0,0,.15);
}


/* PC */
@media (min-width: 768px) {
  .service-images img {
    height: 250px;
  }
.Rogoimg{
    height: 200px !important;
  }
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s ease;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
}

.lightbox.is-open {
  display: flex;
  opacity: 1;
  pointer-events: auto;
}
@media (max-width: 768px) {
  .service-images::after {
    animation: scrollHint 1.6s ease-in-out infinite;
  }
}

@keyframes scrollHint {
  0%   { opacity: .3; transform: translateX(0); }
  50%  { opacity: 1;  transform: translateX(-4px); }
  100% { opacity: .3; transform: translateX(0); }
}

/* =========================
   ボタン
========================= */
.partner-actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.action-btn:hover {
  color: #fff;
  transform: translateY(-1px);
}

.action-btn.c1:hover {
  background: #6fc5c3;
}

.action-btn.c3:hover {
  background: #6dbd86;
}

.action-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding-left: 14px;
  font-size: 14px;
  font-weight: 500;
  color: #444 !important;
  background: none;
  border: none;
 text-decoration: none !important;
}

/* 左の縦線 */
.action-btn::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 2px;
  height: calc(100% - 4px);
  background: currentColor; /* デフォルト色 */
}

/* ボタンごとの縦線の色 */
.action-btn.c1::before { background: #be6c6c;
}

.action-btn.c3::before { background: #d9bf4c;}

.action-btn.c4::before { background: #6fc5c3;}

/* =========================
   囲み風テキストボタン
========================= */
.text-link.box {
  position: relative;
  display: inline-block;
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 500;
  color: #555;
  text-decoration: none;
  background: transparent;
  border: 1px solid #ddd;
  border-radius: 6px; 
  transition: 
color .3s ease,
border-color .3s ease,
background-color .3s ease,
transform .25s ease;
}

/* hover */
.text-link.box:hover {
  color: #333;
  border-color: #6fc5c3;
  background-color: rgba(111,197,195,.08);
  transform: translateY(-1px);
}


/* =========================
   footer
========================= */
.site-footer {
  margin-top: 80px;
  font-size: 12px;
  color: #777;
  position: relative; 
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-site {
  letter-spacing: 0.08em;
}
.footer-copy {
  font-size: 11px;
  color: #999;
  letter-spacing: 0.06em;
}
.footer-divider {
  height: 1px;
  width: 100%;
  background: #eee;
  margin: 0;
}

/* 4色ライン */
.footer-color-line {
  width: 100%;  
  height: 6px;
  background: linear-gradient(
    to right,
    #6fc5c3 0%,
    #6fc5c3 25%,
    #be6c6c 25%,
    #be6c6c 50%,
    #6dbd86 50%,
    #6dbd86 75%,
    #d9bf4c 75%,
    #d9bf4c 100%
  );
  margin: 0;
}




.service-images figure {
  margin: 0;
  text-align: center;
}

.service-images figcaption {
  margin-top: 6px;
}

.service-images figcaption a {
  font-size: 12px;
  color: #777;
  text-decoration: none;
}

.service-images figcaption a:hover {
  text-decoration: underline;
  color: #333;
}
.no-link {
  font-size: 12px;
  color: #777;
}