.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;
}

.header {
  background: transparent;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: background-color 0.3s ease;
}

.header.scrolled {
  background-color: rgba(0, 0, 0, 0.6); /* 薄い黒背景 */
}


.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0px 0 0px 20px;
}
@media (max-width: 1048px) {
  .header__inner {
    padding: 10px 0px 10px 10px;
  }
}
.header__inner__logo {
  width: 250px;
	padding-top:10px;
}
@media (max-width: 1200px) {
  .header__inner__logo {
    width: 200px;
  }
}
.header__inner__logo img {
  width: 100%;
  height: auto;
}
.header__inner__nav {
  display: flex;
  gap: 30px;
  align-items: center;
}
@media (max-width: 1200px) {
  .header__inner__nav {
    gap: 20px;
  }
}
@media (max-width: 1048px) {
  .header__inner__nav {
    transform: translateX(100%);
    transition: all 0.3s ease;
    position: absolute;
    background: #006027;
    left: 0;
    height: 100svh;
    top: 0;
    overflow-y: scroll;
    width: 100%;
    flex-direction: column;
    padding: 80px 0 50px;
  }
  .header__inner__nav.is-open {
    transform: translateX(0);
  }
}
.header__inner__nav ul {
  display: flex;
  gap: 30px;
}
@media (max-width: 1200px) {
  .header__inner__nav ul {
    gap: 20px;
  }
}
@media (max-width: 1048px) {
  .header__inner__nav ul {
    flex-direction: column;
    margin-bottom: 30px;
  }
}
.header__inner__nav ul li {
  list-style: none;
}
.header__inner__nav ul li a {
  color: #303133;
  text-decoration: none;
  font-weight: bold;
  color: #fff;
  transition: all 0.3s ease;
}
.header__inner__nav ul li a:hover {
  color: #c50c1c;
}
.header__inner__nav a.menu-item--cv {
  background-color: #006027;
  color: #fff;
  padding: 30px 20px;
  transition: all 0.3s ease;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
@media (max-width: 1048px) {
  .header__inner__nav a.menu-item--cv {
    display: none;
  }
}
.header__inner__nav a.menu-item--cv:hover {
  background: rgba(0, 96, 39, 0.8);
}
.header__inner__nav a.menu-item--cv img {
  width: 50px;
  height: auto;
}
.header__inner__nav a.menu-item--cv-mobile {
  display: none;
}
@media (max-width: 1048px) {
  .header__inner__nav a.menu-item--cv-mobile {
    display: flex;
    color: #fff;
    padding: 10px 20px 10px 30px;
    transition: all 0.3s ease;
    text-decoration: none;
    background: #00491d;
    width: 90%;
    max-width: 400px;
    align-items: center;
    position: relative;
  }
  .header__inner__nav a.menu-item--cv-mobile:before {
    content: "";
    position: absolute;
    top: 0;
    left: 80px;
    width: 2px;
    height: 100%;
    background-color: #006027;
    z-index: 0;
  }
  .header__inner__nav a.menu-item--cv-mobile i {
    width: 30px;
    display: flex;
  }
  .header__inner__nav a.menu-item--cv-mobile i img {
    width: 100%;
    height: auto;
  }
  .header__inner__nav a.menu-item--cv-mobile span {
    flex: 1;
    padding-left: 45px;
    display: flex;
    flex-direction: column;
  }
  .header__inner__nav a.menu-item--cv-mobile span.button--orange {
    padding: 10px 20px;
    margin-left: 40px;
    font-size: 15px;
    font-weight: 700;
  }
  .header__inner__nav a.menu-item--cv-mobile span strong {
    display: block;
    font-size: 32px;
    font-family: din-2014-narrow, sans-serif;
    font-weight: 600;
    font-style: normal;
    font-weight: 700;
    font-style: normal;
    letter-spacing: 0.1em;
    line-height: 1.3;
  }
  .header__inner__nav a.menu-item--cv-mobile span small {
    font-size: 11px;
    font-weight: 700;
  }
}
.header__inner__nav a.menu-item--cv-mobile img {
  width: 50px;
  height: auto;
}
.header__inner__toggle {
  display: none;
  padding: 10px;
  background: #006027;
  position: absolute;
  top: 0px;
  right: 0px;
  height: 75px;
  width: 75px;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
@media (max-width: 1048px) {
  .header__inner__toggle {
    display: flex;
  }
}
.header__inner__toggle span {
  display: block;
  width: 40px;
  height: 2px;
  background-color: #fff;
  margin: 6px 0;
  transition: all 0.3s ease;
}
.header__inner__toggle.menu-active span:nth-child(1) {
  transform: rotate(405deg) translate(10px, 7px);
}
.header__inner__toggle.menu-active span:nth-child(2) {
  opacity: 0;
  transform: translateX(100%);
}
.header__inner__toggle.menu-active span:nth-child(3) {
  transform: rotate(-405deg) translate(12px, -10px);
}

.button--orange {
  background-color: #c50c1c;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  border-radius: 50px;
}
.button--orange small {
  position: absolute;
  top: 50%;
  right: 0px;
  transform: translateY(-50%);
  transition: all 0.3s ease;
}
.button--orange:hover {
  background-color: rgb(148.9282296651, 9.0717703349, 21.1674641148);
}

.hero {
  padding: 100px 0 200px;
  background-image: url("../images/mv-pc-new.webp");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  position: relative;
}
@media (max-width: 1048px) {
  .hero {
    background-image: url("../images/mv-sp-new.webp");
    padding: 150px 0 50px;
  }
}
.hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 90%;
  margin: 0 auto;
  padding: 200px 0 200px;
}
@media (max-width: 1048px) {
  .hero__content {
    padding: 100px 0 100px;
  }
}
.hero__content h1 {
  font-size: 140px;
  text-wrap: nowrap;
  font-family: "Shippori Mincho B1", serif;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 20px;
  opacity: 0.6;
}
@media (max-width: 1200px) {
  .hero__content h1 {
    font-size: 120px;
  }
}
@media (max-width: 1048px) {
  .hero__content h1 {
    font-size: 72px;
  }
}
@media (max-width: 768px) {
  .hero__content h1 {
    font-size: 64px;
    font-weight: 500;
  }
}
.hero__content h2 {
  display: flex;
  flex-direction: column;
  font-family: "Shippori Mincho B1", serif;
}
.hero__content h2 span {
  color: #fff;
  font-size: 64px;
}
@media (max-width: 1048px) {
  .hero__content h2 span {
    font-size: 42px;
  }
}
@media (max-width: 768px) {
  .hero__content h2 span {
    font-size: 32px;
  }
}
.hero__content p {
  font-size: 20px;
  color: #fff;
  margin-top: 20px;
}
.hero__content__scroll {
  margin-left: auto;
  width: fit-content;
  padding-right: 30px;
  padding-bottom: 100px;
  position: relative;
}
@media (max-width: 1048px) {
  .hero__content__scroll {
    padding-right: unset;
    padding-bottom: 50px;
    margin-left: unset;
    margin-right: auto;
    padding-left: 20px;
  }
}
.hero__content__scroll:before {
  content: "";
  position: absolute;
  top: 0;
  right: 20px;
  width: 2px;
  height: 100%;
  display: block;
  background: #fff;
}
@media (max-width: 1048px) {
  .hero__content__scroll:before {
    right: unset;
    left: 20px;
  }
}
.hero__content__scroll:after {
  content: "";
  position: absolute;
  bottom: -20px;
  right: 18.5px;
  height: 5px;
  width: 5px;
  display: block;
  background: #fff;
  border-radius: 50%;
  animation: scroll 1.5s infinite;
}
@media (max-width: 1048px) {
  .hero__content__scroll:after {
    right: unset;
    left: 18.5px;
  }
}
.hero__content__scroll p {
  writing-mode: vertical-rl;
  color: #fff;
  font-family: din-2014-narrow, sans-serif;
  letter-spacing: 0.2em;
}
@media (max-width: 1048px) {
  .hero__content__scroll p {
    margin-left: 10px;
  }
}

@keyframes scroll {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(10px);
  }
  100% {
    transform: translateY(0);
  }
}
.hero .latest-post-item {
  position: absolute;
  bottom: 0;
  right: 0;
}
.hero .latest-post-item a {
  background: #242526;
  color: #fff;
  padding: 30px 20px;
  font-weight: 500;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 30vw;
}
@media (max-width: 768px) {
  .hero .latest-post-item a {
    width: 75vw;
    padding: 10px 20px;
    font-size: 12px;
  }
}
.hero .latest-post-item a span {
  display: flex;
  align-items: center;
  gap: 40px;
}
@media (max-width: 768px) {
  .hero .latest-post-item a span {
    gap: 0;
    flex-direction: column;
  }
}
.hero .latest-post-item a span time {
  color: #006027;
  position: relative;
}
.hero .latest-post-item a span time:after {
  content: "";
  position: absolute;
  top: 50%;
  right: -20px;
  width: 1px;
  height: 100%;
  background-color: #383a39;
  transform: translateY(-50%);
}
@media (max-width: 768px) {
  .hero .latest-post-item a span time:after {
    font-size: 12px;
    content: unset;
  }
}
.hero .latest-post-item a i {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: solid 1px #006027;
  color: #006027;
}
@media (max-width: 768px) {
  .hero .latest-post-item a i {
    width: 30px;
    height: 30px;
    font-size: 12px;
  }
}
.hero .latest-post-item a i:before {
  position: relative;
  transition: all 0.3s ease;
  right: 0;
}
.hero .latest-post-item a:hover i:before {
  right: -10px;
}

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

