
/* === Reset CSS === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  font-family: sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-family: 'Noto Sans JP', sans-serif;
}

body {
  background: #fff;
  color: #262828;
}

ul, ol {
  list-style: none;
}

img {
  vertical-align: bottom;
  max-width: 100%;
  height: auto;
  border: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, textarea, select {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

.bland-item {
  display: flex;
  width: 100%;
  height: 100%;
  background: #ecece9;
}

.bland-item .text h3{
  font-size: 18px;
}

.bland-item .img,
.bland-item .text {
  width: 50%;
}

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

.bland-item .text {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

.bland-item .text div {
  max-width: 80%;
}

.bland-item .text p a {
  border: 1px solid #262828;
  padding: 15px 70px;
  display: inline-block;
  margin-top: 90px;
}
.compant_text p{
  border-bottom: 1px solid #eee;
  padding-bottom: 15px;
  margin-bottom: 30px !important;
}
.compant_text h4{
  font-weight: bold;
}




.pagination {
  display: flex;
  align-items: center;
}

.pagination .page-numbers {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 45px;
  height: 45px;
  background: #fff;
  border: 2px solid #333;
  font-size: 14px;
  color: #333;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.15s linear;
}

.pagination .page-numbers.current {
  background: #333;
  color: #fff;
  pointer-events: none;
}

.pagination .page-numbers:not(.current):hover {
  background: #333;
  color: #fff;
}

.pagination > * + * {
  margin-left: 12px;
}





body {
  margin: 0;
  font-family: sans-serif;
  background-color: #fff;
  color: #262828;
}
p,a,span,div{
  font-size: 14px;
  font-family: 'Noto Sans JP', sans-serif;
}
a{
  text-decoration: none;
}
.news li a:hover{
  margin-left: 5px;
    transition-duration: .3s;
}

header {
  padding: 20px 2%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  z-index: 999;
  width: 96%;
}

.logo {
  font-weight: bold;
  font-size: 1.2rem;
}

/*nav {
  display: flex;
  gap: 20px;
}*/

nav a {
  text-decoration: none;
  color: #333;
  font-size: 14px;
  letter-spacing: 3px;
}

section h2{
  text-align: center;
  font-size: 36px;
  margin-bottom: 60px;
  letter-spacing: 10px;
}

.menu-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
}

.hero, .cards, .gallery, .news, .blog, .company, footer {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.animate {
  opacity: 1;
  transform: translateY(0);
}

.hero {
  background: #e5e5e5;
  text-align: center;
  padding: 80px 20px;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.hero button {
  padding: 10px 20px;
  font-size: 1rem;
  background: #333;
  color: white;
  border: none;
  cursor: pointer;
}

.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 40px 20px;
  gap: 20px;
}

.card {
  background: white;
  width: 300px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  border-radius: 8px;
  text-align: center;
}

.card img {
  width: 100%;
  border-radius: 4px;
}

.card h3 {
  margin-top: 15px;
  font-size: 1.2rem;
}

.card p {
  font-size: 0.95rem;
  color: #666;
}

.gallery {
  padding: 60px 20px;
  text-align: center;
  overflow: hidden;
}
.gallery-grid {
  width: 600px;
    position: relative;
    overflow: hidden;
/*  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-top: 20px;*/
}
.gallery_listwrap{
  display: flex;
  overflow-x: scroll;
}
.gallery_wrap{
  text-align: center;
  width: 45%;
  margin: 5px;
  flex-shrink: 0;
}
.gallery-grid img {
  width: 32%;
    border-radius: 8px;
    float: left;
    margin-right: 1%;
    margin-bottom: 1%;
/*  width: 100%;
  border-radius: 8px;*/
}

.news {
  padding: 60px 20px;
}
.news h2 {
  text-align: center;
}
.news ul {
  list-style: none;
  padding: 0;
}
.news li {
  padding: 10px 0;
  border-bottom: 1px solid #ddd;
  font-size: 1rem;
  padding: 20px 0;
}
.news li a{
  color: #262828;
}
.news .date {
  color: #888;
  margin-right: 30px;
}
.morelink{
  text-align: right;
  margin-top: 50px;
}
.morelink a{
  font-size: 14px;
  text-decoration: none;
  color: #262828;
}
.label-new {
  background: #ff3b3b;
  color: white;
  font-size: 0.75rem;
  padding: 2px 6px;
  border-radius: 3px;
  margin-right: 10px;
}

.blog {
  padding: 60px 20px;
  text-align: center;
}
.blog-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}
.blog-card {
  width: 300px;
  background: white;
  padding: 20px;
  text-align: left;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  border-radius: 8px;
}
.blog-card img {
  width: 100%;
  border-radius: 4px;
  margin-bottom: 10px;
}
.blog-card h3 {
  margin: 10px 0 5px;
}
.blog-card p {
  font-size: 0.9rem;
  color: #555;
}
.container_lower p{
  margin-bottom: 10px;
}
.container_lower h4{
  margin-bottom: 10px;
}

