@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;600;700&family=Poppins:wght@400;600&family=Yuji+Syuku&display=swap");
:root{--brown:#241909;--yellow:rgba(255,245,41,.96);--mint:#bdebdc;--orange:#fcaf3b;--light:#ededed;--ink:#14171c;--footer:#645853;--footer-text:#cad8de;--max:1170px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);font-family:Poppins,"Lucida Sans Unicode","Lucida Grande","Yu Gothic",Meiryo,sans-serif;font-size:17px;line-height:1.7;background:#fff}a{color:#2b2b2b;text-decoration:none}a:hover{text-decoration:none}img{max-width:100%;height:auto}.wrap,.container{width:min(var(--max),calc(100% - 30px));margin:0 auto}
/* Header: 現行Neveテーマの外観に合わせる */
.site-header{background:var(--brown);color:#fff}.header-inner{min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:22px}.brand{color:#fff;line-height:1.25;white-space:nowrap}.brand .site-title{display:block;font-size:17px;font-weight:400}.brand small{display:block;font-size:12px;font-weight:400;margin-top:2px}.nav{display:flex;align-items:center;gap:20px}.nav a{color:#fff;font-size:.8em;font-weight:600;text-transform:uppercase;line-height:1.6;position:relative;padding:24px 0}.nav a:hover{color:var(--yellow)}.nav a.active{color:var(--mint)}.menu-btn{display:none;border:1px solid #fff;border-radius:3px;background:transparent;color:#fff;padding:10px 15px;font:inherit}
/* Top hero */
.hero{min-height:700px;background:url('/images/common/penfanshinryokuAPP99354.jpg') center center/cover fixed no-repeat;display:flex;align-items:flex-start;justify-content:center;text-align:center;color:#fff;position:relative}.hero:before{content:"";position:absolute;inset:0;background:rgba(0,0,0,.5)}.hero-inner{position:relative;z-index:1;width:100%;padding-top:80px}.hero-kicker{font-size:200px;line-height:1.2;margin:0;font-weight:400;white-space:nowrap}.hero-spacer{height:80px}.hero-copy{font-size:30px;line-height:1.6;margin:0;color:#fff;font-weight:400}
/* Top full-width sections */
.home-section{min-height:600px;display:flex;align-items:center;padding:80px 0 40px}.home-section.light{background:var(--light)}.home-section.white{background:#fff}.home-section.mint{background:var(--mint)}.home-section.employment{min-height:856px}.home-row{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center}.home-media{text-align:center}.home-media img{display:block;margin:auto;max-height:590px;object-fit:contain}.home-copy h1{font-size:70px;line-height:1.3;margin:0 0 18px;font-weight:600}.home-copy h2{font-size:47px;line-height:1.3;margin:0 0 22px;font-weight:600}.home-section.mint .home-copy h1,.home-section.mint .home-copy h2,.home-section.mint .home-copy p{color:#2b2b2b}.home-copy p{font-size:20px;line-height:1.7;margin:0 0 22px}.home-section.career .home-copy h2{font-size:50px}.btn{display:inline-block;background:var(--orange);color:#14171c;border:0;border-radius:0;padding:16px 35px;font-size:16px;font-weight:700;cursor:pointer}.btn:hover{filter:brightness(.98)}
/* Inner pages: 現行テーマの共通タイポグラフィを踏襲 */
.page-title{background:#fff;padding:60px 0 30px}.page-title h1{font-size:70px;line-height:1.3;margin:0;font-weight:600}.section{padding:30px 0 70px}.content-wrap{max-width:1170px;margin:auto;background:#fff}.content-wrap h2{font-size:50px;line-height:1.3;margin:55px 0 24px;font-weight:600}.content-wrap h3{font-size:24px}.content-wrap p{margin:0 0 1.4em}.lead{font-size:20px}.sub-kicker{font-size:55px;letter-spacing:.1em;margin:.3em 0}.photo{display:block;margin:30px auto;max-height:650px;object-fit:contain}.legacy-image{max-height:460px}figure{margin:30px 0;text-align:center}figcaption{font-size:14px;margin-top:8px;color:#666}.notice{padding:18px 22px;background:#ededed;border-left:4px solid var(--orange);margin:25px 0}.table{width:100%;border-collapse:collapse}.table th,.table td{border-bottom:1px solid #ddd;padding:14px 10px;text-align:left;vertical-align:top}.table th{width:28%;font-weight:600}.timeline{border-left:3px solid var(--mint);padding-left:22px}.gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:30px}.gallery figure{margin:0}.gallery img{width:100%;height:230px;object-fit:cover}.contact-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.contact-box{padding:24px;background:#ededed;text-align:center}.form-status{padding:18px 22px;background:#ededed;border-left:4px solid var(--orange);margin:22px 0}.form-row{margin-bottom:18px}label{display:block;font-weight:600;margin-bottom:6px}input,textarea{width:100%;padding:12px;border:1px solid #bbb;border-radius:0;font:inherit;background:#fff}textarea{min-height:180px}.honeypot{position:absolute;left:-9999px}.pdf-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 18px;margin-bottom:34px}.pdf-list a{display:flex;justify-content:space-between;gap:15px;align-items:center;padding:12px 14px;border:1px solid #ddd;background:#fff}.pdf-list small{font-size:12px;color:#14171c;background:var(--orange);padding:2px 8px}
/* Footer */
.site-footer{margin:0}.footer-top{background:var(--footer);color:var(--footer-text);padding:36px 0}.footer-top a{color:var(--footer-text)}.footer-grid{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:center}.footer-address h4{font-size:20px;line-height:1.3;margin:0;font-weight:600}.footer-nav{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:10px 20px}.footer-nav a{font-size:16px}.footer-bottom{background:#fff;color:#000;text-align:center;padding:16px 0;font-size:14px}
@media(max-width:959px){body{font-size:16px}.wrap,.container{width:min(748px,calc(100% - 30px))}.header-inner{min-height:70px}.brand .site-title{font-size:16px}.menu-btn{display:block}.nav{display:none;position:absolute;z-index:30;left:0;right:0;top:70px;background:#fff;padding:20px;flex-direction:column;align-items:flex-start;gap:0;box-shadow:0 8px 16px rgba(0,0,0,.12)}.nav.open{display:flex}.nav a{color:#14171c;padding:10px 0;font-size:16px;text-transform:none}.hero{min-height:650px;background-attachment:scroll}.hero-kicker{font-size:clamp(64px,17vw,140px);white-space:normal}.hero-copy{font-size:24px}.home-section,.home-section.employment{min-height:auto;padding:70px 0}.home-row{gap:36px}.home-copy h1{font-size:55px}.home-copy h2,.home-section.career .home-copy h2{font-size:35px}.home-copy p{font-size:18px}.page-title h1{font-size:55px}.content-wrap h2{font-size:35px}.footer-grid{grid-template-columns:1fr}.footer-nav{justify-content:flex-start}}
@media(max-width:600px){body{font-size:15px}.brand .site-title{font-size:14px}.brand small{font-size:10px}.hero{min-height:520px}.hero-inner{padding-top:70px}.hero-spacer{height:55px}.hero-kicker{font-size:clamp(48px,16vw,88px)}.hero-copy{font-size:20px;padding:0 15px}.home-row{grid-template-columns:1fr;gap:30px}.home-section{padding:55px 0}.home-section:nth-of-type(odd) .home-media{order:0}.home-copy h1{font-size:39px}.home-copy h2,.home-section.career .home-copy h2{font-size:30px}.home-copy p{font-size:16px}.page-title{padding:40px 0 10px}.page-title h1{font-size:39px}.section{padding:20px 0 50px}.content-wrap h2{font-size:30px}.sub-kicker{font-size:36px}.table th{width:36%}.gallery,.contact-grid,.pdf-list{grid-template-columns:1fr}.gallery img{height:auto}.footer-address h4{font-size:16px}}


/* ===== 法人概要: 現行WordPress保存ページ準拠 ===== */
.legacy-about{background:#fff}
.legacy-about .about-inner{max-width:1170px}
.about-title-cover{
  min-height:300px;
  background:
    linear-gradient(rgba(0,0,0,.40),rgba(0,0,0,.40)),
    url('/images/common/penfanshinryokuAPP99354.jpg') center center/cover fixed no-repeat;
  color:#fff;
  display:flex;
  align-items:center
}
.about-title-cover h1{
  margin:0;
  color:#fff;
  font-size:70px;
  line-height:1.3;
  font-weight:600
}
.about-cover{min-height:600px;color:#14171c}
.about-philosophy{background:#f7f7f7}
.about-policy{background:#fff}
.about-history{background:#bdebdc}
.about-company{background:#fff;min-height:400px}
.about-top-space{height:80px}
.about-heading-space{height:10px}
.about-bottom-space{height:40px}
.about-cover h2{
  margin:0;
  font-size:50px;
  line-height:1.3;
  font-weight:600;
  color:#14171c
}
.about-cover p{margin:0 0 1.45em}
.about-oubaitouri{
  font-size:80px;
  line-height:1.35;
  margin:0 0 28px!important;
  font-weight:400
}
.about-text-block p,
.about-policy-copy p,
.about-history-list p{
  font-size:20px;
  line-height:1.7
}
.about-separator{
  border:0;
  border-top:2px solid #14171c;
  margin:26px 0
}
.about-note{font-size:13px;line-height:1.7}
.about-two-columns{
  display:flex;
  align-items:center;
  gap:32px;
  margin-top:0
}
.about-policy-copy,
.about-policy-photo{
  flex:0 0 calc(50% - 16px)
}
.about-policy-photo{margin:0;text-align:center}
.about-policy-photo img{width:100%;height:auto;display:block}
.about-policy-photo figcaption{
  font-size:14px;
  color:#555;
  margin-top:7px
}
.about-history-list{padding-top:4px}
.about-history-list p{margin-bottom:1.35em}
.company-rows{width:100%}
.company-row{
  display:grid;
  grid-template-columns:33.33% 66.67%;
  border-bottom:2px solid #14171c;
  padding:16px 0;
  align-items:start
}
.company-row:first-child{padding-top:0}
.company-key p,.company-value p{margin:0}
.company-key{font-size:20px;padding-right:20px}
.company-value{font-size:17px}
.company-value ul{margin:0;padding:0;list-style:none}
.company-value a{color:#14171c}
.company-map-row{padding-top:22px}
.company-map-row iframe{width:600px;max-width:100%;height:450px}
.company-map-row .company-value>p{margin:18px 0 0}
.access-note{
  background:#f7f7f7;
  padding:18px 22px;
  line-height:1.7
}

@media(max-width:959px){
  .about-title-cover{background-attachment:scroll}
  .about-title-cover h1{font-size:55px}
  .about-cover h2{font-size:35px}
  .about-oubaitouri{font-size:60px}
  .about-two-columns{gap:28px}
}
@media(max-width:700px){
  .about-title-cover{min-height:220px}
  .about-title-cover h1{font-size:39px}
  .about-top-space{height:55px}
  .about-bottom-space{height:30px}
  .about-cover{min-height:0}
  .about-cover h2{font-size:30px}
  .about-oubaitouri{font-size:42px;white-space:nowrap}
  .about-text-block p,.about-policy-copy p,.about-history-list p{font-size:16px}
  .about-two-columns{display:block}
  .about-policy-photo{margin-top:30px}
  .company-row{grid-template-columns:1fr;padding:14px 0}
  .company-key{font-size:18px;margin-bottom:8px}
  .company-value{font-size:15px}
  .company-map-row iframe{height:330px}
}


/* ===== 共同生活援助: 現行WordPress保存ページ準拠 ===== */
.legacy-group-home{background:#fff}
.legacy-group-home .gh-inner{max-width:1170px}

.gh-title-cover{
  min-height:300px;
  background:
    linear-gradient(rgba(0,0,0,.40),rgba(0,0,0,.40)),
    url('/images/common/penfanshinryokuAPP99354.jpg') center center/cover fixed no-repeat;
  color:#fff;
  display:flex;
  align-items:center
}
.gh-title-cover h1{
  margin:0;
  color:#fff;
  font-size:70px;
  line-height:1.3;
  font-weight:600
}

.gh-intro-cover{
  background:#f7f7f7;
  min-height:600px;
  color:#14171c
}
.gh-top-space{height:80px}
.gh-heading-space{height:10px}
.gh-bottom-space{height:40px}
.gh-intro-cover h2,
.gh-detail-section h2{
  margin:0;
  font-size:50px;
  line-height:1.3;
  font-weight:600;
  color:#14171c
}
.gh-intro-columns{
  display:flex;
  gap:32px;
  align-items:flex-start;
  margin-top:0
}
.gh-intro-copy,
.gh-main-photo{
  flex:0 0 calc(50% - 16px)
}
.gh-intro-copy p{
  font-size:20px;
  line-height:1.7;
  margin:0 0 1.55em
}
.gh-main-photo{
  margin:0;
  text-align:center
}
.gh-main-photo img{
  width:100%;
  height:auto;
  display:block
}
.gh-main-photo figcaption{
  margin-top:7px;
  font-size:14px;
  color:#555
}

.gh-detail-section{
  background:#fff;
  color:#14171c
}
.gh-detail-top-space{height:40px}
.gh-card-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:32px;
  margin-top:30px
}
.gh-card{
  background:#bdebdc;
  min-height:600px;
  padding:10px 24px 30px;
  box-sizing:border-box
}
.gh-card-image-wrap{
  width:100%;
  margin:0 0 16px
}
.gh-card-image-wrap img{
  width:100%;
  height:auto;
  display:block
}
.gh-card h3{
  margin:12px 0 14px;
  text-align:center;
  font-size:20px;
  font-weight:600;
  color:#14171c
}
.gh-card hr,
.gh-section-separator{
  border:0;
  border-top:2px solid #14171c
}
.gh-card hr{margin:0 0 22px}
.gh-card p{
  margin:0;
  font-size:16px;
  line-height:1.75;
  color:#14171c
}
.gh-section-separator{margin:40px 0 0}

@media(max-width:959px){
  .gh-title-cover{background-attachment:scroll}
  .gh-title-cover h1{font-size:55px}
  .gh-intro-cover h2,.gh-detail-section h2{font-size:35px}
  .gh-card-grid{gap:20px}
  .gh-card{padding-left:18px;padding-right:18px}
}
@media(max-width:700px){
  .gh-title-cover{min-height:220px}
  .gh-title-cover h1{font-size:38px}
  .gh-top-space{height:55px}
  .gh-intro-cover{min-height:0}
  .gh-intro-cover h2,.gh-detail-section h2{font-size:30px}
  .gh-intro-columns{display:block}
  .gh-intro-copy p{font-size:16px}
  .gh-main-photo{margin-top:24px}
  .gh-card-grid{grid-template-columns:1fr}
  .gh-card{min-height:0}
}


/* ===== 就労継続支援B型: 現行WordPress保存ページ準拠 ===== */
.legacy-employment{background:#fff}
.legacy-employment .emp-inner{max-width:1170px}
.emp-title-cover{
  min-height:300px;
  background:
    linear-gradient(rgba(0,0,0,.40),rgba(0,0,0,.40)),
    url('/images/common/penfanshinryokuAPP99354.jpg') center center/cover fixed no-repeat;
  display:flex;
  align-items:center;
  color:#fff
}
.emp-title-cover h1{
  margin:0;
  color:#fff;
  font-size:70px;
  line-height:1.3;
  font-weight:600
}
.emp-cover{
  min-height:300px;
  display:flex;
  align-items:center;
  color:#14171c
}
.emp-work{background:#f7f7f7}
.emp-btype{background:#fff;color:#14171c}
.emp-talk{background:#bdebdc}
.emp-row{
  display:flex;
  align-items:center;
  gap:32px;
  width:100%;
  padding:35px 0
}
.emp-copy,
.emp-image{
  flex:0 0 calc(50% - 16px)
}
.emp-copy h2{
  margin:0 0 18px;
  font-size:50px;
  line-height:1.25;
  font-weight:600;
  color:#14171c
}
.emp-copy p{
  margin:0 0 1.4em;
  font-size:20px;
  line-height:1.7
}
.emp-copy-light h2,
.emp-copy-light p{color:#14171c}
.emp-image{
  text-align:center
}
.emp-image img{
  max-width:100%;
  height:auto;
  display:block;
  margin:0 auto
}
.emp-schedule{
  background:#fff;
  min-height:430px;
  color:#14171c
}
.emp-schedule-top{height:80px}
.emp-schedule-gap{height:20px}
.emp-schedule-bottom{height:40px}
.emp-schedule h2{
  margin:0;
  font-size:50px;
  line-height:1.3;
  font-weight:600
}
.emp-schedule-table{
  width:90%;
  margin-left:5%
}
.emp-schedule-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:0;
  border-bottom:2px solid #241909;
  padding:14px 0
}
.emp-schedule-key{
  font-size:20px;
  padding-right:24px
}
.emp-schedule-value{
  font-size:17px;
  line-height:1.7
}

@media(max-width:959px){
  .emp-title-cover{background-attachment:scroll}
  .emp-title-cover h1{font-size:55px}
  .emp-copy h2,.emp-schedule h2{font-size:35px}
}
@media(max-width:700px){
  .emp-title-cover{min-height:220px}
  .emp-title-cover h1{font-size:38px}
  .emp-cover{min-height:0}
  .emp-row{display:block;padding:45px 0}
  .emp-copy h2,.emp-schedule h2{font-size:30px}
  .emp-copy p{font-size:16px}
  .emp-image{margin-top:25px}
  .emp-btype .emp-image{margin:0 0 25px}
  .emp-schedule-top{height:55px}
  .emp-schedule-table{width:100%;margin-left:0}
  .emp-schedule-row{grid-template-columns:1fr}
  .emp-schedule-key{font-size:18px;margin-bottom:8px}
  .emp-schedule-value{font-size:15px}
}


/* ===== 教育制度・キャリアパス: 現行WordPress保存ページ準拠 ===== */
.legacy-career{background:#fff}
.legacy-career .career-inner{max-width:1170px}
.career-title-cover{
  min-height:300px;
  background:
    linear-gradient(rgba(0,0,0,.40),rgba(0,0,0,.40)),
    url('/images/common/penfanshinryokuAPP99354.jpg') center center/cover fixed no-repeat;
  display:flex;
  align-items:center;
  color:#fff
}
.career-title-cover h1{
  margin:0;
  color:#fff;
  font-size:70px;
  line-height:1.3;
  font-weight:600
}
.career-cover{
  min-height:600px;
  display:flex;
  align-items:center;
  color:#14171c
}
.career-intro{background:#f7f7f7}
.career-qualification{background:#fff}
.career-path{background:#bdebdc}
.career-workplace{background:#fff;color:#14171c}
.career-top-space{height:40px}
.career-bottom-space{height:40px}
.career-intro h2,
.career-copy h2,
.career-workplace h2{
  margin:0;
  font-size:50px;
  line-height:1.25;
  font-weight:600
}
.career-intro-row{
  display:grid;
  grid-template-columns:66.66% 33.33%;
  align-items:center;
  gap:0;
  margin-top:28px
}
.career-intro-copy p{
  margin:0;
  font-size:40px;
  line-height:1.35;
  color:#14171c
}
.career-intro-image img{
  width:100%;
  height:auto;
  display:block
}
.career-row{
  display:grid;
  grid-template-columns:66.66% 30%;
  justify-content:space-between;
  align-items:center;
  width:100%;
  padding:40px 0
}
.career-copy{
  padding-top:80px;
  padding-bottom:80px
}
.career-copy p,
.career-workplace p{
  margin:22px 0 0;
  font-size:20px;
  line-height:1.7
}
.career-image img{
  width:100%;
  height:auto;
  display:block
}
.career-workplace-inner{
  width:100%;
  padding:60px 0
}
.career-workplace h2,
.career-workplace p{color:#14171c}
.career-workplace p{max-width:100%}

@media(max-width:959px){
  .career-title-cover{background-attachment:scroll}
  .career-title-cover h1{font-size:55px}
  .career-intro h2,.career-copy h2,.career-workplace h2{font-size:35px}
  .career-intro-copy p{font-size:30px}
  .career-copy{padding-top:55px;padding-bottom:55px}
}
@media(max-width:700px){
  .career-title-cover{min-height:220px}
  .career-title-cover h1{font-size:36px}
  .career-cover{min-height:0}
  .career-intro h2,.career-copy h2,.career-workplace h2{font-size:30px}
  .career-intro-row,.career-row{display:block}
  .career-intro-copy p{font-size:24px}
  .career-intro-image,.career-image{margin-top:26px}
  .career-copy{padding-top:35px;padding-bottom:0}
  .career-copy p,.career-workplace p{font-size:16px}
  .career-workplace-inner{padding:50px 0}
}


/* ===== 会報「青空」: 現行WordPress保存ページ準拠 ===== */
.legacy-newsletter{background:#fff}
.legacy-newsletter .newsletter-inner{max-width:1170px}
.newsletter-title-cover{
  min-height:300px;
  background:
    linear-gradient(rgba(0,0,0,.40),rgba(0,0,0,.40)),
    url('/images/common/penfanshinryokuAPP99354.jpg') center center/cover fixed no-repeat;
  display:flex;
  align-items:center
}
.newsletter-title-cover h1{
  margin:0;
  color:#fff;
  font-size:60px;
  line-height:1.3;
  font-weight:600
}
.newsletter-intro{
  background:#f7f7f7;
  min-height:100px;
  padding:40px 0 20px
}
.newsletter-intro p{
  margin:0;
  color:#0366a6;
  font-size:20px;
  line-height:1.65
}
.newsletter-download-area{
  min-height:400px;
  padding:40px 0 10px;
  background:#fff
}
.newsletter-period-nav{
  display:grid;
  grid-template-columns:repeat(3,30%);
  justify-content:center;
  gap:0;
  margin-bottom:18px
}
.newsletter-period-btn{
  display:block;
  width:max-content;
  min-width:190px;
  margin:0 auto;
  padding:12px 22px;
  border-radius:3px;
  background:#241909;
  color:#fff;
  text-align:center;
  font-size:16px;
  text-decoration:none
}
.newsletter-period-btn.current{
  background:#bdebdc;
  color:#14171c
}
.newsletter-list-box{
  background:#fff;
  padding:10px 0 0
}
.newsletter-list-title{
  margin:0 0 12px;
  color:#0366a6;
  font-size:26px;
  line-height:1.5
}
.newsletter-list-box>hr{
  border:0;
  border-top:2px solid #14171c;
  margin:0 0 22px
}
.newsletter-card-grid{
  display:grid;
  grid-template-columns:repeat(2,45%);
  justify-content:center;
  gap:14px 5%
}
.newsletter-card{
  border:1px solid #e3e6e8;
  border-radius:4px;
  box-shadow:0 1px 2px rgba(0,0,0,.05);
  padding:16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  min-height:88px;
  background:#fff
}
.newsletter-card-main{
  display:flex;
  align-items:center;
  min-width:0;
  gap:12px
}
.pdf-icon{
  width:48px;
  height:48px;
  flex:0 0 48px
}
.newsletter-meta{min-width:0}
.newsletter-meta h3{
  margin:0 0 8px;
  font-size:16px;
  line-height:1.4;
  font-weight:600
}
.newsletter-meta h3 a{
  color:#333;
  text-decoration:none
}
.newsletter-small{
  color:#777;
  font-size:12px;
  white-space:nowrap
}
.newsletter-download{
  flex:0 0 auto;
  display:inline-block;
  padding:8px 12px;
  background:#0073aa;
  color:#fff;
  border-radius:4px;
  text-decoration:none;
  font-size:13px
}
.newsletter-download:hover{opacity:.9}

@media(max-width:959px){
  .newsletter-title-cover{background-attachment:scroll}
  .newsletter-title-cover h1{font-size:48px}
  .newsletter-card-grid{grid-template-columns:repeat(2,48%);gap:14px 4%}
  .newsletter-period-nav{grid-template-columns:repeat(3,1fr)}
  .newsletter-period-btn{min-width:0;width:90%;box-sizing:border-box}
}
@media(max-width:700px){
  .newsletter-title-cover{min-height:220px}
  .newsletter-title-cover h1{font-size:34px}
  .newsletter-intro p{font-size:16px}
  .newsletter-period-nav{grid-template-columns:1fr;gap:10px}
  .newsletter-period-btn{width:100%}
  .newsletter-list-title{font-size:21px}
  .newsletter-card-grid{grid-template-columns:1fr;gap:12px}
  .newsletter-card{align-items:flex-start;flex-wrap:wrap}
  .newsletter-download{margin-left:60px}
}


/* ===== お問い合わせ: 現行WordPress保存ページ準拠 ===== */
.legacy-contact{background:#fff}
.legacy-contact .contact-inner{max-width:1170px}
.contact-title-cover{
  min-height:300px;
  background:
    linear-gradient(rgba(0,0,0,.40),rgba(0,0,0,.40)),
    url('/images/common/penfanshinryokuAPP99354.jpg') center center/cover fixed no-repeat;
  display:flex;align-items:center
}
.contact-title-cover h1{margin:0;color:#fff;font-size:70px;line-height:1.3;font-weight:600}
.contact-info-cover{min-height:400px;background:#f7f7f7;display:flex;align-items:center;color:#14171c}
.contact-info-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:30px;align-items:start}
.contact-info-item{text-align:center;padding:15px}
.contact-info-item img{display:block;width:42px;height:42px;margin:0 auto 25px}
.contact-info-item h3{margin:0 0 18px;font-size:24px;line-height:1.3;font-weight:600}
.contact-info-item p{margin:0;font-size:15px;line-height:1.7}
.contact-info-item a{color:#14171c;text-decoration:none}
.contact-form-cover{min-height:400px;background:#4d3e3e;color:#fff;padding:70px 0 80px}
.contact-form-cover h2{margin:0 0 38px;color:#fff;font-size:36px;line-height:1.45;font-weight:600}
.contact-form p{margin:0 0 22px}
.contact-form label{display:block;margin-bottom:8px;font-size:16px;line-height:1.5;color:#fff}
.contact-form input[type="text"],.contact-form input[type="email"],.contact-form textarea{
  display:block;width:100%;box-sizing:border-box;border:1px solid #ddd;border-radius:0;background:#fff;
  color:#222;font:inherit;font-size:16px;padding:12px 14px
}
.contact-form input[type="text"],.contact-form input[type="email"]{height:44px}
.contact-form textarea{min-height:190px;resize:vertical}
.contact-submit{border:0;border-radius:0;background:var(--orange);color:#14171c;padding:16px 35px;font:inherit;font-size:16px;font-weight:700;cursor:pointer}
.contact-submit:hover{filter:brightness(.98)}
.contact-honeypot{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;overflow:hidden!important}
.contact-sent{margin:-10px 0 28px;padding:14px 18px;background:#bdebdc;color:#14171c;font-size:16px}
@media(max-width:959px){
  .contact-title-cover{background-attachment:scroll}
  .contact-title-cover h1{font-size:55px}
  .contact-form-cover h2{font-size:31px}
}
@media(max-width:700px){
  .contact-title-cover{min-height:220px}
  .contact-title-cover h1{font-size:38px}
  .contact-info-cover{padding:45px 0}
  .contact-info-grid{grid-template-columns:1fr;gap:38px}
  .contact-info-item{padding:0}
  .contact-info-item img{margin-bottom:15px}
  .contact-form-cover{padding:50px 0 60px}
  .contact-form-cover h2{font-size:25px}
}

/* ===== Header title adjusted to match current WordPress look ===== */
.site-header{
  background:#241909;
}
.header-inner{
  min-height:84px;
  align-items:center;
}
.brand{
  display:inline-flex;
  flex-direction:column;
  justify-content:center;
  text-decoration:none;
  line-height:1;
  padding:6px 0;
}
.site-title{
  display:block;
  color:#fff;
  font-weight:700;
  line-height:1.06;
  letter-spacing:0;
}
.site-title-top{
  display:block;
  font-size:19px;
  margin:0 0 8px 0;
  white-space:nowrap;
}
.site-title-bottom{
  display:block;
  font-size:26px;
  margin:0;
  white-space:nowrap;
}
.brand small{
  display:block;
  margin-top:8px;
  color:#fff0a8;
  font-size:11px;
  font-weight:600;
  line-height:1.15;
  white-space:nowrap;
}
.nav{
  align-items:center;
}
.nav a{
  line-height:1.2;
}

@media (max-width: 959px){
  .header-inner{
    min-height:74px;
  }
  .site-title-top{
    font-size:16px;
    margin-bottom:6px;
  }
  .site-title-bottom{
    font-size:23px;
  }
  .brand small{
    margin-top:6px;
    font-size:10px;
  }
}

@media (max-width: 700px){
  .header-inner{
    min-height:68px;
  }
  .site-title-top{
    font-size:14px;
    margin-bottom:5px;
  }
  .site-title-bottom{
    font-size:20px;
  }
  .brand small{
    margin-top:5px;
    font-size:9px;
    white-space:normal;
  }
}


/* Top page title: keep first phrase on one line */
.nowrap-title{white-space:nowrap;display:inline-block}
@media(max-width:600px){.home-section.career .nowrap-title{font-size:0.92em}}


/* Employment color rhythm adjusted to match about page */


/* Career color rhythm adjusted to match about page */


/* Top hero fade-in */
.hero-kicker,
.hero-copy{
  opacity:0;
  animation:heroFadeIn 3s ease forwards;
}
.hero-copy{
  animation-delay:.15s;
}
@keyframes heroFadeIn{
  from{opacity:0;}
  to{opacity:1;}
}
@media (prefers-reduced-motion: reduce){
  .hero-kicker,.hero-copy{
    opacity:1;
    animation:none;
  }
}

/* Footer menu: vertical single-column layout */
.footer-nav{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:flex-start;
  gap:0;
}
.footer-nav a{
  display:block;
  margin:0 0 18px 0;
  padding:0;
  font-weight:600;
  line-height:1.4;
}
.footer-nav a:last-child{margin-bottom:0}


/* v10: match current WordPress header height */
@media(min-width:960px){
  .header-inner{min-height:100px;}
}

/* v10: newsletter intro text should be black */
.newsletter-intro p{color:#14171c;}


/* ===== v16: usability / mobile / accessibility improvements ===== */
.skip-link{
  position:fixed;left:12px;top:8px;z-index:9999;
  transform:translateY(-150%);
  background:#fff;color:#14171c;border:2px solid var(--orange);
  padding:10px 14px;font-weight:700
}
.skip-link:focus{transform:translateY(0)}

/* Clearly visible keyboard focus without changing the normal design */
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible{
  outline:3px solid var(--orange);
  outline-offset:3px
}

/* Comfortable touch targets */
.btn,.contact-submit,.newsletter-download,.menu-btn{
  min-height:48px;
  display:inline-flex;
  align-items:center;
  justify-content:center
}

/* Common CTA while retaining the existing visual language */
.page-cta{
  background:#f7f7f7;
  padding:46px 0
}
.page-cta-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px
}
.page-cta p{
  margin:0;
  font-size:19px;
  line-height:1.7;
  font-weight:600
}
.page-cta-btn{flex:0 0 auto}

/* Easier-to-use forms */
.contact-form input[type="text"],
.contact-form input[type="email"]{min-height:48px}
.contact-form textarea{line-height:1.65}

/* Mobile-accessible phone/email links */
.footer-address a,.contact-info-item a{text-decoration:none}
.footer-address a:hover,.contact-info-item a:hover{text-decoration:underline}

@media(max-width:959px){
  .menu-btn{min-width:88px}
  .nav a{width:100%;min-height:44px;display:flex;align-items:center}
  .page-cta-inner{align-items:flex-start}
}

@media(max-width:700px){
  body{font-size:16px;line-height:1.75}
  .wrap,.container{width:calc(100% - 32px)}

  /* Keep the current design but reduce excessive vertical whitespace */
  .home-section{padding:48px 0}
  .about-top-space,.gh-top-space,.emp-schedule-top{height:44px}
  .about-bottom-space,.gh-bottom-space,.emp-schedule-bottom{height:28px}

  .home-copy h1{font-size:36px;line-height:1.25}
  .home-copy h2,.home-section.career .home-copy h2{font-size:29px;line-height:1.35}
  .home-copy p{font-size:16px;line-height:1.75}

  .about-title-cover h1,.gh-title-cover h1,.emp-title-cover h1,
  .career-title-cover h1,.newsletter-title-cover h1,.contact-title-cover h1{
    font-size:36px;line-height:1.3
  }
  .about-cover h2,.gh-intro-cover h2,.gh-detail-section h2,
  .emp-copy h2,.emp-schedule h2,.career-intro h2,.career-copy h2,
  .career-workplace h2,.contact-form-cover h2{
    font-size:28px;line-height:1.4
  }

  .about-text-block p,.about-policy-copy p,.about-history-list p,
  .gh-intro-copy p,.emp-copy p,.career-copy p,.career-workplace p{
    font-size:16px;line-height:1.8
  }

  .company-row,.emp-schedule-row{padding:16px 0}
  .company-key,.emp-schedule-key{margin-bottom:6px}
  .company-value,.emp-schedule-value{line-height:1.8}

  .newsletter-card{padding:16px 14px}
  .newsletter-download{min-height:44px;padding:10px 14px}

  .contact-info-item p{font-size:16px}
  .contact-form input[type="text"],.contact-form input[type="email"],.contact-form textarea{
    font-size:16px
  }

  .page-cta{padding:38px 0}
  .page-cta-inner{display:block}
  .page-cta p{font-size:17px;margin-bottom:20px}
  .page-cta-btn{width:100%;min-height:50px}

  .footer-top{padding:34px 0}
  .footer-nav a{min-height:44px;display:flex;align-items:center;margin-bottom:4px}
  .footer-address h4{line-height:1.6}
}


/* Top hero: Japanese kaisho-style typeface */
.hero-kicker{
  font-family:"HG正楷書体-PRO","HGP正楷書体-PRO","HG正楷書体","Yu Mincho","Hiragino Mincho ProN","BIZ UDPMincho",serif;
  font-weight:400;
}


/* About page Oubaitouri: kaisho style */
.about-oubaitouri{font-family:"HG正楷書体-PRO","HGP正楷書体-PRO","Yu Mincho","Hiragino Mincho ProN","MS PMincho",serif;}

/* ===== v22: smartphone readability improvements ===== */
@media (max-width:600px){
  /* PC向けの文章内強制改行をスマホでは解除し、画面幅で自然改行 */
  .home-copy p br,
  .about-text-block p br,
  .about-policy-copy p br,
  .access-note br,
  .gh-intro-copy p br,
  .gh-card p br,
  .emp-copy p br,
  .career-intro-copy p br,
  .career-copy p br,
  .career-workplace p br,
  .newsletter-intro p br,
  .contact-form-cover h2 br{
    display:none;
  }

  /* トップページの長い見出しを画面幅に合わせる */
  .home-copy h1{
    font-size:clamp(30px,9vw,39px);
    line-height:1.3;
  }
  .home-copy h2,
  .home-section.career .home-copy h2{
    font-size:clamp(25px,7.4vw,30px);
    line-height:1.38;
    word-break:keep-all;
    overflow-wrap:anywhere;
  }
  .home-section.career .nowrap-title{
    white-space:normal;
    display:inline;
    font-size:1em;
  }

  /* ページタイトルは長さに応じて無理のないサイズへ */
  .about-title-cover h1,
  .gh-title-cover h1,
  .emp-title-cover h1,
  .career-title-cover h1,
  .newsletter-title-cover h1,
  .contact-title-cover h1{
    font-size:clamp(28px,8vw,38px);
    line-height:1.25;
    word-break:keep-all;
    overflow-wrap:anywhere;
  }

  /* 桜梅桃李は1行を維持しつつ画面内に収める */
  .hero-kicker{
    white-space:nowrap;
    font-size:clamp(42px,14vw,72px);
    line-height:1.2;
  }
  .about-oubaitouri{
    white-space:nowrap;
    font-size:clamp(34px,11vw,42px);
  }

  /* 本文を少し読みやすく */
  .home-copy p,
  .about-text-block p,
  .about-policy-copy p,
  .gh-intro-copy p,
  .gh-card p,
  .emp-copy p,
  .career-copy p,
  .career-workplace p,
  .newsletter-intro p,
  .contact-info-item p{
    line-height:1.85;
  }

  /* 左右の余白を少し確保 */
  .wrap,.container{
    width:calc(100% - 36px);
  }

  /* 表形式はスマホで見出しと内容を縦積み */
  .company-row,
  .emp-schedule-row{
    grid-template-columns:1fr;
  }
  .company-key,
  .emp-schedule-key{
    margin-bottom:8px;
  }

  /* CTA・ボタンは押しやすく */
  .btn,.contact-submit,.newsletter-download,.newsletter-period-btn{
    min-height:44px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    box-sizing:border-box;
  }

  /* 画像は画面幅を超えない */
  img,iframe{
    max-width:100%;
  }
}

/* ===== v23: cross-device / cross-browser normalization ===== */
html{
  -webkit-text-size-adjust:100%;
  text-size-adjust:100%;
  -webkit-tap-highlight-color:transparent;
}
body{
  font-family:"Noto Sans JP","Yu Gothic","Hiragino Kaku Gothic ProN",Meiryo,sans-serif;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  overflow-x:hidden;
}
*,*::before,*::after{box-sizing:border-box}
img,svg,video,canvas{max-width:100%;height:auto}
img{display:block}
button,input,textarea,select{
  font:inherit;
  letter-spacing:inherit;
}
button,input[type="submit"],input[type="button"],.btn,.newsletter-download,.newsletter-period-btn{
  -webkit-appearance:none;
  appearance:none;
  touch-action:manipulation;
}
input,textarea{min-width:0}

/* Japanese line breaking rules should be consistent across engines */
h1,h2,h3,h4,p,li,dt,dd,figcaption,.company-value,.emp-schedule-value{
  line-break:strict;
  word-break:normal;
  overflow-wrap:break-word;
}
h1,h2,h3{font-synthesis:none}

/* Use the same kaisho-style webfont instead of depending on fonts installed on each device */
.hero-kicker,.about-oubaitouri{
  font-family:"Yuji Syuku","Yu Mincho","Hiragino Mincho ProN",serif;
  font-synthesis:none;
}

/* Safe areas on iPhone with a notch / Dynamic Island */
.site-header,.site-footer{
  padding-left:env(safe-area-inset-left,0px);
  padding-right:env(safe-area-inset-right,0px);
}

/* Keep browser-specific default spacing from shifting layouts */
figure{max-width:100%}
table{table-layout:fixed}
iframe{border:0;display:block;max-width:100%}

/* One smartphone breakpoint covers common iPhone/Android widths, portrait and narrow landscape */
@media(max-width:767px){
  .wrap,.container{width:calc(100% - 32px);max-width:none}

  /* Do not preserve desktop manual line breaks on phones */
  .home-copy p br,
  .about-text-block p br,
  .about-policy-copy p br,
  .access-note br,
  .gh-intro-copy p br,
  .gh-card p br,
  .emp-copy p br,
  .career-intro-copy p br,
  .career-copy p br,
  .career-workplace p br,
  .newsletter-intro p br,
  .contact-form-cover h2 br{
    display:none
  }

  body{font-size:16px;line-height:1.8}

  .site-header{position:relative;z-index:50}
  .header-inner{min-height:76px;gap:12px}
  .brand{min-width:0;white-space:normal}
  .site-title-top{font-size:13px;white-space:nowrap}
  .site-title-bottom{font-size:20px;white-space:nowrap}
  .brand small{font-size:9px;white-space:nowrap}
  .menu-btn{flex:0 0 auto;min-width:78px;min-height:44px;padding:8px 12px}
  .nav{top:76px;max-height:calc(100dvh - 76px);overflow-y:auto;-webkit-overflow-scrolling:touch}

  .hero{min-height:520px;background-attachment:scroll}
  .hero-inner{padding-top:58px}
  .hero-kicker{font-size:clamp(42px,13.2vw,70px);white-space:nowrap;letter-spacing:.02em}
  .hero-copy{font-size:clamp(17px,4.8vw,21px);line-height:1.75;padding:0 4px}
  .hero-spacer{height:42px}

  .home-row,.about-two-columns,.gh-intro-columns,.career-intro-row,.career-row{
    display:block
  }
  .home-copy,.home-media,.about-policy-copy,.about-policy-photo,.gh-intro-copy,.gh-main-photo,.career-copy,.career-image{
    width:100%;max-width:100%
  }

  .home-copy h1{font-size:clamp(30px,8.8vw,36px);line-height:1.3}
  .home-copy h2,.home-section.career .home-copy h2{font-size:clamp(25px,7.2vw,30px);line-height:1.4}
  .home-section.career .nowrap-title{white-space:normal;display:inline;font-size:1em}
  .home-copy p{font-size:16px;line-height:1.85}
  .home-media{margin-top:26px}

  .about-title-cover h1,.gh-title-cover h1,.emp-title-cover h1,
  .career-title-cover h1,.newsletter-title-cover h1,.contact-title-cover h1{
    font-size:clamp(28px,8vw,36px);
    line-height:1.3;
    text-wrap:balance
  }

  .about-cover h2,.gh-intro-cover h2,.gh-detail-section h2,
  .emp-copy h2,.emp-schedule h2,.career-intro h2,.career-copy h2,
  .career-workplace h2,.contact-form-cover h2{
    font-size:clamp(25px,7vw,29px);
    line-height:1.4;
    text-wrap:balance
  }

  .about-oubaitouri{font-size:clamp(34px,10.8vw,42px);white-space:nowrap}

  .about-policy-photo,.gh-main-photo,.career-image,.career-intro-image{margin-top:26px}
  .gh-card-grid,.newsletter-card-grid,.contact-info-grid{grid-template-columns:1fr}

  .company-row,.emp-schedule-row{grid-template-columns:1fr}
  .company-map-row iframe{width:100%;height:min(72vw,360px)}

  .newsletter-card{width:100%;min-width:0}
  .newsletter-card-main{min-width:0;flex:1}
  .newsletter-meta h3{white-space:normal}
  .newsletter-small{white-space:normal}

  .contact-form input[type="text"],.contact-form input[type="email"],.contact-form textarea{
    width:100%;font-size:16px;border-radius:0
  }

  .btn,.contact-submit,.newsletter-download,.newsletter-period-btn{
    min-height:48px
  }
}

/* Short landscape phones: reduce the oversized hero without changing desktop/tablet */
@media(max-width:900px) and (orientation:landscape) and (max-height:520px){
  .hero{min-height:430px}
  .hero-inner{padding-top:35px}
  .hero-spacer{height:26px}
  .hero-kicker{font-size:clamp(44px,10vw,72px)}
}
