.pc {
  display: block;
}
@media (max-width: 1048px) {
  .pc {
    display: none;
  }
}

.sp {
  display: none;
}
@media (max-width: 768px) {
  .sp {
    display: block;
  }
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  background-color: #f9f9f9;
  color: #303133;
  font-size: 18px;
  line-height: 1.6;
	 overflow-x: hidden;
}

.inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.spacetop{
	margin-top:30px;
}

h3{
	color:#333 !important;
	font-weight:normal;
}

.button-55 {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 350px;
    margin: 0 auto;
    padding: .9em 1em;
    border: none;
    border-radius: 5px;
    background-color: #84D04C;
    color: #333;
    font-weight: 600;
    font-size: 0.9em;
	margin-bottom:20px;
}

.button-55::after {
    width: 1.25em;
    height: 1.25em;
    margin-left: 8px;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10 6V8H5V19H16V14H18V20C18 20.5523 17.5523 21 17 21H4C3.44772 21 3 20.5523 3 20V7C3 6.44772 3.44772 6 4 6H10ZM21 3V11H19L18.9999 6.413L11.2071 14.2071L9.79289 12.7929L17.5849 5H13V3H21Z' fill='%23333'%3E%3C/path%3E%3C/svg%3E");

    content: '';
}

.button-55:hover {
    background-color: #69D32B;
}

.single .entry-header {
  margin-bottom: 1.5em;
}
.single .entry-title {
  font-size: 2em;
  padding-top: 100px;
}
.single .entry-meta {
  font-size: 0.9em;
  color: #777;
  margin-bottom: 1.5em;
}
.single .entry-content {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  padding: 80px 0;
}
.single .entry-content p {
  margin-bottom: 1em;
  line-height: 1.7;
}
.single .entry-content h2,
.single .entry-content h3,
.single .entry-content h4 {
  margin-top: 1.5em;
  margin-bottom: 0.5em;
  line-height: 1.3;
}
.single .entry-content h2 {
  font-size: 1.8em;
  border-bottom: 2px solid #eee;
  padding-bottom: 0.3em;
}
.single .entry-content h3 {
  font-size: 1.5em;
  border-bottom: 1px solid #eee;
  padding-bottom: 0.2em;
}
.single .entry-content h4 {
  font-size: 1.2em;
}
.single .entry-content strong {
  font-weight: bold;
}
.single .entry-content em {
  font-style: italic;
}
.single .entry-content a {
  color: #007bff;
  text-decoration: none;
}
.single .entry-content a:hover {
  text-decoration: underline;
}
.single .entry-content ul,
.single .entry-content ol {
  margin-bottom: 1em;
  padding-left: 1.5em;
}
.single .entry-content ul li,
.single .entry-content ol li {
  margin-bottom: 0.5em;
}
.single .entry-content ul {
  list-style: disc;
}
.single .entry-content ul ul {
  list-style: circle;
  margin-top: 0.5em;
}
.single .entry-content ol {
  list-style: decimal;
}
.single .entry-content ol ol {
  list-style: lower-alpha;
  margin-top: 0.5em;
}
.single .entry-content blockquote {
  margin: 1em 0;
  padding: 0.5em 1em;
  border-left: 5px solid #eee;
  background-color: #f9f9f9;
}
.single .entry-content blockquote p {
  margin-bottom: 0;
}
.single .entry-content code {
  font-family: monospace;
  background-color: #f0f0f0;
  padding: 0.2em 0.4em;
  border-radius: 3px;
  font-size: 0.9em;
}
.single .entry-content pre {
  background-color: #f8f8f8;
  border: 1px solid #ddd;
  padding: 1em;
  overflow-x: auto;
  border-radius: 4px;
}
.single .entry-content pre code {
  background-color: transparent;
  padding: 0;
  border-radius: 0;
  font-size: inherit;
}
.single .entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1em;
}
.single .entry-content table th,
.single .entry-content table td {
  border: 1px solid #ddd;
  padding: 0.5em;
  text-align: left;
}
.single .entry-content table th {
  background-color: #f2f2f2;
}
.single .entry-content img {
  max-width: 100%;
  height: auto;
  margin-bottom: 1em;
  display: block;
}
.single .entry-content hr {
  border: 0;
  border-top: 1px solid #eee;
  margin: 2em 0;
}
.single .entry-content .custom-html-class {
  margin-bottom: 1em;
}
.single .post-navigation {
  margin-top: 2em;
  border-top: 1px solid #eee;
  padding-top: 1.5em;
}
.single .post-navigation .nav-links {
  display: flex;
  justify-content: space-between;
}
.single .post-navigation .nav-previous,
.single .post-navigation .nav-next {
  width: 48%;
}
.single .post-navigation .nav-title {
  font-weight: bold;
}

