/*
Theme Name: Kyunyu
Author: SASA COLOR
Description: 株式会社キュンユー オフィシャルテーマ
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: kyunyu
*/

/* === CSS Variables === */
:root {
  --pink:        #f3447e;
  --pink-light:  #FFB3D0;
  --pink-pale:   #FFF0F5;
  --purple:      #6c09c4;
  --purple-main: #7A20C9;
  --purple-light:#E9D5FF;
  --purple-pale: #F5F0FF;
  --white:       #FFFFFF;
  --gray-light:  #F8F4F7;
  --text-dark:   #432446;
  --text-mid:    #423346;
  --border:      #e3acee;
  --shadow:      rgba(192, 132, 252, 0.15);
  --font-jp:     'Noto Sans JP', sans-serif;
  --font-en:      "Playfair Display", serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-jp);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.8;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--pink); text-decoration: none; transition: opacity 0.2s; }


/* === Typography === */
h1, h2, h3, h4 {
  font-family: var(--font-en);
  line-height: 1.3;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.section-title .en {
  font-family: var(--font-en);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  color: var(--purple);
  font-weight: 700;
  letter-spacing: 0.05em;
}

.section-title .jp {
  font-size: 0.9rem;
  color: var(--text-mid);
  font-weight: 500;
  padding-top: 0.3rem;
}

/* === Layout === */
.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section { padding: 80px 0; }

/* === Header / Nav === */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--purple);
  backdrop-filter: blur(12px);
  padding: 0.2rem 0;
  opacity: 0.9;
}

.header-inner {
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: 1200px;
  margin: 0 auto;
}

.site-logo img {
   height: 36px; width: auto;
}
.site-logo:hover { opacity: 0.75; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.site-nav a {
  font-family: var(--font-jp);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.12em;
}

.site-nav .nav-contact a {
  background: var(--pink);
  color: #fff;
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  font-size: 0.8rem;
}
.site-nav a:hover { opacity: 0.7; }
.site-nav .nav-contact a:hover { opacity: 0.7; }

.x-logo img {
   height: 28px; width: auto;
}
.x-logo img:hover {
   opacity: 0.75;
}

/* hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: 0.3s;
}

/* === Hero === */
#hero {
  padding: 100px 0 80px;
  text-align: center;
  background:var(--purple-main);
 /* background-image:  linear-gradient(512deg, rgba(195, 195, 195, 0.02) 0%, rgba(195, 195, 195, 0.02) 16.667%,rgba(91, 91, 91, 0.02) 16.667%, rgba(91, 91, 91, 0.02) 33.334%,rgba(230, 230, 230, 0.02) 33.334%, rgba(230, 230, 230, 0.02) 50.001000000000005%,rgba(18, 18, 18, 0.02) 50.001%, rgba(18, 18, 18, 0.02) 66.668%,rgba(163, 163, 163, 0.02) 66.668%, rgba(163, 163, 163, 0.02) 83.33500000000001%,rgba(140, 140, 140, 0.02) 83.335%, rgba(140, 140, 140, 0.02) 100.002%),linear-gradient(422deg, rgba(151, 151, 151, 0.02) 0%, rgba(151, 151, 151, 0.02) 16.667%,rgba(11, 11, 11, 0.02) 16.667%, rgba(11, 11, 11, 0.02) 33.334%,rgba(162, 162, 162, 0.02) 33.334%, rgba(162, 162, 162, 0.02) 50.001000000000005%,rgba(171, 171, 171, 0.02) 50.001%, rgba(171, 171, 171, 0.02) 66.668%,rgba(119, 119, 119, 0.02) 66.668%, rgba(119, 119, 119, 0.02) 83.33500000000001%,rgba(106, 106, 106, 0.02) 83.335%, rgba(106, 106, 106, 0.02) 100.002%),linear-gradient(281deg, rgba(245, 245, 245, 0.01) 0%, rgba(245, 245, 245, 0.01) 16.667%,rgba(23, 23, 23, 0.01) 16.667%, rgba(23, 23, 23, 0.01) 33.334%,rgba(96, 96, 96, 0.01) 33.334%, rgba(96, 96, 96, 0.01) 50.001000000000005%,rgba(140, 140, 140, 0.01) 50.001%, rgba(140, 140, 140, 0.01) 66.668%,rgba(120, 120, 120, 0.01) 66.668%, rgba(120, 120, 120, 0.01) 83.33500000000001%,rgba(48, 48, 48, 0.01) 83.335%, rgba(48, 48, 48, 0.01) 100.002%),linear-gradient(297deg, rgba(106, 106, 106, 0.03) 0%, rgba(106, 106, 106, 0.03) 14.286%,rgba(203, 203, 203, 0.03) 14.286%, rgba(203, 203, 203, 0.03) 28.572%,rgba(54, 54, 54, 0.03) 28.572%, rgba(54, 54, 54, 0.03) 42.858%,rgba(75, 75, 75, 0.03) 42.858%, rgba(75, 75, 75, 0.03) 57.144%,rgba(216, 216, 216, 0.03) 57.144%, rgba(216, 216, 216, 0.03) 71.42999999999999%,rgba(39, 39, 39, 0.03) 71.43%, rgba(39, 39, 39, 0.03) 85.71600000000001%,rgba(246, 246, 246, 0.03) 85.716%, rgba(246, 246, 246, 0.03) 100.002%),linear-gradient(587deg, rgba(215, 215, 215, 0.01) 0%, rgba(215, 215, 215, 0.01) 16.667%,rgba(72, 72, 72, 0.01) 16.667%, rgba(72, 72, 72, 0.01) 33.334%,rgba(253, 253, 253, 0.01) 33.334%, rgba(253, 253, 253, 0.01) 50.001000000000005%,rgba(4, 4, 4, 0.01) 50.001%, rgba(4, 4, 4, 0.01) 66.668%,rgba(183, 183, 183, 0.01) 66.668%, rgba(183, 183, 183, 0.01) 83.33500000000001%,rgba(17, 17, 17, 0.01) 83.335%, rgba(17, 17, 17, 0.01) 100.002%),linear-gradient(398deg, rgba(119, 119, 119, 0.03) 0%, rgba(119, 119, 119, 0.03) 12.5%,rgba(91, 91, 91, 0.03) 12.5%, rgba(91, 91, 91, 0.03) 25%,rgba(45, 45, 45, 0.03) 25%, rgba(45, 45, 45, 0.03) 37.5%,rgba(182, 182, 182, 0.03) 37.5%, rgba(182, 182, 182, 0.03) 50%,rgba(243, 243, 243, 0.03) 50%, rgba(243, 243, 243, 0.03) 62.5%,rgba(162, 162, 162, 0.03) 62.5%, rgba(162, 162, 162, 0.03) 75%,rgba(190, 190, 190, 0.03) 75%, rgba(190, 190, 190, 0.03) 87.5%,rgba(148, 148, 148, 0.03) 87.5%, rgba(148, 148, 148, 0.03) 100%),linear-gradient(360deg,  rgb(245 133 255), rgb(199 136 255));
 */
 }

