@import url('https://fonts.googleapis.com/css2?family=Yomogi&display=swap');

/* Reset & base */
*{box-sizing:border-box;margin:0;padding:0;}
/* Dynamic header offset for anchor alignment */
:root{--header-offset:64px;}
html{scroll-padding-top:var(--header-offset);scroll-behavior:smooth;}
[id]{scroll-margin-top:var(--header-offset);}
/* Ensure no default page margins and prevent horizontal scroll */
html,body{margin:0;padding:0;height:100%;font-family:Helvetica,Arial,"Yu Gothic",sans-serif;color:#333;}
body{overflow-x:hidden;}

/* Header */
header#header{
  position:fixed;
  top:0;
  left:0;
  right:0;
  width:100%;
  padding:0.8rem 1.5rem;
  z-index:9999!important;
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  background:rgba(255,255,255,0.9);
  backdrop-filter:blur(8px);
  border-bottom:1px solid rgba(0,0,0,0.05);
  transition:opacity .4s ease, transform .4s ease;
}
.header-inner{
  max-width:1200px;
  margin:0 auto;
  display:flex;
  align-items:center;
  gap:1rem;
}
header#header.header-hidden{
  opacity:0!important;
  transform:translateY(-100%);
  pointer-events:none;
}
/* CTAボタンは常に表示 */
.line-button.cta {
  position: fixed;
  top: 1.5rem;
  right: 2rem;
  z-index: 10000 !important;
  opacity: 1 !important;
  transform: none !important;
  pointer-events: auto !important;
}
.line-button.cta{background:#ff69b4;color:#fff;padding:12px 20px;border-radius:30px;font-weight:bold;text-decoration:none;box-shadow:0 4px 10px rgba(0,0,0,.15);}

/* Scroll container */
main#main-container{height:100vh;overflow-y:auto;}

/* Apply scroll snap on medium & up */
@media (min-width: 992px) {
  main#main-container {
    height: auto !important; /* フッターまで表示 */
  }
}
@media (min-width:768px){
  footer#footer{scroll-snap-align:none !important;}

  main#main-container.scroll-mandatory{scroll-snap-type:y mandatory;}
  main#main-container.scroll-proximity{scroll-snap-type:y proximity;}
  .snap-section{scroll-snap-align:start;}
}

.snap-section{min-height:100vh;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:60px 20px;background:#fff;position:relative;}
.section-alt{
  background:linear-gradient(140deg,#f9f6ef 0%,#f2ecdf 100%);
  border-top:1px solid rgba(186,160,120,0.24);
  border-bottom:1px solid rgba(186,160,120,0.18);
}

/* Ensure last section content not cut off */
#options{padding-bottom:120px;}
.section-title{font-size:2rem;margin-bottom:20px;text-align:center;}
.lead{max-width:640px;margin:0 auto 24px;font-size:0.95rem;line-height:1.6;text-align:left;}

@media (max-width:767px){
  #overview,
  #pricing{
    scroll-margin-top:var(--header-offset);
    justify-content:flex-start;
  }
}


h1{
  font-size:1rem;
  font-weight:600;
  text-align:left;
  margin:20px 0 10px 20px;
  color:#3d506b; /* 淡いネイビー */
}
.site-title{
  margin:0;
  text-align:left;
}
@media (min-width:768px){
  h1{font-size:1.2rem;}
}

/* Hero */

/* PC用 overviewリード文フォント拡大 */
@media (min-width: 992px) {
  #overview .lead {
    font-size: 1.05rem !important;
    line-height: 1.6 !important;
  }
}

.hero{
  display:block;
  padding:0;
  width:100%;
  margin:0;
}
.hero-image{
  display:block;
  width:100%;
  height:auto;
  max-width:none;
}

/* Full-bleed helper class (safer than changing .snap-section globally)
   - Use by adding `hero-full` to the hero section element.
   - Keeps the hero spanning the viewport while avoiding page horizontal scroll. */
.hero-full{box-sizing:border-box;overflow:hidden;align-items:stretch;}
.hero-full .hero-image{display:block;width:100%;height:auto;margin:0;padding:0;max-width:none;}