.archive .page-header {
  margin-bottom: 2em;
  padding-bottom: 1em;
  border-bottom: 1px solid #eee;
}
.archive .page-title {
  font-size: 1.8em;
}
.archive .archive-description {
  font-size: 1em;
  color: #555;
  margin-top: 0.5em;
}
.archive .post,
.archive .page {
  border-bottom: 1px dotted #ddd;
}
.archive .post:last-child,
.archive .page:last-child {
  border-bottom: none;
  margin-bottom: 0;
}
.archive .post .entry-title,
.archive .page .entry-title {
  font-size: 1.5em;
  margin-bottom: 0.25em;
}
.archive .post .entry-title a,
.archive .page .entry-title a {
  text-decoration: none;
}
.archive .post .entry-title a:hover,
.archive .page .entry-title a:hover {
  text-decoration: underline;
}
.archive .post .entry-summary,
.archive .post .entry-content,
.archive .page .entry-summary,
.archive .page .entry-content {
  font-size: 1em;
}

.comments-area {
  margin-top: 2em;
  border-top: 1px solid #eee;
  padding-top: 1.5em;
}
.comments-area .comment-list {
  list-style: none;
  padding: 0;
}
.comments-area .comment {
  margin-bottom: 1em;
  padding-bottom: 1em;
  border-bottom: 1px dotted #ddd;
}
.comments-area .comment:last-child {
  border-bottom: none;
}
.comments-area .comment-author {
  font-weight: bold;
}
.comments-area .comment-meta {
  font-size: 0.9em;
  color: #777;
}

/*# sourceMappingURL=style.css.map */

.business{
	padding: 100px 0 100px;
}

@media ( max-width: 1048px ) {
	.business{
		padding: 100px 0 100px;
	}	
}

/*service-page*/

.service__image{
	max-height: 100vh;	
    width: 90vw;
    margin-left: auto;
	position: relative;
}


@media ( max-width: 1048px ) {
	.service__image{
		width: 95vw;
	}
}

.service__image:after{
    content: "";
    width: calc(100% + 260px);
    height: calc(50% + 100px);
    display: block;
    background: #006027;
    position: absolute;
    top: -100px;
    left: -260px;
    z-index: -1;
}

.service__image img{
	width: 100%;
	height: 100%;
	object-fit:cover;
	vertical-align:middle;
}

.business .inner{
	
	background-repeat: repeat;
    background-position: center center;	
	background-color: #edfae5;
	max-width: 90vw;
	padding-top: 80px;
    margin-right: 0;	
	background-size: contain;	
}


@media ( max-width: 1048px ) {
	.business .inner{
		max-width: 95vw;
	}	
}

.business .business__items{
	padding: 80px 0;
    display: flex;
    flex-direction: column;
    gap: 80px;	
}

@media ( max-width: 1048px ) {
	.business .business__items{
		padding: 40px 0;
		gap: 40px;
	}
}

.business .business__items .business__item{
	display: flex;
	align-items:center;
}

@media ( max-width: 1048px ) {
	.business .business__items .business__item{
		flex-direction: column-reverse;
		gap: 40px;
	}
}

.business .business__items .business__item > div{
	flex: 1;
}

.business .business__items .business__item > div.business__item__left{
	padding: 0 80px;	
}

