/*
Theme Name: Mahoroba Entertainment
Author: あなたの名前
Description: まほろばエンターテインメントのオリジナルWordPressテーマ
Version: 1.0
*/

/* reset.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  html, body {
    height: 100%;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background: #fff;
  }
  
  img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
  }
  
  ul, ol {
    list-style: none;
  }
  
  a {
    text-decoration: none;
    color: inherit;
  }
  
  button, input, textarea, select {
    font-family: inherit;
    font-size: inherit;
    border: none;
    background: none;
    outline: none;
  }
  
  h1, h2, h3, h4, h5, h6 {
    font-weight: normal;
  }
  
li,p,a{
	font-size:16px;
}


  table {
    border-collapse: collapse;
    width: 100%;
  }
  
  article, aside, footer, header, nav, section, main {
    display: block;
  }
@media (max-width:768px){
	li,p,a{
	font-size:14px;
}
}

.wpcf7-response-output {
    color: black;
    text-align: center;
}



/* header */
header {
    background-color: #000;
    color: #fff;
	position:relative;
}

.header-inner-contents {
    margin: auto;
    padding: 10px 3.6rem;
    display: flex;
    justify-content: space-between;
    gap: 3%;
}

ul.header-menulist {
    display: flex;
    gap: 23.5px;
    align-items: flex-end;
    margin: 1rem 0;
}

ul.header-menulist li:hover{
	opacity:0.8;
}

a.contact-btn {
    padding: 8px 22px;
    background-color: #A1AE20;
    border-radius: 30px;
}

a.contact-btn:hover{
	opacity:0.8;
}


@media (max-width:768px){
	.header-inner-contents h1 a img {
    width: 45px;
}
	
	ul.header-menulist{
		display:none;
	}
	
	.header-inner-contents {
    padding: 7.5px 1rem;
}
} 



/* ハンバーガーアイコン */
.hamburger {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 30px;
  height: 22px;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  display: block;
  height: 4px;
  background: #B4CC09;
  border-radius: 2px;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
    transition: right 0.4s ease;
    z-index: 1000;
    padding-top: 60px;
}

.mobile-menu ul {
  list-style: none;
  padding: 0;
}

.mobile-menu ul li {
  border-bottom: 1px solid #ddd;
}

.mobile-menu ul li a {
  display: block;
  padding: 20px;
  text-decoration: none;
  color: #fff;
}

.mobile-menu ul li a:hover{
	color: #B4CC09;
}


.mobile-menu.active {
  right: 0;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg);
  position: relative;
  top: 8px;
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg);
  position: relative;
  top: -10px;
}


.hamburger span {
  display: block;
  height: 4px;
  background: #B4CC09;
  border-radius: 2px;
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
  .header-menulist {
    display: none;
  }
}




/* hero */
.hero {
    background-image: url(http://www.mahoroba.inc/wp-content/uploads/2025/04/main-scaled.jpeg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 4.5% 3rem;
    position: relative;
    color: #fff;
	background-position-y: 75%;
	margin-bottom: 4rem;
}

.line-text {
    transform: translateY(-20px);
}

p.scroll-position {
    position: absolute;
    right: 2rem;
    bottom: 1rem;
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
}

span.arrow-under {
    display: flex;
    align-items: center;
    object-fit: cover;
}

.mv-contents {
   margin: 3% 0;
}

p.mv-main-text {
    font-size: 2rem;
    font-family: serif;
    display: flex;
    align-items: center;
}

p.mv-main-text strong{
	font-size: 3.8rem;
	margin-right:15px;
	font-family: 'Noto Sans JP', sans-serif;
}

p.mv-main-text span {
    margin-left: 20px;
    font-weight: 100;
    font-family: serif;
	font-size: 3rem;
}

p.mv-main-text.ml {
    margin-left: 7%;
}

p.mv-main-text.ml2 {
    margin-left: 21%;
    font-weight: bold;
}

p.mv-main-text.x-icon {
    margin-left: 10%;
	line-height: 2rem;
}

p.mv-main-text.ml.x-icon {
    margin-left: 20%;
}

@media (max-width:2000px){
	p.mv-main-text.x-icon {
		margin-left: 15%;
	}
	
	p.mv-main-text.ml.x-icon {
    margin-left: 25%;
}
}

@media (max-width:1480px){
	p.mv-main-text.x-icon {
		margin-left: 20%;
	}
	p.mv-main-text.ml.x-icon {
    margin-left: 30%;
}
}

@media (max-width:768px){
	.hero {
    padding: 6.5% 1rem;
}
	
	p.mv-main-text {
    font-size: 1.4rem;
}

p.mv-main-text strong{
	font-size: 2.5rem;
	margin-right:10px;
}

p.mv-main-text span {
    margin-left: 10px;
	font-size: 2.1rem;
}
	
	p.scroll-position {
    right: 0.5rem;
    bottom: 0.5rem;
}
	
		p.mv-main-text.x-icon {
		margin-left: 25%;
		line-height: 1rem;
		transform: translateY(-5px);
	}
	p.mv-main-text.ml.x-icon {
    margin-left: 40%;
}
	
} 


/* Service */
section.section.service {
    position: relative;
    overflow: hidden;
    padding: 5rem 0;
    z-index: 0;
	margin-bottom: 4rem;
}

section.section.service::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(http://www.mahoroba.inc/wp-content/uploads/2025/04/summer-scaled.jpeg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    filter: grayscale(100%);
    z-index: -2;
}

section.section.service::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8); 
    z-index: -1;
}

