/* ========================
  Tokens / Base
======================== */
:root{
  --container: 1440px;
  --gap: 32px;
  --brand: #0DC5A6;
  --accent:#0DC5A6;
  --tint:  #f1fcf8;
  --ink:   #333;
  --muted: #6b7280;
  --radius: 16px;
  --shadow: 0 0 8px #b9b9b9;
  --gradient: linear-gradient(90deg, #0DC54A, #0DC5A6 50%, #0D87C5);

  --font-xs: clamp(1.4rem, 0.4vw + 1.2rem, 1.6rem);
  --font-sm: clamp(1.6rem, 0.4vw + 1.4rem, 1.8rem);
  --font-md: clamp(2.0rem, 0.6vw + 1.6rem, 2.4rem);
  --font-lg: clamp(2.8rem, 0.8vw + 2.0rem, 3.2rem);

  --space-xs:  clamp(0.8rem, 0.5vw, 1.2rem);
  --space-sm:  clamp(1.6rem, 0.8vw, 2.4rem);
  --space-md:  clamp(2.4rem, 1.2vw, 3.2rem);
  --space-lg:  clamp(3.2rem, 1.8vw, 4.8rem);
  --space-xl:  clamp(4.8rem, 2.4vw, 6.4rem);
  --space-2xl: clamp(6.4rem, 3vw, 8rem);
}

*{
  box-sizing: border-box
}

html,body {
  height:100%;
  font-size: 62.5%;
}

body {
  font-family: "Noto Sans JP", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  color: var(--ink); 
  background: #fff; 
  line-height: 1.6;
  letter-spacing: .04em;
}
img {
  display: block;
  max-width: 100%;
  height: auto
}
a {
  color: inherit;
  text-decoration: none
}
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px,1px,1px,1px);
  white-space: nowrap
}
p {
  font-size: var(--font-xs);
}

/* ========================
  Layout (12 columns)
======================== */
/* .container {
  width: var(--container);
  max-width: calc(100% - 128px);
  margin-inline: auto;
} */
.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 32px;
}
.span-12{grid-column:span 12}
.span-9{grid-column:span 9}
.span-8{grid-column:span 8}
.span-7{grid-column:span 7}
.span-6{grid-column:span 6}
.span-5{grid-column:span 5}
.span-4{grid-column:span 4}
.span-3{grid-column:span 3}
.center{text-align:center}