@media ( max-width: 1048px ) {
	.business .business__items .business__item > div.business__item__left{
		padding: 0px;	
	}
}

.business .business__items .business__item > div img{
	max-width: 80%;
	height: auto;
	vertical-align: middle;
}

.business .business__items .business__item > div.business__item__left h3{

    display: flex;
    flex-direction: column;
	margin-bottom:30px;
}

.business .business__items .business__item > div.business__item__left h3 span{
	font-size: 18px;
    color: #006027;	
}

@media ( max-width: 1048px ) {
	.business .business__items .business__item > div.business__item__left h3 span{
		font-size: 15px;
	}	
}

.business .business__items .business__item > div.business__item__left h3 strong{
	font-size: 36px;
}

@media ( max-width: 1048px ) {
	.business .business__items .business__item > div.business__item__left h3 strong{
		font-size: 28px;
	}
}

.business .business__items .business__item > div.business__item__left p{
	line-height:1.8;
	letter-spacing: 0.1em;
}

.strength .inner{
	background: url(/kyouwadoken/wp-content/themes/kyowa-theme/assets/images/intro-background.webp);
	background-repeat: repeat;
    background-position: center center;	
	max-width: 90vw;
	padding-top: 80px;
	padding-bottom: 80px;
    margin-right: 0;	
	background-size: contain;	
}


@media ( max-width: 1048px ) {
	.strength .inner{
		max-width: 95vw;
	}	
}

.strength__item__image {
	height: 240px; /* お好みで調整可能 */
	overflow: hidden;
}

.strength__item__image img {
	width: 100%;
	height: 100%;
	object-fit: cover; /* 中央を維持してトリミング */
	display: block;
}

.strength .strength__items {
  display: flex;
  flex-wrap: wrap;
  gap: 80px;
  margin-top: 80px;
}

.strength .strength__item {
  display: block;
  flex: 1 1 calc((100% - 160px) / 3); /* gap80×2で160px差し引いて3列 */
  text-decoration: none;
  color: inherit;
}

.strength .strength__item__image img {
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.strength .strength__item h3 {
  display: flex;
  flex-direction: column;
  margin-top: 20px;
  margin-bottom: 30px;
}

.strength .strength__item h3 span {
  font-size: 18px;
  color: #006027;
}

.strength .strength__item strong {
  font-size: 25px;
}

.strength .strength__item p {
  font-size: 15px;
  line-height: 1.6;
}

/* レスポンシブ */
@media (max-width: 1048px) {
  .strength .strength__items {
    flex-direction: column;
    gap: 40px;
    margin-top: 40px;
  }

  .strength .strength__item {
    flex: 1 1 100%;
  }

  .strength .strength__item h3 span {
    font-size: 15px;
  }

  .strength .strength__item strong {
    font-size: 28px;
  }
}


.flow{
	background: #d0e2de;
}

.flow .inner{
    background-image: url(/kyouwadoken/wp-content/themes/kyowa-theme/assets/images/intro-background.webp);
    background-repeat: repeat;
    background-position: center center;
    background-color: #f0fffc;
    max-width: 90vw;
    padding-top: 80px;
    margin-right: 0;
	background-size: contain;	
}


@media ( max-width: 1048px ) {
	.flow .inner{
		max-width: 95vw;
	}	
}


.flow .flow__items{
	display: flex;
	margin: 50px 0;
	padding-left: 10%;
	padding-right: 10%;
	position: relative;
}

@media ( max-width: 1048px ) {
	.flow .flow__items{
		padding-left: 0%;
		padding-right: 0%;
	}	
}

.flow .flow__items:last-child{
    margin-bottom: 0;
    padding-bottom: 100px;
}

.flow .flow__items .flow__item{
	display: flex;
	gap: 20px;
}

@media ( max-width: 1048px ) {
	.flow .flow__items .flow__item{
		gap: 10px;
	}
}
	
.flow .flow__items .flow__item > p{
    writing-mode: vertical-lr;
    font-size: 20px;
    font-weight: bold;	
}

.flow .flow__items .flow__item .flow__item__right{
	display: flex;
	background: #fff;
    justify-content: space-between;
	position: relative;
}

@media ( max-width: 1048px ) {
	.flow .flow__items .flow__item .flow__item__right{
		flex-direction: column;
	}
}

.flow .flow__items:not(:last-child) .flow__item .flow__item__right::before{
    content: "";
    position: absolute;
    z-index: 1;
    top: 100px;
    left: 51px;
    display: block;
    width: 0;
    height: calc(100% + 45px);
    border-right: 2px solid #006027;
}

.flow .flow__items .flow__item .flow__item__right .flow__item__right__text{
	width:55%;
	padding: 80px;
}

.flow .flow__items .flow__item .flow__item__right .flow__item__right__text h3{
	font-size: 24px;
	margin-bottom: 30px;
	position: relative;
}

.flow .flow__items .flow__item .flow__item__right .flow__item__right__text h3:before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    width: 24px;
    aspect-ratio: 1;
    border: 8px solid #eaf3f1;
    background: #006027;
    translate: -40px 0.2em;
}

