@charset "UTF-8";
/*
Theme Name: わかば商事株式会社
Based on: light_plan2024 theme
*/

*{
  box-sizing: border-box;
}
html,
body{
  font-family: "Noto Sans JP", sans-serif;
  margin: 0;
  padding: 0;
  color:#333;
}
body{
  display:flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: space-between;
  min-height: 100vh;
  background-color: #fffef7;
}
.contents{
  flex-grow:1;
}

/*********************ヘッダー*/
.menu-trigger{
  display: none;
  width: 68px;
  height: 68px;
  position: fixed;
  top: 20px;
  right: 12px;
  z-index: 99;
  border-radius: 4px;
  opacity: 0.85;
}
.menu-trigger span {
  position: absolute;
  left: 18px;
  width: 34px;
  height: 3px;
  display: inline-block;
  transition: all .4s;
  background-color: #ababab;
  border-radius: 4px;
}
.menu-trigger span:nth-of-type(1) {
  top: 21px;
}
.menu-trigger span:nth-of-type(2) {
  top: 32px;
}
.menu-trigger span:nth-of-type(3) {
  bottom: 20px;
}
.menu-trigger.active span:nth-of-type(1),
.menu-trigger.active span:nth-of-type(3) {
  width: 36px;
}
.menu-trigger.active span:nth-of-type(2) {
  opacity: 0;
}
.menu-trigger.active span:nth-of-type(1) {
  -webkit-transform: translate(-1px,12px) rotate(-45deg);
  transform: translate(-1px,12px) rotate(-45deg);
}
.menu-trigger.active span:nth-of-type(3) {
  -webkit-transform: translate(-1px,-12px) rotate(45deg);
  transform: translate(-1px,-12px) rotate(45deg);
}

body>header{
  background: rgb(229,229,229);
  background: linear-gradient(0deg, rgba(255,255,255,1) 0%, rgba(229,229,229,1) 100%);
  display: grid;
  grid-template-columns: 282px 138px auto;
  color: #656565;
  padding: 25px 3%;
  border-bottom: 15px solid #97bc62;
}
p.catchcopy{
  grid-row: 1;
  grid-column: 3;
  text-align: right;
  font-size: 13px;
  margin: 0;
}
header .tel{
  grid-row: 1;
  grid-column: 2;
  font-size: 16px;
  margin: 0;
  text-decoration: none;
  color:inherit;
}
header .fax{
  grid-row: 1;
  grid-column: 3;
  font-size: 16px;
  margin: 0 0 0 10px;
  text-decoration: none;
  color:inherit;
}
body>header>address{
  font-style: normal;
  font-size: 15px;
  margin: 0;
}
.logo_area{
  grid-column: 1/2;
  height: 68px;
  text-indent: 100%;
  white-space: nowrap;
  overflow:hidden;
  background:url(/wp-content/themes/light_plan2024/img/logo_pc.png);
  background-size:contain;
  background-repeat:no-repeat;
  margin: 19px 0 0;
}
.logo_area a{
  display:block;
  width:100%;
  height:100%;
}
.logo-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #2c5f2d, #97bc62);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #fff;
  font-weight: bold;
  flex-shrink: 0;
}
.logo-text h1 {
  font-size: 22px;
  font-weight: 700;
  color: #2c5f2d;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  margin: 0;
  line-height: 1.3;
}
.logo-text p {
  font-size: 12px;
  color: #666;
  margin: 2px 0 0 0;
}

