/* ============================================
   iStart合同会社 コーポレートサイト CSS
   Lightning 子テーマ用
   ============================================ */

/* --- サイトタイトル文字を非表示（ロゴ画像のみ表示）--- */
h1.siteHeader_logo,
p.siteHeader_logo {
  font-size: 0;
  line-height: 0;
}
h1.siteHeader_logo img,
p.siteHeader_logo img,
.siteHeader_logo .custom-logo {
  font-size: 16px;
  line-height: normal;
}

/* --- 基本 --- */
body {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif !important;
  font-size: 15px;
  line-height: 1.9;
  color: #333;
  letter-spacing: 0.03em;
  background-color: #fff !important;
}
p {
  color: #555 !important;
  font-size: 15px;
  line-height: 1.9;
}
h1, h2, h3, h4, h5, h6 {
  font-family: "Noto Sans JP", sans-serif !important;
  color: #222;
  letter-spacing: 0.02em;
}
a {
  color: #2c5282;
}
a:hover {
  color: #1a3a5c !important;
}

/* --- ヘッダー --- */
.siteHeader {
  background: #fff;
  border-bottom: 1px solid #e5e5e5;
  box-shadow: none;
}
.siteHeader_logo a {
  color: #222 !important;
}
.gMenu > li > a {
  color: #333 !important;
  font-size: 14px;
  font-weight: 500;
}
.gMenu > li > a:hover {
  color: #2c5282 !important;
}

/* --- スライダー非表示（念のためCSS側でも）--- */
.slide-main,
#top__fullcarousel {
  display: none !important;
}

/* ============================================
   フロントページ セクション
   ============================================ */

/* --- ヒーロー --- */
.istart-hero {
  background: linear-gradient(135deg, #f0f4f8 0%, #e8eef5 100%);
  padding: 5rem 0 4.5rem;
  text-align: center;
}
.hero-label {
  display: inline-block;
  font-size: 13px !important;
  color: #2c5282 !important;
  font-weight: 500;
  letter-spacing: 0.1em;
  margin-bottom: 1.2rem;
  padding: 6px 20px;
  border: 1px solid #2c5282;
  border-radius: 20px;
}
.istart-hero h2 {
  font-size: 28px;
  font-weight: 700;
  color: #222;
  margin-bottom: 1.2rem;
  padding: 0;
  line-height: 1.6;
  border: none;
}
.istart-hero h2::after {
  display: none;
}
.istart-hero .hero-sub {
  font-size: 15px;
  color: #555 !important;
  margin-bottom: 2.5rem;
  line-height: 1.9;
}
.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.hero-cta {
  display: inline-block;
  background: #2c5282;
  color: #fff !important;
  padding: 14px 36px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none !important;
  transition: background 0.2s;
}
.hero-cta:hover {
  background: #1a3a5c;
  color: #fff !important;
}
.hero-cta-secondary {
  display: inline-block;
  background: transparent;
  color: #2c5282 !important;
  border: 1px solid #2c5282;
  padding: 14px 36px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none !important;
  transition: all 0.2s;
}
.hero-cta-secondary:hover {
  background: #2c5282;
  color: #fff !important;
}

/* --- 事業カード --- */
.istart-services {
  padding: 5rem 0;
  background: #fff;
}
.istart-services > .container > h2 {
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 0.8rem;
  padding: 0;
  color: #222;
  border: none;
}
.istart-services > .container > h2::after {
  display: none;
}
.section-lead {
  text-align: center;
  font-size: 14px !important;
  color: #888 !important;
  margin-bottom: 3rem;
}
.istart-service-col {
  padding: 0 12px;
  margin-bottom: 1.5rem;
}
a.istart-service-card {
  display: block;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 2.5rem 2rem 2rem;
  text-align: center;
  height: 100%;
  transition: box-shadow 0.2s, transform 0.2s;
  text-decoration: none !important;
  color: inherit;
  cursor: pointer;
}
a.istart-service-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  transform: translateY(-4px);
  border-color: #c5d4e8;
}
a.istart-service-card:hover .service-external {
  color: #1a3a5c;
}
.service-card-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  background: #eef2f7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-card-icon i {
  font-size: 26px;
  color: #2c5282;
}
.istart-service-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: #222;
  margin-bottom: 0.8rem;
  padding: 0;
  border: none;
}
.istart-service-card h3::after {
  display: none;
}
.istart-service-card p {
  font-size: 14px;
  color: #666 !important;
  line-height: 1.8;
  margin-bottom: 1.2rem;
}
.service-external {
  display: inline-block;
  font-size: 13px;
  color: #2c5282;
  font-weight: 500;
  transition: color 0.2s;
}
.service-external i {
  font-size: 11px;
  margin-right: 4px;
}