.title {
  position: relative;
  padding-left: 40px;
}
@media (max-width: 768px) {
  .title {
    padding-left: 20px;
  }
}
.title::before {
  content: "";
  width: 35.3333333333px;
  height: 94.6666666667px;
  background-image: url("../images/title-icon.webp");
  background-repeat: no-repeat;
  background-size: cover;
  display: block;
  position: absolute;
  left: 0;
  bottom: 0;
}
@media (max-width: 768px) {
  .title::before {
    width: 26.5px;
    height: 71px;
    left: -20px;
  }
}
.title__en {
  font-family: "Shippori Mincho B1", serif;
  font-weight: 700;
  color: #006027;
  margin-bottom: 10px;
  color: #d3e2d6;
  font-size: 82px;
}
@media (max-width: 768px) {
  .title__en {
    font-size: 42px;
  }
}
.title span {
  display: block;
  margin-top: -1lh;
  padding-left: 30px;
  line-height: 1.3;
  font-size: 42px;
  font-family: "Noto Serif JP", serif;
}
@media (max-width: 768px) {
  .title span {
    font-size: 24px;
    padding-left: 20px;
  }
}
.title__bottom {
  line-height: 1.8;
  margin-top: 80px;
  letter-spacing: 0.1em;
  padding-left: 40px;
}
@media (max-width: 768px) {
  .title__bottom {
    margin-top: 30px;
    padding-left: 40px;
  }
}
.title__bottom a {
  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;
}
.title__bottom a:hover {
  background: #c50c1c;
}
.title__bottom a i {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translate(0px, -50%);
}