body>header>nav{
  position: relative;
  right: 0;
  grid-column: 2/4;
}
body>header>nav ul{
  list-style:none;
  display:flex;
  justify-content: space-between;
  width: 98%;
  max-width: 779px;
  margin: 20px 0 0 0;
  padding: 0;
  position: absolute;
  right: 0;
  align-items: flex-end;
}
body>header>nav ul a{
  color:#414141;
  text-decoration:none;
  font-weight:500;
  font-size: 14px;
  display: block;
  padding: 13px 7%;
  width: 99px;
  text-align: center;
  position: relative;
  box-sizing: border-box;
}
body>header>nav ul a:hover{
  color:#000;
}
body>header>nav ul a:before{
  content:"";
  display:block;
  background:#2b2b2b;
  width: 100%;
  height:3px;
  position: absolute;
  bottom: 0;
  left: 0;
}
body>header>nav ul a:after{
  content:"";
  display:block;
  background:#2c5f2d;
  width: 0%;
  height:3px;
  position: absolute;
  bottom: 0;
  left: 0;
  transition:width .3s;
}
body>header>nav ul a.current:before{
  background:#97bc62;
}
body>header>nav ul a:hover:after{
  width: 100%;
  transition:width .3s;
}
body>header>nav ul li.tworows a{
  font-size: 68%;
  letter-spacing: 0;
  padding-bottom: 7px;
}
body>header>nav ul li:last-child a{
    font-size: 68%;
    letter-spacing: 0;
    padding-bottom: 7px;
}
.slide-content-text{
  height: 100%;
  width: 100%;
}
.swiper h2{
  width: 100%;
  height: max-content;
  margin: 0;
  padding: 0;
  top: calc(50% - 1.5em);
  font-size: 5vw;
  text-shadow: 1px 1px 9px black;
  color:white;
}
.swiper h2:before{
  display:none;
}
@media (max-width: 1100px) {
  body>header{
    grid-template-columns: 241px 108px auto;
  }
  p.catchcopy{
    font-size: 12px;
  }
  header .tel,header .fax{
    font-size: 13px;
  }

  body>header>address{
    font-size: 13px;
  }
  .logo_area{
    height: 60px;
  }
  body>header>nav ul{
    max-width: 580px;
  }
  body>header>nav ul a{
    font-size: 13px;
    padding: 13px 5px;
    width: max-content;
  }
}
@media (max-width: 840px) {
  body>header{
    display:block;
    padding: 19px 12px 19px 24px;
  }
  p.catchcopy{
    text-align:left;
  }
  .logo_area{
    margin: 13px 0 0 7px;
    max-width: 275px;
  }
  body>header>nav ul{
    max-width: 580px;
  }
  body>header>nav ul a{
    font-size: 13px;
    padding: 13px 5px;
    width: max-content;
  }
  .menu-trigger{
    display: block;
  }
  header .tel,header .fax,body>header>address{
    display: none;
  }
  body>header>nav{
    position:fixed;
    top:0;
    right: -295px;
    width: 295px;
    max-width: 95%;
    height: 100vh;
    background: white;
    padding: 80px 0 0;
    z-index: 98;
    box-shadow: 0 0 20px #a0a0a0;
    transition:right .3s ease;
  }
  body>header>nav.active{
    right: 0px;
    transition:right .3s ease;
  }
  body>header>nav ul{
    justify-content: normal;
    width: 71%;
    max-width: unset;
    margin: 0 auto;
    position: relative;
    right: unset;
    flex-direction: column;
  }
  body>header>nav ul a{
    padding: 25px 0 12px;
    width: 100%;
  }
  body>header>nav ul li:last-child a{
    font-size:13px;
  }
  body>header>nav ul li:last-child a br{
    display:none;
  }
  body>header>nav ul li{
    width:100%;
  }
}

@media (max-width: 460px) {
  body>header{
    padding: 12px;
  }
  p.catchcopy{
    font-size:9px;
  }
  .logo_area{
    margin: 8px 0 0 7px;
  }
  .menu-trigger{
    display: block;
    top: 6px;
    right: 0;
  }
}