/* --- 選ばれる理由 --- */
.istart-reasons {
  padding: 5rem 0;
  background: #f8f9fa;
}
.istart-reasons > .container > h2 {
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 3rem;
  padding: 0;
  color: #222;
  border: none;
}
.istart-reasons > .container > h2::after {
  display: none;
}
.istart-reason-item {
  text-align: center;
  padding: 1.5rem;
}
.reason-number {
  font-size: 36px;
  font-weight: 700;
  color: #d0d8e4;
  margin-bottom: 0.8rem;
  line-height: 1;
  font-family: "Noto Sans JP", sans-serif;
}
.istart-reason-item h3 {
  font-size: 17px;
  font-weight: 700;
  color: #222;
  margin-bottom: 0.8rem;
  padding: 0;
  border: none;
}
.istart-reason-item h3::after {
  display: none;
}
.istart-reason-item p {
  font-size: 14px;
  color: #666 !important;
  line-height: 1.8;
}

/* --- 会社紹介（2カラム）--- */
.istart-about {
  padding: 5rem 0;
  background: #fff;
}
.istart-about .about-text h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 1.5rem;
  padding: 0;
  color: #222;
  text-align: left;
  border: none;
}
.istart-about .about-text h2::after {
  display: none;
}
.istart-about .about-text p {
  font-size: 15px;
  line-height: 1.9;
  text-align: left;
  max-width: none;
  margin: 0 0 1.5rem;
}
.about-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
}
.about-table th,
.about-table td {
  padding: 0.8rem 1rem;
  font-size: 14px;
  border-bottom: 1px solid #e5e5e5;
  text-align: left;
  color: #333;
}
.about-table th {
  font-weight: 500;
  color: #666;
  width: 100px;
  white-space: nowrap;
}
.istart-about .about-link {
  display: block;
  margin-top: 0.5rem;
  text-align: left;
}
.istart-about .about-link a {
  color: #2c5282;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid #2c5282;
  padding-bottom: 2px;
}
.istart-about .about-link a:hover {
  color: #1a3a5c !important;
  border-color: #1a3a5c;
}
.about-map {
  margin-top: 1rem;
}
.about-map iframe {
  width: 100%;
  border-radius: 8px;
}
.map-caption {
  font-size: 13px !important;
  color: #888 !important;
  margin-top: 0.8rem;
  text-align: center;
}
.map-caption i {
  color: #2c5282;
  margin-right: 4px;
}

/* --- 共通リンクスタイル --- */
.istart-link {
  color: #2c5282;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid #2c5282;
  padding-bottom: 2px;
}
.istart-link:hover {
  color: #1a3a5c;
  border-color: #1a3a5c;
}

/* ============================================
   事業内容ページ カード
   ============================================ */
.title-box {
  background: #f8f9fa;
  padding: 3rem 0;
  margin-bottom: 0;
}
.title-box h1 {
  font-size: 24px;
  font-weight: 700;
  color: #222;
}
.istart-business-cards {
  padding: 4rem 0 5rem;
  background: #fff;
}
.business-lead {
  text-align: center;
  font-size: 15px !important;
  color: #555 !important;
  margin-bottom: 3rem;
  line-height: 1.9;
}
.business-card {
  max-width: 880px;
  margin: 0 auto 2.5rem;
}
.business-card:last-child {
  margin-bottom: 0;
}
.business-card-inner {
  display: flex;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}