.flow .flow__items .flow__item .flow__item__right .flow__item__right__text p{
	font-size: 14px;
	line-height: 1.8;
}

.flow .flow__items .flow__item .flow__item__right .flow__item__right__image{
	width:45%;	
}

.flow .flow__items .flow__item .flow__item__right .flow__item__right__image img{
	width: 100%;
	height: auto;
	vertical-align:middle;
}

@media ( max-width: 1048px ) {
	.flow .flow__items .flow__item .flow__item__right .flow__item__right__text{
		width: 100%;
	    padding: 20px 20px 20px 60px;
	}
	.flow .flow__items:not(:last-child) .flow__item .flow__item__right::before	{
		content: "";
		position: absolute;
		z-index: 1;
		top: 40px;
		left: 31px;
		display: block;
		width: 0;
		height: calc(100% + 45px);
		border-right: 2px solid #006027;		
	}
	.flow .flow__items .flow__item .flow__item__right .flow__item__right__text h3{
		font-size: 18px;
		margin-bottom: 10px;
	}

	.flow .flow__items .flow__item .flow__item__right .flow__item__right__image {
		width: 100%;
		padding: 0px 20px 20px 60px;
	}	
}


.inquiry{
	width:100%;

}

/* Contact Form7スマホ・タブレット用カスタマイズ */
@media(max-width:850px){
/* テーブルの見出しとフォーム */
table.inquiry th,table.inquiry td {
   display:block;
   padding:1em 0!important;
   width:100%;
   border:0;
}

/* 送信ボタン */
input.wpcf7-submit{
   margin-bottom:30px;
   width:100%;
}
}

/* 日付タグ上のテキストをPCとスマホで変更 */
@media(max-width:900px){
.pcdate{
   display: none;
}
}
@media(min-width:1000px){
.spdate{
   display: none;
}
/* 日付タグの幅を調整 */
.wpcf7-date.dateform{
   width: 25%;
}
}

/* Contact Form7全体カスタマイズ */

/* 自動入力されるPタグを無効にする */
.inquiry p {
   display: inline;
}

/*テーブル下に余白.枠線・テキストの行間 */
table.inquiry {
   margin-bottom: 30px;
   border:solid 1px #d7d7d7;
   line-height:1.2;
   vertical-align:middle;

}

/* テーブルの行 */
.inquiry tr {
   border:0!important;
}

/* テーブルの見出し側 */
.inquiry th{
   text-align:left;
   font-size:14px;
   color:#444;
   padding:1em 0.5em;
   width:0;
   background:#efefef;
   border:solid 1px #d7d7d7;
   white-space: nowrap;
   vertical-align: middle;
}

/* 必須と任意タグ */
.haveto,.any{
   font-size:13px;
   padding:5px;
   background:#ff9393;
   color:#fff;
   border-radius:2px;
   margin-right:5px;
   font-weight:normal;
}