/* ========================
  Header / Hero
======================== */
.hero {
  position: relative;
  background: linear-gradient(180deg,#ffffff 0%, #f8faff 100%);
}
.hero > img[alt="日本国際放送ロゴ"] {
  position: fixed;
  z-index: 10;
  left: var(--space-xl);
  top: var(--space-sm);
  height: 36px;
  width: auto;
}
.header__contact--btn {
  position: fixed;
  z-index: 10;
  right: var(--space-xl);
  top: var(--space-sm);
  font-size: var(--font-sm);
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 8px 32px;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 0 8px #858585;
  cursor: pointer;
  transition: filter .15s ease;
}
.header__contact--btn:hover {
  filter: brightness(1.08)
}
.hero__wrapper {
  display: flex;
  z-index: 1;
}
.hero__heading {
  font-weight: 900;
  font-size: clamp(24px,3.1vw,36px);
  line-height: 1.28;
  margin: 0 0 32px;
}
.hero__desc {
  max-width: 900px;
  font-size: var(--font-xs);
  line-height: 1.8;
  margin-bottom: 2.4rem;
}
.hero__img {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 680px;
}
.hero__img img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 680px;
  object-fit: cover;
  opacity: 0;
  transition: opacity .8s ease;
  inset: 0;
}
.hero__img img.is-active {
  opacity: 1;
  z-index: 1;
}
.gradient-border {
  position: relative;
}
.gradient-border::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 8px;
  background: var(--gradient);
  border-radius: 2px;
  z-index: 100;
}
.hero__text {
  display: flex;
  justify-content: center;
  padding: 0 clamp(4.0rem, 2.4vw, 6.4rem);
  flex-direction: column;
  background-color: #fff;
  overflow: hidden;
}
.hero__contact-wrapper {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero__contact--request,
.hero__contact--inquiry {
  display: inline-flex;
  align-items: center;
  font-size: var(--font-xs);
  justify-content: center;
  gap: 24px;
  padding: 16px 0;
  width: 320px;
  border-radius: 999px;
  font-weight: 700;
  transition: filter .15s ease, transform .02s ease;
  box-shadow: 0px 0px 8px #ccc ;
}
.hero__contact--request { 
  background: #fff;
  border: var(--accent) 2px solid;
  color: var(--accent);
}
.hero__contact--inquiry {
  background: var(--accent);
  color: #fff
}
.hero__contact-wrapper a:active {
  transform: translateY(1px)
}
.hero__contact-wrapper a:hover { 
  filter: brightness(1.06)
}


/* ========================
  About
======================== */
.about {
  padding: var(--space-2xl) var(--space-xl);
  max-width: 1124px;
  margin: 0 auto;
}
.about > h3 {
  font-size: clamp(2.0rem,2.4vw,3.2rem);
  font-weight: 900;
  text-align:center;
  margin:0 0 32px;
}
.about > p {
  margin:0 auto var(--space-xl);
  font-size: var(--font-xs);
  color: var(--muted);
  line-height: 1.8;
}
.highlight {
  color: var(--accent);
}
.about__feature--wrapper{
  display: grid;
  grid-template-columns: repeat(12,1fr);
  gap: var(--gap);
}
.about__feature--item {
  grid-column:span 4;
  background:#fff;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
}
.about__feature--item img {
  width: 100%;
  height: 180px;
  margin-bottom: 40px;
  object-fit: contain;
}
.about__feature--item h4 {
  font-size: var(--font-md);
  font-weight: 800;
  line-height: 1.4;
  text-align: center;
  color: #25af9f;
  margin: 0 0 16px;
}
.about__feature--item p {
  color: var(--ink);
  font-size: 1.4rem;
  line-height: 1.8;
}
.about__cj{
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 24px;
  align-items: center;
  background: var(--tint);
  border-radius: var(--radius);
  padding: 2.4rem 6.0rem;
}
.about__cj img{
  width: 140px;
  height: auto;
}
.cj--title {
  font-weight: 900;
  font-size: var(--font-md);
  color: var(--brand);
}

/* ===========
スライドショー
=========== */
.photo-marquee {
  overflow: hidden;
  margin-bottom: var(--space-2xl);
}
.photo-marquee__mask {
  display: flex;
  overflow: hidden;
  position: relative;
}
.photo-marquee__track {
  display: flex;
  gap: 24px;
  animation: scrollPhotos 15s linear infinite;
  list-style: none;
}
.photo-marquee__track li {
  flex: 0 0 auto;
}
.photo-marquee__track img {
  width: auto;
  height: 160px;
  object-fit: cover;
  filter: brightness(0.95);
  transition: filter 0.3s ease;
}

/* 無限スクロールアニメーション */
@keyframes scrollPhotos {
  from { transform: translateX(0); }
  to   { transform: translateX(-100%); }
}


/* ========================
  CTA blocks (共通)
======================== */
.cta {
  background-image: url("../../images/bg.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding: var(--space-2xl) 0;
}
.cta__area--wrapper{
  display: grid; 
  grid-template-columns: repeat(12,1fr);
  gap: var(--gap);
  margin: 0 auto;
  padding: 0 var(--space-sm);
  max-width: 1152px;
}
.cta__area--request,
.cta__area--inquiry {
  grid-column: span 6;
  background: #fff;
  border-radius: var(--radius);
  padding: var(--space-md) var(--space-lg);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.cta__area--title {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  margin-bottom: var(--space-xs);
}
.cta__area--title h3 {
  font-size: var(--font-sm);
  font-weight: 800;
}
.cta__area--attention {
  background: #F22C4D;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 2px 16px;
  border-radius: 999px;
}
.cta__area--desc {
  margin-bottom: var(--space-sm);
}
.cta__btn-row{
  display:flex;
  justify-content:center; 
  margin-top: 16px;
}
.cta__button--request,
.cta__button--inquiry {
  font-size: var(--font-sm);
  letter-spacing: .08em;
  display: flex;
  padding: 16px 32px;
  gap: 24px;
  margin: 24px auto 0;
  background: #fff;
  border: solid 3px var(--brand);
  color: var(--brand);
  border-radius: 10px;
  font-weight: 600;
  align-items: center;
  justify-content: center;
  transition: filter .15s ease;
  margin-top: auto;
  align-self:stretch; 
}
.cta__button--inquiry {
  border: none;
  background-color: var(--brand);
  color: #fff;
}
.cta__button--request a:hover {
  filter: brightness(1.06);
}
/* ========================
  Works
======================== */
.works{
  padding:var(--space-2xl) var(--space-md);
  background: linear-gradient(90deg, #bbd7f7, #e2eaf5);
}
.works > h2 {
  display: flex;
  color: var(--ink);
  justify-content: center;
  text-align:center;
  font-size: 3.2rem;
  font-weight: 800;
  margin-bottom: var(--space-lg);
}
.works__main--wrapper {
  max-width:1100px;
  margin:0 auto;
}
.works__main--client {
  font-weight: 600;
  font-size: var(--font-md);
  text-align: center;
  margin-bottom: 24px;
}
iframe {
  display: block;
  width: 60%;
  aspect-ratio: 16/9;
  height: auto;
  border: 0;
  box-shadow: var(--shadow);
  margin: 0 auto 3.2rem;
}
.works__main--wrapper > h3 {
  display: flex;
  justify-content: center;
  text-align:center;
  font-size: var(--font-sm);
  margin-bottom: var(--space-md);
}
.works__main--monitor-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
  margin-bottom: var(--space-xl);
}
.works__main--monitor-wrapper h3 {
  margin:0 0 10px;
}
.works__main--monitor-item {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.monitor-item--top {
  display: flex;
  align-items: flex-end;
  margin-bottom: var(--space-sm);
  gap: 1.6rem;
}
.works__main--monitor-item img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: block;
}
.works__main--monitor-info {
  color: var(--ink);
  text-align: left;
  font-size: var(--font-xs);
  font-weight: 600;
  padding-bottom: 1.2rem;
}
.works__main--monitor-review {
  color: var(--ink);
  font-size: var(--font-xs);
  text-align: left;
}

/* ========================
  Flow
======================== */
.flow {
  margin: 0 auto;
  max-width: 1124px;
  padding: 7.2rem var(--space-lg);
}
.flow__title {
  text-align: center;
  font-weight: 900;
  font-size: var(--font-lg);
  margin: 0 0 16px;
}
.flow__desc {
  font-weight: 600;
  text-align: center;
  margin: 0 0 40px;
}
.flow__note {
  font-size: 1.2rem;
  color: var(--muted);
}
.flow__list{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(72px, 1fr);
  gap: 8px;
}
.flow__item{
  position: relative;
  display: flex;
  justify-content: center;
}
.flow__label {
  font-size: var(--font-sm);
  letter-spacing: .2em;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  margin: 0;
  background: var(--tint);
  color: var(--ink);
  border-radius: 12px;
  padding: 32px 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,.06) inset, 0 2px 8px rgba(0,0,0,.06);
  font-weight: 700;
  line-height: 1.6;
  min-height: 200px;
}
.flow__item--highlight .flow__label {
  background: var(--brand);
  color: #fff;
}
.flow__item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
  width: 0; height: 0;
  border-left: 8px solid #25af9f;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

/* ========================
  Price
======================== */
.price{ 
  max-width: 800px;
  margin: 0 auto 8.0rem;
  padding: 0 var(--space-lg);
}
.price__title{ 
  text-align: center;
  font-weight: 900;
  font-size: var(--font-lg);
  margin: 0 0 16px;
}
.card{
  background: var(--card-bg);
  border: 2px solid var(--brand);
  border-radius: 1.2rem;
  overflow: hidden;
  margin: 0 0 2.4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.card__title {
  font-size: var(--font-md);
  font-weight: 400;
}

.card__header{
  display:flex;
  justify-content: center;
  align-items: first baseline;
  gap: 1.2rem;
  background: var(--brand);
  color:#fff;
  padding: 1.2rem 1.6rem;
}
.card__header--center{
  justify-content: center;
}
.card__title {
  margin:0; 
  font-weight:600; 
  letter-spacing:.06em; 
}
.card__price { 
  margin:0; 
  font-weight:600; 
  font-size: clamp(2rem,3.2vw,3rem); 
}
.small {
  padding-left: 16px;
  font-size: var(--font-xs);
  font-weight: 600;
}
.card__price strong { 
  font-size: 1.6em;
  margin-right: 8px;
}
.card__price span{ 
  opacity:.9;
}

/* 本文リスト */
.card__list-wrapper {
  background: var(--tint);
  text-align: right;
  display: flex;
  justify-content: center;
}
.card__list {
  list-style:none; 
  margin:0; 
  padding: 40px 0;
  color: var(--ink);
  width: fit-content;
  margin: 0 auto;
  text-align: left;  
}
.card__list li{
  font-size: var(--font-sm);
  font-weight: 600;
  position: relative;
  padding-left: 1.2em; 
  line-height: 2.4;
}
.card__list li::before{
  content:""; 
  position:absolute; 
  left: 0; 
  top: .78em;
  width: .5em; 
  height: .5em; 
  border-radius: 50%; 
  background: var(--brand);
}
.note{ 
  opacity:.85; 
}


/* ========================
  YouTube
======================== */
#yt {
  margin-bottom: 8.0rem;
}

#yt h3 {
    font-size: clamp(2.0rem, 2.4vw, 3.2rem);
    font-weight: 900;
    text-align: center;
    margin: 0 0 32px;
}

/* ========================
  CTA2
======================== */
.cta2__desc {
  text-align:center;
  font-size: var(--font-md);
  color: #fff;
  font-weight: 600;
  margin-bottom: 2.4rem;
}
.tel {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 32px auto 0;
  padding: 16px 32px;
  color: #fff;
  width: fit-content;
  border: #fff 2px solid;
  border-radius: 16px;
}
.cta__tel--top {
  display: flex;
  align-items: center;
  gap: 24px;
}
.cta__tel {
  text-align:center;
  font-size: var(--font-xs);
  font-weight: 600;
  margin-top: 6px;
}
.cta__tel-num {
  font-size: 3.2rem;
  font-weight: 800;
}
.cta__tel-reception {
  font-size: 1.4rem;
  font-weight: 400;
}


/* ========================
  Footer
======================== */
footer {
  padding: var(--space-xs) 0;
  text-align:center;
  background-color: var(--ink);
  color: #fff;
  font-size: 1.2rem;
}

/* ========================
  Effects (hover / IO)
======================== */
a:hover {
  filter: brightness(1.06)
}

[data-io] {
  opacity: 0;
  transform: translateY(12px);
  transition: .5s ease;
}
[data-io].in {
  opacity:1;
  transform:none;
}


@media screen and (max-width: 1024px) {
  .pc-break {
    display: none;
  }
  /* .flow__list {
    padding: 0 7.2rem;
  } */
  .flow__item:not(:last-child)::after {
  right: -10px;
  }
}


@media screen and (max-width: 768px) {
  .tb-break {
    display: none;
  }
  .hero__wrapper {
    display: flex;
    flex-direction: column-reverse;
  }
  .hero__img {
    height: 480px;
  }
  .hero__img img {
    height: 480px;
    /* background-size: auto 100%; */
    background-position: center top;
  }
  .hero__heading {
    margin-top: 4.0rem;
    text-align: center;
  }
  .gradient-border::after {
    display: none;
  }
  .hero__contact-wrapper {
    justify-content: space-between
  }

  iframe {
    width: 100%;
  }
  .works__main--monitor-wrapper {
    grid-template-columns: repeat(2, 1fr); 
  }
  .flow__list{
    display: grid;
    grid-auto-flow: row;
  }
  .flow__label {
    font-size: var(--font-sm);
    letter-spacing: .2em;
    writing-mode:horizontal-tb;
    text-align: center;
    margin: 0;
    width: 100%;
    min-height: fit-content;
    padding: 16px 0;
  }
  .flow__item--highlight .flow__label {
    background: var(--brand);
    color: #fff;
  }
  .flow__item {
  position: relative;
  display: flex;
  justify-content: center;
}
  .flow__item:not(:last-child)::after {
    top: auto;
    right: auto;
    left: 50%;
    bottom: -12px;
    transform: translateX(-50%);
    bottom: -22px;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 8px solid var(--brand);
  }
  .flow__list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  }
} 