.business-card-inner:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}
.business-card-image {
  flex: 0 0 320px;
  max-width: 320px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
}
.business-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.business-card-image--fallback {
  background: #eef2f7;
}
.business-card-image--fallback::after {
  content: "\f108";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 48px;
  color: #2c5282;
  opacity: 0.3;
}
.business-card-body {
  flex: 1;
  padding: 2.5rem 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.business-card-body .business-card-icon {
  width: 48px;
  height: 48px;
  background: #eef2f7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.business-card-body .business-card-icon i {
  font-size: 20px;
  color: #2c5282;
}
.business-card-icon--img {
  overflow: hidden;
  padding: 0;
}
.business-card-icon--img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.business-card-body h2 {
  font-size: 20px;
  font-weight: 700;
  color: #222;
  margin: 0 0 1rem;
  padding: 0;
  border: none;
}
.business-card-body h2::after {
  display: none;
}
.business-card-body p {
  font-size: 14px;
  color: #666 !important;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}
.business-card-btn {
  display: inline-block;
  background: transparent;
  color: #2c5282 !important;
  border: 1px solid #2c5282;
  padding: 10px 28px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none !important;
  transition: all 0.2s;
  align-self: flex-start;
}
.business-card-btn:hover {
  background: #2c5282;
  color: #fff !important;
}
.business-card-btn i {
  font-size: 11px;
  margin-left: 6px;
}

/* ============================================
   お問い合わせページ
   ============================================ */
.istart-contact {
  padding: 4rem 0 5rem;
  background: #f8f9fa;
}
.contact-intro {
  max-width: 740px;
  margin: 0 auto 2.5rem;
  text-align: center;
}
.contact-intro > p {
  font-size: 15px !important;
  color: #555 !important;
  line-height: 1.9;
  margin-bottom: 1.5rem;
}
.contact-tel-info {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 1.2rem 1.5rem;
  display: inline-block;
}
.contact-tel-info p {
  font-size: 13px !important;
  color: #888 !important;
  margin-bottom: 0.3rem;
}
.contact-tel {
  font-size: 22px !important;
  font-weight: 700;
  color: #222 !important;
  margin-bottom: 0 !important;
}
.contact-tel i {
  color: #2c5282;
  font-size: 18px;
  margin-right: 6px;
}
.contact-tel a {
  color: #222 !important;
  text-decoration: none !important;
}
.contact-form-card {
  max-width: 740px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 3rem 3rem 2.5rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.contact-form-card .wp-block-paragraph {
  display: none;
}
.contact-form-card .wpcf7-form p {
  margin-bottom: 1.5rem;
}
.contact-form-card .wpcf7-form label {
  font-size: 14px;
  font-weight: 500;
  color: #333;
  display: block;
  margin-bottom: 0.5rem;
}
.contact-form-card .wpcf7-form input[type="text"],
.contact-form-card .wpcf7-form input[type="email"],
.contact-form-card .wpcf7-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d0d5dd;
  border-radius: 6px;
  font-size: 15px;
  font-family: "Noto Sans JP", sans-serif;
  color: #333;
  background: #fff;
  transition: border-color 0.2s;
  box-sizing: border-box;
}
.contact-form-card .wpcf7-form input[type="text"]:focus,
.contact-form-card .wpcf7-form input[type="email"]:focus,
.contact-form-card .wpcf7-form textarea:focus {
  outline: none;
  border-color: #2c5282;
  box-shadow: 0 0 0 3px rgba(44,82,130,0.1);
}
.contact-form-card .wpcf7-form textarea {
  min-height: 180px;
  resize: vertical;
}
.contact-form-card .wpcf7-form input[type="submit"] {
  display: block;
  width: 100%;
  max-width: 280px;
  margin: 0.5rem auto 0;
  padding: 14px 40px;
  background: #2c5282 !important;
  color: #fff !important;
  border: none;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
}
.contact-form-card .wpcf7-form input[type="submit"]:hover {
  background: #1a3a5c !important;
}
.contact-form-card .wpcf7-not-valid-tip {
  color: #c53030;
  font-size: 13px;
  margin-top: 0.3rem;
}
.contact-form-card .wpcf7-response-output {
  border: none !important;
  padding: 1rem !important;
  margin: 1rem 0 0 !important;
  font-size: 14px;
  text-align: center;
  border-radius: 6px;
}

/* --- 固定ページ本文エリア --- */
.istart-page-content {
  padding: 4rem 0;
  background: #f8f9fa;
}
.istart-page-content .entry-body {
  max-width: 700px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.9;
}
.istart-page-content h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 1.5rem;
  padding: 0 0 0.5rem;
  border-bottom: 2px solid #2c5282;
  border-top: none;
}
.istart-page-content h2::after {
  display: none;
}

/* --- お問い合わせCTA --- */
.istart-cta {
  padding: 4rem 0;
  background: #f0f4f8;
  text-align: center;
}
.istart-cta h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 0.5rem;
  padding: 0;
  color: #222;
  border: none;
}
.istart-cta h2::after {
  display: none;
}
.istart-cta .cta-sub {
  font-size: 14px !important;
  color: #888 !important;
  margin-bottom: 2rem;
}
.cta-box {
  background: #fff;
  border-radius: 8px;
  padding: 2.5rem 2rem;
  max-width: 700px;
  margin: 0 auto;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.cta-label {
  font-size: 13px !important;
  color: #888 !important;
  margin-bottom: 0.5rem;
}
.cta-tel-area {
  text-align: center;
  margin-bottom: 1.5rem;
}
.cta-tel {
  font-size: 28px !important;
  font-weight: 700;
  color: #222 !important;
  margin-bottom: 0 !important;
  letter-spacing: 0.03em;
}
.cta-tel a {
  color: #222 !important;
  text-decoration: none !important;
}
.cta-tel i {
  color: #2c5282;
  font-size: 22px;
  margin-right: 6px;
}
.cta-form-area {
  text-align: center;
}
.cta-btn {
  display: inline-block;
  background: #2c5282;
  color: #fff !important;
  padding: 14px 40px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none !important;
  transition: background 0.2s;
}
.cta-btn:hover {
  background: #1a3a5c;
  color: #fff !important;
}

/* --- フッター調整 --- */
.siteFooter {
  border-top: 1px solid #e5e5e5 !important;
}

/* --- Lightning見出しのデフォルト装飾をフロントページで無効化 --- */
#maincontent h2 {
  border-top: none;
}
#maincontent h3::after {
  display: none;
}