.intro {
  padding: 700px 0 0px;
  position: relative;
  background-image: url("../images/intro-background.webp");
  background-repeat: repeat;
  background-size: 80%;
  background-position: center center;
}
@media (max-width: 768px) {
  .intro {
    padding: 300px 0 0px;
  }
}
.intro:before {
  content: "";
  background-image: url("../images/intro-bg.webp");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  width: 682.6666666667px;
  height: 582px;
  position: absolute;
  display: block;
  top: 0;
}
@media (max-width: 768px) {
  .intro:before {
    width: 256px;
    height: 218.25px;
  }
}
.intro__inner__flex {
  display: flex;
  gap: 40px;
  align-items: center;
}
@media (max-width: 768px) {
  .intro__inner__flex {
    flex-direction: column-reverse;
  }
}
.intro__inner__flex__left, .intro__inner__flex__right {
  flex: 1;
}
@media (max-width: 1048px) {
  .intro__inner__flex__left, .intro__inner__flex__right {
    flex: unset;
  }
}
.intro__inner__flex__right img {
  width: 100%;
  height: auto;
}

.intro-bottom {
  padding: 100px 0 200px;
  background-image: url("../images/intro-bottom-bg.webp");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: bottom right;
}
@media (max-width: 768px) {
  .intro-bottom {
    padding: 50px 0 100px;
  }
}
.intro-bottom__inner .title-center {
  text-align: center;
  font-size: 32px;
  border-bottom: solid 3px #006027;
  width: fit-content;
  margin: 0 auto 20px;
  padding-bottom: 10px;
}
@media (max-width: 768px) {
  .intro-bottom__inner .title-center {
    font-size: 24px;
  }
}
.intro-bottom__items {
  display: flex;
  gap: 20px;
  margin-top: 50px;
}
@media (max-width: 768px) {
  .intro-bottom__items {
    flex-direction: column;
  }
}
.intro-bottom__item {
  flex: 1;
  text-align: center;
  border: solid 2px #006027;
  padding: 60px 20px 20px;
  background: #fff;
  flex-direction: column;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  text-decoration: none;
  color: #006027;
}
@media (max-width: 768px) {
  .intro-bottom__item {
    padding: 10px;
    flex: unset;
    display: grid;
    grid-template-columns: 1fr 2fr 0.5fr;
    gap: 10px;
  }
}
.intro-bottom__item i {
  transition: all 0.3s ease;
}