/* 任意タグの背景カラー */
.any{
   background:#93c9ff;
}

/* テーブルフォーム側 */
.inquiry td{
   font-size:13px;
   border:solid 1px #d7d7d7;	
}

/* 入力エリア幅最大 */
.wpcf7-form-control {
   width: 100%;
}

/* フォーム入力欄の余白・背景カラー・枠線消す指定 */
.inquiry input,.inquiry select,.inquiry textarea {
   margin: 5px 0;
   background:#eff1f5;
   border: none;
   padding:0.7em;
}
.inquiry textarea {
   padding-bottom:10em;
}

/* チェックボックスとラジオボタンの位置調整 */
.wpcf7-list-item-label,.wpcf7-checkbox,input[type=checkbox],input[type=radio]{
   vertical-align:middle;
}
.wpcf7-list-item-label{
   padding:0 5px 0 2px;
}
/*ラジオボタンを縦並び指定*/
.verticallist{
   display:inline-grid;
}

/* 送信ボタンのデザイン */
.wpcf7-submit{
   display: block;
   margin:10px auto;
   padding:1em 0;
   width:80%;
   background:#09b555;
   color:#fff;
   font-size:18px;
   font-weight:bold;	 
   border-radius:4px;
   border: none;
}

/* 送信ボタンマウスホバー時 */
.wpcf7-submit:hover{
   opacity: 0.9;
   transition: 0.3s;
}

/* フォーム上部に表示されるエラーメッセージを非表示 */
.screen-reader-response {
    display: none;
}

/* フォーム内エラーメッセージを赤色に指定 */
.wpcf7-not-valid-tip {
    color: #e92323;
}



.header__title-area {
  position: relative;
  width: 100%;
  height: 400px; 
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;

}