/*********************フッター*/
footer{
  background:#f4f4f4;
  padding: 0 3%;
  border-bottom: 15px solid #97bc62;
}
footer .inner{
  width:100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 2em 0;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
}
.footer-left{
  margin-right: 1em;
}
footer h5{
  font-size: 21px;
  margin: 0 0 10px;
}
footer address{
  font-style: normal;
}
footer .tel{
  margin-right: 1em;
  flex: fit-content 0 0;
}
footer .fax{
  flex: fit-content 5 0;
  margin: 0 1em 0 0;
  pointer-events: none;
}
footer a{
  text-decoration:none;
  color:inherit;
}
footer .icon{
  font-size:12px;
  margin-left:30px;
}
footer .icon:hover{
  opacity:0.8;
  position:relative;
  top:1px;
  left:1px;
}
footer .icon:before,
footer .tel:before{
  content:"";
  display:block;
  width: 26px;
  height: 30px;
  background-repeat:no-repeat;
  background-size:contain;
  background-position: center;
  margin:0 auto;
}
footer .tel:before{
  display:none;
}
footer .bt-access:before{
  background-image:url(/wp-content/themes/light_plan2024/img/icon_pin.svg);
}
footer .bt-x:before{
  background-image:url(/wp-content/themes/light_plan2024/img/x_logo.svg);
}
footer .bt-ig:before{
  background-image:url(/wp-content/themes/light_plan2024/img/ig_logo.svg);
}
@media (max-width: 840px) {
  footer{
    padding: 0 3% 50px;
    border: none;
  }
  footer .inner{
    width:100%;
    display: block;
    padding: 2em 0 30px;
  }
  .footer-left{
    margin-right: 0;
    margin-bottom: 1em;
  }
  footer h5{
    text-align: center;
    margin: 0 0 20px;
  }
  footer address{
    text-align: center;
  }
  footer .tel{
    margin-right: 0;
    position: fixed;
    bottom: env(safe-area-inset-bottom);
    left: 0;
    width: 60%;
    height: 50px;
    background-color: black;
    color: white;
    text-align: center;
    padding: 12px 0 0 41px;
  }
  footer .fax{
    text-align: center;
    display: block;
    margin: 0;
  }
  footer .icon{
    position: fixed;
    bottom: env(safe-area-inset-bottom);
    height: 50px;
    width: 20%;
    color:white;
    text-align:center;
    padding: 8px;
    font-size: 8px;
  }
 footer .icon:hover{
  opacity: unset;
  position: fixed;
  top: unset;
  left: unset;
  }
  footer .icon:before{
    height: 22px;
    margin-bottom: 3px;
    filter: brightness(100.0);
  }
  footer .bt-access{
    background-color:#6e6e6e;
    /*ボタンが１つの時*/
    right:0;width: 40%;
    /*ボタンが２つの時*/
    /*right:20%;width: 20%;*/
  }
  footer .bt-ig,
  footer .bt-x{
    background-color:#393939;
    right:0;
  }
  footer .tel:before{
    display:block;
    width: 22px;
    height: 29px;
    position: absolute;
    left: 11px;
    top: 11px;
    background-image: url(/prod/wp-content/themes/light_plan2024/img/icon_tel.svg);
  }
  footer .tel:after{
    content:"";
    display:block;
    background: black;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 60%;
    height: 50px;
    z-index:-1;
  }
  footer .icon:after{
    content:"";
    display:block;
    background: #393939;
    position: fixed;
    bottom: 0;
    right: 0;
    width: 20%;
    height: 50px;
    z-index:-1;
  }
  footer .bt-access:after{
    background: #6e6e6e;
    right: 20%;
  }
  .grecaptcha-badge{
    bottom: calc(56px + env(safe-area-inset-bottom))  !important;
  }
}

/*********************共通パーツ*/
i,h1,h2,h3{
  font-feature-settings: "palt";
  letter-spacing: 0.02em;
  font-style:normal;
}
img{
  max-width:100%;
}
section{
  overflow:hidden;
  padding: 0 0 90px;
}
section .inner{
  max-width: 1000px;
  margin: 0 auto;
  overflow: hidden;
  padding: 3%;
}
section .fullwidth{
  width:100%;
  margin:0;
  overflow: hidden;
}
section p{
  line-height:2.5;
  margin-bottom:2.5em;
}
.leftbox p:last-child{
  margin-bottom: 0;
}
.text_c{
  text-align:center;
}
section h2{
  text-align:center;
  width: fit-content;
  margin: 90px auto 70px;
  padding: 10px 50px;
  position:relative;
  box-sizing: border-box;
}
section h2:before{
  content:"";
  display:block;
  background:#2b2b2b;
  width: 100%;
  height:3px;
  position: absolute;
  bottom: 0;
  left: 0;
}
section h3{
  margin: 0 0 1.5em 0;
  padding: 10px 14px;
  font-size: 1.4em;
  width: 100%;
  text-align: left;
  border-left: #97bc62 16px solid;
  background: #f4f4f4;
}
section h4{
  width: 100%;
  font-size: 18px;
  margin: 5px 0 18px 0;
  border-bottom: 1px solid #444;
  padding: 0 0 9px 0;
 }