.company {
  padding: 60px 20px;
  /*background: #fafafa;*/
  overflow: hidden;
}
.company table {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  border-collapse: collapse;
}
.company th, .company td {
  padding: 10px;
  text-align: left;
  font-size: 12px;
}
.company th {
  width: 30%;
}
.bland{
  overflow: hidden;
  background: #ecece9;
}
.bland .img{
  float: left;
  width: 50%;
}
.bland .img img{
  width: 100%;
  height: auto;
}
.bland .text{
  float: left;
  width: 50%;
  text-align: center;
  position: relative;
}
.bland .text div{
  position: absolute;
  top: 10vh;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
}
.bland .text div p a{
  border: 1px solid #262828;
  padding: 15px 70px;
  display: inline-block;
  margin-top: 90px;
}
.news,
.company{
  width: 1000px;
  margin: 0 auto;
}
.left_box{
  width: 50%;
  float: left;
}
.right_box{
  width: 46%;
  float: left;
  padding-left: 4%;
}

footer {
  background: #333;
  color: white;
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
}

footer ul{
  overflow: hidden;
  text-align: center;
  margin: 50px 0;
}

footer li{
  list-style: none;
  display: inline-flex;
  margin: 0 10px;
font-size: 12px;
}

footer li a{
  color: #fff;
}


.hero-slider {
  position: relative;
  height: 100vh;
  overflow: hidden;
}
.hero-slider .slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
.hero-slider .slide.active {
  opacity: 1;
  z-index: 1;
}
.hero-caption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  z-index: 2;
}
.hero-caption h1 {
  font-size: 2.8rem;
  margin-bottom: 10px;
}
.hero-caption p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}
.hero-caption button {
  padding: 10px 20px;
  font-size: 1rem;
  background: rgba(0,0,0,0.6);
  color: white;
  border: none;
  cursor: pointer;
}
.company{
  margin-bottom: 150px;
}

#head_wrap {
  position: fixed;
  width: 100%;
  line-height: 1;
  z-index: 999;
  height: 0px;
  text-decoration: none;
}

#head_wrap a {
  text-decoration: none;
}

#head_wrap .inner {
}

#head_wrap .inner:after {
  content: "";
  clear: both;
  display: block;
}

#head_wrap .logo {
  float: left;
  font-size: 36px;
  position: relative;
  z-index: 99;
}

#global-nav {
  position: absolute;
  right: 0;
  top: 0;
  width: 100%;
  text-align: right;
}

#global-nav ul {
  list-style: none;
  font-size: 14px;
  margin-right: 10px;
  display: inline-flex;
}

#global-nav ul li {
  padding: 20px 10px;
}

#global-nav ul li:last-child {
  border-right: none;
}

#global-nav ul li a {
  padding: 0 5px;
  padding: 2px;
  transition: all .6s ease 0s;
  box-sizing: border-box;
  font-weight: bold;
}



/* Fixed */
#head_wrap.fixed {
  margin-top: 0;
  top: 0;
  position: fixed;
  transition: top 0.65s ease-in;
  -webkit-transition: top 0.65s ease-in;
  -moz-transition: top 0.65s ease-in;
  z-index: 9999;
}

#head_wrap.fixed .logo {
  font-size: 36px;
  color: #333;
}

#head_wrap.fixed #global-nav ul li a {
  color: #333;
  padding: 0 20px;
}

/* Toggle Button */
#nav-toggle {
  display: none;
  position: absolute;
  right: 12px;
  top: 14px;
  width: 34px;
  height: 36px;
  cursor: pointer;
  z-index: 101;
}

#nav-toggle div {
  position: relative;
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}
.scroll-reveal.animate {
  opacity: 1;
  transform: translateY(0);
}


/*BLOG*/
.lower_title{
  padding: 50px 0;
    text-align: center;
    font-size: 24px;
    margin-top: 70px;
    letter-spacing: 10px;
}
.container {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  gap: 30px;
}
.main-column {
  flex: 1;
  min-width: 60%;
}
.blog-post {
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid #ddd;
  padding-bottom: 30px;
  margin-bottom: 30px;
}
.blog-post img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
}
.blog-post h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}
.blog-post p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
}
.blog-post .date {
  font-size: 0.85rem;
  color: #888;
  margin-top: 10px;
}