.header__title-bg {
  background-image: url('../../images/bacebg.jpg'); 
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.header__title-bg-service {
  background-image: url('../../images/servicebg.jpg'); 
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.header__title-bg-event {
  background-image: url('../../images/eventbg.jpg'); 
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.header__title-bg-works {
  background-image: url('../../images/worksbg.jpg'); 
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.header__page-title {
  position: relative;
  z-index: 2;
  color: #fff;
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
}


/* about setting */
.about {
  background-image: url(../images/about_bg.webp);
  background-size: cover;
  padding: 100px 0;
}
@media (max-width: 768px) {
  .about {
    padding: 50px 0;
  }
}
.about .about__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
padding-top:0px;
	padding-bottom:40px;
}


.kaisha {
width: 100%;
	margin-bottom:30px;
}

.kaisha th,
.kaisha td {
border: 1px solid #ccc;
padding: 20px;
}

.kaisha th {
font-weight: bold;
background-color: #dedede; 
}

@media screen and (max-width: 767px) {
.kaisha,
.kaisha tr,
.kaisha td,
.kaisha th {display:block;}
.kaisha th {width:auto;}
}

/* PC：3段組で自然に流す */
.torihiki-list {
  column-count: 3;
  column-gap: 40px;
  white-space: normal;
}

/* スマホ調整 */
@media screen and (max-width: 767px) {
  .torihiki-list {
    column-count: 1; /* スマホは1段（読みやすい） */
  }
}


.spbottom{
	margin-bottom:30px;
}


.single-case-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: #f9f9f9;
}

.case-content {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.case-header {
  margin-bottom: 20px;
}

.case-title {
  font-size: 1.5em;
  margin-bottom: 10px;
	color:#333 !important;
}

.case-meta {
  font-size: 0.9em;
  color: #999;
}

.case-thumbnail img {
  width: 100%;
  height: auto;
  margin-bottom: 20px;
  border-radius: 4px;
}

.case-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}



.gallery-item {
  width: calc(33.333% - 11px); /* PCで3列 */
}

@media (max-width: 768px) {
  .gallery-item {
    width: calc(50% - 8px); /* スマホで2列 */
  }
}

.gallery-item img {
  width: 100%;
  height: 200px; /* お好みの高さに調整 */
  object-fit: cover; /* 中央トリミングして高さを揃える */
  display: block;
  border-radius: 4px;
}

.image-captionmain {
  font-size: 1.1em;
  color: #555;
  margin-top: 0px;
  text-align: center;
	padding-top:0px;
	margin-bottom:20px;
}

.image-caption {
  font-size: 1.1em;
  color: #555;
  margin-top: 4px;
  text-align: center;
	padding-top:10px;
	margin-bottom:10px;
}


.case-info {
  list-style: none;
  padding: 16px;
  margin-bottom: 24px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background-color: #f9f9f9;
  max-width: 1000px;
}

.case-info li {
  display: flex;
  margin-bottom: 10px;
  font-size: 1rem;
  color: #333;
}

.case-info li strong {
  min-width: 100px;
  font-weight: 600;
  color: #222;
  margin-right: 10px;
}

.case-info li:last-child {
  margin-bottom: 0;
}


.case-description {
  font-size: 0.9em;
line-height:1.7em;
  color: #333;
}

.case-description h3{
	margin-top:20px;
}

/* Responsive */
@media (max-width: 768px) {
  .case-gallery .gallery-item {
    flex: 1 1 100%;
  }
}


/* 最新投稿セクション全体 */
.latest-posts {
  padding: 60px 20px;
  background-color: #f8f8f8;
}

.latest-posts .container {
  max-width: 960px;
  margin: 0 auto;
}

/* 各記事のボックス */
.post-item {
  background: #ffffff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 30px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s ease;
}

.post-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.post-item h2 {
  font-size: 1.5rem;
  margin: 0 0 10px;
}

.post-item h2 a {
  text-decoration: none;
  color: #333;
}

.post-item h2 a:hover {
  color: #0073aa;
}

.post-meta {
  font-size: 0.875rem;
  color: #777;
  margin-bottom: 10px;
}

.post-excerpt {
  font-size: 1rem;
  line-height: 1.6;
  color: #444;
}

/* ページネーション */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.pagination a,
.pagination span {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid #ccc;
  background: #fff;
  color: #333;
  text-decoration: none;
  border-radius: 4px;
  font-size: 0.9rem;
}

.pagination a:hover {
  background-color: #0073aa;
  color: #fff;
  border-color: #0073aa;
}

.pagination .current {
  background-color: #0073aa;
  color: #fff;
  border-color: #0073aa;
}


.case-list-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}

.case-card {
  width: 300px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  text-align: center;
  transition: box-shadow 0.3s;
}

.case-card:hover {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.case-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.case-card__title {
  padding: 12px;
  font-size: 1rem;
  color: #333;
}

.social-support-box {
  background-color: #f5f5f5;
  padding: 24px;
  margin-top: 40px;
  border-left: 6px solid #888;
  border-radius: 4px;
}

.social-support-title {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: #333;
}

.social-support-text {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
}


a.servicelink {
  background: #006027;
  color: #fff;
  padding: 10px 60px;
  border-radius: 50px;
  display: block;
  width: fit-content;
  margin: 0 auto;
  margin-top: 50px;
  text-decoration: none;
  font-weight: 700;
  position: relative;
  transition: all 0.3s ease;
}
a.servicelink:hover {
  background: #c50c1c;
}
a.servicelink i {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translate(0px, -50%);
}


.spacebottom{
	margin-bottom:50px;
}

/* ACFリッチエディターの見た目を本文標準に寄せる */
.acf-rich ul { list-style: disc; margin: 0 0 1em 1.5em; padding-left: 0; }
.acf-rich ul ul { list-style: circle; margin-left: 1.5em; }
.acf-rich ol { list-style: decimal; margin: 0 0 1em 1.5em; }
.acf-rich li { margin: .25em 0; }

.case-description p { margin: 0 0 1em; }
.case-description br { display: inline; } /* 念のため */


.works-section {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

.works-item {
  width: calc(50% - 20px);
}

.works-image img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  display: block;
}

.works-text {
  margin-top: 20px;
}

.works-text h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.works-text p {
  font-size: 1rem;
  line-height: 1.8;
  margin: 0;
}

.works-text .lead {
  font-weight: 500;
	color:#333;
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
  .works-section {
    flex-direction: column;
    gap: 60px;
  }

  .works-item {
    width: 100%;
  }

  .works-text h3 {
    font-size: 1.6rem;
  }
}
/* タイトル部分の整列専用 */
._row-title-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
}

._row-title {
  width: 100%;
  max-width: 1200px; /* works-section と揃える */
  padding: 0 20px;
  box-sizing: border-box;
  margin-bottom: 40px;
}

.mod-h2 {
  text-align: left;
}

.mod-h2 p._en {
  font-size: 2.4rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 8px;
}

.mod-h2 h2 {
  font-size: 1.4rem;
  font-weight: 500;
  color: #333;
}

@media screen and (max-width: 768px) {
  .mod-h2 p._en {
    font-size: 1.8rem;
  }
  .mod-h2 h2 {
    font-size: 1.2rem;
  }
}


.privacy-section {
  max-width: 960px;
  margin: 0 auto;
  padding: 40px 20px;
}

.scroll {
  overflow-x: auto;
  margin-bottom: 30px;
}

.vl2 {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid #ddd;
}

.vl2 th,
.vl2 td {
  text-align: left;
  vertical-align: top;
  padding: 16px 20px;
  line-height: 1.8;
}

.vl2 th {
  width: 25%;
  background-color: #f5f5f5;
  font-weight: 700;
  color: #333;
  border-right: 1px solid #ddd;
}

.vl2 td {
  color: #444;
}

.vl2 tr + tr th,
.vl2 tr + tr td {
  border-top: 1px solid #ddd;
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
  .vl2 th {
    display: block;
    width: 100%;
    border-right: none;
    background-color: #f0f0f0;
  }

  .vl2 td {
    display: block;
    width: 100%;
    border-top: none;
    padding-top: 0;
  }

  .vl2 tr {
    display: block;
    margin-bottom: 20px;
    border: 1px solid #ddd;
  }
}


.iso-section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px;
  line-height: 1.8;
  color: #333;
}