section table{
  width: 100%;
  max-width: 800px;
  margin: 0 auto 2em;
  border-top:1px solid;
  border-left:1px solid;
  border-collapse: collapse;
  line-height: 2;
}
section tbody{
  width:100%;
}
section table th,
section table td{
  border-right: 1px solid !important;
  border-bottom: 1px solid !important;
  padding: 1em !important;
  font-weight:normal;
  font-size:15px;
  border-top: none !important;
  border-left: none !important;
}
section table p{
  font-size: 14px;
  line-height: 2;
  margin: 0 0 1em;
}
section table p:last-child{
  margin: 0;
}

section table,
section table th,
section table td{
  border-color: #e7e7e7 !important;
}
section table th{
  background-color:#f6f6f6;
}

section ol,section ul{
  padding-left: 1.3em;
}
section li{
  margin-bottom: 1em;
}

section table thead{
  border: none !important;
}
.color_box{
  background: #ffe1002e;
  padding: 3%;
  margin-bottom: 110px;
  border-radius: 10px;
}
.col_box .wp-caption{
  width: 100% !important;
  height: -webkit-fill-available;
}
.col_box .wp-caption-text{
  text-align:center;
  position: absolute;
  bottom: 0;
  margin: 0;
  background: #00000082;
  width: 100%;
  color: white;
  padding: 6px;
}
.col_box{
  display:flex;
  flex-wrap:wrap;
  max-width: 930px;
  margin: 0 auto;
  justify-content: space-between;
}
.color_box .col_box{
  margin-bottom: 0 !important;
}
.col4_inner{
  flex: 23% 0 0;
  margin-bottom: 1em;
  aspect-ratio: 4 / 3;
  position: relative;
}
.col3_inner{
  flex: 31% 0 0;
  margin-bottom: 1em;
  aspect-ratio: 4 / 3;
}
.col2_inner{
  flex: 48% 0 0;
  margin-bottom: 1em;
  aspect-ratio: 4 / 3;
}
.col1_inner{
  flex: 100% 0 0;
  margin-bottom: 1em;
}
.img-wrap{
  aspect-ratio: 4 / 3;
}
.img-wrap img{
  width:100%;
  height:100%;
  object-fit: cover;
}
@media (max-width: 660px) {
  .col4_inner{
    flex: 48% 0 0;
  }
  .col3_inner{
    flex: 100% 0 0;
  }
}

.post_list{
  padding:0;
  margin: 0 auto 50px;
  width: 100%;
  max-width: 850px;
  list-style: none;
  border-top:1px solid #e1e1e1;
}
.post_list li{
  border-bottom:1px solid #e1e1e1;
}
.post_list a{
  text-decoration:none;
  color:initial;
  display:flex;
  padding: 30px;
  position:relative;
  transition:background-color .3s;
}
.post_list h4{
  font-weight:normal;
  margin:0;
  padding: 0 32px 0 0;
  line-height: 1.8;
  font-size: 15px;
  border: none;
}
.post_list time{
  flex: 10em 0 0;
}
time span{
  font-size:0.8em;
  margin: 0 1px;
}
.post_list a:after{
  content:"";
  display:block;
  position:absolute;
  top: calc(50% - 3px);
  right: 32px;
  width: 8px;
  height:8px;
  border-right: 1px solid #d7d7d7;
  border-bottom: 1px solid #d7d7d7;
  rotate: -45deg;
  transition:right .3s;
}
.post_list a:hover{
  background-color: #f7f7f7;
  transition:background-color .3s;
}
.post_list a:hover:after{
  right: 23px;
  transition:right .3s;
}
@media (max-width: 840px) {
  section h2 {
    font-size: 18px;
    margin: 10px auto 41px;
  }
  section h2:before {
    height: 2px;
  }
  section h3{
    margin: 1em 0 1.5em 0;
    padding: 7px 10px;
    font-size: 1.1em;
  }
  .post_list a{
    padding: 15px 5%;
    display:block;
  }
  .post_list h4{
    font-size: 14px;
  }
  .post_list time{
    margin-bottom: 10px;
    display: block;
    font-size: 13px;
  }
}
.wp-pagenavi {
  display: flex;
  flex-wrap: wrap;
  margin:0 auto;
  width: max-content;
}
.wp-pagenavi > *{
  background: #ffe100;
  color:white;
  text-decoration:none;
  margin: 0 3px;
  width:auto;
  min-width: 40px;
  height: 40px;
  text-align: center;
  padding:8px 10px;
  border-radius:2px;
}
.wp-pagenavi span{
  background: #b0b0b0;
  color:white;
}
.wp-pagenavi a:hover{
  opacity:0.8;
 }
