/**
Theme Name: Astra Child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/



#primary.content-area.primary {
  margin: 0 !important;
}
/* ===== 新東洋 下層ページ 本文整形（.st-doc） ===== */
.st-doc{
  --st-navy:#0C2A4D; --st-blue:#1A5C99; --st-accent:#F2741A;
  --st-slate:#3a4654; --st-line:#e3e9f1; --st-bg-tint:#eef3f8;
  max-width: 900px !important; margin:0 auto;
  padding:clamp(48px,7vw,80px) 24px;   /* ← 上下余白を追加。②③対策 */
  font-family:"Noto Sans JP",-apple-system,"Hiragino Kaku Gothic ProN","Yu Gothic",sans-serif;
  color:#14171c;
}
.st-doc h2{
  font-size:clamp(20px,2.5vw,26px); font-weight:800; color:var(--st-navy); line-height:1.5;
  margin:2.6em 0 1em; padding-left:52px; position:relative; min-height:40px;
  display:flex; align-items:center;
}
.st-doc h2:first-child{ margin-top:0; }
.st-doc h2::before{
  content:""; position:absolute; left:0; top:50%; transform:translateY(-50%);
  width:40px; height:40px;
  background:url('https://shintoyo.tokyo/wp-content/uploads/2026/07/simb.png') left center/contain no-repeat;
}
.st-doc h3{
  font-size:clamp(16px,1.8vw,19px); font-weight:700; color:var(--st-navy); line-height:1.6;
  margin:1.8em 0 .7em; padding-left:14px; position:relative;
}
.st-doc h3::before{
  content:""; position:absolute; left:0; top:.15em; bottom:.15em; width:5px; border-radius:2px;
  background:linear-gradient(180deg,var(--st-blue),var(--st-navy));
}
.st-doc p{ font-size:16px; line-height:2; color:#111; margin:0 0 1.4em; }
.st-doc a{ color:var(--st-blue); text-decoration:underline; text-underline-offset:2px; }
.st-doc ul{ list-style:none; margin:0 0 1.6em; padding-left:0; }
.st-doc ul li{ position:relative; padding-left:1.5em; margin:0 0 .7em; font-size:16px; line-height:1.9; color:#111; }
.st-doc ul li::before{ content:""; position:absolute; left:0; top:.7em; width:9px; height:9px; border-radius:50%; background:var(--st-accent); }
.st-doc ol{ counter-reset:st; list-style:none; margin:0 0 1.6em; padding-left:0; }
.st-doc ol li{ position:relative; padding-left:1.9em; margin:0 0 .7em; font-size:16px; line-height:1.9; color:#111; counter-increment:st; }
.st-doc ol li::before{ content:counter(st); position:absolute; left:0; top:.15em; width:1.4em; height:1.4em; border-radius:50%; background:var(--st-navy); color:#fff; font-size:12px; font-weight:700; display:flex; align-items:center; justify-content:center; }
.st-doc table{ width:100%; border-collapse:collapse; margin:0 0 1.8em; font-size:15.5px; }
.st-doc th,.st-doc td{ text-align:left; padding:16px 18px; border-bottom:1px solid var(--st-line); line-height:1.8; vertical-align:top; }
.st-doc th{ width:30%; background:var(--st-bg-tint); color:var(--st-navy); font-weight:700; white-space:nowrap; }
.st-doc .note{ font-size:13.5px; color:var(--st-slate); line-height:1.9; margin-top:2.6em; padding-top:1.4em; border-top:1px solid var(--st-line); }

/* ===== 下層ページ ヒーロー（1枚絵＋左を白オーバーレイ） ===== */
.st-hero{
  position:relative; overflow:hidden;
  background:#fff;
  padding:clamp(56px,8vw,110px) 0;
}
.st-hero::before{
  content:""; position:absolute; left:0; top:0; width:100%; height:5px;
  background:linear-gradient(90deg,#0C2A4D,#1A5C99); z-index:3;
}
/* 背景画像＝全幅に敷く */
.st-hero__art{
  position:absolute; inset:0;
  background:url('https://shintoyo.tokyo/wp-content/uploads/2026/07/pagefv.png') center right/cover no-repeat;
  z-index:1; pointer-events:none;
}
/* 左側（文字の後ろ）を白オーバーレイで抜く */
.st-hero__art::after{
  content:""; position:absolute; inset:0;
  background:linear-gradient(90deg,
    #ffffff 0%,
    #ffffff 30%,
    rgba(255,255,255,.75) 45%,
    rgba(255,255,255,0) 65%);
}
.st-hero__inner{
  position:relative; z-index:2; max-width:1140px; margin:0 auto;
  padding:0 clamp(24px,5vw,64px);
}
.st-hero__lbl{
  display:inline-flex; align-items:center; gap:.7em;
  font-size:13px; font-weight:700; letter-spacing:.16em; color:#1A5C99; margin:0 0 1rem;
}
.st-hero__lbl::before{ content:""; width:28px; height:2px; background:#1A5C99; display:inline-block; }
.st-hero__ttl{
  font-size:clamp(28px,4.4vw,48px); font-weight:900; line-height:1.3; color:#0C2A4D; margin:0;
  font-family:"Noto Sans JP",sans-serif;
}
@media(max-width:680px){
  /* スマホは画像を薄く＋白を強めにして文字優先 */
  .st-hero__art::after{
    background:linear-gradient(90deg, #fff 0%, rgba(255,255,255,.85) 55%, rgba(255,255,255,.4) 100%);
  }
}