.paragraph-left {
  font-size: 1rem;
  text-align: left;
  margin-bottom: 40px;
}

hr.space {
  border: none;
  margin: 20px 0;
}

.img-txt-h2-left {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: flex-start;
  align-items: flex-start;
}

.iso-item {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  width: calc(50% - 20px);
  text-align: center;
}

.iso-item dd {
  margin-top: 10px;
}

.iso-item em {
  font-style: normal;
  font-weight: 700;
  font-size: 1rem;
  color: #444;
}

.iso-item dt img {
  width: 100%;
  height: auto;
  max-width: 400px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
  .img-txt-h2-left {
    flex-direction: column;
    gap: 30px;
  }

  .iso-item {
    width: 100%;
  }

  .iso-item dt img {
    max-width: 100%;
  }
}


.sdgs-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  color: #333;
  line-height: 1.8;
}

.sdgs-banner .large-img {
  width: 100%;
  height: 200px;
  border-radius: 6px;
}

.sdgs-heading {
  text-align: center;
  font-size: 1.3rem;
  font-weight: 600;
  margin: 40px 0;
  line-height: 1.6;
}

.img-text4 ul {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  list-style: none;
  padding: 0;
  margin: 0;
}

.img-text4 li {
  width: calc(50% - 20px);
  background: #fafafa;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px;
  box-sizing: border-box;
  text-align: center;
  transition: 0.3s;
}

.img-text4 li:hover {
  background: #f0f0f0;
}

.img-text4 figure {
  margin: 0 auto 10px;
  width: 120px;
  height: 120px;
}

.img-text4 img {
  width: 100%;
  height: auto;
}

.img-text4 em {
  display: block;
  font-weight: 700;
  margin-bottom: 10px;
  font-size: 1.1rem;
  color: #444;
}