/* --- スマホ対応 --- */
@media screen and (max-width: 767px) {
  .istart-hero {
    padding: 3rem 1rem;
  }
  .istart-hero h2 {
    font-size: 22px;
  }
  .istart-hero h2 br {
    display: none;
  }
  .hero-sub br {
    display: none;
  }
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  .hero-cta, .hero-cta-secondary {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }
  .istart-services {
    padding: 3rem 0.5rem;
  }
  .istart-service-col {
    padding: 0 1rem;
  }
  .istart-reasons {
    padding: 3rem 0.5rem;
  }
  .istart-about {
    padding: 3rem 1rem;
  }
  .istart-about .about-text h2 {
    text-align: center;
  }
  .about-map {
    margin-top: 2rem;
  }
  .istart-cta {
    padding: 3rem 1rem;
  }
  .cta-box {
    padding: 2rem 1.2rem;
  }
  .cta-tel {
    font-size: 24px !important;
  }
  .istart-page-content {
    padding: 3rem 1rem;
  }
  /* 事業内容ページ スマホ */
  .istart-business-cards {
    padding: 2.5rem 1rem 3rem;
  }
  .business-lead {
    text-align: left;
    margin-bottom: 2rem;
  }
  .business-card-inner {
    flex-direction: column;
  }
  .business-card-image {
    flex: none;
    max-width: 100%;
    height: 200px;
  }
  .business-card-body {
    padding: 1.5rem 1.5rem 1.2rem;
  }
  .business-card-body h2 {
    font-size: 18px;
  }
  .business-card {
    margin-bottom: 1.5rem;
  }
  .title-box { padding: 2rem 0; }
  .title-box h1 { font-size: 20px; }
  /* お問い合わせページ スマホ */
  .istart-contact {
    padding: 2.5rem 1rem 3rem;
  }
  .contact-intro > p br {
    display: none;
  }
  .contact-form-card {
    padding: 2rem 1.5rem 1.5rem;
  }
  .contact-tel {
    font-size: 20px !important;
  }
}