.wp-pagenavi .previouspostslink,
.wp-pagenavi .nextpostslink{
  padding-top: 7px;
}
.wp-pagenavi .first,
.wp-pagenavi .last{
  font-size:0.8em;
  padding-top: 10px;
}
section ol,section ul{
  padding-left: 1.3em;
}
section li{
  margin-bottom: 1em;
}

/*********************トップページ - Hero Section*/
#top-slider{
  height: auto;
  width: 100%;
  background: linear-gradient(135deg, #2c5f2d 0%, #4a8b4f 100%);
  border-bottom: 15px solid #97bc62;
  padding: 0;
  position: relative;
  overflow: hidden;
}
.hero-section{
  aspect-ratio: 16/ 9;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
      radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
      radial-gradient(circle at 80% 80%, rgba(255,255,255,0.1) 0%, transparent 50%);
  animation: breathe 8s ease-in-out infinite;
}
@keyframes breathe {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}
.hero-content {
  text-align: center;
  color: #fff;
  z-index: 1;
  animation: fadeInUp 1s ease-out;
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.hero-content h2 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}
.hero-content h2:before{
  display: none;
}
.hero-tagline {
  font-size: 20px;
  margin-bottom: 30px;
  font-weight: 300;
}
.hero-details {
  font-size: 16px;
  line-height: 1.8;
}

/*********************トップページ - その他*/
#top-message{
  padding: 90px 0;
}
#top-message .inner, .intro{
  text-align: center;
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
}
#top-message p, .intro p{
  font-size: 16px;
  line-height: 2;
  color: #666;
  margin-bottom: 15px;
}

/* サービスカード */
.services-grid {
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}
.service-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  animation: fadeIn 0.6s ease-out backwards;
}
.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/*.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}*/
.service-image {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, #97bc62, #2c5f2d);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: #fff;
}
.service-content {
  padding: 30px;
}
.service-content h3 {
  font-size: 24px;
  color: #2c5f2d;
  margin-bottom: 15px;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  border: none;
  background: none;
  padding: 0;
}
.service-content p {
  color: #666;
  line-height: 1.8;
  margin-bottom: 0;
}

.nextlink,
#inqu_box .btn{
  display: block;
  width: fit-content;
  min-width: 16em;
  padding: 20px 60px 20px 25px;
  margin:0 auto;
  text-decoration: none;
  color: #ffffff;
  text-align: center;
  font-size: 15px;
  position:relative;
  background-color: #636046;
  box-sizing: border-box;
  transition:filter .3s;
  box-shadow: 2px 2px 0 #ebebeb;
  line-height: normal;
}
.nextlink:after,
#inqu_box .btn:after{
  content:"";
  display:block;
  position:absolute;
  top: calc(50% - 3.5px);
  right: 32px;
  width: 8px;
  height:8px;
  border-right: 1px solid #ffffff;
  border-bottom: 1px solid #ffffff;
  rotate: -45deg;
  transition:right .3s;
}
.nextlink:hover,
#inqu_box .btn:hover{
  filter: brightness(0.9);
  transition:filter .3s;
}
.nextlink:hover:after,
#inqu_box .btn:hover:after{
  right: 20px;
  transition:right .3s;
}
iframe{
  margin-bottom:30px;
}