/*#hero::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(255,107,157,0.12) 0%, transparent 70%);
  border-radius: 50%;
}*/

#hero::after {
  content: '';
  position: absolute;
  bottom: -40px; left: -40px;
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(192,132,252,0.12) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-line{
  width: 100%;
  height:1px;
  background:#b6a3ca;
  margin: 0 auto;
  margin-top: 2rem;
  margin-bottom: 3rem;
}

.hero-logo img {
  width: 550px;
  margin: 0 auto;
  animation: fuwafuwa 3s ease-in-out infinite alternate;
  display: inline-block;
  transition: 1.5s ease-in-out;
  margin-top: 2rem;
}
 
@keyframes fuwafuwa {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
  100% {
    transform: translateY(0);
  }
}

.hero-catch-top {
  font-family: var(--font-jp);
  font-size: 2.2rem ;
  color: var(--white);
  font-weight: 600;
  letter-spacing: 0.15em;
  margin-bottom: 1.5rem;
  text-shadow: 0 0 8px var(--pink);
}

.hero-catch {
  font-family: var(--font-jp);
  font-size: clamp(1.4rem, 4vw, 2.2rem);
  color: var(--white);
  font-weight: 900;
  letter-spacing: 0.15em;
  margin-bottom: 1.5rem;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--white);
  max-width: 300px;
  text-align: left;
}


/* === Vision === */
#vision {
  background: var(--purple-light);
}

.vision-card {
  display: flex;
  gap: 2.5rem;
  align-items: flex-start;
  background: linear-gradient(135deg, #fff8fb, #f5f0ff);
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 8px 32px var(--shadow);
  position: relative;
}

.vision-img {
  width: 160px;
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: -2px 3px 20px 9px rgba(192, 132, 252, 0.2);
}

.vision-text {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 2;
}

/* === Production === */
#production {
  background: var(--purple-pale);
}

