/* =========================================================
   FamilyTek Website - Pixel Based Professional CSS
   Sections: Header, Hero, Why, Products, Services, About, Footer
========================================================= */
/* ---------- Font setup ----------
   Add licensed font files in assets/fonts/ with these names if you have them:
   EuclidCircularA-Regular.woff2, EuclidCircularA-Medium.woff2, EuclidCircularA-SemiBold.woff2, EuclidCircularA-Bold.woff2,
   CrossdresserFutoPopGothic.woff2, NotoSansJP-Regular.woff2, NotoSansJP-Medium.woff2, NotoSansJP-Bold.woff2
*/


:root {
  --blue: #0057ff;
  --light: #eff7ff;
  --black: #050505;
  --text: #111111;
  --muted: #2d2d2d;
  --white: #ffffff;
  --border: #000000;
  --container: 1140px;
  --shadow: 3px 4px 0 #000;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Euclid Circular A", "Noto Sans JP", Arial, sans-serif;
  color: #000000;
  background: #fff;
  overflow-x: hidden;
  font-weight: 500;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}
.center {
  text-align: center;
}
.section-blue {
  background: var(--light);
}
.section-white {
  background: var(--white);
}

/* ---------- Buttons ---------- */
.btn-row {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.btn-row.centered {
  justify-content: center;
}
.btn {
  min-height: 56px;
  padding: 0 28px;
  border: 2px solid var(--border);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  background: #fff;
  box-shadow: 1.5px 2.5px 0 #000;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 2.5px 3.5px 0 #000;
}
.btn-primary {
  background: var(--blue);
  color: #fff;
}
.btn-outline {
  background: #fff;
  color: #111;
}
.btn span {
  display: inline !important;
  font-size: inherit;
  line-height: 1;
}

/* ---------- Header ---------- */
.site-header {
  position: absolute;
  top: 32px;
  left: 0;
  width: 100%;
  z-index: 20;
}
.navbar {
  width: 100%;
  height: 72px;
  background: #fff;
  border-radius: 14px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
}
.logo img {
  width: 166px;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 56px;
  flex: 1;
  justify-content: center;
}
.nav-menu a {
  font-size: 16px;
  font-weight: 500;
  color: #000000;
}
.nav-menu a:hover {
  color: var(--blue);
}
.header-btn {
  height: 44px;
  padding: 0 20px;
  border-radius: 8px;
  border: 1.5px solid #001c64;
  background: var(--blue);
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 700;
  box-shadow: 1.5px 2.5px 0 #000;
  font-family: "Noto Sans JP", sans-serif !important;
}
.header-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}
.nav-toggle,
.hamburger {
  display: none;
}

/* ---------- Hero ---------- */
.hero {
  padding: 194px 0 100px 0px;
  min-height: 966px;
  overflow: hidden;
}
.hero-container {
  text-align: center;
}
.hero h1 {
  font-size: 62px;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -1.8px;
  margin-bottom: 28px;
}
.hero h2 {
  font-size: 40px;
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: -0.8px;
  margin-bottom: 42px;
}
.hero p {
  max-width: 1125px;
  margin: 0 auto 54px;
  font-size: 22px;
  line-height: 1.45;
  font-weight: 500;
  color: #000000;
}
.hero-art {
  width: 900px;
  max-width: 100%;
  margin: 78px auto 0;
}
.hero-art img {
  width: 100%;
}

/* ---------- Shared Headings ---------- */
.eyebrow {
  display: block;
  color: var(--blue);
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 28px;
}
.content-block h2,
.section-heading h2,
.about h2 {
  font-size: 43px;
  line-height: 1.18;
  font-weight: 900;
  letter-spacing: -0.8px;
}
.content-block p,
.section-heading p,
.about p {
  font-size: 18px;
  line-height: 30px;
  font-weight: 500;
  color: #000000;
}
.section-heading.center {
  text-align: center;
}
.section-heading.left {
  text-align: left;
  max-width: 1130px;
}
.section-heading.center h2 {
  font-size: 44px;
  line-height: 1.17;
}
.section-heading.left h2 {
  margin-bottom: 26px;
}