@media (max-width: 770px) {
  .hero-content h2{
    font-size: 32px;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* ページ固有スタイル */
.page-header {
  background: linear-gradient(135deg, #2c5f2d 0%, #4a8b4f 100%);
  color: #fff;
  padding: 80px 20px 60px;
  text-align: center;
}
.page-header h2 {
  font-size: 42px;
  font-weight: 700;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  margin-bottom: 15px;
}
.page-header h2:before{
  display: none;
}
.page-header p {
  font-size: 18px;
  opacity: 0.9;
  margin: 0;
}
.content-section {
  max-width: 1100px;
  margin: 80px auto;
  padding: 0 20px;
}

.info-table {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  margin-bottom: 50px;
}
.info-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  border-bottom: 1px solid #e0e0e0;
}
.info-row:last-child {
  border-bottom: none;
}
.info-label {
  background-color: #f8f9fa;
  padding: 25px 30px;
  font-weight: 600;
  color: #2c5f2d;
  border-right: 2px solid #fff;
}
.info-value {
  padding: 25px 30px;
  color: #333;
}

/* スタッフカード */
.staff-section {
  margin-top: 80px;
}
.staff-section h3 {
  font-size: 32px;
  color: #2c5f2d;
  margin-bottom: 15px;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  text-align: center;
  border: none;
  background: none;
  padding: 0;
}
.staff-note {
  text-align: center;
  color: #666;
  margin-bottom: 40px;
  font-size: 14px;
}
.staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}
.staff-card {
  background: #fff;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}
/*.staff-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}*/
.staff-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #97bc62, #2c5f2d);
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
}
.staff-name {
  font-size: 20px;
  font-weight: 600;
  color: #2c5f2d;
}
.staff-position {
  font-size: 14px;
  color: #666;
  margin-bottom: 10px;
}
.staff-badge {
  display: inline-block;
  background-color: #97bc62;
  color: #fff;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 11px;
  margin-top: 10px;
}

/* 業務内容ページ用スタイル */
.section-block {
  background: #fff;
  border-radius: 8px;
  padding: 50px;
  margin-bottom: 50px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.section-block ul {
  list-style: none;
  margin: 25px 0;
}
.section-block ul li {
  padding: 15px 0 15px 40px;
  position: relative;
  font-size: 16px;
  line-height: 1.8;
  color: #333;
  border-bottom: 1px solid #e0e0e0;
}
.section-block ul li:last-child {
  border-bottom: none;
}

.declaration-section {
  background: linear-gradient(135deg, rgba(151, 188, 98, 0.1) 0%, rgba(44, 95, 45, 0.05) 100%);
  border-left: 5px solid #2c5f2d;
}
.declaration-items {
  margin-top: 30px;
}
.declaration-item {
  background: #fff;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.declaration-item h4 {
  font-size: 20px;
  color: #2c5f2d;
  margin-bottom: 12px;
  font-weight: 600;
}
.declaration-item p {
  font-size: 15px;
  line-height: 1.9;
  margin-bottom: 0;
}

.metrics-section {
  background: #f8f9fa;
}
.metric-item {
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  border-left: 4px solid #97bc62;
}
.metric-item strong {
  color: #2c5f2d;
  display: block;
  margin-bottom: 8px;
}

.companies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
  margin-top: 30px;
}
/* 768px以下：2列表示に変更 */
@media (max-width: 768px) {
  .companies-grid {
    grid-template-columns: repeat(2, 1fr); /* 1fr → 2列 */
  }
}
/* 400px以下：極端に狭い場合は1列に戻す */
@media (max-width: 400px) {
  .companies-grid {
    grid-template-columns: 1fr;
  }
}
.company-item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60px; /* 必要に応じて調整 */
}
.company-item img{
  max-height: 60px;
  max-width: 200px;
}
/*.company-item:hover {
  background: #2c5f2d;
  color: #fff;
  transform: translateY(-3px);
}*/
.company-category {
  font-size: 14px;
  color: #fff;
  background: #2c5f2d;
  padding: 8px 16px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 20px;
  font-weight: 600;
}