.intro-bottom__item i img{
	width: 60px;
	height: 60px;
}

@media (max-width: 768px) {
  .intro-bottom__item i {
    order: 3;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .intro-bottom__item i img {
    width: 40px;
    height: 40px;
  }
}
.intro-bottom__item:hover i {
  transform: scale(1.1);
}
.intro-bottom__item h3 {
  display: flex;
  flex-direction: column;
  font-size: 24px;
  gap: 10px;
}
@media (max-width: 768px) {
  .intro-bottom__item h3 {
    order: 2;
    text-align: left;
    gap: 0;
    font-size: 16px;
  }
}
.intro-bottom__item h3 span {
  font-size: 16px;
  font-weight: 500;
}
.intro-bottom__item__image {
  width: 40%;
  height: auto;
}
@media (max-width: 768px) {
  .intro-bottom__item__image {
    width: 80%;
    order: 1;
  }
}

.intro-bottom-image-sec {
  padding-bottom: 100px;
}
@media (max-width: 768px) {
  .intro-bottom-image-sec {
    padding-bottom: 50px;
  }
}
.intro-bottom-image-sec img {
  width: 100%;
  height: auto;
}

.achivements {
  padding: 100px 0;
  position: relative;
  background-image: url("../images/intro-background.webp");
  background-repeat: repeat;
  background-size: 80%;
  background-position: center center;
}
@media (max-width: 768px) {
  .achivements {
    padding: 50px 0;
  }
}
.achivements__inner__flex {
  display: flex;
  gap: 40px;
  align-items: center;
  flex-direction: row-reverse;
}
@media (max-width: 768px) {
  .achivements__inner__flex {
    flex-direction: column-reverse;
  }
}
.achivements__inner__flex__left, .achivements__inner__flex__right {
  flex: 1;
}
@media (max-width: 1048px) {
  .achivements__inner__flex__left, .achivements__inner__flex__right {
    flex: unset;
  }
}
.achivements__inner__flex__left h2 {
  padding-left: 0;
  padding-right: 40px;
}
@media (max-width: 768px) {
  .achivements__inner__flex__left h2 {
    padding-left: 0px;
    padding-right: 20px;
  }
}
.achivements__inner__flex__left h2:before {
  right: 0;
  left: unset;
}
.achivements__inner__flex__left .title__bottom {
  padding-right: 40px;
}
@media (max-width: 768px) {
  .achivements__inner__flex__left .title__bottom {
    padding-right: 20px;
  }
}
.achivements__inner__flex__right img {
  width: 100%;
  height: auto;
}

.awards {
  padding: 100px 0;
  position: relative;
  background-image: url("../images/intro-background.webp");
  background-repeat: repeat;
  background-size: 80%;
  background-position: center center;
}
@media (max-width: 768px) {
  .awards {
    padding: 50px 0;
  }
}
.awards__inner__flex {
  display: flex;
  gap: 40px;
  align-items: center;
}
@media (max-width: 768px) {
  .awards__inner__flex {
    flex-direction: column-reverse;
  }
}
.awards__inner__flex__left, .awards__inner__flex__right {
  flex: 1;
}
@media (max-width: 1048px) {
  .awards__inner__flex__left, .awards__inner__flex__right {
    flex: unset;
  }
}
.awards__inner__flex__left h2 strong {
  line-height: 0.5;
}
.awards__inner__flex__left h2 span {
  margin-top: -0.5lh;
}
.awards__inner__flex__right img {
  width: 100%;
  height: auto;
}

.awards__bottom {
  padding: 200px 0;
  background-image: url("../images/bg-awrds-bottom.webp");
  background-position: center left;
  background-color: #006027;
}
@media (max-width: 768px) {
  .awards__bottom {
    padding: 100px 0;
    background-image: url("../images/bg-awrds-bottom-sp.webp");
    background-size: contain;
  }
}
.awards__bottom .awards__bottom__items {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 80px;
}
@media (max-width: 768px) {
  .awards__bottom .awards__bottom__items {
    flex-direction: column;
    gap: 20px;
    margin-bottom: 50px;
  }
}
.awards__bottom .awards__bottom__items .awards__bottom__item {
  flex: 1;
  padding: 20px 30px;
  background: #fff;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 768px) {
  .awards__bottom .awards__bottom__items .awards__bottom__item {
    width: 80%;
    margin-left: auto;
    padding: 20px 10px;
  }
}
.awards__bottom .awards__bottom__items .awards__bottom__item:before {
  content: "";
  left: 0;
  top: 0;
  background: #c50c1c;
  width: 15%;
  height: 5px;
  display: block;
  position: absolute;
}
.awards__bottom .awards__bottom__items .awards__bottom__item h3 {
  color: #006027;
  width: fit-content;
  margin: 0 auto;
  font-size: 24px;
}
@media (max-width: 768px) {
  .awards__bottom .awards__bottom__items .awards__bottom__item h3 {
    font-size: 16px;
  }
}
.awards__bottom a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: fit-content;
  margin: 0 auto;
  padding: 10px 20px;
  background: #006027;
  color: #fff;
  border: solid 2px #fff;
  text-decoration: none;
  font-weight: 700;
  border-radius: 50px;
  transition: all 0.3s ease;
}
.awards__bottom a:hover {
  background: #c50c1c;
}

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