.side-column {
  flex: 0 0 30%;
  min-width: 250px;
}
.side-column h4 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  border-bottom: 2px solid #333;
  padding-bottom: 5px;
}
.category-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.category-list li a {
  padding: 10px 0;
  display: block;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #eee;
  font-size: 0.95rem;
}
.category-list li a::after {
  content: '>';
  color: #aaa;
  margin-left: 10px;
  float: right;
}

.category-list li a:hover{
  margin-left: 5px;
    transition-duration: .3s;
}
.blog_deital_wrapper h3{
  font-size: 20px;
}
.blog_deital_wrapper .date{
  border-bottom: 1px solid #ccc;
  padding: 15px 0;
  margin-bottom: 20px;
  text-align: right;
}
/*news*/
.newswrapper li a{
  display: block;
  padding: 30px 0;
  border-bottom: 1px solid #ccc;
}
.container_lower{
  width: 1000px;
  margin: 0 auto 100px;
  overflow: hidden;
}
.container_lower th{
  width: 30%;
}
.container_lower th, .container_lower td{
  padding: 10px;
    text-align: left;
    font-size: 14px;
}
.company_box{
  margin-bottom: 50px;
}
.company_box h3{
  text-align: center;
  font-size: 24px;
  margin-bottom: 15px;
}

/*ContactForm7カスタマイズ*/
table.CF7_table{
  width:100%;
  margin:0 auto;
}

table.CF7_table tr{
  border-top: 1px solid #e5e5e5;
}

.single .entry-content table.CF7_table,
.page .entry-content table.CF7_table{
  display:table;
}

/*入力欄*/
.CF7_table .wpcf7-list-item input{
  width: auto;
}
.CF7_table input, .CF7_table textarea {
  border: 1px solid #d8d8d8;
  padding: 15px;
  width: 100%;
}

.CF7_table ::placeholder {
  color:#797979;
}

/*「必須」文字*/
.CF7_req{
  font-size:.9em;
  padding: 5px;
  background: #ff3b3b;/*オレンジ*/
  color: #fff;
  border-radius: 3px;
  margin-right:1em;
}

/*「任意」文字*/
.CF7_unreq{
  font-size:.9em;
  padding: 5px;
  background: #bdbdbd;/*グレー*/
  color: #fff;
  border-radius: 3px;
  margin-right:1em;
}


.megaMenu {
  left: 0;
  opacity: 0;
  position: absolute;
  text-align: center;
/*  visibility: hidden;*/
  width: 100%;
}
.megaMenu-list {
}
.megaMenu-item {
  display: inline-block;
}
/* メニューをhoverした時のスタイル */
.megaMenu:hover {
  opacity: 1;
  visibility: visible;
}
.header-item {
  transition: background-color .3s;
}
.megaMenu {
  transition: opacity .3s, visibility .3s;
}
/* メニューをhoverした時のスタイル */
.header-item:hover .megaMenu {
 height: 116px; /* メガメニューの高さ */
}
.tab_list{
      overflow: hidden;
    margin-bottom: 20px;
}
.tab_list li a{
  width: 50%;
    padding: 15px;
    text-align: center;
    border: 1px solid #ccc;
    display: block;
    float: left;
}
.tab_list li a:hover{
  background: #eee;
}

/* タイトル列 */
@media screen and (min-width: 768px){
  .CF7_table th{
  width:30%;/*横幅*/
  background-color:#ebedf5;/*ブルーグレー*/
  }
}

/* レスポンシブ */
@media screen and (max-width: 768px){
  table.CF7_table{
  width:95%;
  }
  .CF7_table tr, .CF7_table td, .CF7_table th{
  display: block;
  width: 100%;
  line-height:2.5em;
  }
  .CF7_table th{
  background-color:#ebedf5;
  }
}

/* 「送信する」ボタン */
.wpcf7 input.wpcf7-submit {
  background-color:#f79034;/* オレンジ*/
  border:0;
  color:#fff;
  font-size:1.2em;
  font-weight:bold;
  margin:0 auto;
  width: 30%;
  padding: 15px;
}

.CF7_btn{
  text-align:center;
  margin-top:20px;
}

.wpcf7-spinner{
  width:0;
  margin:0;
}

.goog-te-gadget .goog-te-combo{
  background: #fff;
    padding: 5px 10px;
}

.swiper-button-next, .swiper-button-prev{
  color: #aaa;
}
.goog-te-gadget{
  font-size: 0 !important;
}
.skiptranslate span{
  display: none;
}
.newswrapper .container_lower h3{
  font-weight: bold;
  font-size: 16px;
}
.honbun{
  margin-bottom: 80px;
}
.backlink a{
  display: block;
  padding: 15px 0;
  text-align: center;
  font-size: 14px;
  border: 1px solid #ccc;
  margin-bottom: 40px;
}