@media screen and (max-width: 426px) {
  .tb-break {
    display: block;
  }
  .pc-break {
    display: block;
  }
  .hero > img[alt="日本国際放送ロゴ"] {
    left: 16px;
  }
  .header__contact--btn {
    right: 16px;
    font-size: 1.4rem;
    padding: 4px 16px;
  }
  .about {
    padding-inline: var(--space-lg);
  }
  .about__feature--wrapper {
    grid-template-columns: repeat(1, 1fr);
    gap: 16px;
    margin-bottom: 40px;
  }
  .about__feature--item {
    margin-bottom: 16px;
  }
  .about__cj {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: var(--space-md) var(--space-sm);
  }
  .works__main--monitor-wrapper {
    grid-template-columns: repeat(1, 1fr); 
  }
  .card__title {
    font-size: 1.8rem;
  }
  .card__list {
    padding: var(--space-md) var(--space-sm);
  }
  .card__list li {
    font-size: 1.2rem;
    line-height: 2;
  }
  .cta__area--wrapper {
    grid-template-columns: repeat(1,1fr);
    padding-bottom: 24px;
  }
  .tel {
    margin: 0 auto;
    border: #fff 2px solid;
    width: inherit;
    margin: 0 var(--space-sm);
  }
  .cta__tel--top {
    flex-direction: column;
    gap: 0;
  }
  .cta__tel {
    font-size: var(--font-xs);
    margin-top: 6px;
  }
  .cta__tel-num {
    font-size: 2.4rem;
  }
  .cta__tel-reception {
    font-size: 1.2rem;
  }
} 