/* ---------- Why ---------- */
.why {
  padding: 130px 0 112px;
}
.why-grid {
  display: grid;
  grid-template-columns: 1fr 460px;
  gap: 115px;
  align-items: center;
}
.content-block p {
  max-width: 560px;
  margin: 34px 0 52px;
}
.why-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px 19px;
}
.why-card {
  height: 210px;
  border: 3px solid #000;
  border-radius: 10px;
  box-shadow: var(--shadow);
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px 18px;
}
.why-card img {
  height: 50px;
  margin-bottom: 20px;
}
.why-card h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -4%;
}
.why-card p {
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
  max-width: 170px;
}
.skew-left {
  transform: rotate(-1.7deg);
}
.skew-right {
  transform: rotate(1deg);
}
.skew-left-sm {
  transform: rotate(-0.8deg);
}
.skew-right-sm {
  transform: rotate(0.8deg);
}

/* ---------- Products ---------- */
.products {
  padding: 104px 0 126px;
}
.products .section-heading {
  margin-bottom: 112px;
}
.product-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 144px;
}
.product-row:last-child {
  margin-bottom: 0;
}
.product-image {
  display: flex;
  justify-content: center;
}
.product-image img {
  width: 560px;
}
.product-content h3 {
  font-size: 28px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 26px;
}
.product-content p {
  font-size: 18px;
  line-height: 1.45;
  font-weight: 500;
  margin-bottom: 24px;
  max-width: 98%;
}
.product-content .strong-copy {
  font-weight:500;
  margin-bottom: 26px;
  color: #000000;
}
.check-list {
  list-style: none;
  margin: 0 0 50px;
}
.check-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 14px;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 500;
  color: #333333;
}
.check-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -1px;
  font-size: 20px;
  font-weight: 900;
  color: #111;
}
.product-row-reverse {
  grid-template-columns: 1fr 1fr;
}
.product-row-reverse .product-content {
  padding-left: 0;
}
.product-row-reverse .product-image img {
  width: 540px;
}

/* ---------- Services ---------- */
.services {
  padding: 106px 0 118px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 118px;
}
.service-card {
  min-height: 286px;
  border: 3px solid #000;
  border-radius: 9px;
  box-shadow: var(--shadow);
  background: #fff;
  padding: 36px 34px;
}
.service-card img {
  height: 55px;
  width: 55px;
  object-fit: contain;
  margin-bottom: 26px;
}
.service-card h3 {
  font-size: 22px;
  line-height: 1.22;
  font-weight: 900;
  margin-bottom: 18px;
  letter-spacing: -4%;
}
.service-card p {
  font-size: 16px;
  line-height: 26px;
  font-weight: 500;
  color: #000000;
}
.service-actions {
  margin-top: 100px;
}

/* ---------- About ---------- */
.about {
  padding: 104px 0 108px;
}
.about h2 {
  font-size: 45px;
  margin-bottom: 28px;
}
.about p {
  max-width: 1120px;
  margin: 0 auto 70px;
}
.about-art {
  width: 720px;
  max-width: 100%;
  margin: 0 auto 94px;
}