/* Feature cards */
.feature-cards{
  width:100%;
  max-width:1200px;
  margin:0 auto 40px;
  padding:0 20px;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:32px;
}
.feature-card{
  background:#fff;
  border-radius:24px;
  box-shadow:0 20px 50px rgba(51,62,73,0.12);
  padding:28px 24px 32px;
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  min-height:100%;
}
.feature-card__image{
  width:100%;
  max-width:300px;
  height:auto;
  border-radius:20px;
  box-shadow:0 10px 30px rgba(0,0,0,0.08);
  margin-bottom:20px;
}
.feature-card__title{
  font-size:1.15rem;
  font-weight:700;
  color:#1f2a37;
}
.feature-card__text{
  margin-top:12px;
  font-size:0.95rem;
  line-height:1.6;
  color:#4b5563;
  max-width:300px;
  width:100%;
  margin-left:auto;
  margin-right:auto;
  text-align:left;
}
@media (max-width:980px){
  .feature-cards{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media (max-width:768px){
  .feature-cards{
    grid-template-columns:1fr;
  }
}

.video-spec{
  width:100%;
  max-width:520px;
  margin:0 auto 24px;
  text-align:center;
}
.video-spec__toggle{
  display:inline-flex;
  justify-content:center;
  align-items:center;
  min-width:220px;
  max-width:320px;
  background:#fff;
  border:2px solid #007bff;
  color:#007bff;
  font-size:1rem;
  font-weight:600;
  padding:10px 20px;
  border-radius:999px;
  cursor:pointer;
  transition:background .2s,color .2s,box-shadow .2s;
  box-shadow:0 4px 10px rgba(0,0,0,.08);
}
.video-spec__toggle:focus-visible{
  outline:3px solid rgba(0,123,255,0.35);
  outline-offset:2px;
}
.video-spec__toggle:hover{
  background:#007bff;
  color:#fff;
}
.video-spec.is-open .video-spec__toggle{
  background:#007bff;
  color:#fff;
}
.video-spec__content{
  margin-top:16px;
  padding:20px;
  border-radius:16px;
  background:rgba(0,123,255,0.08);
  border:1px solid rgba(0,123,255,0.28);
  text-align:left;
  line-height:1.6;
  font-size:0.95rem;
  box-shadow:0 6px 18px rgba(0,0,0,0.08);
  max-width:360px;
  margin-left:auto;
  margin-right:auto;
  width:100%;
}
.video-spec__content ul{
  list-style:disc;
  padding-left:1.2rem;
  margin:12px 0 0;
}
.video-spec__intro{
  font-weight:600;
  color:#000;
}

/* Buttons */
.primary-button,.line-button{display:inline-block;background:#007bff;color:#fff;padding:12px 24px;border-radius:6px;text-decoration:none;box-shadow:0 4px 10px rgba(0,0,0,.1);transition:background .2s;}
.primary-button:hover{background:#0069d9;}

/* Smaller variant for sample video links */
.small-button{
  font-size:0.8rem;
  padding:6px 12px !important; /* moderate size */
  border-radius:4px;
  width:fit-content;
  margin:8px auto 0; /* center horizontally and add top margin */
}

/* Center plain text links */
.link-center{
  display:block;
  width:fit-content;
  margin:8px auto 0;
  color:#48a4ff;
  text-decoration:none;
}
.link-center:hover{
  color:#6fc4ff;
}

.line-button{background:#06C755;}
.line-button:hover{background:#e653a0;}

/* Option service price color */
#options .price{color:#000;}

/* Service list (options) */
.service-group{display:flex;flex-direction:column;gap:14px;}
.service-item h4{margin:0 0 2px;font-size:1rem;color:#17a2b8;}

/* Friend add text color */
.line-add-text{color:#06C755;}
.service-list{list-style:none;padding:0;margin:0;}
.service-list li{
  display:flex;
  justify-content:center;
  gap:20px;
  font-size:.95rem;
  padding:2px 0;
}
.service-list + p{
  margin-top:8px;
}
/* Styling for note under game count */
.service-note{
  font-size: 0.85rem !important; /* slightly larger font */
  line-height: 1.3;
  margin: 4px 0 12px 0;
  color: #ff8c00 !important;
  text-align: center !important;
  display: block;
}

.service-price{font-weight:normal;color:#000; /* changed to black */}
/* override for video edit card */
.card.video-edit .service-price{color:#000;}

/* Pricing list */
.pricing-list{list-style:none;padding:0;width:100%;}
.pricing-list li{display:grid;grid-template-columns:1fr auto 80px;align-items:center;margin:4px 0;font-size:1rem;gap:8px;}
.item-label{text-align:left;}
.item-price{text-align:right;} .discount{text-align:right;color:#dc3545;font-weight:600;}

/* Card group */
.card-group{display:flex;gap:20px;flex-wrap:wrap;justify-content:center;align-items:flex-start;max-width:1000px;margin:0 auto;}
.card{flex:1 1 360px;max-width:420px;background:#fff;border:1px solid #ced4da;border-radius:10px;box-shadow:0 2px 10px rgba(0,0,0,.08);padding:20px;text-align:left;display:flex;flex-direction:column;}
.card h3{margin-bottom:10px;font-size:1.25rem;color:#007bff;text-align:center;}
/* Option card order */
.card.sd-card{order:0;}
.card.blu-ray{order:1;}
.card.video-edit{order:2;max-height:calc(100vh - 120px);overflow-y:auto;}
.card .note{font-size:0.85rem;color:#6c757d;text-align:center;margin:-4px 0 8px;}
.badge-short{display:inline-block;background:#ff7043;color:#fff;font-size:0.7rem;font-weight:bold;padding:2px 6px;border-radius:4px;margin-right:4px;}
.card .price{margin:4px 0 12px 0;font-weight:normal;font-size:1.2rem;color:#000;text-align:center;}
/* Special color for free price */
.card .price:contains('無料'){color:#e83e8c;}
@media (min-width: 992px){
  #delivery .card-group{
    flex-wrap:nowrap;
    max-width:1200px;
    justify-content:space-between;
  }
  #delivery .card{
    min-width:320px;
  }
}
@media (min-width: 992px){
  #options .card-group{
    flex-wrap:nowrap;
    max-width:1200px;
    justify-content:space-between;
  }
  #options .card{
    min-width:320px;
  }
}
.expandable .toggle-btn{margin-top:10px;align-self:flex-start;background:#6c757d;color:#fff;padding:6px 12px;border:none;border-radius:4px;cursor:pointer;font-size:.9rem;}
.expand-content{display:none;margin-top:10px;font-size:.9rem;line-height:1.4;}
.expandable.active .expand-content{display:block;}
.expandable.active{box-shadow:0 4px 12px rgba(0,0,0,.12);}

/* Purchase section */
.purchase .line-button{font-size:1.8rem;padding:24px 48px;border-radius:50px;margin-top:8px;box-shadow:0 6px 14px rgba(0,0,0,.18);} 
.purchase{text-align:center;padding:110px 20px;box-shadow:inset 0 8px 16px rgba(0,0,0,.05);scroll-margin-top:100px;}
.purchase h2{font-size:2.4rem;color:#e76a9c;margin-bottom:24px;text-shadow:0 2px 4px rgba(0,0,0,.08);}
.purchase p{font-size:1.2rem;line-height:1.7;margin-bottom:30px;background:rgba(255,255,255,0.92);padding:20px;border-radius:12px;box-shadow:0 4px 12px rgba(0,0,0,0.1);border-left:4px solid rgba(231,106,156,0.65);font-weight:500;}

/* User's Voice */
.user-voice{
  width:100%;
  background:linear-gradient(140deg,#f9f6ef 0%,#f2ecdf 100%);
}
.user-voice .section-title{
  color:#4a3f2f;
  margin-bottom:32px;
}
.section-subtitle{
  font-size:1.1rem;
  letter-spacing:0.12em;
  color:#b29b6d;
  margin-bottom:12px;
  font-weight:600;
}
.voice-grid{
  display:grid;
  gap:24px;
  width:100%;
  max-width:1100px;
  margin:0 auto;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
}
.voice-card{
  background:#fff;
  border:1px solid #e6dbc4;
  border-radius:18px;
  padding:24px;
  box-shadow:0 12px 28px rgba(150,130,96,0.12);
  display:flex;
  flex-direction:column;
  gap:12px;
}
.voice-card__role{
  font-size:0.85rem;
  font-weight:600;
  color:#8a7a60;
  border-bottom:1px dashed #e2d6bf;
  padding-bottom:6px;
  display:inline-block;
}
.voice-card__title{
  font-size:1.1rem;
  color:#3d3125;
  line-height:1.5;
}
.voice-card p{
  font-size:0.95rem;
  line-height:1.7;
  color:#4d4031;
  font-family:'Yomogi',"Hiragino Maru Gothic ProN","Yuji Syuku","Yuji Boku","Yuji Mai","Yuji Hentaigana Akari",cursive;
}
.voice-highlight{
  background:linear-gradient(transparent 60%,#fff59d 60%);
  padding:0 2px;
}
@media (max-width:767px){
  .user-voice{
    padding-top:48px!important;
    padding-bottom:48px!important;
  }
  .voice-card{
    padding:20px;
  }
  .voice-card__title{
    font-size:1rem;
  }
}

/* Accordion (FAQ) */
.accordion details{background:#fff;border:1px solid #ced4da;border-radius:8px;box-shadow:0 2px 6px rgba(0,0,0,.04);margin-bottom:10px;padding:14px;max-width:800px;}
.accordion summary{cursor:pointer;font-weight:bold;}
.accordion p{margin-top:8px;line-height:1.6;}

/* Contact form */
.contact-form{display:flex;flex-direction:column;gap:14px;max-width:500px;width:100%;}
.contact-form label{display:flex;flex-direction:column;font-weight:bold;font-size:.95rem;}
.contact-form input,.contact-form textarea{margin-top:6px;padding:10px;border:1px solid #ccc;border-radius:6px;font-size:1rem;}
.contact-form button{align-self:flex-start;border:none;}

/* Footer */
footer#footer{background:#e9ecef;color:#495057;padding:14px 0;box-shadow:0 -2px 5px rgba(0,0,0,.06);position:static!important;position:relative!important;bottom:auto!important;left:auto!important;right:auto!important;width:auto!important;top:auto!important;}
footer nav{display:flex;justify-content:center;gap:30px;}
.footer-link{color:#495057;text-decoration:none;font-size:.9rem;}
.footer-link:hover{color:#212529;text-decoration:underline;}

/* Override snap-section height for footer */
.footer-section{
  min-height:auto!important; /* Cancel 100vh */
  padding:20px 0!important; /* reasonable spacing */
  display:block!important; /* Cancel flex centering */
}

/* Mobile-specific layout tweaks */
@media (max-width: 767px) {
  /* Reduce vertical spacing */
  
  /* Remove side padding for hero and adjust heights */
  
  
  
  /* Remove side padding for hero and adjust heights */
  
  
  
  
  
  
}

/* Tight spacing overrides for mobile portrait */
@media (max-width: 767px) {
  .card.video-edit{max-height:calc(100vh - 100px);}
  .card.video-edit .service-group{max-height:calc(100vh - 160px);}
}
.card.video-edit .service-group{overflow-y:auto;max-height:calc(100vh - 180px);}
@media (max-width: 767px) {
  #hero { margin-bottom: 0 !important; }
  #overview { padding-top: 20px !important; margin-top: 0 !important; }
  .snap-section { min-height: auto !important; padding-top: 24px !important; padding-bottom: 24px !important; }
  
  
}


/* Mobile-specific footer fix - stronger rules */
@media (max-width: 767px) {
  /* Move purchase section content upward */
  .purchase {
    justify-content: flex-start !important;
    padding-top: 60px !important; /* reduce top spacing */
  }
  
  /* Reduce footer link font size */
  footer nav .footer-link {
    font-size: 60% !important;
  }

  footer#footer {
    position: static !important;
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    width: auto !important;
    height: auto !important;
    transform: none !important;
    z-index: auto !important;
    margin: 0 !important;
    float: none !important;
  }
  
  /* Ensure footer is not fixed on any mobile device */
  footer {
    position: static !important;
    position: relative !important;
  }
}

/* Darken background image overlay if needed */

/* --- モバイル用 h1 & CTA調整 ------------------------- */
@media (max-width: 767px) {
  h1 {
    font-size: 0.8rem !important; /* さらに小さく */
    line-height: 1.2 !important;
    white-space: nowrap !important; /* 折り返さない */
    overflow: hidden !important;
    text-overflow: ellipsis !important; /* 念のため */
  }
  /* CTAボタンを小型化 */
  header#header {
    padding: 0.4rem 0.8rem !important; /* バンド高さを縮小 */
  }
  /* CTAボタンを小型化 */
  .line-button.cta {
    font-size: 0.75rem !important;
    padding: 8px 14px !important;
    border-radius: 24px !important;
  }
}

/* Strong override for hero full-bleed in case of remaining gaps */
/* Keeps mobile layout intact but forces hero to span viewport */
#hero, .snap-section.hero, .hero-full {
  box-sizing: border-box;
  /* force full-bleed even if a parent adds padding/margin */
  padding: 0 !important;
  margin: 0 !important;
  width: 100vw !important;
  max-width: 100vw !important;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw !important;
  margin-right: -50vw !important;
  overflow: hidden;
  align-items: stretch !important; /* ensure child stretches full width */
}
.hero-full .hero-image, #hero .hero-image {
  display: block !important;
  width: 100vw !important;
  max-width: 100vw !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

#main-container {
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  overflow-x: hidden !important;
}

.snap-section.hero {
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.hero-image {
  display: block !important;
  width: 100% !important;
  height: auto !important;
}