.img-text4 span {
  display: block;
  font-size: 0.95rem;
  color: #555;
  line-height: 1.7;
}

/* テーブル */
.scroll {
  overflow-x: auto;
  margin-top: 40px;
}

.hl4 {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.hl4 th,
.hl4 td {
  border: 1px solid #ddd;
  padding: 16px;
  text-align: left;
  vertical-align: top;
  line-height: 1.6;
}

.hl4 th {
  background: #f3f3f3;
  font-weight: 700;
  color: #333;
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
  .img-text4 li {
    width: 100%;
  }

  .img-text4 figure {
    width: 100px;
    height: 100px;
  }

  .sdgs-heading {
    font-size: 1.1rem;
  }

  .hl4 th,
  .hl4 td {
    font-size: 0.9rem;
  }
}

.career-support {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  color: #333;
  line-height: 1.8;
}

.career-support__lead {
  font-size: 1rem;
}

.career-support__space {
  border: none;
  margin: 30px 0;
}

/* グリッド */
.career-gallery__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* 各カード */
.career-card {
  display: flex;
  flex-direction: column; /* ← 画像→文字の縦2段構成 */
  justify-content: flex-start;
  background: #fff;
  border: 1px solid #e3e3e3;
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 2px 4px rgba(0, 0, 0, .05);
  transition: all 0.3s ease;
  overflow: hidden;
}

.career-card:hover {
  box-shadow: 0 8px 18px rgba(0, 0, 0, .1);
  transform: translateY(-3px);
}

/* 画像 */
.career-card__figure {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f9f9f9;
}

.career-card__figure img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* ←画像が切れないように */
  display: block;
  background-color: #fff;
}

/* テキスト部分 */
.career-card__body {
  padding: 16px;
  text-align: center;
}

.career-card__title {
  display: block;
  font-style: normal;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 8px;
  color: #222;
}

.career-card__link {
  display: block;
  font-size: 0.9rem;
  color: #0072c6;
}

/* レスポンシブ */
@media screen and (max-width: 1024px) {
  .career-gallery__list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 640px) {
  .career-gallery__list {
    grid-template-columns: 1fr;
  }

  .career-card__body {
    padding: 12px;
  }

  .career-card__title {
    font-size: 0.95rem;
  }
}

/* エリア全体 */
.events-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: #edfae5;
}

/* タイトル */
.events-header {
  text-align: center;
  margin-bottom: 60px;
}
.events-title {
  font-size: 36px;
  margin-bottom: 10px;
}
.events-subtitle {
  font-size: 18px;
  color: #007a33;
}

/* リスト */
.events-list {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

/* 各カード */
.event-card {
  display: flex;
  align-items: center;
  gap: 40px;
}
.event-card__media,
.event-card__content {
  flex: 1;
}

/* 画像（共通） */
.event-image,
.event-swiper img {
  max-width: 550px;
  display: block;
  margin: 0 auto;
  border-radius: 6px;
}

/* スライダーのスタイル */
.event-swiper {
  position: relative;
}
.event-swiper .swiper-pagination {
  bottom: -10px !important;
}

/* テキスト部 */
.event-card__title {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}
.event-card__subtitle {
  font-size: 16px;
  color: #00723d;
}
.event-card__title strong {
  font-size: 30px;
}
.event-card__desc {
  line-height: 1.8;
  font-size: 15px;
}

/* SP対応 */
@media (max-width: 768px) {
  .event-card {
    flex-direction: column-reverse;
    gap: 24px;
  }
  .events-title {
    font-size: 28px;
  }
  .event-card__title strong {
    font-size: 24px;
  }
}

/* 初期状態は非表示（フラッシュ防止） */
.event-swiper {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease;
}

/* Swiper初期化後に自動で付与されるクラス */
.event-swiper.swiper-initialized {
  opacity: 1;
  visibility: visible;
}

.event-swiper {
  width: 100%;
  max-width: 550px; /* 必要に応じて調整 */
  aspect-ratio: 16/9; /* または固定高さ */
}