/* ---------- Footer ---------- */
.footer {
  padding: 96px 0 72px;
}
.footer-logo img {
  width: 300px;
  margin: 0 auto 72px;
}
.footer h2 {
  font-size: 52px;
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -2px;
  margin-bottom: 28px;
}
.footer p {
  max-width: 1000px;
  margin: 0 auto 56px;
  color: #333333;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 500;
}
.footer-menu {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.footer-menu a {
  text-transform: uppercase;
  letter-spacing: 1.3px;
  font-size: 14px;
  font-weight: 500;
  color: #333333;
}
.socials {
  display: flex;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-bottom: 62px;
}
.socials a {
  text-transform: uppercase;
  letter-spacing: 1.3px;
  font-size: 13px;
  font-weight: 400;
  color: #333333;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.socials img {
  width: 19px;
  height: 19px;
}
.footer-line {
  height: 1px;
  background: #dadada;
  width: 100%;
  margin-bottom: 38px;
}
.footer small {
  font-size: 13px;
  letter-spacing: 2px;
  color: #333333;
  font-weight: 400;
}

/* ---------- Tablet ---------- */
@media (max-width: 1024px) {
  :root {
    --container: 900px;
  }
  .site-header {
    top: 18px;
  }
  .nav-menu {
    gap: 24px;
  }
  .hero {
    padding-top: 150px;
    min-height: auto;
    padding-bottom: 60px;
  }
  .hero h1 {
    font-size: 50px;
  }
  .hero h2 {
    font-size: 31px;
  }
  .hero p {
    font-size: 17px;
  }
  .why-grid,
  .product-row,
  .product-row-reverse {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .why {
    padding: 90px 0;
  }
  .why-cards {
    max-width: 500px;
  }
  .product-row-reverse .product-image {
    order: -1;
  }
  .services-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 60px;
  }
  .service-card {
    min-height: auto;
  }
  .section-heading.left {
    text-align: center;
  }
  .section-heading.left p {
    margin-inline: auto;
  }
  .footer h2,
  .about h2 {
    font-size: 40px;
  }
}

/* ---------- Mobile ---------- */
@media (max-width: 767px) {
  .container {
    width: min(100% - 28px, var(--container));
  }
  .site-header {
    top: 0;
    position: fixed;
  }
  .site-header .container {
    width: 100%;
  }
  .navbar {
    height: 66px;
    border-radius: 0;
    padding: 0 14px;
    gap: 12px;
  }
  .logo img {
    width: 136px;
  }
  .header-btn {
    height: 38px;
    padding: 0 12px;
    font-size: 0;
    border-radius: 8px;
  }
  .header-btn svg {
    width: 18px;
    height: 18px;
  }
  .hamburger {
    width: 42px;
    height: 38px;
    border: 2px solid #000;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    order: 4;
    background: #fff;
  }
  .hamburger span,
  .hamburger span:before,
  .hamburger span:after {
    display: block;
    width: 18px;
    height: 2px;
    background: #000;
    position: relative;
  }
  .hamburger span:before,
  .hamburger span:after {
    content: "";
    position: absolute;
    left: 0;
  }
  .hamburger span:before {
    top: -6px;
  }
  .hamburger span:after {
    top: 6px;
  }
  .nav-menu {
    position: absolute;
    top: 66px;
    left: 0;
    width: 100%;
    background: #fff;
    border-top: 2px solid #000;
    display: none;
    flex-direction: column;
    gap: 0;
    box-shadow: 0 14px 25px rgba(0, 0, 0, 0.12);
  }
  .nav-menu a {
    width: 100%;
    padding: 16px 22px;
    border-bottom: 1px solid #eee;
    text-align: left;
  }
  .nav-toggle:checked ~ .nav-menu {
    display: flex;
  }
  .hero {
    padding: 118px 0 50px 0;
    min-height: 760px;
  }
  .hero h1 {
    font-size: 38px;
    line-height: 1.08;
    letter-spacing: -0.8px;
    margin-bottom: 18px;
  }
  .hero h2 {
    font-size: 24px;
    margin-bottom: 24px;
  }
  .hero p {
    font-size: 15px;
    line-height: 1.55;
    margin-bottom: 32px;
  }
  .hero-art {
    margin-top: 48px;
    width: 620px;
    max-width: 120%;
    transform: translateX(-7%);
  }
  .why,
  .products,
  .services,
  .about,
  .footer {
    padding: 70px 0;
  }
  .content-block h2,
  .section-heading h2,
  .section-heading.center h2,
  .about h2 {
    font-size: 31px;
    line-height: 1.2;
  }
  .content-block p,
  .section-heading p,
  .about p,
  .product-content p {
    font-size: 15px;
    line-height: 1.55;
  }
  .eyebrow {
    font-size: 13px;
    margin-bottom: 16px;
  }
  .content-block p {
    margin: 22px 0 32px;
  }
  .why-grid {
    gap: 42px;
  }
  .why-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .why-card {
    width: 100%;
    height: 190px;
  }
  .products .section-heading {
    margin-bottom: 55px;
  }
  .product-row {
    gap: 40px;
    margin-bottom: 86px;
  }
  .product-content h3 {
    font-size: 28px;
  }
  .product-image img,
  .product-row-reverse .product-image img {
    width: 100%;
    max-width: 420px;
  }
  .check-list {
    margin-bottom: 32px;
  }
  .check-list li {
    font-size: 14px;
  }
  .services-grid {
    margin-top: 44px;
  }
  .service-card {
    padding: 28px 24px;
  }
  .service-actions {
    margin-top: 42px;
  }
  .about p {
    margin-bottom: 42px;
  }
  .about-art {
    margin-bottom: 48px;
  }
  .footer-logo img {
    width: 220px;
    margin-bottom: 42px;
  }
  .footer h2 {
    font-size: 32px;
  }
  .footer p {
    font-size: 14px;
    margin-bottom: 34px;
  }
  .footer-menu {
    gap: 16px;
  }
  .socials {
    gap: 16px;
    margin-bottom: 42px;
  }
  .footer small {
    font-size: 10px;
    line-height: 1.6;
  }
}

/* ===== Client revisions: image-shaped cards + sticky desktop header + clean mobile header ===== */
@media (min-width: 768px) {
  .site-header {
    position: fixed;
    top: 24px;
    left: 0;
    width: 100%;
    z-index: 999;
    transition:
      top 0.25s ease,
      transform 0.25s ease;
  }
}

.why-card,
.service-card {
  border: 0;
  box-shadow: none;
  border-radius: 0;
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
}
.why-card {
  height: 213px;
  padding: 30px 22px 25px;
  transform: none !important;
}
.why-card:nth-child(1) {
  background-image: url("../img/why-box1.svg");
}
.why-card:nth-child(2) {
  background-image: url("../img/why-box2.svg");
}
.why-card:nth-child(3) {
  background-image: url("../img/why-box3.svg");
}
.why-card:nth-child(4) {
  background-image: url("../img/why-box4.svg");
}

.service-card {
  min-height: 294px;
  padding: 40px 35px 40px;
  transform: none !important;
}
.service-card:nth-child(1) {
  background-image: url("../img/Service-box1.svg");
}
.service-card:nth-child(2) {
  background-image: url("../img/Service-box2.svg");
}
.service-card:nth-child(3) {
  background-image: url("../img/Service-box3.svg");
}

@media (max-width: 767px) {
  .hamburger,
  .nav-toggle,
  .nav-menu {
    display: none !important;
  }
  .site-header {
    position: fixed;
    top: 0;
  }
  .navbar {
    justify-content: space-between;
  }
  .header-btn {
    font-size: 13px;
    width: auto;
    min-width: 45px;
  }
  .header-btn svg {
    display: block;
  }
  .why-card {
    height: 213px;
    max-width: 260px;
    margin-inline: auto;
  }
  .service-card {
    min-height: 294px;
    max-width: 390px;
    margin-inline: auto;
  }
}

/* ===== Client revision: simple font setup =====
/*
  Font 1: Crossdresser Futo Pop Gothic = all headings
  Font 2: Noto Sans JP = all normal text
  Font 3: Euclid Circular A = only header menu links
*/

body,
p,
li,
button,
.btn,
.header-btn,
.service-card p,
.why-card p,
.product-content p,
.section-heading p,
.content-block p,
.about p,
.footer p,
.footer small,
.footer-menu a,
.socials a {
  font-family: "Noto Sans JP", Arial, sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6{
  font-family:
    "Crossdresser Futo Pop Gothic", "Noto Sans JP", sans-serif !important;
  font-weight: 500;
  letter-spacing: 0;
}
.eyebrow {
  font-family:
    "Noto Sans JP", sans-serif !important;
  font-weight: 500;
  letter-spacing: 0;
}
.site-header a,
.nav-menu a,
.header-btn {
  font-family: "Euclid Circular A", "Noto Sans JP", Arial, sans-serif;
}

.nav-menu a {
  font-weight: 500;
}

.check-list li {
  padding-left: 34px;
}
.check-list li:before {
  content: "";
  width: 18px;
  height: 18px;
  top: 1px;
  background: url("../img/Vector.svg") center/contain no-repeat;
}

/* ===== Client revision: uploaded button arrow + header contact SVG icons ===== */
.header-contact-icon {
  width: 19px;
  height: 21px;
  flex: 0 0 auto;
  display: block;
  object-fit: contain;
}
.header-btn svg {
  display: none !important;
}

@media (max-width: 767px) {
  .header-btn {
    border-width: 1.5px;
  }
  .header-contact-icon {
    width: 18px;
    height: 20px;
  }
  .hero-art img {
    width: 100%;
    padding: 0px 46px;
}
 .product-content p {
  max-width: 100%;
}
.header-btn .header-btn-text{
  display: none;
}
}

/* Language switch */
.header-btn { display: none; }
.lang-switch { display:flex; align-items:center; gap:2px; margin-left:0; flex-shrink:0; }
.lang-btn { background:none; border:none; cursor:pointer; color:#555;
  font-weight:700; font-size:13px; padding:4px 6px; transition:color .15s; }
.lang-btn:hover { color:#111; }
.lang-btn.active { color:#111; text-decoration:underline;
  text-underline-offset:3px; }
.lang-divider { color:#ccc; font-size:12px; }