.scroll_text {
  position: relative;
  top: -100px;
}
@media (max-width: 768px) {
  .scroll_text {
    top: -40px;
  }
}

.scroll_text ._inner {
  width: 100vw;
  margin: 0 calc(50% - 50vw);
  display: flex;
  overflow: hidden;
  position: absolute;
}

.title--first,
.title--second {
  flex-shrink: 0;
  width: auto;
  height: auto;
  display: inline-block;
  text-wrap: nowrap;
  white-space: nowrap;
  font-size: 120px;
  color: #798a80;
  font-weight: 200;
  font-family: "Shippori Mincho B1", serif;
}
@media (max-width: 1200px) {
  .title--first,
  .title--second {
    font-size: 42px;
  }
}

.title--first {
  animation: anim--first 60s infinite linear 0.1s both;
}

.title--second {
  animation: anim--second 60s infinite linear 0.1s both;
}

@keyframes anim--first {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-100%);
  }
}
@keyframes anim--second {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-100%);
  }
}
.news {
  padding: 200px 0;
  position: relative;
}
@media (max-width: 768px) {
  .news {
    padding: 100px 0;
  }
}
.news__inner .title {
  display: flex;
  align-items: baseline;
  padding-left: 70px;
}
.news__inner .title:before {
  content: "";
  width: 26.5px;
  height: 71px;
}
@media (max-width: 768px) {
  .news__inner .title {
    padding-left: 40px;
  }
}
.news__inner .title__en {
  line-height: 1;
  margin-bottom: 0;
}
.news__inner .title__bottom {
  padding-left: 70px;
}
@media (max-width: 768px) {
  .news__inner .title__bottom {
    padding-left: 40px;
  }
}
.news__inner .news__flex {
  display: flex;
  gap: 80px;
}
@media (max-width: 768px) {
  .news__inner .news__flex {
    flex-direction: column;
    gap: 20px;
  }
}
.news__inner .news__flex .button {
  background: #006027;
  color: #fff;
  padding: 10px 60px;
  border-radius: 50px;
  display: none;
  width: fit-content;
  margin: 0 auto;
  margin-top: 50px;
  text-decoration: none;
  font-weight: 700;
  position: relative;
  transition: all 0.3s ease;
}
@media (max-width: 768px) {
  .news__inner .news__flex .button {
    display: block;
  }
}
.news__inner .news__flex .button:hover {
  background: #c50c1c;
}
.news__inner .news__flex .button i {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translate(0px, -50%);
}
.news__inner .news__flex .news__flex__item {
  flex: 1;
}
.news__inner .news__flex .news__flex__item a.button {
  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;
}
@media (max-width: 768px) {
  .news__inner .news__flex .news__flex__item a.button {
    display: none;
  }
}
.news__inner .news__flex .news__flex__item a.button:hover {
  background: #c50c1c;
}
.news__inner .news__flex .news__flex__item a.button i {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translate(0px, -50%);
}
@media (max-width: 768px) {
  .news__inner .news__flex .news__flex__item .latest-post-item {
    margin-top: 40px;
  }
}
.news__inner .news__flex .news__flex__item .latest-post-item:last-child a {
  border-bottom: #006027 solid 2px;
}
.news__inner .news__flex .news__flex__item .latest-post-item a {
  display: flex;
  text-decoration: none;
  align-items: center;
  padding: 50px 40px 50px 20px;
  position: relative;
  background: #fff;
  border-top: #006027 solid 2px;
}
.news__inner .news__flex .news__flex__item .latest-post-item a span time {
  color: #006027;
  font-weight: 700;
}
.news__inner .news__flex .news__flex__item .latest-post-item a span p {
  font-size: 18px;
  font-weight: 500;
  color: #303133;
}
.news__inner .news__flex .news__flex__item .latest-post-item a i {
  position: absolute;
  right: 20px;
  transition: all 0.3s ease;
}