.service-contents {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 4rem;
}

h2.section-title {
    font-size: 2.4rem;
    font-weight: bold;
	margin-bottom:1.6rem;
}

h2.section-title span {
    font-size: 1.15rem;
    font-weight: bold;
	margin-left:1.5rem;
}

ul.service-list {
    margin-top: 1.6rem;
}

ul.service-list {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

ul.service-list  li {
    background-color: #B4CC09;
    margin: 1rem 0;
    align-items: center;
	text-align: center;
	position: relative;
	display: flex;
    justify-content: center;
	font-weight: bold;
	width: 32.5%;
}

ul.service-list li a {
    width: -webkit-fill-available;
    padding: 1rem 2.4rem;
    display: flex;
    align-items: center;
	justify-content: center;
}

ul.service-list li:hover{
	opacity:0.8;
}

ul.service-list li a {
    position: relative;
}

ul.service-list li a::after {
    content: "";
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background-image: url('http://www.mahoroba.inc/wp-content/uploads/2025/04/next1_b.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 20px; 
    height: 20px;
}


p.service-text {
    font-size: 0.95rem;
}

@media (max-width:768px){
	h2.section-title {
    font-size: 1.8rem;
	margin-bottom:1rem;
	text-align: center;
}
	
	h2.section-title span {
    font-size: 1.05rem;
	margin-left:0.5rem;
}
	h2.section-title.news-title {
    margin-left: 0rem!important;
}
	
	.service-contents {
    padding: 3rem 1.5rem;
	}
	
	ul.service-list li {
    width: 49%;
	padding: 1rem 1.8rem;
	}
	
	ul.service-list li:after {
    right: 8px;
	}	
	
ul.service-list li a {
    padding: 1rem;
}
	
	ul.service-list li a::after {
    right: -15px;
}
	
} 

@media (max-width:600px){
		ul.service-list li {
    width: 100%;
	margin: 0.5rem 0;
	}
	
		p.service-text {
    font-size: 0.8rem;
	}
}


/* Contents */
section.section.works{
	position: relative;
    overflow: hidden;
    z-index: 0;
	margin-bottom: 4rem;
}

.works-contents {
    position: relative;
    z-index: 1;
    color: #fff;
    display: flex;
    justify-content: space-between;
    padding: 2.4rem;
    gap: 2%;
    width: 97.5%;
    margin: 0 0 0 auto;
    overflow: hidden;
}

.works-contents::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url(http://www.mahoroba.inc/wp-content/uploads/2025/04/light-scaled.jpeg);
    background-size: cover;
    background-position: center;
    filter: grayscale(100%) brightness(27%);
    z-index: -1;
}

.works-contents-left {
    display: flex;
    justify-content: space-between;
    gap: 2%;
	width: 47%;
}

.works-contents-left img {
    width: 49%;
}

.works-contents-right {
    width: 47%;
	margin: auto;
}

.works-contents-right p {
    margin-bottom: 2.4rem;
}

a.contents-btn:hover{
	opacity:0.8;
}

a.contents-btn-w:hover{
	opacity:0.8;
}

a.contents-btn {
    background-color: #B4CC09;
    padding: 0.45rem 2rem;
    color: #000;
    font-weight: bold;
    max-width: 220px;
    width: -webkit-fill-available;
    display: flex;
    text-align: center;
    position: relative;
    align-items: center;
    justify-content: center;
}

a.contents-btn-w {
    background-color: #B4CC09;
    padding: 0.45rem 2rem;
    color: #000;
    font-weight: bold;
    max-width: 220px;
    width: -webkit-fill-available;
    display: flex;
    text-align: center;
    position: relative;
    align-items: center;
    justify-content: center;
}

a.contents-btn::after {
    content: "";
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background-image: url('http://www.mahoroba.inc/wp-content/uploads/2025/04/next1_b.svg');
    background-size: contain;
    background-repeat: no-repeat;
    width: 20px; 
    height: 20px; 
}

a.contents-btn-w::after {
    content: "";
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background-image: url('http://www.mahoroba.inc/wp-content/uploads/2025/04/next1_w.svg');
    background-size: contain;
    background-repeat: no-repeat;
    width: 20px; 
    height: 20px; 
}

@media (max-width:768px){
	.works-contents {
    width: 100%;
    display: block;
	padding: 2rem 1.2rem;
}
	
	.works-contents-left {
    width: 100%;
	margin-bottom: 2rem;
}
	
	.works-contents-right {
    width: 100%;
}
	
	a.contents-btn {
		margin:auto;
	}
	
	a.contents-btn-w {
		margin:auto;
	}
}

/* News */

section.section.news {
	position: relative;
    overflow: hidden;
    z-index: 0;
	margin-bottom: 6rem;
	padding:0 3rem;
}

.news-contents {
    max-width: 980px;
    width: -webkit-fill-available;
    margin: auto;
    display: block;
}

h2.section-title.news-title {
    margin-bottom: 0rem;
    margin-left: 3rem;
}

.news-list {
    border: 1px solid #bbbbbb;
    padding: 1.2rem 2rem;
	margin-bottom: 2.4rem;
	max-height: 640px;
	height:-webkit-fill-available;
	overflow: auto;
}

.news-list::-webkit-scrollbar {
	width: 10px; 
}

.news-list::-webkit-scrollbar-thumb {
	background: #000;
}

.news-top-text {
    display: flex;
    justify-content: flex-start;
    gap: 25px;
	align-items: flex-start;
}

.category-tag-box {
    display: flex;
    justify-content: flex-start;
    gap: 10px;
	flex-wrap: wrap;
}

.news-post {
    display: flex;
    gap: 6%;
    justify-content: flex-start;
	border-bottom: 1px solid #bbbbbb;
	padding-top: 1rem;
	padding-bottom: 1rem;
	padding-left: 0.75rem;
}

p.category-tag {
    color: #fff;
    background-color: #000;
    height: fit-content;
    font-size: 0.65rem;
    padding: 2px 10px;
    border-radius: 20px;
}

.news-post img {
    width: 20%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

a.contents-btn.news-btn {
    margin: auto;
}

h2.news-top-title {
    font-size: 1.3rem;
    display: flex;
    align-items: center;
}

.news-top-contents {
    display: grid;
}

a.post-inside-btn {
    display: flex;
    align-items: end;
	color:#02a2ff;
	margin-bottom: 5px;
}


@media (max-width:768px){
section.section.news {
	margin-bottom: 4rem;
	padding:0 1rem;
	}

	.news-list {
    padding: 0.5rem;
	margin-bottom: 2rem;
	max-height: 640px;
}
	
	h2.news-top-title {
    font-size: 1rem;
}
	
	.news-post img {
    width: 35%;
    aspect-ratio: 3 / 3;
}
	
	.news-top-text {
    display: block;
    gap: 15px;
}

}

/* Contact */
section.section.contact {
    position: relative;
    overflow: hidden;
    z-index: 0;
    padding: 0 3rem;
    background-image: url(http://www.mahoroba.inc/wp-content/uploads/2025/04/design1-scaled.jpeg);
    height: 500px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position-y: 35%;
	margin: auto;
    display: flex;
}

section.section.contact::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); 
    z-index: 0; 
    pointer-events: none;
}

section.section.contact > * {
    position: relative;
    z-index: 1;
}

.contact-contents {
    width: -webkit-fill-available;
    margin: auto;
    display: block;
	color: #fff;
	max-width: 1400px;
}

a.contents-btn-w.contact-btn {
    margin-top: 2.5rem;
    border-radius: 0;
    color: #fff;
    background: #000;
    max-width: 300px;
    padding: 1.75rem;
}

a.contents-btn-w.contact-btn:hover{
	opacity:0.8;
}

@media (max-width:768px){
	section.section.contact {
    padding: 0 1rem;
}
	
	.contact-contents{
    text-align:center;
}
} 

/* footer */
footer{
	 background-color: #000;
    color: #fff;
	padding:1rem 0;
}


.footer-inner-contents{
	margin: auto;
    padding: 10px 3.6rem;
    display: flex;
    justify-content: space-between;
    gap: 3%;
}

.footer-left {
    display: flex;
    gap: 15px;
}

ul.footer-menu-list {
    display: flex;
    gap: 20px;
	justify-content: flex-end;
}

ul.footer-menu-list li:hover{
	opacity:0.8;
}

.footer-right p {
    text-align: right;
    margin: 0.5rem 0;
}

.footer-left-inner-right p {
    font-size: 0.9rem !important;
}

ul.footer-menu-list li a {
    font-size: 0.9rem;
}

.footer-right p a {
    font-size: 0.9rem;
}

.copyright{
	font-size:0.75rem;
	text-align:right;
}

.menu-bottom:hover{
	opacity:0.8;
}

br.sp-only {
    display: none;
}

@media (max-width:768px){
	br.sp-only {
    display: block;
}
	
	.footer-inner-contents{
    padding: 10px 1.25rem;
	display: block;
}
	
	.footer-menu {
    text-align: end;
}
	
	ul.footer-menu-list{
		display:block;
	}
	
	
} 

/* post */
section.section.post-box {
    padding: 4rem 2rem;
}

.post-box {
    max-width: 1080px;
    width: -webkit-fill-available;
    margin: auto;
}

/* post_list */
section.section.post-list {
	padding: 4rem;
}

h2.section-title.post-title {
	margin-bottom: 1rem;
}

p.breadcrumbs {
    display: flex;
    gap: 10px;
    font-weight: bold;
}

p.breadcrumbs a{
	color:#02a2ff;
}

.post-list-inner {
    width: 90%;
    padding: 2rem;
    margin: 3rem auto;
    border-radius: 5px;
    display: flex;
	font-weight: bold;
    justify-content: space-between;
}

.post-list-inner.bg-green{
	background: #B4CC09;
}

.category-btn-list p {
    display: block;
    min-width: 100px;
}

.category-btn-list {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

ul.category-btn {
    display: flex;
    justify-content: flex-start;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

ul.category-btn li {
    background: #fff;
    border-radius: 30px;
    color: #000;
    padding: 3px 6px;
    cursor: pointer;
    display: inline-block;
    margin: 5px;
}

ul.category-btn li.active {
    background: #000;
    color: #fff;
}

ul.category-btn li:hover{
    background: #000;
	color: #fff;
}

ul.category-btn li a {
    font-size: 0.7rem;
    padding: 2px 15px;
    display: flex;
}

@media (max-width:768px){
section.section.post-list {
	padding: 2rem 1rem;
	}
}

/* company-page */
.company-list-inner {
    width: 90%;
    padding: 2rem 2rem 0 2rem;
	margin: 2rem auto 1rem;
    font-weight: bold;
}
tbody.about-table {
    width: -webkit-fill-available;
    display: grid;
}

tbody.about-table tr {
    border-top: 1px solid #d9d9d9;
    padding: 0.5rem;
	line-height: 3rem;
}

tbody.about-table tr:last-child {
	border-bottom: 1px solid #d9d9d9;
}

tbody.about-table tr th {
    width: 160px;
    border-right: 1px solid #d9d9d9;
}

tbody.about-table tr td {
	padding:0 2rem;
	font-weight: normal;
}

ul.about-service-list {
    list-style: disc;
    margin: 7px 0px 7px 20px;
    text-align: left;
}

ul.about-service-list li {
    line-height: 1.5rem;
}

.google-map {
    margin: 2rem auto 0;
    padding: 1rem 1.5rem 0;
}

.google-map h3 {
    font-weight: bold;
}

.map-box iframe {
    margin-top: 1rem ;
    width: -webkit-fill-available;
    aspect-ratio: 5 / 3;
}

@media (max-width:768px){
	.company-list-inner {
    width: 100%;
    padding: 0rem;
    margin: 2rem auto;
    font-weight: bold;
}
	
	tbody.about-table tr td {
    padding: 0 0.5rem;
}
	
	tbody.about-table tr th {
    width: -webkit-fill-available;
    border: 0px;
}
	
tbody.about-table tr {
    display: inline-grid;
    text-align: center;
}
} 

/* contact-page */
.contact-list-inner {
    width: 90%;
    padding: 2rem 0 0;
	margin: 2rem auto 1rem;
}


.check-box {
    color: #000;
    margin: 2rem 0rem;
    border: 1px solid;
    padding: 2rem 0;
}

.check-box p {
    display: flex;
    justify-content: center;
}



input.wpcf7-form-control.wpcf7-submit.has-spinner {
    background: #000;
    color: #fff;
    max-width: 360px;
    width: -webkit-fill-available;
    margin: auto;
    display: block;
    padding: 1.2rem;
    cursor: pointer;
}

input.wpcf7-form-control.wpcf7-submit.has-spinner:hover{
	opacity:0.8;
}

a.check-text {
    color: #02a2ff;
    text-underline-offset: 4px;
    text-decoration: underline;
    margin: 0 10px;
}


input[type="checkbox"] {
  width:17.5px;
	height:17.5px;
  appearance: none; 
  -webkit-appearance: none;
  background-color: #fff;
  border: 1px solid #000;
  border-radius: 0px; 
  cursor: pointer;
  position: relative;
}

input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 6px;
  width: 5px;
  height: 10px;
  border-right: 2px solid #000;
  border-bottom: 2px solid #000;
  transform: rotate(45deg);
}

span.wpcf7-form-control.wpcf7-acceptance.optional {
    transform: translateY(2.5px);
    display: block;
	text-align: center;
}

.form-inner-list {
    color: #000;
    display: flex;
    gap: 5px;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
	align-items: center;
}

.form-inner-list.top-bar{
	border-top: 1px solid #eee;
}

p.form-input {
    width: -webkit-fill-available;
}

span.wpcf7-form-control-wrap {
    display: block;
	text-align: justify;
}

input.wpcf7-form-control.wpcf7-text {
    background-color: #eee;
    width: -webkit-fill-available;
	padding: 10px;
}

p.form-contents {
	width: 290px;
	display: flex;
    gap: 10px;
    align-items: center;
	margin: 5px 0;
}

span.red-box {
    font-size: 0.7rem;
    color: #fff;
    background-color: #ff3939;
    padding: 0px 7px;
    font-weight: normal;
}

p.form-input-access {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.access-box {
    width: -webkit-fill-available;
}

.access-n {
    width: 60% !important;
    min-width: 180px;
}

.area-box {
    background: #eee;
    width: -webkit-fill-available;
    padding: 10px;
}

.drop-down {
    background: #eee;
    padding: 10px;
    width: -webkit-fill-available;
}

select.drop-down option:first-child {
  color: #aaa;
}

span.mg-rl {
    margin-right: 10px;
}

a.check-text:hover{
	opacity:0.8;
}

span.wpcf7-not-valid-tip {
    color: red;
    font-weight: bold;
}

@media (max-width:768px){
	.contact-list-inner {
    width: 100%;
}
	
.form-inner-list {
    display: block;
}
	
	.check-box p {
    display: block;
}	
}

/* privacy-page */
section.section.privacy-page {
    padding: 4rem 4rem 8rem;
}

.privacy-inner {
    width: 90%;
    padding: 2rem 0 0;
	margin: 2rem auto 1rem;
}

h3.privacy-title {
    font-weight: bold;
    font-size: 1.5rem;
    border-bottom: 1px solid #d9d9d9;
    padding-bottom: 5px;
}

.privacy-text-box {
    padding: 1.5rem;
}

h4.privacy-text-box-title {
    margin: 2rem 0 1rem;
    border-bottom: 1px solid #d9d9d9;
    padding-bottom: 10px;
}

h4.privacy-text-box-title {
    margin: 2.5rem 0 1rem;
    border-bottom: 1px solid #d9d9d9;
    padding-bottom: 7.5px;
    font-weight: bold;
    font-size: 1.25rem;
}

ul.privacy-text-box-list {
    margin: 1.5rem 0 1.5rem 1.5rem;
}

ul.privacy-text-box-list li{
    list-style: disc;
}

ul.privacy-text-box-list.mg-t {
    margin: 1.5rem 0 0rem 1.5rem;
}

@media (max-width:768px){
section.section.privacy-page {
    padding: 1rem 1rem 3rem;
	}
	
	h2.section-title.post-title {
    display: grid;
	text-align: center;
}
	
.privacy-inner {
    width: 100%;
    padding: 2rem 0 0;
	margin: 2rem auto 1rem;
}
	
	.privacy-text-box {
    padding: 1rem;
}
	
}

/* service-page */
section.section.service-page {
    padding: 4rem 4rem 0rem;
}

.service-inner {
    width: 100%;
    padding: 2rem 0 0;
	margin: 2rem auto 4rem;
}

.service-about {
    background: #e3e3e3;
    padding: 1.5rem 2rem;
    margin-left: 4rem;
	display: flex;
    justify-content: space-between;
    gap: 4%;
	margin-bottom: 4rem;
	align-items: anchor-center;
}

.service-about-right-inner {
    display: flex;
    justify-content: space-between;
    gap: 20px;
	align-items: center;
}

img.service-about-img {
    object-fit: contain;
    width: 33%;
    max-height: 700px;
}

.service-menu {
    position: relative;
    padding: 4rem 0;
	margin-bottom:12rem;
}

.service-about-right-inner img {
    aspect-ratio: 1 / 1;
   	width: fit-content;
    height: 100px;
    object-fit: cover;
	margin:5px 0;
}

.service-about-right h3 {
    font-weight: bold;
    margin: 2rem 0;
}

.service-about-right p {
    margin: 1.5rem 0;
}

.service-about-right-inner {
    display: flex;
    justify-content: space-between;
    gap: 7%;
    padding: 0.5rem 1.2rem;
    background: #fff;
    margin: 1rem 0;
}

.service-menu-text-box {
    background: #e3e3e3;
    margin-right: 4rem;
    padding: 4rem;
}

.service-menu-text-innerbox {
    width: 60%;
}

.service-menu-text-innerbox h3 {
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.service-menu-text-innerbox p {
    width: 80%;
}

img.service-menu-img {
    position: absolute;
    top: 0;
    right: 7rem;
    width: 330px;
}

.service-menu-text-box.inner-right-box {
    padding: 4rem 2rem 4rem 4rem;
}

.service-menu-text-innerbox.inner-right-box h3 {
    margin-left: 75px;
}

.service-menu-text-innerbox.inner-right-box p {
    margin-left: 75px;
}

.service-menu-text-innerbox.inner-right-box {
    margin: 0 0 0 auto;
    width: 60%;
}

img.service-menu-img.left-posi {
    left: 5rem;
    right: 0;
}

.service-about-right {
    width: 60%;
    margin: auto;
}

@media (max-width:980px){
	img.service-about-img {
    width: 45%;
    max-height: 500px;
}

	.service-menu {
    position: relative;
    padding: 1.5rem 0;
}
	
	img.service-menu-img {
		right: 6rem;
    width: 250px;
}
	
	.service-menu-text-box {
    background: #e3e3e3;
    margin-right: 4rem;
    padding: 2rem;
}
	
	
	
}

@media (max-width:768px){
	section.section.service-page {
    padding: 2rem 1rem 0rem;
}
	
	.service-menu {
    margin-bottom: 8rem;
}
	
	.service-about {
	display: block;
}
	
		img.service-about-img {
    width: 100%;
	max-height: 420px;
}
	
	.service-about {
    margin-left: 0rem;
    padding: 1rem;
}
	
	.service-about-right-inner img {
    height: 80px;
}
	
	.service-about-right p {
    margin: 0.75rem 0;
}
	
	.service-about-right-inner {
    display: flex;
    gap: 5%;
    padding: 0.5rem 1rem;
}
	
		img.service-menu-img {
		right: 2rem;
    width: 200px;
}
	
	.service-menu-text-box {
    margin-right: 1rem;
    padding: 1.25rem;
}
	
	.service-menu-text-box.inner-right-box {
    padding: 1.25rem;
}
	
	img.service-menu-img.left-posi {
    left: 2rem;
    right: 0;
}
	
	
}

.sps-none{
	display:none;
}

.specer{
	padding:30px 0;
}

@media (max-width:580px){
	.specer{
	padding:0px;
}
	
	.sps-none{
	display:block;
}
	
	    .service-menu {
        margin-bottom: 2rem;
    }
	
	.service-menu-text-box {
    margin: 0;
}
	
	.service-menu-text-innerbox {
    width: -webkit-fill-available;
}
	
		.service-menu-text-innerbox.inner-right-box {
    width: 100%;
}
	
		.service-menu-text-innerbox.inner-right-box h3 {
    margin-left: 0px;
}
	
		.service-menu-text-innerbox.inner-right-box p {
    margin-left: 0px;
}
	
	.service-menu-text-innerbox p{
		 width: -webkit-fill-available;
	}
	
    img.service-menu-img {
        position: static;
       width: -webkit-fill-available;
        aspect-ratio: 3 / 2;
        margin: auto;
		object-fit: cover;
	}
	
	.service-menu-text-box {
        padding: 1rem;
    }
	
.service-menu-text-box.inner-right-box {
        padding: 1rem;
    }
}

/* contents-post-page  news-post-page */
img.bread-icon {
    width: 7px;
    margin: 0 5px;
}

section.section.contents-post-page {
    padding: 4rem 4rem 0rem;
}


section.section.news-post-page {
    padding: 4rem 4rem 0rem;
}

.contents-post-inner {
    width: 90%;
    padding: 2rem 0 0;
	margin: 2rem auto 4rem;
}

.news-post-inner {
    width: 90%;
    padding: 2rem 0 0;
	margin: 2rem auto 4rem;
}

h2.single-page-title {
    margin: 2rem 0;
	overflow-wrap: anywhere;
}

.post-thumbnail.contents-post-thumbnail img {
    width: -webkit-fill-available;
    object-fit: cover;
    margin-bottom: 1.2rem;
    max-height: 800px;
    aspect-ratio: 1 / 1;
}

.post-content.single-page-text,.description1,.description2 {
    width: -webkit-fill-available;
    overflow-wrap: anywhere;
}

.description2{
	margin-bottom:3rem;
}


.post-content.single-page-text {
    width: -webkit-fill-available;
    overflow-wrap: anywhere;
    margin-bottom: 2rem;
}

.img-top {
    display: flex;
    justify-content: space-between;
}

.img-top {
    display: flex;
    justify-content: space-between;
    gap: 2.5%;
	margin: 3rem 0 1.5rem;
}

.contents-img {
    width: -webkit-fill-available;
}

.contents-img img {
    width: -webkit-fill-available;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

a.return-contents {
    display: block;
    margin: auto 7%;
    text-align: center;
    padding: 10px 40px;
    background: #000;
    color: #fff;
    width: auto;
}

a.return-contents.single-return {
    width: fit-content;
	margin: 0 auto;
}

a.return-contents:hover {
   opacity:0.8;
}

.flex-box {
    display: flex;
    align-items: center;
    gap: 25px;
}

.return-box {
    display: flex;
    justify-content: center;
	align-items: center;
}

.prev-link,.next-link {
    display: flex;
    align-items: center;
}

@media (max-width:768px){
	section.section.contents-post-page {
    padding: 2rem 2rem 0rem;
}
	
		section.section.news-post-page {
    padding: 2rem 2rem 0rem;
}
	
	h2.single-page-title {
    margin: 1rem 0;
	font-size: 1.2rem;
}
	
.contents-post-inner {
    width: 100%;
    padding: 2rem 0 0;
	margin: 2rem auto 4rem;
}
	
	.news-post-inner {
    width: 100%;
    padding: 1rem 0 0;
	margin: 2rem auto 4rem;
}
	
	.flex-box {
    gap: 15px;
}
	
	p.breadcrumbs {
    gap: 5px;
}
	
	
	h2.section-title.post-title {
    margin-bottom: 2rem;
}
}


@media (max-width:480px){
		section.section.contents-post-page {
    padding: 2rem 1rem 0rem;
}
	
			section.section.news-post-page {
    padding: 2rem 1rem 0rem;
}
}

/* archive-contents */

section.section.contents-archive-page {
    padding: 4rem 4rem 0rem;
}

.contents-archive-inner {
    width: 90%;
    padding: 2rem 0 0;
	margin: 2rem auto 4rem;
}

.contents-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 横3列 */
  gap: 5px;
  margin-top: 40px;
}

.contents-item {
  background-color: #fff;
  text-align: center;
  transition: box-shadow 0.2s ease;
	position: relative;
}

.contents-item:hover {
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

.contents-item img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 5 / 4;
    object-fit: cover;
}

.contents-category-box {
    display: flex;
    align-items: center;
    padding: 2rem;
    gap: 50px;
    background: #B4CC09;
    border-radius: 8px;
}

ul.category-tabs {
    display: flex;
    gap: 10px;
	flex-wrap: wrap;
	align-items: center;
}

ul.category-tabs li {
    background: #fff;
    padding: 2px 12px;
    border-radius: 15px;
}



ul.category-tabs li a {
    font-size: 0.8rem;
    display: flex;
}

h3.category-heading {
    font-weight: bold;
	width: 125px;
}

ul.category-tabs li.active {
    background: #000;
}
ul.category-tabs li.active a {
    color: #fff;
}

.inner-contents-text {
    position: absolute;
    bottom: 10px;
    left: 10px;
    text-align: left;
}

.cat-tag {
    display: inline-block;
    background: #000;
    color: #fff;
    font-size: 12px;
    padding: 3px 8px;
    border-radius: 15px;
    margin-right: 5px;
	margin-bottom: 5px;
}

h2.contents-title {
    font-size: 1.2rem;
    font-weight: bold;
	color:#000;
	text-shadow: 1px 1px 1px #fff;
}

.pagination {
    margin: 3rem auto 6rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
	color: #000;
}

.prev.page-numbers,.next.page-numbers,.last {
    display: flex;
}

a.last,a.first {
    display: flex;
}

img.bread-icon.lg-icon {
    width: 13px;
}

@media (max-width:768px){
	section.section.contents-archive-page {
    padding: 2rem 2rem 0rem;
}
	
	.contents-category-box {
    display: block;
}
	
	h3.category-heading {
    margin-bottom: 1rem;
}
	
	.contents-list {
  grid-template-columns: repeat(2, 1fr);
}
	
.contents-archive-inner {
    width: 100%;
    padding: 2rem 0 0;
	margin: 2rem auto 4rem;
}
}	

@media (max-width:600px){
	section.section.contents-archive-page {
    padding: 2rem 1rem 0rem;
}
	
	.contents-list {
  grid-template-columns: repeat(1, 1fr);
margin-top: 10px;
}
	
}


/* archive-news */

section.section.news-archive-page {
    padding: 4rem 4rem 0rem;
}

.news-archive-inner {
    width: 90%;
    padding: 2rem 0 0;
	margin: 2rem auto 4rem;
}

.news-list-box {
  margin-top: 40px;
	border-top: 1px solid #bbb;
}

.news-cat-label-date {
    display: flex;
    gap: 30px;
	align-items: center;
}

span.cat-tag.news {
    margin: 0 5px 0 0;
}

.inner-news-text {
    padding: 5px 0px;
}

.news-item-archive {
  background-color: #fff;
  text-align: center;
  transition: box-shadow 0.2s ease;
	position: relative;
}

.news-item-archive img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 5 / 4;
    object-fit: cover;
}

.news-category-box {
    display: flex;
    align-items: center;
    padding: 2rem;
    gap: 50px;
    background: #B4CC09;
    border-radius: 8px;
}

ul.news-tabs {
    display: flex;
    gap: 10px;
	flex-wrap: wrap;
	align-items: center;
}

ul.news-tabs li {
    background: #fff;
    padding: 2px 12px;
    border-radius: 15px;
}

article.news-item-archive a {
    display: flex;
    gap: 7%;
}

article.news-item-archive a img {
    width: 20%;
	aspect-ratio: 3 / 2;
}

article.news-item-archive {
    padding: 1rem;
    border-bottom: 1px solid #bbb;
}


ul.news-tabs li a {
    font-size: 0.8rem;
    display: flex;
}

h3.news-heading {
    font-weight: bold;
}

ul.news-tabs li.active {
    background: #000;
}
ul.news-tabs li.active a {
    color: #fff;
}

.cat-tag {
    display: inline-block;
    background: #000;
    color: #fff;
    font-size: 12px;
    padding: 3px 8px;
    border-radius: 15px;
    margin-right: 5px;
	margin-bottom: 5px;
}

h2.news-title-archive {
    font-size: 1.2rem;
	text-align:left;
	color:#000;
	margin-top: 2rem;
}

	
	.news-category-box {
    padding: 1rem;
}
	
.page-numbers {
    border: 1px solid;
    width: 30px;
    aspect-ratio: 1 / 1;
    height: 30px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

span.page-numbers.current {
    color: #fff;
    background: #000;
    border: 1px solid #000;
}

a.next.page-numbers,a.prev.page-numbers {
    border: 0;
}

@media (max-width:768px){
	section.section.news-archive-page {
    padding: 2rem 2rem 0rem;
}
	
	.news-category-box {
    display: block;
}
	
	h3.category-heading {
    margin-bottom: 1rem;
}
	
	.news-list-box {
  grid-template-columns: repeat(2, 1fr);
		margin-top: 20px;
}
	
.news-archive-inner {
    width: 100%;
    padding: 2rem 0 0;
	margin:0px;
}
	
	article.news-item-archive a {
    display: block;
}
	
	article.news-item-archive a img {
    width: -webkit-fill-available;
		margin-bottom: 1rem;
}
	
	article.news-item-archive {
    padding: 1rem 0.5rem 0.5rem 0.5rem;
}
	
	.news-cat-label-date {
    gap: 20px;
}
	
	h2.news-title-archive {
    margin-top: 1rem;
}
	
}	

@media (max-width:600px){
	section.section.news-archive-page {
    padding: 2rem 1rem 0rem;
}
	
	.news-list-box {
  grid-template-columns: repeat(1, 1fr);
margin-top: 10px;
}
	
}