/* お知らせページ */
.news-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 15px;
}
.news-category {
  background-color: #97bc62;
  color: #fff;
  padding: 6px 15px;
  border-radius: 15px;
  font-size: 12px;
  font-weight: 600;
}
.news-content {
  font-size: 15px;
  line-height: 1.9;
  color: #666;
  padding-left: 160px;
}
.featured-news {
  background: linear-gradient(135deg, rgba(151, 188, 98, 0.2) 0%, rgba(44, 95, 45, 0.1) 100%);
  border-left: 5px solid #2c5f2d;
  margin-bottom: 40px;
}
.featured-news .news-date {
  background-color: #4a8b4f;
}
.year-divider {
  text-align: center;
  margin: 60px 0 40px;
  position: relative;
}
.year-divider::before,
.year-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 40%;
  height: 2px;
  background: linear-gradient(to right, transparent, #97bc62);
}
.year-divider::before {
  left: 0;
}
.year-divider::after {
  right: 0;
  background: linear-gradient(to left, transparent, #97bc62);
}
.year-divider span {
  background-color: #2c5f2d;
  color: #fff;
  padding: 10px 30px;
  border-radius: 25px;
  font-size: 18px;
  font-weight: 700;
  font-family: 'Zen Kaku Gothic New', sans-serif;
}

/* 緊急連絡先ページ */
.page-header.emergency {
  background: linear-gradient(135deg, #d32f2f 0%, #b71c1c 100%);
}
.alert-box {
  background: linear-gradient(135deg, rgba(211, 47, 47, 0.1) 0%, rgba(183, 28, 28, 0.05) 100%);
  border-left: 5px solid #d32f2f;
  padding: 30px;
  border-radius: 8px;
  margin-bottom: 50px;
}
.alert-box strong {
  color: #d32f2f;
}
.contact-cards {
  display: grid;
  gap: 30px;
}
.contact-card {
  background: #fff;
  border-radius: 8px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}
.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}
.emergency-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}
.emergency-table thead {
  background-color: #2c5f2d;
  color: #fff;
}
.emergency-table th {
  padding: 15px;
  text-align: left;
  font-weight: 600;
}
.emergency-table td {
  padding: 20px 15px;
  border-bottom: 1px solid #e0e0e0;
}
.emergency-table tbody tr:hover {
  background-color: #f8f9fa;
}
.company-name {
  font-weight: 600;
  color: #333;
}
.phone-number {
  font-size: 18px;
  font-weight: 600;
  color: #d32f2f;
}
.phone-number a {
  color: #d32f2f;
  text-decoration: none;
  transition: color 0.3s;
}
.phone-number a:hover {
  color: #b71c1c;
}
.primary-contact {
  background: linear-gradient(135deg, #2c5f2d 0%, #4a8b4f 100%);
  color: #fff;
  padding: 40px;
  border-radius: 8px;
  text-align: center;
  margin-bottom: 50px;
}
.primary-contact h3 {
  font-size: 28px;
  margin-bottom: 20px;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  border: none;
  background: none;
  padding: 0;
}
.primary-contact .phone {
  font-size: 36px;
  font-weight: 700;
  margin: 20px 0;
  letter-spacing: 2px;
}
.primary-contact .phone a {
  color: #fff;
  text-decoration: none;
}
.primary-contact p {
  font-size: 16px;
  opacity: 0.9;
  margin: 0;
}

/* 経営理念ページ */
.philosophy-card {
  background: #fff;
  border-radius: 8px;
  padding: 50px;
  margin-bottom: 50px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}
/*.philosophy-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}*/
.philosophy-card h3 {
  font-size: 32px;
  color: #2c5f2d;
  margin-bottom: 25px;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  text-align: center;
  padding-bottom: 20px;
  border-bottom: 3px solid #97bc62;
  border-left: none;
  background: none;
}
.philosophy-card p {
  font-size: 17px;
  line-height: 2;
  color: #666;
  text-align: center;
  margin: 0;
}
.philosophy-items {
  display: grid;
  gap: 40px;
  margin-top: 60px;
}
.philosophy-item {
  background: linear-gradient(135deg, rgba(151, 188, 98, 0.1) 0%, rgba(44, 95, 45, 0.05) 100%);
  border-left: 5px solid #2c5f2d;
  padding: 40px;
  border-radius: 8px;
  transition: all 0.3s;
}
.philosophy-item:hover {
  border-left-width: 8px;
  padding-left: 45px;
}
.philosophy-item h4 {
  font-size: 26px;
  color: #2c5f2d;
  margin-bottom: 20px;
  font-family: 'Zen Kaku Gothic New', sans-serif;
}
.philosophy-item p {
  font-size: 16px;
  line-height: 2;
  color: #333;
  text-align: left;
  margin: 0;
}



@media (max-width: 768px) {
  .page-header h2 {
    font-size: 32px;
  }
  .info-row {
    grid-template-columns: 1fr;
  }
  .info-label {
    border-right: none;
    border-bottom: 1px solid #e0e0e0;
  }
  .staff-grid {
    grid-template-columns: 1fr;
  }
  .section-block {
    padding: 30px 20px;
  }

  .news-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .news-content {
    padding-left: 0;
  }
  .year-divider::before,
  .year-divider::after {
    width: 30%;
  }
  .contact-card {
    padding: 25px 20px;
  }
  .emergency-table {
    font-size: 14px;
  }
  .emergency-table th,
  .emergency-table td {
    padding: 12px 10px;
  }
  .primary-contact .phone {
    font-size: 28px;
  }
  .philosophy-card {
    padding: 30px 20px;
  }
  .philosophy-item {
    padding: 30px 20px;
  }
}
@media (max-width: 840px) {
  body.home>header {
    display: flex;
    padding: 19px 0px;
    flex-direction: column;
  }
  .home p.catchcopy {
    text-align: center;
    order:1;
    font-size: 11px;
  }
  .home .logo_area {
    order:2;
    margin: 33px auto 33px;
    width: 80%;
    height: auto;
    aspect-ratio: 50 / 19;
    background-position: center;
    background-image: url(/wp-content/themes/light_plan2024/img/logo_sp.png);
  }
  .home header .tel{
    display: block;
    order:4;
    text-align: center;
    font-size: 20px;
  }
  .home header .fax{
    display: block;
    order:5;
    text-align: center;
    font-size: 20px;
  }
  body.home>header>address {
    display: block;
    order:3;
    text-align: center;
    font-size: 15px;
    margin-bottom: 5px;
  }
  body.home >header>nav{
    right: unset;
    position: relative;
    top: unset;
    box-shadow: unset;
    height: auto;
    background:none;
    padding: 0;
    width: 100%;
    max-width: unset;
    order:5;
    margin: 18px auto;
  }
  body.home>header>nav ul {
    justify-content: space-evenly;
    width: 100%;
    margin: 0 auto;
    flex-direction: initial;
    flex-wrap: wrap;
    max-width: 550px;
  }
  body.home>header>nav li {
    flex: 39% 0 0;
  }
  .home .menu-trigger {
    display: none;
  }
}

.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 業務運営方針ページ固有の追加スタイル */
/* お知らせボックス */
.notice-box {
  background: #fff;
  border-left: 5px solid #97bc62;
  border-radius: 4px;
  padding: 24px 28px;
  margin-bottom: 50px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  font-size: 15px;
  line-height: 2;
}

/* 勧誘方針アイテム */
.policy-item {
  background: #fff;
  border-radius: 8px;
  padding: 40px 50px;
  margin-bottom: 30px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.policy-item-header {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 24px;
}
.policy-number {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #2c5f2d, #4a8b4f);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  flex-shrink: 0;
  margin-top: 2px;
}
.policy-item-header h3 {
  font-size: 1.15em;
  color: #2c5f2d;
  margin: 0;
  padding: 8px 14px;
  border-left: #97bc62 16px solid;
  background: #f4f4f4;
  flex: 1;
  font-feature-settings: "palt";
  letter-spacing: 0.02em;
}
.policy-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
}
.policy-bullets li {
  padding: 14px 0 14px 32px;
  position: relative;
  font-size: 15px;
  line-height: 1.9;
  color: #333;
  border-bottom: 1px solid #e0e0e0;
  margin-bottom: 0;
}
.policy-bullets li:last-child {
  border-bottom: none;
}
.policy-bullets li::before {
  content: "●";
  position: absolute;
  left: 0;
  top: 16px;
  color: #97bc62;
  font-size: 12px;
}

/* プライバシー注記 */
.privacy-note {
  background: linear-gradient(135deg, rgba(151,188,98,0.1) 0%, rgba(44,95,45,0.05) 100%);
  border-left: 5px solid #2c5f2d;
  border-radius: 4px;
  padding: 24px 28px;
  font-size: 15px;
  line-height: 2;
  color: #333;
  margin-top: 10px;
}

@media (max-width: 840px) {
  .policy-item {
    padding: 25px 20px;
  }
  .policy-item-header {
    gap: 12px;
  }
  .policy-item-header h3 {
    font-size: 1em;
    padding: 7px 10px;
  }
  .policy-bullets li {
    font-size: 14px;
  }
  .notice-box {
    padding: 18px 16px;
    font-size: 14px;
  }
  .privacy-note {
    padding: 18px 16px;
    font-size: 14px;
  }
}