.news__inner .news__flex .news__flex__item .latest-post-item a i img{
	width: 60px;
	height: 60px;
}

@media ( max-width: 768px ){
	.news__inner .news__flex .news__flex__item .latest-post-item a i img{
		width: 40px;
		height: 40px;
	}	
}

.news__inner .news__flex .news__flex__item .latest-post-item a:hover i {
  transform: scale(1.1);
}

.footer__contact {
  padding: 100px 0;
  background-image: url("../images/bg-contact.webp");
  background-size: cover;
  background-position: center center;
}
@media (max-width: 768px) {
  .footer__contact {
    background-position: left;
  }
}
.footer__contact__inner h2 {
  text-align: center;
  font-size: 32px;
  width: fit-content;
  margin: 0 auto 20px;
  color: #fff;
  position: relative;
}
@media (max-width: 768px) {
  .footer__contact__inner h2 {
    font-size: 24px;
  }
}
.footer__contact__inner h2:before {
  content: "";
  width: 100px;
  height: 3px;
  background: #fff;
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
}
.footer__contact__inner .title-bottom {
  text-align: center;
  color: #fff;
  margin-top: 70px;
  margin-bottom: 50px;
}
@media (max-width: 768px) {
  .footer__contact__inner .title-bottom {
    font-size: 18px;
  }
}
.footer__contact__inner__flex {
  display: flex;
  max-width: 768px;
  margin: 0 auto;
  gap: 40px;
}
@media (max-width: 768px) {
  .footer__contact__inner__flex {
    flex-direction: column;
    max-width: 100%;
    padding: 0 20px;
  }
}
.footer__contact__inner__flex__item {
  flex: 1;
  background: #00491d;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  color: #fff;
}
.footer__contact__inner__flex__item p {
  text-align: center;
  font-size: 20px;
}
.footer__contact__inner__flex__item picture {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 60px;
}
.footer__contact__inner__flex__item picture img {
  width: 50px;
  height: auto;
  margin: 0 auto;
}
.footer__contact__inner__flex__item a {
  color: #fff;
  text-decoration: none;
}
.footer__contact__inner__flex__item a span strong {
  font-size: 48px;
  display: block;
  font-family: din-2014-narrow, sans-serif;
  text-align: center;
}
.footer__contact__inner__flex__item a span small {
  font-size: 14px;
  display: block;
  text-align: center;
}
.footer__contact__inner__flex__item a span.button--orange {
  margin: 20px auto 0;
  width: fit-content;
  display: block;
  padding: 10px 40px;
  position: relative;
}
.footer__contact__inner__flex__item a span.button--orange i {
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  position: absolute;
}