@media screen and (max-width: 640px) {
  header{
    width: 100%;
  }
  nav {
    flex-direction: column;
    width: 100%;
    background: #fff;
    z-index: 99;
        height: 100vh;
        text-align: center;
        padding-top: 50px;
  }
  .bland .text div{
    top: 0;
  }
  nav.show {
    display: flex;
  }

  .menu-toggle {
    display: block;
    width: 50px;
    text-align: center;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .cards {
    flex-direction: column;
    align-items: center;
  }

  .card {
    width: 90%;
  }
  .news,
  .company{
    width: auto;
  }
  .right_box,
  .left_box{
    width: auto;
    float: none;
    padding: 0;
  }
  .gallery_wrap{
    width: auto;
  }
  .bland .text div p a{
    margin-top: 20px;
    font-size: 12px;
    padding: 10px 15px;
  }
  #global-nav ul {
    display: block;
    margin-right: 0px;
  }

  #global-nav ul li {
    border-right: none;
    text-align: center;
  }

  #head_wrap {
    top: 0;
    position: fixed;
    margin-top: 0;
    width: 100%;
    padding: 0;
    /* Fixed reset */
  }
  #head_wrap .inner {
    width: 100%;
    padding: 0;
  }
  #head_wrap .fixed {
    padding-top: 0;
    background: transparent;
  }
  #mobile-head {
    background: rgba(255, 255, 255, 0.9);
    width: 100%;
    z-index: 999;
    position: relative;
  }
  #head_wrap.fixed .logo,
  #head_wrap .logo {
    position: absolute;
    left: 13px;
    top: 13px;
    color: #333;
    font-size: 26px;
  }
  #global-nav {
  top: 0;
  transform: translateY(-100%);
  transition: transform 0.5s ease-in-out;
/*    position: absolute;
    top: -500px;
    background: rgba(255, 255, 255, 0.9);
    width: 100%;
    text-align: center;
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    transition: .5s ease-in-out;*/
  }
  #global-nav ul {
    list-style: none;
    position: static;
    right: 0;
    bottom: 0;
    font-size: 14px;
    margin-top: 20px;
  }
  #global-nav ul li {
    float: none;
    position: static;
  }
  #head_wrap #global-nav ul li a,
  #head_wrap.fixed #global-nav ul li a {
    width: 100%;
    display: block;
    padding: 5px 0;
  }
  #nav-toggle {
    display: block;
  }
  /* #nav-toggle 切り替えアニメーション */
  #nav-toggle span {
    display: block;
    position: absolute;
    height: 1px;
    width: 100%;
    background: #000;
    left: 0;
    -webkit-transition: .35s ease-in-out;
    -moz-transition: .35s ease-in-out;
    transition: .35s ease-in-out;
  }
  #nav-toggle span:nth-child(1) {
    top: 0;
  }
  #nav-toggle span:nth-child(2) {
    top: 11px;
  }
  #nav-toggle span:nth-child(3) {
    top: 22px;
  }
  .open #nav-toggle span:nth-child(1) {
    top: 11px;
    -webkit-transform: rotate(315deg);
    -moz-transform: rotate(315deg);
    transform: rotate(315deg);
  }
  .open #nav-toggle span:nth-child(2) {
    width: 0;
    left: 50%;
  }
  .open #nav-toggle span:nth-child(3) {
    top: 11px;
    -webkit-transform: rotate(-315deg);
    -moz-transform: rotate(-315deg);
    transform: rotate(-315deg);
  }
  /* #global-nav スライドアニメーション */
  .open #global-nav {
    transform: translateY(0);
/*    -moz-transform: translateY(556px);
    -webkit-transform: translateY(556px);
    transform: translateY(556px);*/
  }
  .container{
    display: block;
  }
  .side-column{
    min-width: inherit;
  }
  .container_lower{
    width: auto;
    padding: 0 15px;
  }
  .container_lower th, .container_lower td{
    padding: 0;
  }
  #global-nav ul.megaMenu-list{
    margin-top:0;
  }
  #global-nav ul.megaMenu-list li{
    float: left;
    width: 50%;
  }
  .megaMenu{
    position: relative;
    opacity: 1;
    left: inherit;
  }
  #global-nav ul li.megaMenu-item{
    display: block;
  }
  #global-nav ul li .megaMenu{
    overflow: hidden;
  }
  section h2{
    font-size: 26px;
  }
  .bland-item {
    display: block;
    width: 100%;
    height: 450px;
    background: #ecece9;
  }

  .bland-item .img,
  .bland-item .text {
    float: none;
    width: 100%;
  }
  .bland-item .text{
    margin-top: 20px;
  }
}
