/*
Theme Name: Connectrea LP
Theme URI: https://connectrea.jp
Description: 株式会社コネクトリア LP Theme
Version: 1.0
Author: Connectrea
Author URI: https://connectrea.jp
License: Proprietary
Text Domain: connectrea
*/

@font-face {
  font-family: 'ShinGo';
  src: local('PUDShinGoPr6N-Regular'), local('A-OTF-ShinGoPr6N-Regular'), local('ShinGoPr6N-Regular');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'ShinGo';
  src: local('PUDShinGoPr6N-DeBold'), local('A-OTF-ShinGoPr6N-DeBold'), local('ShinGoPr6N-DeBold');
  font-weight: 700;
  font-display: swap;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'ShinGo', 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;
  color: #333; line-height: 1.8; background: #fff;
  -webkit-font-smoothing: antialiased;
  padding-top: 60px; padding-bottom: 70px;
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===== HEADER ===== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: #fff; height: 60px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.08);
}
.header-inner {
  max-width: 1100px; margin: 0 auto; height: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 20px;
}
.header-logo img { height: 40px; width: auto; }
.header-nav { display: none; gap: 30px; }
.header-nav a { font-size: 13px; font-weight: 500; color: #555; letter-spacing: 1px; }
.header-right { display: flex; align-items: center; gap: 14px; }
.header-line-btn {
  display: flex; align-items: center; gap: 6px;
  background: #333; color: #fff; border-radius: 6px;
  padding: 8px 14px; font-size: 12px; font-weight: 600;
}
.header-line-btn svg { width: 18px; height: 18px; fill: #fff; }
.header-hamburger {
  width: 28px; cursor: pointer;
  display: flex; flex-direction: column; gap: 5px; padding: 4px 0;
}
.header-hamburger span { display: block; width: 100%; height: 2px; background: #555; transition: all 0.3s; }
.header-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.header-hamburger.open span:nth-child(2) { opacity: 0; }
.header-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== MOBILE NAV ===== */
.mobile-nav {
  display: none; position: fixed; top: 60px; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.4); z-index: 99;
}
.mobile-nav.open { display: block; }
.mobile-nav-inner {
  background: #fff; padding: 10px 28px 20px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
.mobile-nav a {
  display: block; padding: 14px 0; font-size: 15px; font-weight: 500;
  color: #333; border-bottom: 1px solid #eee; letter-spacing: 1px;
}
.mobile-nav a:last-child { border-bottom: none; }

/* ===== HERO ===== */
.hero { position: relative; width: 100%; height: 60vh; min-height: 300px; max-height: 520px; overflow: hidden; }
.slider-container { width: 100%; height: 100%; position: relative; }
.slider-slides { width: 100%; height: 100%; position: relative; }
.slider-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease-in-out; }
.slider-slide.active { opacity: 1; }
.slider-slide img { width: 100%; height: 100%; object-fit: cover; }
.slider-dots { position: absolute; bottom: 15px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 10; }
.slider-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.35); border: 1.5px solid rgba(255,255,255,0.6); cursor: pointer; }
.slider-dot.active { background: rgba(255,255,255,0.9); }