.footer__map iframe {
  vertical-align: middle;
}
@media (max-width: 768px) {
  .footer__map iframe {
    width: 100%;
    height: 300px;
  }
}

.page-top {
  background: #303133;
  border-radius: 20px 0 0 0;
  width: 80px;
  height: 60px;
  color: #fff;
  margin-top: -60px;
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: auto;
}
.page-top button {
  flex-direction: column;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer {
  background: #303133;
  padding: 100px 0;
  color: #fff;
}
@media (max-width: 768px) {
  .footer {
    padding: 50px 0;
  }
}
.footer__inner {
  max-width: 90%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
}
@media (max-width: 768px) {
  .footer__inner {
    flex-direction: column-reverse;
    align-items: center;
    white-space: wrap;
  }
}
.footer__inner__left {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 40%;
}
@media (max-width: 768px) {
  .footer__inner__left {
    width: 95%;
    margin-top: 50px;
    border-top: solid 2px #4e4f51;
    padding-top: 30px;
  }
}
.footer__inner__left .footer__inner__logo {
  width: 300px;
}
@media (max-width: 768px) {
  .footer__inner__left .footer__inner__logo {
    width: 70%;
    margin: 0 auto;
  }
}
.footer__inner__left .footer__inner__logo img {
  width: 100%;
  height: auto;
}
.footer__inner__left .footer__inner__info span {
  display: flex;
}

.footer__inner__left .footer__inner__info a{
	display: contents;
	color: #fff;
	text-decoration: none;
}

@media (max-width: 768px) {
  .footer__inner__left .footer__inner__info span {
    font-size: 14px;
  }
}
.footer__inner__left .footer__inner__info i {
  display: block;
  position: relative;
  height: 50px;
  width: 1px;
  background: #4e4f51;
  margin: 0 20px;
}
.footer__inner__left .footer__inner__info i.small {
  height: 0.7lh;
  top: 5px;
  margin: 0 10px;
}
.footer__inner__right {
  width: 60%;
}
@media (max-width: 768px) {
  .footer__inner__right {
    width: 95%;
  }
}
.footer__inner__right .footer__inner__title {
	margin-left: auto;
	width: 350px;
}

@media (max-width: 768px) {
	.footer__inner__right .footer__inner__title {
		margin-left: auto;
		width: 100%;
	}	
}

.footer__inner__right .footer__inner__title img{
	height: auto;
	width: 100%;
}

@media (max-width: 768px) {
  .footer__inner__right .footer__inner__title {
    margin: 0 auto;
    text-align: center;
  }
  .footer__inner__right .footer__inner__title img {
    width: 100%;
    height: auto;
  }
}
.footer__inner__right .footer__inner__title strong {
  display: block;
  font-size: 32px;
  font-family: din-2014-narrow, sans-serif;
  font-weight: 700;
  line-height: 1.3;
}
.footer__inner__right nav {
  margin-top: 50px;
}
@media (max-width: 768px) {
  .footer__inner__right nav {
    margin-top: 30px;
  }
}
.footer__inner__right nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-end;
}
@media (max-width: 768px) {
  .footer__inner__right nav ul {
    justify-content: left;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
}
.footer__inner__right nav ul li {
  list-style: none;
}
.footer__inner__right nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  border-left: solid 5px #10a04a;
  padding-left: 5px;
}
@media (max-width: 768px) {
  .footer__inner__right nav ul li a {
    font-size: 14px;
  }
}
.footer__inner__right nav ul li a:hover {
  color: #c50c1c;
}
.footer__inner__right small {
  text-align: end;
  color: #686868;
}
@media (max-width: 768px) {
  .footer__inner__right small {
    text-align: center;
  }
}
.footer small {
  text-align: end;
  color: #686868;
}
@media (max-width: 768px) {
  .footer small {
    text-align: center;
    margin-top: 50px;
  }
}

.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-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 ) {
	.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{
	width: 100%;
	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/kotei_hd_title.webp'); 
  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;}
}

.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;
}