/* =========================================
   FYC GROUP corporate site - common styles
========================================= */
:root{
  --color-navy: #102a52;
  --color-navy-deep: #0a1c38;
  --color-accent: #c9a96e;
  --color-bg: #f6f7f9;
  --color-bg-soft: #eef1f5;
  --color-text: #232830;
  --color-text-soft: #5b6470;
  --color-border: #e1e5ea;
  --max-width: 1100px;
  --radius: 8px;
}

*{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }

body{
  margin: 0;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  color: var(--color-text);
  background: #ffffff;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

a{ color: inherit; text-decoration: none; }
img{ max-width: 100%; display: block; }

.container{
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */
.site-header{
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid var(--color-border);
}

.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo{
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: var(--color-navy);
}
.logo span{
  font-weight: 500;
  color: var(--color-accent);
  margin-left: 4px;
}

.nav{
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 15px;
  font-weight: 500;
}

.nav a{
  color: var(--color-text);
  transition: color .2s;
}
.nav a:hover{ color: var(--color-navy); }

.nav-cta{
  background: var(--color-navy);
  color: #fff !important;
  padding: 10px 22px;
  border-radius: 4px;
  transition: background .2s;
}
.nav-cta:hover{ background: var(--color-navy-deep); }

/* mobile nav toggle */
.nav-toggle{
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  color: var(--color-navy);
  cursor: pointer;
}

/* ---------- Hero ---------- */
.hero{
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 760px 480px at 88% 10%, rgba(201,169,110,.14), transparent 62%),
    linear-gradient(110deg, rgba(10,28,56,.96) 0%, rgba(16,42,82,.90) 48%, rgba(16,42,82,.58) 100%),
    url("../img/hero.jpg") center/cover no-repeat;
  color: #fff;
  padding: 110px 0 120px;
}
.hero::before{
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48'%3E%3Cpath d='M48 .5H.5V48' fill='none' stroke='%23ffffff' stroke-opacity='.06'/%3E%3C/svg%3E");
  pointer-events: none;
}
.hero::after{
  content: "";
  position: absolute;
  right: -140px;
  top: 50%;
  width: 520px;
  height: 520px;
  transform: translateY(-50%);
  border: 1px solid rgba(201,169,110,.35);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(201,169,110,.05), 0 0 0 150px rgba(201,169,110,.03);
  pointer-events: none;
}
.hero .container{
  position: relative;
  z-index: 1;
}

.hero-eyebrow{
  letter-spacing: 0.25em;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-accent);
  margin: 0 0 16px;
}

.hero h1{
  font-size: 40px;
  line-height: 1.6;
  font-weight: 900;
  margin: 0 0 24px;
}

.hero-lead{
  font-size: 16px;
  color: #cfd6e4;
  max-width: 640px;
  margin: 0 0 36px;
}

/* ---------- Page header (sub pages) ---------- */
.page-header{
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 620px 360px at 85% 0%, rgba(201,169,110,.14), transparent 60%),
    linear-gradient(120deg, rgba(10,28,56,.94) 0%, rgba(16,42,82,.86) 100%),
    url("../img/hero.jpg") center 35%/cover no-repeat;
  color: #fff;
  padding: 64px 0;
  text-align: center;
}
.page-header::before{
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48'%3E%3Cpath d='M48 .5H.5V48' fill='none' stroke='%23ffffff' stroke-opacity='.06'/%3E%3C/svg%3E");
  pointer-events: none;
}
.page-header .container{
  position: relative;
  z-index: 1;
}
.page-header .eyebrow{
  letter-spacing: 0.25em;
  font-size: 12px;
  font-weight: 700;
  color: var(--color-accent);
  margin: 0 0 12px;
}
.page-header h1{
  font-size: 32px;
  font-weight: 900;
  margin: 0;
}

/* ---------- Buttons ---------- */
.btn{
  display: inline-block;
  padding: 14px 36px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.05em;
  transition: all .2s;
  border: 2px solid transparent;
}
.btn-primary{
  background: var(--color-accent);
  color: var(--color-navy-deep) !important;
}
.btn-primary:hover{
  background: #b8965a;
}
.btn-outline{
  border-color: #fff;
  color: #fff !important;
}
.btn-outline:hover{
  background: rgba(255,255,255,.1);
}

/* ---------- Sections ---------- */
.section{
  padding: 80px 0;
}
.section-soft{
  background-color: var(--color-bg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28'%3E%3Ccircle cx='1.5' cy='1.5' r='1.5' fill='%23102a52' fill-opacity='.05'/%3E%3C/svg%3E");
}
.section-title{
  font-size: 28px;
  font-weight: 900;
  text-align: center;
  margin: 0 0 12px;
  color: var(--color-navy);
}
.section-title::after{
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  border-radius: 2px;
  background: var(--color-accent);
  margin: 14px auto 0;
}

/* CTA band (navy) */
.section-cta{
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 700px 420px at 85% 10%, rgba(201,169,110,.12), transparent 60%),
    linear-gradient(120deg, rgba(10,28,56,.94) 0%, rgba(16,42,82,.84) 100%),
    url("../img/cta.jpg") center/cover no-repeat;
  color: #fff;
}
.section-cta::before{
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48'%3E%3Cpath d='M48 .5H.5V48' fill='none' stroke='%23ffffff' stroke-opacity='.06'/%3E%3C/svg%3E");
  pointer-events: none;
}
.section-cta .container{
  position: relative;
  z-index: 1;
}
.section-cta .section-title{
  color: #fff;
}
.section-cta .section-sub{
  color: #cfd6e4;
}
.section-sub{
  text-align: center;
  color: var(--color-text-soft);
  margin: 0 0 48px;
  font-size: 15px;
}