/* ===== ABOUT ===== */
.about { padding: 50px 28px; }
.about-inner { max-width: 900px; margin: 0 auto; }
.about-top { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 20px; }
.about-label {
  flex-shrink: 0; background: #3d3a36; color: #fff;
  width: 95px; height: 95px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 20px; font-weight: 600; letter-spacing: 2px; line-height: 1;
  box-shadow: inset 0 0 0 5px #3d3a36, inset 0 0 0 6px rgba(255,255,255,0.25);
}
.about-text { display: contents; }
.about-heading { font-size: 20px; font-weight: 700; line-height: 1.85; color: #333; letter-spacing: 0.5px; flex: 1; }
.about-desc { font-size: 15px; line-height: 2.0; color: #333; font-weight: 500; flex-basis: 100%; margin-top: 0; }
.about-images { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; margin-top: 30px; }
.about-images .img-large { grid-column: 1 / 3; overflow: hidden; }
.about-images .img-large img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.about-images .img-sm { overflow: hidden; }
.about-images .img-sm img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

/* ===== REASONS ===== */
.reasons { padding: 50px 28px; background: #b5aba2; }
.reasons-inner { max-width: 900px; margin: 0 auto; }
.reasons-title { text-align: center; margin-bottom: 35px; font-size: inherit; }
.reasons-title span {
  display: block; background: #3d3a36; color: #fff;
  padding: 18px 24px; font-size: 18px; font-weight: 700;
  letter-spacing: 2px; border-radius: 40px; text-align: center;
}
.reason-item { display: flex; align-items: center; gap: 14px; padding: 16px 0; }
.reason-num {
  font-family: 'ShinGo', 'Noto Sans JP', sans-serif;
  font-size: 26px; font-weight: 700; color: #333; flex-shrink: 0; letter-spacing: 2px;
}
.reason-sep { width: 3px; height: 30px; background: #333; flex-shrink: 0; }
.reason-text { font-size: 16px; font-weight: 900; color: #333; line-height: 1.6; }
.reasons-desc { margin-top: 25px; font-size: 15px; color: #333; line-height: 2; font-weight: 500; }

/* ===== 共通セクションヘッダー ===== */
.section-header { text-align: center; margin-bottom: 40px; }
.section-header-line {
  display: flex; align-items: center; justify-content: center;
  gap: 15px; margin-bottom: 3px;
}
.section-header-line::before,
.section-header-line::after { content: ''; width: 50px; height: 1px; background: #bbb; }
.section-header h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 22px; font-weight: 600; letter-spacing: 4px; color: #333;
}
.section-header p { font-size: 14px; color: #999; letter-spacing: 3px; margin-top: 4px; }

/* ===== WORKS ===== */
.works-examples { padding: 50px 28px; }
.works-examples-inner { max-width: 900px; margin: 0 auto; }
.works-examples-desc { text-align: center; font-size: 15px; color: #666; line-height: 1.9; margin-bottom: 35px; }
.works-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.works-grid-item { text-align: center; }
.works-grid-item .grid-img { aspect-ratio: 4/3; overflow: hidden; border-radius: 3px; margin-bottom: 8px; }
.works-grid-item .grid-img img { width: 100%; height: 100%; object-fit: cover; }
.works-grid-item .grid-name { font-size: 14px; font-weight: 500; color: #444; letter-spacing: 1px; }

/* ===== FEATURE ===== */
.feature-section { padding: 50px 28px; }
.feature-section.bg-light { background: #f7f4f0; }
.feature-inner { max-width: 900px; margin: 0 auto; }
.feature-label { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.feature-label-tag {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px; font-weight: 700; color: #fff;
  background: #3d3a36; padding: 4px 10px; letter-spacing: 1px;
}
.feature-label-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 24px; font-weight: 800; color: #3d3a36;
}
.feature-layout { display: flex; flex-direction: column; gap: 24px; }
.feature-text { flex: 1; }
.feature-text h3 { font-size: 22px; font-weight: 700; color: #333; margin-bottom: 14px; letter-spacing: 1px; }
.feature-text p { font-size: 15px; color: #555; line-height: 2; margin-bottom: 16px; }
.feature-points { margin-bottom: 0; }
.feature-points li {
  font-size: 15px; color: #444; line-height: 2.2;
  padding-left: 20px; position: relative; font-weight: 500;
}
.feature-points li::before { content: '✓'; position: absolute; left: 0; color: #3d3a36; font-weight: 700; }
.feature-img { width: 100%; aspect-ratio: 16/10; overflow: hidden; border-radius: 3px; }
.feature-img img { width: 100%; height: 100%; object-fit: cover; }
.feature-types { margin-top: 28px; padding-top: 20px; border-top: 1px solid #e5e0da; }
.feature-types h4 { font-size: 14px; font-weight: 700; color: #333; margin-bottom: 8px; letter-spacing: 1px; }
.feature-types-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.feature-types-grid li {
  font-size: 12px; color: #555; line-height: 1.7;
  padding: 3px 0 3px 14px; position: relative; font-weight: 400;
}
.feature-types-grid li::before { content: '・'; position: absolute; left: 0; }

/* ===== FLOW ===== */
.flow { padding: 50px 28px; background: #fff; }
.flow-inner { max-width: 900px; margin: 0 auto; }
.flow-list { margin-top: 10px; }
.flow-item { display: flex; align-items: flex-start; gap: 20px; padding: 22px 0; border-bottom: 1px solid #ddd; }
.flow-item:last-child { border-bottom: none; }
.flow-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 28px; font-weight: 800; color: #c4b8ab;
  flex-shrink: 0; line-height: 1; min-width: 38px;
}
.flow-content { flex: 1; }
.flow-title { font-size: 17px; font-weight: 700; color: #333; margin-bottom: 4px; }
.flow-desc { font-size: 14px; color: #666; line-height: 1.8; }

/* ===== FAQ ===== */
.faq { padding: 50px 28px; background: #f7f4f0; }
.faq-inner { max-width: 900px; margin: 0 auto; }
.faq-list { margin-top: 10px; }
.faq-item { border-bottom: 1px solid #ddd; padding: 18px 0; }
.faq-item:first-child { border-top: 1px solid #ddd; }
.faq-q { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; padding-right: 28px; position: relative; }
.faq-q-label { font-family: 'Montserrat', sans-serif; font-size: 16px; font-weight: 700; color: #3d3a36; flex-shrink: 0; line-height: 1.6; }
.faq-q-text { font-size: 15px; font-weight: 600; color: #333; line-height: 1.6; }
.faq-q::after { content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-family: 'Montserrat'; font-size: 20px; font-weight: 300; color: #999; }
.faq-item.open .faq-q::after { content: '-'; }
.faq-a { display: none; padding: 10px 0 0 28px; }
.faq-item.open .faq-a { display: block; }
.faq-a-text { font-size: 15px; color: #666; line-height: 1.9; }

/* ===== CTA ===== */
.cta { padding: 50px 28px; background: #b5aba2; text-align: center; }
.cta-heading { color: #fff; font-size: 18px; font-weight: 700; line-height: 1.7; margin-bottom: 6px; letter-spacing: 0.5px; }
.cta-sub { color: #fff; font-size: 18px; font-weight: 700; margin-bottom: 28px; }
.btn-line {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  background: #06C755; color: #fff;
  padding: 18px 24px; border-radius: 4px;
  font-size: 16px; font-weight: 700; letter-spacing: 1px;
  max-width: 100%; margin: 0 auto;
}
.btn-line:hover { opacity: 0.9; }
.btn-line .line-icon-wrap {
  width: 44px; height: 44px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.btn-line .line-icon-wrap svg { width: 44px; height: 44px; }

/* ===== FOOTER ===== */
.footer { padding: 50px 28px 0; background: #fff; text-align: center; }
.footer-logo { margin-bottom: 22px; }
.footer-logo img { height: 85px; width: auto; margin: 0 auto; }
.footer-company { font-size: 15px; font-weight: 700; color: #333; margin-bottom: 12px; letter-spacing: 3px; }
.footer-info { font-size: 13px; color: #666; line-height: 2; margin-bottom: 28px; }
.footer-copyright { background: #555; color: rgba(255,255,255,0.7); font-size: 11px; padding: 14px 28px; margin: 0 -28px; }

/* ===== 固定お問い合わせ ===== */
.floating-contact-pc { position: fixed; bottom: 24px; right: 24px; z-index: 90; display: none; }
.floating-contact-pc a {
  display: flex; align-items: center; gap: 8px;
  background: #06C755; color: #fff; border-radius: 50px;
  padding: 14px 22px; font-size: 14px; font-weight: 700;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}
.floating-contact-pc a:hover { transform: translateY(-2px); }
.floating-contact-pc svg { width: 22px; height: 22px; }
.floating-contact-sp { position: fixed; bottom: 0; left: 0; right: 0; z-index: 90; background: #06C755; }
.floating-contact-sp a {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  color: #fff; padding: 20px; font-size: 15px; font-weight: 800; letter-spacing: 1px;
  line-height: 1;
}
.floating-contact-sp svg { width: 28px; height: 28px; }

/* ===== PC (769px+) ===== */
@media (min-width: 769px) {
  .header-nav { display: flex; }
  .header-hamburger { display: none; }
  body { padding-bottom: 0; }

  .hero { height: 70vh; max-height: 650px; }

  .about { padding: 80px 40px; }
  .about-top { align-items: flex-start; gap: 28px; flex-wrap: nowrap; margin-bottom: 0; }
  .about-label { width: 130px; height: 130px; font-size: 26px; }
  .about-text { display: flex; flex-direction: column; flex: 1; }
  .about-heading { font-size: 28px; flex: none; }
  .about-desc { font-size: 15px; flex-basis: auto; margin-top: 14px; }

  .reasons { padding: 80px 40px; }
  .reasons-title span { font-size: 24px; padding: 22px 30px; }
  .reason-num { font-size: 36px; }
  .reason-text { font-size: 22px; }
  .reasons-desc { font-size: 15px; }

  .works-examples { padding: 80px 40px; }
  .works-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .works-grid-item .grid-name { font-size: 14px; }

  .feature-section { padding: 80px 40px; }
  .feature-layout { flex-direction: row; gap: 40px; align-items: flex-start; }
  .feature-layout.reverse { flex-direction: row-reverse; }
  .feature-text { flex: 1; }
  .feature-img { width: 45%; flex-shrink: 0; }
  .feature-text h3 { font-size: 28px; }
  .feature-text p { font-size: 15px; }
  .feature-types-grid li { font-size: 14px; }

  .flow { padding: 80px 40px; }
  .flow-num { font-size: 32px; }
  .faq { padding: 80px 40px; }

  .cta { padding: 80px 40px; }
  .cta-heading { font-size: 28px; }
  .cta-sub { font-size: 28px; }
  .btn-line { font-size: 20px; padding: 26px 40px; max-width: 560px; }

  .footer { padding: 60px 40px 0; }
  .footer-logo img { height: 150px; }
  .footer-copyright { margin: 0 -40px; }

  .floating-contact-pc { display: block; }
  .floating-contact-sp { display: none; }

  .mobile-nav { display: none !important; }

  .section-header h2 { font-size: 28px; }
  .section-header p { font-size: 15px; }

  .btn-line .line-icon-wrap { width: 56px; height: 56px; }
  .btn-line .line-icon-wrap svg { width: 56px; height: 56px; }
}

/* ===== SP SMALL (380px以下) ===== */
@media (max-width: 380px) {
  .about { padding: 40px 20px; }
  .about-top { gap: 14px; }
  .about-label { width: 80px; height: 80px; font-size: 16px; }
  .about-heading { font-size: 18px; }
  .about-desc { font-size: 13px; }
  .reasons { padding: 40px 20px; }
  .reasons-title span { font-size: 16px; padding: 14px 18px; letter-spacing: 1.5px; }
  .reason-num { font-size: 24px; }
  .reason-sep { height: 28px; }
  .reason-item { gap: 12px; }
  .reason-text { font-size: 14px; }
  .reasons-desc { font-size: 13px; }
  .works-examples { padding: 40px 20px; }
  .feature-section { padding: 40px 20px; }
  .feature-text h3 { font-size: 20px; }
  .flow { padding: 40px 20px; }
  .faq { padding: 40px 20px; }
  .cta { padding: 40px 20px; }
  .cta-heading { font-size: 16px; }
  .cta-sub { font-size: 16px; }
  .btn-line { font-size: 14px; padding: 16px 14px; }
  .footer { padding: 40px 20px 0; }
  .footer-copyright { margin: 0 -20px; }
}