.production-card {
  display: flex;
  gap: 3rem;
  align-items: center;
  background: var(--white);
  border-radius: 20px;
  padding: 2.5rem 3rem;
  box-shadow: 0 8px 32px var(--shadow);
  border: 1.5px solid var(--border);
}

.production-logo {
  width: 200px;
  flex-shrink: 0;
  text-align: center;
}

.production-logo-img {
  max-width: 180px;
  margin: 0 auto 0.5rem;
  background-color: var(--purple-pale);
  padding: 20px;
  border-radius: 8px;
}
.production-logo a:hover img{ opacity:0.7;} 

.production-logo .label {
  font-size: 0.8rem;
  color: var(--text-mid);
  letter-spacing: 0.05em;
}

.production-text {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 2;
}

.production-text a {
  color: var(--purple);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.production-text a:hover { color:#1e0efa ; }


/* === Business === */
#business {
  background: var(--purple-light);
}

.business-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.biz-card {
  border: 2px solid var(--border);
  border-radius: 16px;
  padding: 1.8rem;
  background: var(--white);
  transition: transform 0.25s, box-shadow 0.25s;
  position: relative;
  overflow: hidden;
}

.biz-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(to right, var(--pink), var(--purple));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}


.biz-card-part{
  display: flex;
  gap:20px;
  align-items: center;
}
.biz-icon {
  width: 56px; height: 56px;
  background:  var(--pink);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.biz-icon img { width: 48px; height: 48px; fill: #fff; }

.biz-title {
  font-family: var(--font-jp);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.6rem;
}

.biz-desc {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.8;
}

/* === Company === */
#company {
  background: var(--purple-pale);
}

.company-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px var(--shadow);
  border: 1.5px solid var(--border);
}

.company-table tr {
  border-bottom: 1px solid var(--border);
}

.company-table tr:last-child { border-bottom: none; }

.company-table th, .company-table td {
  padding: 1.1rem 1.8rem;
  font-size: 0.9rem;
  text-align: left;
  vertical-align: top;
}

.company-table th {
  width: 30%;
  color: var(--text-mid);
  font-weight: 600;
  background: rgba(255,107,157,0.04);
  letter-spacing: 0.05em;
}

.company-table td {
  color: var(--text-dark);
  line-height: 1.8;
}

/* === Contact === */
#contact-cta {
  padding: 60px 0;
  text-align: center;
  background: var(--purple-light);
}

.contact-btn {
  display: inline-block;
  background: var(--pink);
  color: #fff;
  padding: 1rem 3rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.1em;
  box-shadow: 0 8px 28px rgba(255,107,157,0.3);
  transition: transform 0.2s, box-shadow 0.2s;
  border: 2px solid var(--pink);
}

.contact-btn:hover {
  color: var(--pink);
  background-color: var(--white);
}

/* === Footer === */
#site-footer {
  background:var(--purple-main);
  color: rgba(255,255,255,0.6);
  padding: 2.5rem 0;
  text-align: center;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.footer-links a {
  color: var(--purple-pale);
  font-size: 0.8rem;
}

.footer-links a:hover { color: var(--pink-light); }

.footer-copy {
  font-size: 0.75rem;
  color: var(--purple-pale);
}

/* === Animations === */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
  align-items: center;
}

/* === レスポンシブ === */
@media (max-width: 768px) {
  section { padding: 60px 0; }

  .site-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.98);
    flex-direction: column;
    justify-content: start;
    align-items: center;
    gap: 1rem;
    font-size: 1rem;
  }

  .x-logo img { display: none; }

  .site-nav.open { display: flex; }

  .hamburger { display: flex; z-index: 200; }
  #hero { padding: 50px 0 50px; }
  .hero-logo { width: 200px;margin: 0 auto; }
  .hero-sub {
     font-size: 0.9rem;
     max-width: 400px;
 }
 .hero-catch-top {  font-size: 1.5rem;}

  .vision-card { flex-direction: column; }
  .vision-img { width: 70%; }
  .vision-text { font-size: 0.9rem; }

  .production-card { flex-direction: column; gap: 1.5rem; }
  .production-logo { width: 100%; }
  .production-text { font-size: 0.9rem; }

  .business-grid { grid-template-columns: 1fr; }

  .company-table th { width: 38%; padding: 0.9rem 1rem; }
  .company-table td { padding: 0.9rem 1rem; }
}