/* ---------- Grid / Cards ---------- */
.grid-3{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.grid-4{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.card{
  background: #fff;
  border: 1px solid var(--color-border);
  border-top: 3px solid var(--color-accent);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: 0 2px 10px rgba(16,42,82,.05);
  transition: transform .25s, box-shadow .25s;
}
.card:hover{
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(16,42,82,.12);
}
.card .num{
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 0.15em;
  margin-bottom: 12px;
}
.card h3{
  font-size: 18px;
  font-weight: 700;
  color: var(--color-navy);
  margin: 0 0 12px;
}
.card p{
  font-size: 14px;
  color: var(--color-text-soft);
  margin: 0;
}

.category-card{
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(16,42,82,.04);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.category-card:hover{
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(16,42,82,.10);
  border-color: rgba(201,169,110,.6);
}

/* ---------- About split (photo + copy) ---------- */
.about-split .container{
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.about-photo{
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(16,42,82,.18);
}
.about-photo img{
  width: 100%;
  height: 100%;
  max-height: 420px;
  object-fit: cover;
}
.section-title.align-left{
  text-align: left;
}
.section-title.align-left::after{
  margin: 14px 0 0;
}
.about-copy p{
  color: var(--color-text-soft);
  font-size: 15px;
}

/* ---------- Sales channel strip ---------- */
.channel-strip{
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 600px 300px at 12% 0%, rgba(74,118,190,.20), transparent 60%),
    linear-gradient(120deg, var(--color-navy) 0%, var(--color-navy-deep) 100%);
  color: #fff;
  padding: 52px 0;
  text-align: center;
}
.channel-strip::before{
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48'%3E%3Cpath d='M48 .5H.5V48' fill='none' stroke='%23ffffff' stroke-opacity='.05'/%3E%3C/svg%3E");
  pointer-events: none;
}
.channel-strip .container{
  position: relative;
  z-index: 1;
}
.channel-strip .strip-label{
  letter-spacing: .25em;
  font-size: 12px;
  font-weight: 700;
  color: var(--color-accent);
  margin: 0 0 22px;
}
.channels{
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
.channel-chip{
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.06);
  padding: 10px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .04em;
}
.channel-note{
  margin: 22px 0 0;
  font-size: 13px;
  color: #aab6c9;
}
.category-card .icon{
  font-size: 32px;
  margin-bottom: 12px;
}
.category-card h3{
  font-size: 15px;
  font-weight: 700;
  color: var(--color-navy);
  margin: 0 0 8px;
}
.category-card p{
  font-size: 13px;
  color: var(--color-text-soft);
  margin: 0;
}

/* ---------- Flow ---------- */
.flow{
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  counter-reset: flow;
}
.flow-step{
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 24px 16px;
  text-align: center;
  position: relative;
}
.flow-step::before{
  counter-increment: flow;
  content: counter(flow);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-navy);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  margin: 0 auto 12px;
}
.flow-step h3{
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--color-navy);
}
.flow-step p{
  font-size: 12px;
  color: var(--color-text-soft);
  margin: 0;
}

/* ---------- Table (company info) ---------- */
.info-table{
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}
.info-table th, .info-table td{
  padding: 18px 24px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
  font-size: 15px;
}
.info-table th{
  width: 200px;
  background: var(--color-bg);
  color: var(--color-navy);
  font-weight: 700;
  vertical-align: top;
}
.placeholder{
  color: #b6473a;
  font-weight: 700;
}

/* ---------- Contact form ---------- */
.contact-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.form-group{
  margin-bottom: 22px;
}
.form-group label{
  display: block;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 8px;
  color: var(--color-navy);
}
.form-group .required{
  color: #b6473a;
  font-size: 12px;
  margin-left: 6px;
}
.form-group input,
.form-group select,
.form-group textarea{
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  font-family: inherit;
  font-size: 14px;
  background: #fff;
}
.form-group textarea{
  min-height: 140px;
  resize: vertical;
}
.contact-info-box{
  background: var(--color-bg);
  border-radius: var(--radius);
  padding: 32px;
}
.contact-info-box h3{
  color: var(--color-navy);
  font-size: 16px;
  margin: 0 0 16px;
}
.contact-info-box dl{
  margin: 0;
}
.contact-info-box dt{
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--color-text-soft);
  margin-top: 16px;
}
.contact-info-box dd{
  margin: 4px 0 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-navy);
}

/* ---------- Footer ---------- */
.site-footer{
  background: var(--color-navy-deep);
  color: #cfd6e4;
  padding: 56px 0 28px;
}
.footer-inner{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 32px;
}
.footer-logo{
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: #fff;
}
.footer-logo span{
  color: var(--color-accent);
  font-weight: 500;
  margin-left: 4px;
}
.footer-nav{
  display: flex;
  gap: 28px;
  font-size: 14px;
}
.footer-nav a:hover{ color: #fff; }
.footer-bottom{
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 24px;
  font-size: 12px;
  color: #8b97ad;
  text-align: center;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px){
  .hero h1{ font-size: 28px; }
  .grid-3{ grid-template-columns: 1fr; }
  .about-split .container{ grid-template-columns: 1fr; gap: 32px; }
  .about-photo img{ max-height: 260px; }
  .grid-4{ grid-template-columns: repeat(2, 1fr); }
  .flow{ grid-template-columns: repeat(2, 1fr); }
  .contact-grid{ grid-template-columns: 1fr; }
  .nav{
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 24px 24px;
    gap: 18px;
    border-bottom: 1px solid var(--color-border);
    display: none;
  }
  .nav.is-open{ display: flex; }
  .nav-toggle{ display: block; }
  .info-table th{ width: 130px; padding: 14px 12px; font-size: 13px; }
  .info-table td{ padding: 14px 12px; font-size: 13px; }
}
