/*
Theme Name: hiroshima-NANWA
Author: nrd-studio
Version: 1
*/
@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Barlow:wght@300;400;500;700&family=Noto+Sans+JP:wght@100..900&display=swap");
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
}

main {
  display: block;
}

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

pre {
  font-family: monospace, monospace;
  font-size: 1em;
}

a {
  background-color: transparent;
}

abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
}

b, strong {
  font-weight: bolder;
}

code, kbd, samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

small {
  font-size: 80%;
}

sub, sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

img {
  border-style: none;
}

button, input, optgroup, select, textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

button, input {
  overflow: visible;
}

button, select {
  text-transform: none;
}

button, [type=button], [type=reset], [type=submit] {
  -webkit-appearance: button;
}

button::-moz-focus-inner, [type=button]::-moz-focus-inner, [type=reset]::-moz-focus-inner, [type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

button:-moz-focusring, [type=button]:-moz-focusring, [type=reset]:-moz-focusring, [type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

legend {
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}

progress {
  vertical-align: baseline;
}

textarea {
  overflow: auto;
}

[type=checkbox], [type=radio] {
  box-sizing: border-box;
  padding: 0;
}

[type=number]::-webkit-inner-spin-button, [type=number]::-webkit-outer-spin-button {
  height: auto;
}

[type=search] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

details {
  display: block;
}

summary {
  display: list-item;
}

template {
  display: none;
}

[hidden] {
  display: none;
}

/*default setting*/
* {
  margin: 0;
  padding: 0;
}

html {
  /* ルートのフォントサイズを10pxに設定 */
  font-size: 62.5%;
}

h1, h2, h3, h4, p, span, a, th, td, dt, dd, figcaption {
  margin: 0;
  padding: 0;
}

body {
  /* ルートのフォントサイズを1.6em（16pxと同等のサイズ）に設定 */
  font-size: 1.6em;
  font-family: -apple-system, BlinkMacSystemFont, "Barlow", "Noto Sans JP", YuGothic, "ヒラギノ角ゴ ProN W3", Hiragino Kaku Gothic ProN, Arial, "メイリオ", Meiryo, sans-serif;
  color: #333;
  position: relative;
  background-color: #fff3e8;
}

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

figure {
  margin: 0;
  padding: 0;
}

img, a {
  vertical-align: top;
  border: none;
  outline: none;
  height: auto;
  text-decoration: none;
}

ul, li {
  list-style-type: none;
}

p {
  text-align: justify;
  text-justify: inter-ideograph;
  font-feature-settings: "palt" 1;
}

::-moz-selection {
  background: #333;
  color: #fff;
}

::selection {
  background: #333;
  color: #fff;
}

::-moz-selection {
  background: #333;
  color: #fff;
}

a {
  transition: all 0.3s;
}

/*
.barlow-regular {
  font-family: "Barlow", serif;
  font-weight: 400;
  font-style: normal;
}

.barlow-medium {
  font-family: "Barlow", serif;
  font-weight: 500;
  font-style: normal;
}

.barlow-bold {
  font-family: "Barlow", serif;
  font-weight: 700;
  font-style: normal;
}

.noto-sans-jp-<uniquifier> {
  font-family: "Noto Sans JP", serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}
*/
h1, h2, h3, h4, h5, h6, p, span, th, td, dt, dd {
  font-feature-settings: "palt";
}

.title span {
  display: block;
}
.title span.main-text {
  font-family: "Barlow", serif;
  font-size: 8rem;
  line-height: 1.3;
  font-weight: 400;
  background: linear-gradient(0deg, #226800, #46a000);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}
@media screen and (max-width: 1024px) {
  .title span.main-text {
    font-size: 5rem;
  }
}
@media screen and (max-width: 768px) {
  .title span.main-text {
    font-size: 4rem;
    line-height: 1.4;
  }
}
.title span.sub-text {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
  padding-top: 0.8em;
}

.ttl_mid {
  font-size: 2.4rem;
  line-height: 1.6;
  font-weight: 700;
  padding-bottom: 1em;
  letter-spacing: 0.05em;
}
@media screen and (max-width: 1024px) {
  .ttl_mid br {
    display: none;
  }
}

.ttl_large {
  font-size: 3.8rem;
  line-height: 1.8;
  font-weight: 500;
  padding-bottom: 1em;
  font-feature-settings: "palt";
  letter-spacing: 0.05em;
}
@media screen and (max-width: 1024px) {
  .ttl_large {
    font-size: 3rem;
    line-height: 1.6;
    font-weight: 700;
  }
}
@media screen and (max-width: 768px) {
  .ttl_large {
    font-size: 2.4rem;
  }
  .ttl_large br {
    display: none;
  }
}

.ttl_item {
  display: inline-block;
  font-size: 2rem;
  line-height: 1;
  font-weight: 600;
  padding-bottom: 10px;
  margin-bottom: 20px;
  font-feature-settings: "palt";
  letter-spacing: 0.05em;
  position: relative;
}
.ttl_item:before {
  content: "";
  display: inline-block;
  width: 100%;
  height: 4px;
  position: absolute;
  left: 0;
  bottom: 0;
  background-color: #226800;
}

.cat-ttl {
  font-family: "Barlow", serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #226800;
  line-height: 1;
}

p {
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 2.4;
}
p.intro {
  display: block;
  max-width: 850px;
}
@media screen and (max-width: 1024px) {
  p.intro {
    line-height: 1.8;
    width: 80%;
  }
}
@media screen and (max-width: 768px) {
  p.intro {
    width: 100%;
  }
}

a {
  font-family: "Barlow", "Noto Sans JP", serif;
}

.attention {
  display: block;
  font-size: 1.3rem;
  font-weight: 400 !important;
  line-height: 1.55;
  padding-top: 1em;
}

.biz-hl {
  font-family: "Noto Sans JP", serif;
}
.biz-hl span.category {
  color: #fff;
  font-weight: 600;
  font-size: 1.4rem;
  line-height: 1;
  display: inline-block;
  padding: 6px 16px;
  border-radius: 6px;
  background-color: #46a000;
  margin-bottom: 18px;
}
.biz-hl span.title {
  display: block;
  width: 100%;
  color: #333;
  font-weight: 700;
  font-size: 2.6rem;
  line-height: 1.6;
  padding-bottom: 2em;
}

html {
  scroll-behavior: smooth;
}

#connectionCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
  z-index: -1;
}

.topLine {
  border-top: 1px solid #333;
}

.btnPos {
  padding: 30px 0;
}
.btnPos.center {
  display: block;
  text-align: center;
}

.introPic {
  display: block;
  max-width: 1440px;
  width: 94%;
  min-height: 40vh;
  margin: 12vh auto 6vh;
  background-size: cover;
  background-position: 50%;
  background-repeat: no-repeat;
  border-radius: 30px;
  transform: translateY(30px) scale(0.98);
  transition: all 2s cubic-bezier(0.4, 0, 0.2, 1);
}
@media screen and (max-width: 1024px) {
  .introPic {
    min-height: 30vh;
    margin: 6vh auto 6vh;
  }
}
@media screen and (max-width: 768px) {
  .introPic {
    min-height: 22vh;
    margin: 6vh auto 4vh;
  }
}
.introPic.home {
  min-height: 45vh;
  margin: 6vh auto 6vh;
}
@media screen and (max-width: 1024px) {
  .introPic.home {
    min-height: 25vh;
    margin: 4vh auto 4vh;
  }
}
@media screen and (max-width: 768px) {
  .introPic.home {
    min-height: 18vh;
    margin: 3vh auto 3vh;
  }
}
.introPic.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

table th, table td {
  padding: 1.5em 0;
  vertical-align: top;
  text-align: left;
}
table th {
  padding-right: 3em;
}

@-webkit-keyframes flash {
  0% {
    opacity: 0.1;
  }
  100% {
    opacity: 1;
  }
}

@keyframes flash {
  0% {
    opacity: 0.1;
  }
  100% {
    opacity: 1;
  }
}
main {
  padding-top: 120px;
}

.defWidth {
  max-width: 1120px;
  width: 86%;
  margin: 10vh auto 0;
}
@media screen and (max-width: 1024px) {
  .defWidth {
    margin-top: 6vh;
  }
}

.divide {
  border-top: 1px solid #999;
  padding-top: 5vh;
  display: grid;
  gap: 50px;
  grid-template-columns: minmax(200px, 300px) 1fr;
}
@media screen and (max-width: 1024px) {
  .divide {
    padding-top: 3vh;
    gap: 50px;
    grid-template-columns: minmax(120px, 200px) 1fr;
  }
}
@media screen and (max-width: 768px) {
  .divide {
    grid-template-columns: 1fr;
  }
}
.divide .divideBlock_title {
  font-size: 1.9rem;
  font-weight: 600;
  line-height: 1.5;
  font-feature-settings: "palt";
}
.divide .divideBlock_title span {
  display: block;
  font-size: 1.4rem;
  line-height: 1.5;
  padding-top: 1em;
}
.evenDivide {
  display: grid;
  gap: 70px;
  grid-template-columns: 1fr 1fr;
}
@media screen and (max-width: 768px) {
  .evenDivide {
    gap: 30px;
  }
}

.notes {
  display: block;
  padding: 46px;
  background-color: #efefef;
  border-radius: 12px;
  margin: 1em 0;
}
@media screen and (max-width: 768px) {
  .notes {
    padding: 28px;
  }
}
.notes h4 {
  font-size: clamp(1.8rem, 2vw + 0.1rem, 2.5rem);
  font-weight: 600;
  line-height: 1;
  color: #226800;
  padding-bottom: 1.5em;
}
.notes p {
  font-size: 1.5rem;
  line-height: 1.8;
}

.layered {
  width: 100%;
}

.layered-image {
  width: 45%;
  margin: 0;
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 0 12px 12px 0;
}
@media screen and (max-width: 1024px) {
  .layered-image {
    width: 65%;
  }
}

.layered-image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
  position: absolute;
  top: 0;
  left: 0;
}

.layered-content {
  margin-left: 40%;
  margin-bottom: -8%;
  transform: translateY(-40%);
  width: 60%;
  background: #fff;
  padding: 50px 5vw;
  box-sizing: border-box;
  border-radius: 12px 0 0 12px;
}
@media screen and (max-width: 768px) {
  .layered-content {
    padding: 30px 5vw;
    margin-left: 30%;
    width: 70%;
  }
}
.layered-content .number {
  color: #226800;
  font-family: "Barlow", serif;
  font-weight: 100;
  font-size: 12rem;
  line-height: 1;
  margin-top: calc(-50px - 6rem);
  margin-right: auto;
  margin-left: 80%;
}
@media screen and (max-width: 768px) {
  .layered-content .number {
    font-size: 6rem;
    margin-top: calc(-30px - 3rem);
  }
}
.layered-content .point {
  color: #226800;
  font-family: "Barlow", serif;
  font-size: 1.9rem;
  font-weight: 500;
  padding-top: 30px;
  padding-bottom: 3em;
}
@media screen and (max-width: 768px) {
  .layered-content .point {
    font-size: 1.7rem;
    padding-top: 20px;
    padding-bottom: 2em;
  }
}
.layered-content h2 {
  font-size: 3rem;
  font-weight: 600;
  line-height: 1.7;
  padding-bottom: 1.5em;
}
@media screen and (max-width: 768px) {
  .layered-content h2 {
    font-size: 2rem;
    padding-bottom: 1.5em;
  }
  .layered-content h2 br {
    display: none;
  }
}
@media screen and (max-width: 768px) {
  .layered-content p {
    line-height: 1.6;
  }
}
@media screen and (max-width: 1024px) {
  .layered-content {
    transform: translateY(-5%);
    margin-left: 20%;
    margin-bottom: 5%;
    width: 80%;
  }
}

/* 偶数番目の要素のスタイル */
.layered:nth-child(odd) .layered-image {
  margin-left: auto;
  border-radius: 12px 0 0 12px;
}
.layered:nth-child(odd) .layered-content {
  margin-right: 40%;
  margin-left: auto;
  border-radius: 0 12px 12px 0;
}
@media screen and (max-width: 1024px) {
  .layered:nth-child(odd) .layered-content {
    margin-right: auto;
    margin-left: 0;
  }
}
@media screen and (max-width: 768px) {
  .layered:nth-child(odd) .layered-content {
    margin-right: 30%;
  }
}
.layered:nth-child(odd) .number {
  margin-left: auto;
  margin-right: 80%;
}

/* 最後のブロックのマージンを削除 */
.layered:last-child {
  margin-bottom: 0;
}

header {
  display: flex;
  justify-content: space-between;
  padding: 25px 25px 0 35px;
  position: fixed;
  left: 0;
  right: 0;
  width: calc(100% - 60px);
  z-index: 7777;
}
header .logo {
  display: block;
  max-width: 180px;
}
header .logo img {
  width: 100%;
}
@media screen and (max-width: 768px) {
  header {
    max-width: 120px;
    padding: 18px 18px 0;
  }
}

footer {
  background-color: #226800;
}
footer .footer_cta {
  padding: 55px;
}
@media screen and (max-width: 768px) {
  footer .footer_cta {
    padding: 7vw;
  }
}
footer .footer_cta p {
  color: #fff;
  text-align: center;
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1;
  padding-bottom: 2em;
}
@media screen and (max-width: 768px) {
  footer .footer_cta p {
    font-size: 1.45rem;
    line-height: 1.5;
  }
}
footer .footer_cta a {
  display: block;
  max-width: 420px;
  width: 80%;
  margin: 0 auto;
  border-radius: 999px;
  background-color: #fff;
  padding: 2em 3em;
  color: #1b4c0f;
  text-align: center;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1;
  transition: box-shadow 0.3s ease;
}
footer .footer_cta a:hover {
  color: #226800;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
}
@media screen and (max-width: 768px) {
  footer .footer_cta a {
    width: 70%;
    font-size: 1.7rem;
    padding: 1.5rem;
  }
}
footer .footer_mid,
footer .footer_bottom {
  display: flex;
  justify-content: space-between;
  align-items: top;
  background-color: #003200;
}
footer .footer_mid .privacyBlock,
footer .footer_bottom .privacyBlock {
  display: flex;
  align-items: center;
}
footer .footer_mid .privacyBlock figure,
footer .footer_bottom .privacyBlock figure {
  width: 90px;
  margin-right: 12px;
}
@media screen and (max-width: 768px) {
  footer .footer_mid .privacyBlock figure,
footer .footer_bottom .privacyBlock figure {
    width: 50px;
  }
}
footer .footer_mid .privacyBlock figure img,
footer .footer_bottom .privacyBlock figure img {
  width: 100%;
  border-radius: 999px;
}
footer .footer_mid .privacyBlock ul li,
footer .footer_bottom .privacyBlock ul li {
  padding: 3px 0;
}
@media screen and (max-width: 768px) {
  footer .footer_mid .privacyBlock ul li a,
footer .footer_bottom .privacyBlock ul li a {
    font-size: 1.1rem;
  }
}
@media screen and (max-width: 1024px) {
  footer .footer_mid,
footer .footer_bottom {
    justify-content: center;
  }
}
footer .footer_mid {
  padding: 6vh 5vw 8vh;
}
@media screen and (max-width: 768px) {
  footer .footer_mid {
    padding: 8vh 3vw 8vh;
  }
}
footer .footer_mid .logoBlock {
  display: block;
}
footer .footer_mid .logoBlock img {
  max-width: 220px;
  width: 100%;
  margin-bottom: 15px;
}
@media screen and (max-width: 768px) {
  footer .footer_mid .logoBlock a {
    display: block;
    max-width: 160px;
    margin-left: auto;
    margin-right: auto;
  }
  footer .footer_mid .logoBlock a img {
    width: 100%;
  }
}
footer .footer_mid .logoBlock .address {
  display: block;
  margin-top: 15px;
}
footer .footer_mid .logoBlock .address span {
  font-size: 1.1rem;
  line-height: 1;
  color: #bbb7cd;
}
footer .footer_mid .logoBlock .address h2 {
  font-size: 1.7rem;
  font-weight: 500;
  line-height: 1;
  color: #ffffff;
  padding-top: 0.8em;
  padding-bottom: 1em;
}
footer .footer_mid .logoBlock .address p {
  color: #fff;
  font-size: 1.3rem;
  line-height: 1.5;
}
@media screen and (max-width: 1024px) {
  footer .footer_mid nav {
    display: none;
  }
}
footer .footer_mid ul {
  display: flex;
}
footer .footer_mid ul li {
  padding: 0 1em;
}
footer .footer_mid ul li .external-link a:before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'%3E%3C/path%3E%3Cpolyline points='15 3 21 3 21 9'%3E%3C/polyline%3E%3Cline x1='10' y1='14' x2='21' y2='3'%3E%3C/line%3E%3C/svg%3E");
}
footer .footer_mid ul li a {
  font-size: 1.7rem;
  font-weight: 600;
  line-height: 1;
  color: #fff;
}
footer .footer_mid ul li ul {
  flex-direction: column;
  padding-top: 15px;
}
footer .footer_mid ul li ul li {
  margin: 5px 0;
}
footer .footer_mid ul li ul li a {
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1;
}
footer .footer_mid ul li ul li.child a {
  position: relative;
  padding-left: 32px; /* マークのスペース確保 */
}
footer .footer_mid ul li ul li.child a::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: translateY(-50%);
}
footer .footer_bottom {
  padding: 3vh 5vw;
  align-items: flex-end;
  justify-content: space-between;
}
footer .footer_bottom a {
  font-size: 1.3rem;
  line-height: 1;
  color: #fff;
  text-decoration: underline;
}
@media screen and (max-width: 768px) {
  footer .footer_bottom a {
    margin-right: 20px;
  }
}
footer .footer_bottom p.copyright {
  font-size: 1.3rem;
  line-height: 1;
  color: #fff;
}

nav a {
  position: relative;
}
nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: #fff;
  transform: translateX(-50%);
  transition: width 0.3s ease;
}
nav a:hover::after {
  width: 100%;
}

@media screen and (max-width: 1024px) {
  .global {
    display: none;
  }
}
.global > ul {
  display: flex;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  align-items: center;
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  padding: 12px 8px 12px 24px;
  border-radius: 999px;
}
.global > ul li {
  margin: 0 10px;
  padding: 0 0.5em;
  position: relative; /* ドロップダウンの基準位置 */
}
.global > ul li a {
  font-size: 1.4rem;
  font-weight: 600;
  color: #333;
}
.global > ul li a::after {
  background: #226800;
}
.global > ul li a:hover {
  color: #226800;
}
.global > ul .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  display: block;
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content; /* コンテンツの幅に合わせる */
  min-width: 220px;
  background: transparent;
  padding: 8px 0;
  margin-top: 12px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 100;
  border-radius: 0;
  background-color: transparent;
  /* 三角形のポインター */
}
.global > ul .dropdown-menu::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid #fff;
}
.global > ul .dropdown-menu li {
  margin: 4px 0;
  padding: 0;
}
.global > ul .dropdown-menu li a {
  display: block;
  padding: 12px 20px;
  font-size: 1.3rem;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.2s ease;
}
.global > ul .dropdown-menu li a:hover {
  background-color: #fff;
  color: #226800;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}
.global > ul .dropdown-menu li a:hover:after {
  display: none;
}
.global > ul .dropdown-menu li.child a {
  position: relative;
  padding-left: 52px; /* マークのスペース確保 */
}
.global > ul .dropdown-menu li.child a::before {
  content: "";
  position: absolute;
  left: 36px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-left: 2px solid #333;
  border-bottom: 2px solid #333;
  transform: translateY(-50%);
}

/* ドロップダウンメニューのスタイル */
.has-dropdown {
  position: relative; /* 明示的に指定 */
}
.has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0); /* X軸の変換を維持 */
}

.contact-btn {
  padding: 0;
}
.contact-btn a {
  display: inline-block;
  padding: 1.2em 2.6em;
  border-radius: 100px;
  color: #fff !important;
  background: linear-gradient(180deg, #226800, #46a000);
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.contact-btn a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, #226800, #46a000);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}
.contact-btn a:hover::before {
  opacity: 1;
}

.btn {
  display: inline-block;
  border-radius: 6px;
  background-color: #000;
  color: #fff;
  padding: 12px 50px 12px 26px;
  position: relative;
}
.btn::after {
  content: "";
  position: absolute;
  right: 26px;
  top: 50%;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 5px 0 5px 8px;
  border-color: transparent transparent transparent #fff;
  transform: translateY(-50%);
  transition: transform 0.3s ease;
}
.btn:hover {
  background-color: #003200;
}
.btn:hover::after {
  transform: translateY(-50%) translateX(5px);
}

.contact_head {
  padding-bottom: 10vh;
}
.contact_head a {
  display: block;
  background-size: cover;
  text-align: center;
}
.contact_head a.nanwamail {
  background: url("img/bg_cta_mail.webp") 50% 80% no-repeat;
}
.contact_head a.other {
  background: url("img/bg_cta_takaishi.webp") 50% no-repeat;
}
.contact_head a.normal {
  background: url("img/bg_contact_normal.webp") 50% no-repeat;
}
.contact_head a span {
  display: block;
  text-align: center;
}
.contact_head a span.text {
  font-family: "Noto Sans JP", serif;
  font-size: 1.7rem;
  font-weight: 500;
  line-height: 1.5;
  color: #fff;
  padding-bottom: 10px;
}
@media screen and (max-width: 768px) {
  .contact_head a span.text {
    font-size: 1.6rem;
    padding-bottom: 0.5em;
  }
}
.contact_head a span.tel {
  font-family: "Barlow", serif;
  font-weight: 300;
  font-size: 4.6rem;
  line-height: 1;
  letter-spacing: 0.01rem;
  color: #fff;
  padding-bottom: 14px;
}
.contact_head a span.toForm {
  display: inline-block;
  font-family: "Noto Sans JP", serif;
  font-size: 1.5rem;
  font-weight: 500;
  color: #226800;
  padding: 6px 18px;
  border-radius: 999px;
  background-color: #fff;
}

i {
  display: inline-flex;
  width: 1.6rem;
  height: 1.6rem;
  margin: 0 4px 4px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1.6rem' height='1.6rem' viewBox='0 0 24 24' fill='none' stroke='%23333333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'%3E%3C/path%3E%3Cpolyline points='15 3 21 3 21 9'%3E%3C/polyline%3E%3Cline x1='10' y1='14' x2='21' y2='3'%3E%3C/line%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: middle;
}
i.w {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1.6rem' height='1.6rem' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'%3E%3C/path%3E%3Cpolyline points='15 3 21 3 21 9'%3E%3C/polyline%3E%3Cline x1='10' y1='14' x2='21' y2='3'%3E%3C/line%3E%3C/svg%3E");
}

a.outlink {
  display: inline-block;
  margin-bottom: 1rem;
  border-radius: 12px;
  padding: 6px 12px;
  background-color: #46a000;
  color: #fff;
  transition: 0.3s all;
}
a.outlink:hover {
  background-color: #003200;
}

.ctaMail {
  margin: 10vh 0;
}
.ctaMail.bottom {
  margin-top: 15vh;
  margin-bottom: 0;
}
.ctaMail a {
  display: block;
  background: url("img/bg_cta_mail.webp") 50% no-repeat;
  background-size: cover;
  text-align: center;
  padding: 40px;
}
@media screen and (max-width: 1024px) {
  .ctaMail a {
    padding: 60px 22%;
  }
}
@media screen and (max-width: 768px) {
  .ctaMail a {
    padding: 40px;
  }
}
.ctaMail a span {
  display: block;
  margin: 0 auto;
}
.ctaMail a span.title {
  max-width: 280px;
  width: 80%;
  margin-bottom: 35px;
}
@media screen and (max-width: 768px) {
  .ctaMail a span.title {
    margin-bottom: 15px;
  }
}
.ctaMail a span.info {
  max-width: 480px;
  width: 90%;
}
.ctaMail a span img {
  width: 100%;
}

.ctaTakaishi {
  margin: 10vh 0;
}
.ctaTakaishi.bottom {
  margin-bottom: 0;
}
.ctaTakaishi a {
  display: block;
  background: url("img/bg_cta_takaishi.webp") 50% no-repeat;
  background-size: cover;
  text-align: center;
  padding: 50px;
}
.ctaTakaishi a span {
  display: block;
  margin: 0 auto;
}
.ctaTakaishi a span.info {
  max-width: 450px;
  width: 90%;
}
.ctaTakaishi a span img {
  width: 100%;
}

.gallerySlide {
  width: 100%;
  overflow: hidden;
  position: relative;
  margin: 60px 0;
}
.gallerySlide ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  -webkit-animation: slide 20s linear infinite;
          animation: slide 20s linear infinite;
}
@media screen and (max-width: 768px) {
  .gallerySlide ul {
    -webkit-animation: slide 12s linear infinite;
            animation: slide 12s linear infinite;
  }
}
.gallerySlide li {
  flex-shrink: 0;
  width: 400px; /* 画像サイズに応じて調整 */
  margin-right: 30px; /* 画像間のスペース */
}
@media screen and (max-width: 768px) {
  .gallerySlide li {
    width: 60%;
    margin-right: 12px;
  }
}
.gallerySlide img {
  max-width: 450px;
  width: 100%;
  height: auto;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 10px;
}

@-webkit-keyframes slide {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

@keyframes slide {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}
.carousel-gallery {
  margin-top: 20vh;
  margin-bottom: 10vh;
}
.carousel-gallery h3 {
  position: relative;
  top: -3vh;
  padding-left: 6vw;
}

.carousel-container {
  position: relative;
  margin: 0 3vw;
}
.carousel-container .swiper-wrapper {
  margin-right: -5vw; /* 右端の余白を確保 */
}
.carousel-container .swiper-slide {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s;
}
.carousel-container .slide-image {
  width: 100%;
  height: 250px;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 8px;
}
.carousel-container h5 {
  display: block;
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1.5;
  text-align: left;
  margin-top: 1em;
}
.carousel-container .slide-caption {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.6;
  color: #333;
  padding: 0 10px;
}
.carousel-container .custom-navigation {
  position: absolute;
  right: 10vw;
  top: -7vh;
  display: flex;
  gap: 10px;
  z-index: 10;
}
@media screen and (max-width: 768px) {
  .carousel-container .custom-navigation {
    right: 5vw;
  }
}
.carousel-container .nav-button {
  background: rgba(0, 0, 0, 0.8);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.carousel-container .nav-button:hover {
  background: rgb(51, 51, 51);
}
@media screen and (max-width: 768px) {
  .carousel-container .nav-button {
    width: 34px;
    height: 34px;
  }
}
.carousel-container .swiper-pagination {
  position: relative;
  margin-top: 20px;
}

@media (max-width: 768px) {
  .carousel-container {
    padding: 10px;
  }
  .slide-image {
    height: 200px;
  }
}
form .horizontal-item {
  display: block;
  margin-left: 0px !important;
}
form .horizontal-item label {
  display: block;
  text-align: left;
}
form label > span.req,
form th > span.req,
form td > span.req {
  display: inline-block;
  margin-left: 5px;
  border-radius: 5px;
  padding: 2px 5px;
  font-size: 1.1rem;
  background-color: red;
  color: #fff;
}

.mw_wp_form .error {
  display: inline-block;
  background-color: red;
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  padding: 3px 12px;
  border-radius: 6px;
  margin-bottom: 1.5em;
}

/* contact_content フォームのスタイル */
.contact_content {
  /* すべての要素にbox-sizingを適用 */
  box-sizing: border-box;
}

.contact_content * {
  box-sizing: inherit;
}

/* 入力フィールドの共通スタイル */
.contact_content input[type=text],
.contact_content input[type=email],
.contact_content input[type=tel],
.contact_content input[type=number],
.contact_content input[type=url],
.contact_content input[type=password],
.contact_content textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  font-size: 1.7rem;
  line-height: 1.8;
  color: #495057;
  background-color: #fff;
  border: 1px solid #ced4da;
  border-radius: 0.375rem;
  transition: all 0.2s ease-in-out;
}

/* フォーカス時のスタイル */
.contact_content input[type=text]:focus,
.contact_content input[type=email]:focus,
.contact_content input[type=tel]:focus,
.contact_content input[type=number]:focus,
.contact_content input[type=url]:focus,
.contact_content input[type=password]:focus,
.contact_content textarea:focus {
  border-color: #86b7fe;
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* テキストエリア特有のスタイル */
.contact_content textarea {
  min-height: 120px;
  resize: vertical;
}

/* ラベルのスタイル */
.contact_content label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #212529;
  text-align: left;
}

/* セレクトボックスのスタイル */
.contact_content select {
  width: 100%;
  padding: 0.75rem 2.25rem 0.75rem 1rem;
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px 12px;
  border: 1px solid #ced4da;
  border-radius: 0.375rem;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}

/* チェックボックスとラジオボタンのコンテナ */
.contact_content input[type=checkbox],
.contact_content input[type=radio] {
  margin-right: 0.5rem;
}

/* チェックボックスとラジオボタンのラベル */
.contact_content input[type=checkbox] + label,
.contact_content input[type=radio] + label {
  display: inline-block;
  margin-bottom: 0.5rem;
}

/* 送信ボタン */
.contact_content input[type=submit],
.contact_content button[type=submit],
.wpcf7-previous {
  display: block;
  width: 260px;
  margin: 5vh auto 20px;
  padding: 1.5rem 1.5rem;
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.5;
  color: #fff;
  background-color: #46a000;
  border: none;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
}

.wpcf7-previous {
  width: 160px;
  margin: 0 auto 5vh;
  font-size: 1.4rem;
  background-color: #495446;
}

.contact_content input[type=submit]:hover,
.contact_content button[type=submit]:hover {
  background-color: #226800;
}

/* 必須マーク */
.contact_content .required:after,
.contact_content [required]:after {
  content: "*";
  color: #dc3545;
  margin-left: 0.25rem;
}

/* エラー状態 */
.contact_content input:invalid,
.contact_content textarea:invalid,
.contact_content select:invalid {
  border-color: #dc3545;
}

/* プレースホルダーのスタイル */
.contact_content input::-moz-placeholder, .contact_content textarea::-moz-placeholder {
  color: #6c757d;
  opacity: 1;
}
.contact_content input::placeholder,
.contact_content textarea::placeholder {
  color: #6c757d;
  opacity: 1;
}

/* 無効化された要素のスタイル */
.contact_content input:disabled,
.contact_content textarea:disabled,
.contact_content select:disabled {
  background-color: #e9ecef;
  opacity: 0.7;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .contact_content {
    padding: 0 1rem;
  }
  .contact_content input[type=submit],
.contact_content button[type=submit] {
    width: 100%;
  }
}
.nav-open {
  display: none;
  z-index: 7779;
  position: fixed;
  justify-content: center;
  align-items: center;
  top: 20px;
  right: 20px;
  width: 70px;
  height: 70px;
  border-radius: 6px;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  background-color: #003200;
  color: #fff;
}
@media screen and (max-width: 1024px) {
  .nav-open {
    display: flex;
  }
}
@media screen and (max-width: 768px) {
  .nav-open {
    width: 52px;
    height: 52px;
    font-size: 1.2rem;
    top: 14px;
    right: 14px;
  }
}

.nav-area {
  visibility: hidden; /* displayではなくvisibility */
  opacity: 0;
  position: fixed;
  z-index: 8999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: 0.4s;
  background-color: #E5E5E5;
  display: flex;
  flex-wrap: wrap;
}
@media screen and (max-width: 768px) {
  .nav-area {
    overflow: scroll;
  }
}
.nav-area .nav-close {
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  top: 20px;
  right: 20px;
  width: 70px;
  height: 70px;
  border-radius: 6px;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  background-color: #fff;
  color: #226800;
  z-index: 20;
}
@media screen and (max-width: 768px) {
  .nav-area .nav-close {
    width: 52px;
    height: 52px;
    font-size: 1.2rem;
    top: 14px;
    right: 14px;
  }
}
.nav-area .navContent {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  width: calc(100% - 10vw);
  padding: 0 5vw 6vh;
}
.nav-area .navContent .logo-white {
  width: 30%;
}
.nav-area .navContent .logo-white a img {
  width: 100%;
}
@media screen and (max-width: 768px) {
  .nav-area .navContent .logo-white {
    width: 100%;
    padding-top: 12vh;
  }
  .nav-area .navContent .logo-white a {
    display: block;
    width: 50%;
    margin: 0 auto 5vh;
  }
  .nav-area .navContent .logo-white a img {
    width: 100%;
  }
}
.nav-area .navContent .contact-btn {
  margin-top: 25px;
  text-align: center;
}
.nav-area .navContent .contact-btn a {
  font-weight: 700;
}
.nav-area .navContent nav {
  width: 60%;
}
@media screen and (max-width: 768px) {
  .nav-area .navContent nav {
    width: 100%;
  }
}
.nav-area .navContent nav ul {
  width: 100%;
}
.nav-area .navContent nav ul li {
  display: block;
  border-radius: 10px;
  background-color: #fff;
  padding: 1vw 2.5vw;
  margin: 5px 0;
}
.nav-area .navContent nav ul li a {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  padding: 1em 0.2em;
  color: #333;
}
.nav-area .navContent nav ul.children {
  display: flex;
  flex-wrap: wrap;
}
.nav-area .navContent nav ul.children li {
  display: inline-block;
  border-radius: 0;
  background-color: transparent;
  padding: 0;
  margin: 0 6px 6px 0;
}
.nav-area .navContent nav ul.children li a {
  display: inline-block;
  border-radius: 999px;
  background-color: #226800;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1;
  padding: 8px 22px;
}

.is-show {
  visibility: visible;
  opacity: 1;
}

main.home {
  /* DETAILボタンのスタイリング */
  /* 三角形の作成と配置 */
  /* ホバー時のアニメーション */
}
main.home .homeIntro {
  margin: 0 auto 10vh;
}
@media screen and (max-width: 768px) {
  main.home .homeIntro {
    margin-top: 8vh;
  }
}
main.home h1 {
  font-size: 8.4rem;
  font-weight: 300;
  line-height: 1.3;
}
@media screen and (max-width: 1024px) {
  main.home h1 {
    font-size: 7rem;
  }
}
@media screen and (max-width: 768px) {
  main.home h1 {
    font-size: 3.5rem;
    line-height: 1.45;
  }
}
main.home h2 {
  text-align: center;
  padding-bottom: 1.5em;
}
main.home h2 span.main-text {
  font-weight: 300;
}
main.home h2 span.sub-text {
  padding-top: 6px;
}
main.home p.intro_inner {
  max-width: 890px;
  width: 100%;
  margin: 0 auto;
  font-size: 1.6rem;
  line-height: 1.8;
}
@media screen and (max-width: 1024px) {
  main.home p.intro_inner {
    width: 90%;
  }
}
main.home .business {
  background: url("img/bg_business.webp") 50% no-repeat;
  background-size: cover;
  padding: 7vw;
  text-align: center;
}
main.home .value {
  padding: 4vw;
  text-align: center;
}
main.home .b_contents {
  max-width: 1060px;
  width: 100%;
  margin: 10vh auto 10vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px 110px;
  /* 各背景画像の設定 */
}
@media screen and (max-width: 1024px) {
  main.home .b_contents {
    margin: 6vh auto 4vh;
    gap: 50px 60px;
  }
}
@media screen and (max-width: 768px) {
  main.home .b_contents {
    grid-template-columns: 1fr;
    gap: 20px 30px;
  }
}
main.home .b_contents .b_contents_item h3 {
  padding-bottom: 25px;
}
@media screen and (max-width: 1024px) {
  main.home .b_contents .b_contents_item h3 {
    padding-bottom: 10px;
  }
}
main.home .b_contents .b_contents_item h3 span.en {
  display: block;
  font-family: "Barlow", "Noto Sans JP", serif;
  font-size: 1.8rem;
  line-height: 1.3;
  font-weight: 500;
  background: linear-gradient(0deg, #226800, #46a000);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}
main.home .b_contents .b_contents_item h3 span.main {
  display: block;
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.8;
}
main.home .b_contents .b_contents_item h3 span.main.sub {
  font-size: 1.8rem;
  color: #46a000;
}
main.home .b_contents .b_contents_item a span {
  font-family: "Barlow", "Noto Sans JP", serif;
}
main.home .b_contents .b_contents_item.outlink .detail_btn {
  padding-right: 20%;
  color: yellow;
  font-size: 1.25rem;
}
main.home .b_contents .content_link {
  display: block;
  position: relative;
  width: 100%;
  padding-top: 60.04%;
  overflow: hidden;
  border-radius: 8px;
}
main.home .b_contents .content_link::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.8s ease;
}
main.home .b_contents .content_link.agreculture::before {
  background-image: url("img/home_agreculture.webp");
}
main.home .b_contents .content_link.wellfare::before {
  background-image: url("img/home_wellfare.webp");
}
main.home .b_contents .content_link.ec::before {
  background-image: url("img/home_ec.webp");
}
main.home .b_contents .content_link.user::before {
  background-image: url("img/home_user.webp");
}
main.home .b_contents .content_link.wellbeing::before {
  background-image: url("img/home_wellbeing.webp");
}
main.home .b_contents .content_link.facility::before {
  background-image: url("img/home_facility.webp");
}
main.home .detail_btn {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background-color: #000;
  color: #fff;
  padding: 2% 30% 2% 3%;
  font-family: "Barlow", serif;
  font-size: 1.4rem;
  font-weight: 600;
  border-radius: 6px;
  transition: 0.3s all;
}
main.home .detail_btn::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 4px 0 4px 6px;
  border-color: transparent transparent transparent #fff;
  transition: transform 0.3s ease;
}
main.home .content_link:hover::before {
  transform: scale(1.1);
}
main.home .content_link:hover .detail_btn {
  background-color: #226800;
}
main.home .content_link:hover .detail_btn::after {
  transform: translateY(-50%) translateX(5px);
}
main.home .attention {
  display: display;
  max-width: 500px;
  width: 80%;
  margin: 0 auto;
  padding: 5vh 0;
}
main.home .attention p {
  padding-bottom: 2em;
}
@media screen and (max-width: 768px) {
  main.home .attention {
    width: 92%;
  }
}
main.home .center {
  display: block;
  text-align: center;
}
main.home .center .btn {
  max-width: 260px;
  width: 80%;
  text-align: left;
}
@media screen and (max-width: 768px) {
  main.home .center .btn {
    width: 70%;
    margin: 0 0 5px;
  }
}
main.home .company {
  background-color: #fff;
  padding-top: 7vh;
  padding-bottom: 7vh;
}
main.home .company .company_block {
  display: flex;
  gap: 60px;
  align-items: stretch; /* 子要素の高さを揃える */
  padding-top: 5vh;
}
@media screen and (max-width: 1024px) {
  main.home .company .company_block {
    gap: 40px;
  }
}
@media screen and (max-width: 768px) {
  main.home .company .company_block {
    flex-wrap: wrap;
    gap: 30px;
    padding-top: 0;
    width: 92%;
    margin: 0 auto;
  }
}
main.home .company .office {
  flex: 0 0 auto; /* 幅固定で伸縮しない */
  max-width: 390px;
  width: 40%;
  background-image: url("img/home_company.webp");
  background-size: cover;
  background-position: center;
}
@media screen and (max-width: 768px) {
  main.home .company .office {
    width: 100%;
    height: 50vh;
    border-radius: 8px;
  }
}
main.home .company .company_block ul {
  flex: 1; /* 残りのスペースを全て使用 */
  padding: 0;
  margin: 0;
  list-style: none;
}
@media screen and (max-width: 768px) {
  main.home .company .company_block ul {
    flex: none;
    display: block;
    width: 92%;
    margin: 0 auto;
  }
}
main.home .company .company_block ul li {
  margin-bottom: 30px; /* リスト項目間の間隔 */
}
main.home .company .company_block ul li:last-child {
  margin-bottom: 0;
}
main.home .company .company_block ul li a {
  display: block;
  text-decoration: none;
  color: inherit;
  color: inherit;
  position: relative; /* 疑似要素の基準位置として設定 */
  padding-bottom: 10px; /* ラインとコンテンツの間隔 */
}
main.home .company .company_block ul li a::before, main.home .company .company_block ul li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px; /* ラインの太さ */
}
main.home .company .company_block ul li a::before {
  /* 常時表示される灰色のライン */
  background-color: #DDDDDD; /* グレーの色味は調整可能 */
}
main.home .company .company_block ul li a::after {
  /* ホバー時に表示される青いライン */
  background-color: #226800;
  transform-origin: left;
  transform: scaleX(0); /* 初期状態では非表示 */
  transition: transform 0.3s ease; /* アニメーションの設定 */
}
main.home .company .company_block ul li a:hover::after {
  transform: scaleX(1); /* ホバー時に横幅いっぱいまで表示 */
}
main.home .company .company_block ul li a .en {
  display: block;
  font-family: "Barlow", serif;
  font-size: 1.6rem;
  line-height: 1.3;
  font-weight: 500;
  background: linear-gradient(0deg, #226800, #46a000);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}
main.home .company .company_block ul li a .main {
  display: block;
  font-size: 2.1rem;
  font-weight: 700;
  line-height: 2;
  transition: 0.3s all;
}
main.home .company .company_block ul li a:hover .main {
  color: #226800;
}
main.home .recruit {
  padding: 5vh 5vh 10vh;
  background-color: #fff;
  border-radius: 0 0 40px 40px;
}
main.home .recruit p {
  font-size: 1.6rem;
  line-height: 1.7;
  text-align: center;
  padding-bottom: 1.8em;
}
main.home .recruit a {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 860px;
  width: 90%;
  margin: 0 auto;
  position: relative; /* 疑似要素の基準位置 */
  overflow: hidden; /* 角丸に合わせてオーバーレイもクリップ */
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  padding: 6vh;
  /* 背景画像の設定 */
  background: url("img/home_recruit_pc.webp") 50% no-repeat;
  background-size: cover;
  /* オーバーレイ用の疑似要素 */
  /* テキストを最前面に */
}
@media screen and (max-width: 1024px) {
  main.home .recruit a {
    font-size: 3rem;
    font-weight: 600;
    border-radius: 30px;
    padding: 6vh 2vw;
  }
}
@media screen and (max-width: 768px) {
  main.home .recruit a {
    font-size: 2rem;
    border-radius: 20px;
    padding: 6vh 2.5vw;
  }
}
main.home .recruit a::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.6);
  transition: background-color 0.5s ease;
  z-index: 1;
}
main.home .recruit a span {
  position: relative;
  z-index: 2; /* オーバーレイより前面に */
}
@media only screen and (max-width: 768px) {
  main.home .recruit a {
    background: url("img/home_recruit_sp.webp") 50% no-repeat;
    background-size: cover;
    padding: 12vh 0;
    borde-radius: 12px;
  }
}
main.home .recruit a:hover::after {
  background-color: rgba(29, 46, 13, 0.85);
}
main.home .news {
  background-color: #226800;
}
main.home .news .news-container {
  display: flex;
  max-width: 1060px;
  width: 90%;
  margin: 8vh auto 0;
  padding-bottom: 12vh;
}
@media screen and (max-width: 1024px) {
  main.home .news .news-container {
    margin-top: 6vh;
    padding-bottom: 6vh;
  }
}
@media screen and (max-width: 768px) {
  main.home .news .news-container {
    margin-top: 2vh;
    padding-bottom: 4vh;
  }
}
main.home .news .news-container h3 {
  min-width: 220px;
  width: 10%;
  color: #fff;
}
main.home .news .news-container h3 span {
  display: block;
}
main.home .news .news-container h3 span.main-text {
  font-size: 6rem;
  font-weight: 400;
  font-family: "Barlow", serif;
}
@media screen and (max-width: 768px) {
  main.home .news .news-container h3 span.main-text {
    font-size: 4rem;
  }
}
main.home .news .news-container h3 span.sub-text {
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1;
  padding-top: 10px;
  padding-left: 10px;
}
main.home .news .news-container ul {
  padding-top: 20px;
  width: 80%;
}
@media screen and (max-width: 768px) {
  main.home .news .news-container ul {
    width: 96%;
    margin-top: 5vh;
    margin-left: auto;
    margin-right: auto;
  }
}
main.home .news .news-container ul li {
  padding-bottom: 1em;
}
main.home .news .news-container ul li a {
  display: flex;
  align-items: center;
  color: #fff;
}
main.home .news .news-container ul li a span.date {
  display: inline-block;
  width: 6em;
  font-size: 1.6rem;
  margin-right: 10px;
}
@media screen and (max-width: 768px) {
  main.home .news .news-container ul li a span.date {
    marign-right: 0;
  }
}
main.home .news .news-container ul li a span.category {
  display: inline-block;
  margin-right: 16px;
  font-size: 1.4rem;
  line-height: 1;
  padding: 6px 18px;
  color: #003200;
  background-color: #fff;
  border-radius: 999px;
  text-align: center;
}
main.home .news .news-container ul li a span.main {
  font-size: 1.6rem;
  line-height: 1.5;
}
@media screen and (max-width: 768px) {
  main.home .news .news-container ul li a span.main {
    font-size: 1.8rem;
    font-weight: 600;
  }
}
main.home .news .news-container ul li a:hover span.main {
  text-decoration: underline;
}
@media screen and (max-width: 768px) {
  main.home .news .news-container ul li a {
    flex-wrap: wrap;
  }
  main.home .news .news-container ul li a span.main {
    display: block;
    width: 100%;
    margin-top: 10px;
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  }
}
@media screen and (max-width: 768px) {
  main.home .news .news-container {
    flex-wrap: wrap;
    padding-top: 20px;
    width: 90%;
  }
}
main.company .devide {
  display: grid;
}
@media screen and (max-width: 1024px) {
  main.company .devide {
    grid-template-columns: minmax(120px, 120px) 1fr !important;
  }
}
main.company .evenDivide_content {
  margin-top: 5vh;
  margin-bottom: 5vh;
}
main.company .evenDivide_content p {
  font-weight: 600;
  line-height: 1.4;
}
main.company h3 {
  margin-bottom: 70px;
}
main.company .profile {
  margin-bottom: 20px;
}
main.company .profile span {
  line-height: 1;
}
main.company .profile span.company {
  display: block;
  font-size: 1.5rem;
  padding-bottom: 8px;
}
main.company .profile span.position {
  font-size: 1.5rem;
  padding-right: 1em;
}
main.company .profile span.name {
  font-size: 1.8rem;
  font-weight: 700;
}
main.company .profile figure {
  width: 100%;
  margin-top: 35px;
  margin-bottom: 50px;
}
main.company .profile figure img {
  width: 100%;
  border-radius: 10px;
}
main.company .executives li {
  display: flex;
  align-items: center;
  margin-bottom: 40px;
}
@media screen and (max-width: 768px) {
  main.company .executives li {
    margin-bottom: 18px;
  }
}
main.company .executives li:last-child {
  margin-bottom: 0;
}
main.company .executives li figure {
  max-width: 150px;
  margin-right: 20px;
}
main.company .executives li figure img {
  width: 100%;
  border-radius: 5px;
}
@media screen and (max-width: 768px) {
  main.company .executives li figure {
    max-width: 28%;
  }
}
main.company .executives li p {
  font-size: 1.8rem;
  font-weight: 700;
}
main.company .executives li p span {
  display: inline-block;
  font-size: 1.4rem;
  font-weight: 400;
  margin-right: 10px;
}
main.company ul.bases {
  padding-bottom: 15vh;
}
main.company ul.bases li {
  display: flex;
  align-items: center;
  margin-bottom: 40px;
}
@media screen and (max-width: 768px) {
  main.company ul.bases li {
    flex-wrap: wrap;
  }
}
main.company ul.bases li:last-child {
  margin-bottom: 0;
}
main.company ul.bases li figure {
  max-width: 300px;
  margin-right: 40px;
}
main.company ul.bases li figure img {
  width: 100%;
  border-radius: 5px;
}
@media screen and (max-width: 1024px) {
  main.company ul.bases li figure {
    width: 50%;
    margin-right: 30px;
  }
}
@media screen and (max-width: 768px) {
  main.company ul.bases li figure {
    max-width: none;
    width: 100%;
    margin-right: 0;
  }
}
main.company ul.bases li p {
  font-size: 1.8rem;
  font-weight: 700;
}
main.company ul.bases li p span {
  display: inline-block;
  font-size: 1.4rem;
  font-weight: 400;
  margin-right: 10px;
  line-height: 1.6;
}
main.company table {
  width: 100%;
}
main.company table.data th, main.company table.data td {
  line-height: 1.5;
}
main.company table.data tr {
  border-bottom: 1px solid #ccc;
}
main.company table.data tr:first-child th, main.company table.data tr:first-child td {
  padding-top: 0;
}
main.company table.data tr:last-child {
  border-bottom: none;
}
@media screen and (max-width: 1024px) {
  main.company table.data th {
    white-space: nowrap;
  }
}
main.company table.history {
  margin-bottom: 12vh;
}
main.company table.history th, main.company table.history td {
  padding: 0.8em;
  line-height: 1.6;
}
main.company table.history tr:first-child th, main.company table.history tr:first-child td {
  padding-top: 0;
}
main.company table.history th {
  font-weight: normal;
}
@media screen and (max-width: 1024px) {
  main.company table.history th {
    white-space: nowrap;
  }
}
main.company ul.client {
  padding-bottom: 10vh;
}
main.company ul.client li {
  padding: 0.8em 0;
}
main.company ul.client li:first-child {
  padding-top: 0;
}

main.agriculture p.intro,
main.welfare p.intro,
main.facility p.intro {
  overflow: hidden;
  margin-bottom: 20vh;
}
main.agriculture p.intro img,
main.welfare p.intro img,
main.facility p.intro img {
  float: right;
  max-width: 260px;
  width: 100%;
  border-radius: 12px;
  margin-left: 2em;
}
@media screen and (max-width: 768px) {
  main.agriculture p.intro img,
main.welfare p.intro img,
main.facility p.intro img {
    max-width: none;
    margin-left: 0;
    margin-bottom: 15px;
  }
}
main.agriculture .devideBlock,
main.welfare .devideBlock,
main.facility .devideBlock {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 15vh;
}
main.agriculture .devideBlock:nth-child(odd),
main.welfare .devideBlock:nth-child(odd),
main.facility .devideBlock:nth-child(odd) {
  flex-direction: row-reverse;
}
@media screen and (max-width: 768px) {
  main.agriculture .devideBlock:nth-child(odd),
main.welfare .devideBlock:nth-child(odd),
main.facility .devideBlock:nth-child(odd) {
    flex-direction: column-reverse;
  }
}
@media screen and (max-width: 768px) {
  main.agriculture .devideBlock:nth-child(even),
main.welfare .devideBlock:nth-child(even),
main.facility .devideBlock:nth-child(even) {
    flex-direction: column-reverse;
  }
}
main.agriculture .devideBlock figure,
main.welfare .devideBlock figure,
main.facility .devideBlock figure {
  width: 35%;
}
main.agriculture .devideBlock figure img,
main.welfare .devideBlock figure img,
main.facility .devideBlock figure img {
  width: 100%;
  border-radius: 12px;
}
@media screen and (max-width: 768px) {
  main.agriculture .devideBlock figure,
main.welfare .devideBlock figure,
main.facility .devideBlock figure {
    width: 100%;
    margin-bottom: 15px;
  }
}
main.agriculture .devideBlock .txts,
main.welfare .devideBlock .txts,
main.facility .devideBlock .txts {
  width: 60%;
}
@media screen and (max-width: 768px) {
  main.agriculture .devideBlock .txts,
main.welfare .devideBlock .txts,
main.facility .devideBlock .txts {
    width: 100%;
  }
}
main.agriculture .devideBlock a img,
main.welfare .devideBlock a img,
main.facility .devideBlock a img {
  margin-top: 20px;
  max-width: 600px;
  border-radius: 12px;
  transform: scale(1);
  transition: 0.3s all;
}
@media screen and (max-width: 768px) {
  main.agriculture .devideBlock a img,
main.welfare .devideBlock a img,
main.facility .devideBlock a img {
    width: 100%;
  }
}
main.agriculture .devideBlock a:hover img,
main.welfare .devideBlock a:hover img,
main.facility .devideBlock a:hover img {
  transform: scale(1.08);
}
@media screen and (max-width: 768px) {
  main.agriculture .devideBlock table tr th, main.agriculture .devideBlock table tr td,
main.welfare .devideBlock table tr th,
main.welfare .devideBlock table tr td,
main.facility .devideBlock table tr th,
main.facility .devideBlock table tr td {
    display: block;
  }
}
main.agriculture .devideBlock table tr th span,
main.welfare .devideBlock table tr th span,
main.facility .devideBlock table tr th span {
  display: inline-block;
  background-color: #46a000;
  padding: 6px 12px;
  border-radius: 6px;
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  white-space: nowrap;
}
main.agriculture .devideBlock table tr td,
main.welfare .devideBlock table tr td,
main.facility .devideBlock table tr td {
  padding-top: 1.2rem;
  font-size: 1.8rem;
  line-height: 1.9;
}
main.agriculture .undevideBlock .biz-hl,
main.welfare .undevideBlock .biz-hl,
main.facility .undevideBlock .biz-hl {
  font-family: "Noto Sans JP", serif;
}
main.agriculture .undevideBlock .biz-hl span.category,
main.welfare .undevideBlock .biz-hl span.category,
main.facility .undevideBlock .biz-hl span.category {
  margin-bottom: 12px;
}
main.agriculture .undevideBlock .biz-hl span.title,
main.welfare .undevideBlock .biz-hl span.title,
main.facility .undevideBlock .biz-hl span.title {
  padding-bottom: 1.2em;
}
main.agriculture .undevideBlock p,
main.welfare .undevideBlock p,
main.facility .undevideBlock p {
  line-height: 1.6;
}
main.agriculture .undevideBlock .cases,
main.welfare .undevideBlock .cases,
main.facility .undevideBlock .cases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 8vh;
  margin-bottom: 10vh;
}
@media screen and (max-width: 768px) {
  main.agriculture .undevideBlock .cases,
main.welfare .undevideBlock .cases,
main.facility .undevideBlock .cases {
    grid-template-columns: repeat(2, 1fr);
  }
}
main.agriculture .undevideBlock .cases li figure,
main.welfare .undevideBlock .cases li figure,
main.facility .undevideBlock .cases li figure {
  margin-bottom: 20px;
}
main.agriculture .undevideBlock .cases li figure img,
main.welfare .undevideBlock .cases li figure img,
main.facility .undevideBlock .cases li figure img {
  width: 100%;
  border-radius: 12px;
}
main.agriculture .undevideBlock .cases li .txts h3,
main.welfare .undevideBlock .cases li .txts h3,
main.facility .undevideBlock .cases li .txts h3 {
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 1.2;
  color: #226800;
  padding-bottom: 15px;
}
main.agriculture .undevideBlock .cases li .txts p,
main.welfare .undevideBlock .cases li .txts p,
main.facility .undevideBlock .cases li .txts p {
  font-size: 1.45rem;
  line-height: 1.4;
}

main.privacy p.intro,
main.contact p.intro,
main.news p.intro {
  padding-top: 2em;
  font-size: 1.5rem;
  line-height: 1.9;
}
main.privacy .archive,
main.contact .archive,
main.news .archive {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 10vh;
}
main.privacy .archive .categoryBlock,
main.contact .archive .categoryBlock,
main.news .archive .categoryBlock {
  min-width: 220px;
  border-radius: 5px;
  background-color: #fff;
  width: 220px; /* 固定幅を設定 */
  padding: 24px 16px 14px;
  flex: 0 0 220px; /* flex-grow: 0, flex-shrink: 0, flex-basis: 220px */
  align-self: flex-start; /* 追加：高さを内容に合わせる */
}
main.privacy .archive .categoryBlock h3,
main.contact .archive .categoryBlock h3,
main.news .archive .categoryBlock h3 {
  padding-bottom: 10px;
}
main.privacy .archive .categoryBlock ul.categories li,
main.contact .archive .categoryBlock ul.categories li,
main.news .archive .categoryBlock ul.categories li {
  margin: 0 0 5px;
}
main.privacy .archive .categoryBlock ul.categories li a,
main.contact .archive .categoryBlock ul.categories li a,
main.news .archive .categoryBlock ul.categories li a {
  display: block;
  background-color: #fff;
  border-radius: 5px;
  padding: 10px;
  font-size: 1.4rem;
  color: #333;
}
main.privacy .archive .categoryBlock ul.categories li a:hover,
main.contact .archive .categoryBlock ul.categories li a:hover,
main.news .archive .categoryBlock ul.categories li a:hover {
  background-color: #226800;
  color: #fff;
}
main.privacy .archive ul.articles,
main.contact .archive ul.articles,
main.news .archive ul.articles {
  flex: 1; /* 残りの空間をすべて使用 */
  min-width: 300px; /* レスポンシブ対応のための最小幅 */
}
main.privacy .archive ul.articles li,
main.contact .archive ul.articles li,
main.news .archive ul.articles li {
  width: 100%; /* 横幅いっぱいに */
  margin: 0 0 6px;
}
main.privacy .archive ul.articles li a,
main.contact .archive ul.articles li a,
main.news .archive ul.articles li a {
  display: block;
  border-radius: 5px;
  background-color: #ffffff;
  padding: 2vw 3vw;
  width: calc(100% - 4vw);
  position: relative; /* 三角形配置の基準位置 */
  transition: background-color 0.3s ease; /* 背景色変化のアニメーション */
  /* 三角形の配置 */
  /* ホバー時のスタイル */
}
main.privacy .archive ul.articles li a::after,
main.contact .archive ul.articles li a::after,
main.news .archive ul.articles li a::after {
  content: "";
  position: absolute;
  top: 50%; /* 上下中央配置 */
  right: 20px; /* 右端からの距離 */
  transform: translateY(-50%); /* 上下中央の位置調整 */
  /* 三角形の作成 */
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 8px solid #fff; /* 白色の三角形 */
  /* 位置変更のアニメーション */
  transition: transform 0.3s ease;
}
main.privacy .archive ul.articles li a p,
main.contact .archive ul.articles li a p,
main.news .archive ul.articles li a p {
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 1.6;
  color: #333;
  width: 80%;
}
main.privacy .archive ul.articles li a:hover,
main.contact .archive ul.articles li a:hover,
main.news .archive ul.articles li a:hover {
  background-color: #226800;
}
main.privacy .archive ul.articles li a:hover::after,
main.contact .archive ul.articles li a:hover::after,
main.news .archive ul.articles li a:hover::after {
  transform: translate(5px, -50%); /* 右に5px移動（上下中央位置は維持） */
}
main.privacy .archive ul.articles li a:hover .info span.date,
main.contact .archive ul.articles li a:hover .info span.date,
main.news .archive ul.articles li a:hover .info span.date {
  color: #fff;
}
main.privacy .archive ul.articles li a:hover p,
main.contact .archive ul.articles li a:hover p,
main.news .archive ul.articles li a:hover p {
  color: #fff;
}
main.privacy .info,
main.contact .info,
main.news .info {
  padding-bottom: 15px;
}
main.privacy .info span.date,
main.contact .info span.date,
main.news .info span.date {
  display: inline-block;
  width: 6em;
  font-size: 1.6rem;
  margin-right: 10px;
  color: #333;
}
main.privacy .info span.category,
main.contact .info span.category,
main.news .info span.category {
  display: inline-block;
  margin-right: 16px;
  font-size: 1.4rem;
  line-height: 1;
  padding: 6px 18px;
  color: #003200;
  background-color: #fff;
  border-radius: 999px;
  text-align: center;
  color: #333;
}
main.privacy .news-head,
main.contact .news-head,
main.news .news-head {
  margin-top: 10vh;
}
main.privacy .news-foot,
main.contact .news-foot,
main.news .news-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: dashed 1px #ccc;
  margin-top: 10vh;
  padding-top: 6vh;
  padding-bottom: 10vh;
  /* 前後の記事へのボタン共通スタイル */
  /* 塗りつぶされた三角形の基本スタイル */
  /* 前へボタンの三角 - 左向き */
  /* 次へボタンの三角 - 右向き */
  /* ホバー効果 */
  /* ホバー時の三角の色変更 */
}
@media screen and (max-width: 768px) {
  main.privacy .news-foot,
main.contact .news-foot,
main.news .news-foot {
    padding-bottom: 10px;
  }
}
main.privacy .news-foot .prev a,
main.privacy .news-foot .next a,
main.contact .news-foot .prev a,
main.contact .news-foot .next a,
main.news .news-foot .prev a,
main.news .news-foot .next a {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 25px;
  background-color: #eee;
  color: #333;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
  font-size: 1.3rem;
  font-weight: 600;
}
main.privacy .news-foot .prev a::before,
main.privacy .news-foot .next a::after,
main.contact .news-foot .prev a::before,
main.contact .news-foot .next a::after,
main.news .news-foot .prev a::before,
main.news .news-foot .next a::after {
  content: "";
  width: 0;
  height: 0;
  transition: transform 0.3s ease;
}
main.privacy .news-foot .prev a::before,
main.contact .news-foot .prev a::before,
main.news .news-foot .prev a::before {
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-right: 8px solid #333; /* 左向きの塗りつぶされた三角形 */
}
main.privacy .news-foot .next a::after,
main.contact .news-foot .next a::after,
main.news .news-foot .next a::after {
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 8px solid #333; /* 右向きの塗りつぶされた三角形 */
}
main.privacy .news-foot .prev a:hover,
main.privacy .news-foot .next a:hover,
main.contact .news-foot .prev a:hover,
main.contact .news-foot .next a:hover,
main.news .news-foot .prev a:hover,
main.news .news-foot .next a:hover {
  background-color: #226800;
  color: #fff;
}
main.privacy .news-foot .prev a:hover::before,
main.contact .news-foot .prev a:hover::before,
main.news .news-foot .prev a:hover::before {
  border-right-color: #fff;
  transform: translateX(-3px);
}
main.privacy .news-foot .next a:hover::after,
main.contact .news-foot .next a:hover::after,
main.news .news-foot .next a:hover::after {
  border-left-color: #fff;
  transform: translateX(3px);
}
@media screen and (max-width: 768px) {
  main.privacy .news-foot .return,
main.contact .news-foot .return,
main.news .news-foot .return {
    display: none;
  }
}
main.privacy .news-foot .return a,
main.contact .news-foot .return a,
main.news .news-foot .return a {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 6px;
  min-width: 200px;
  padding: 15px 25px 15px;
  background-color: #fff;
  color: #333;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.6rem;
  border-radius: 5px;
  /* テキスト部分 */
  /* 三角形の作成 */
  /* ホバー時の状態 */
}
main.privacy .news-foot .return a span,
main.contact .news-foot .return a span,
main.news .news-foot .return a span {
  display: block;
  margin-bottom: 5px;
}
main.privacy .news-foot .return a::before,
main.contact .news-foot .return a::before,
main.news .news-foot .return a::before {
  content: "";
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid #333;
  margin: 0;
  transform: translateY(3px);
  transition: transform 0.3s ease;
}
main.privacy .news-foot .return a:hover,
main.contact .news-foot .return a:hover,
main.news .news-foot .return a:hover {
  background-color: #226800;
  color: #fff;
}
main.privacy .news-foot .return a:hover span,
main.contact .news-foot .return a:hover span,
main.news .news-foot .return a:hover span {
  color: #fff;
}
main.privacy .news-foot .return a:hover::before,
main.contact .news-foot .return a:hover::before,
main.news .news-foot .return a:hover::before {
  transform: translateY(-4px);
  border-bottom: 6px solid #fff;
}
main.privacy .news-foot-sp,
main.contact .news-foot-sp,
main.news .news-foot-sp {
  display: none;
}
@media screen and (max-width: 768px) {
  main.privacy .news-foot-sp,
main.contact .news-foot-sp,
main.news .news-foot-sp {
    display: block;
  }
  main.privacy .news-foot-sp .return,
main.contact .news-foot-sp .return,
main.news .news-foot-sp .return {
    margin-bottom: 5vh;
  }
  main.privacy .news-foot-sp .return a,
main.contact .news-foot-sp .return a,
main.news .news-foot-sp .return a {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: 6px;
    min-width: 200px;
    padding: 15px 25px 15px;
    background-color: #fff;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.6rem;
    border-radius: 5px;
    /* テキスト部分 */
    /* 三角形の作成 */
    /* ホバー時の状態 */
  }
  main.privacy .news-foot-sp .return a span,
main.contact .news-foot-sp .return a span,
main.news .news-foot-sp .return a span {
    display: block;
    margin-bottom: 5px;
  }
  main.privacy .news-foot-sp .return a::before,
main.contact .news-foot-sp .return a::before,
main.news .news-foot-sp .return a::before {
    content: "";
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #333;
    margin: 0;
    transform: translateY(3px);
    transition: transform 0.3s ease;
  }
  main.privacy .news-foot-sp .return a:hover,
main.contact .news-foot-sp .return a:hover,
main.news .news-foot-sp .return a:hover {
    background-color: #226800;
    color: #fff;
  }
  main.privacy .news-foot-sp .return a:hover span,
main.contact .news-foot-sp .return a:hover span,
main.news .news-foot-sp .return a:hover span {
    color: #fff;
  }
  main.privacy .news-foot-sp .return a:hover::before,
main.contact .news-foot-sp .return a:hover::before,
main.news .news-foot-sp .return a:hover::before {
    transform: translateY(-4px);
    border-bottom: 6px solid #fff;
  }
}
main.privacy .contact_head,
main.contact .contact_head,
main.news .contact_head {
  margin-top: 8vh;
}
main.privacy .contact_head ul,
main.contact .contact_head ul,
main.news .contact_head ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}
@media screen and (max-width: 768px) {
  main.privacy .contact_head ul,
main.contact .contact_head ul,
main.news .contact_head ul {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
main.privacy .contact_head ul li a,
main.contact .contact_head ul li a,
main.news .contact_head ul li a {
  border-radius: 6px;
  padding: 4.5vw 2vw 3vw;
  transition: 0.3s all;
  min-height: 160px;
}
main.privacy .contact_head ul li a:hover,
main.contact .contact_head ul li a:hover,
main.news .contact_head ul li a:hover {
  transform: scale(1.05);
}
@media screen and (max-width: 768px) {
  main.privacy .contact_head ul li a,
main.contact .contact_head ul li a,
main.news .contact_head ul li a {
    padding: 6vw 4vw 6vw;
  }
  main.privacy .contact_head ul li a.normal,
main.contact .contact_head ul li a.normal,
main.news .contact_head ul li a.normal {
    padding: 0 4vw 0;
  }
  main.privacy .contact_head ul li a.normal span.text,
main.contact .contact_head ul li a.normal span.text,
main.news .contact_head ul li a.normal span.text {
    padding-top: 8vh;
  }
  main.privacy .contact_head ul li a.normal span.toForm,
main.contact .contact_head ul li a.normal span.toForm,
main.news .contact_head ul li a.normal span.toForm {
    margin-bottom: 10vh;
  }
}
main.privacy .contact_head .norm,
main.contact .contact_head .norm,
main.news .contact_head .norm {
  text-align: center;
  margin-top: 50px;
  font-size: 1.8rem;
  font-weight: 600;
}
main.privacy .contact_head .norm a,
main.contact .contact_head .norm a,
main.news .contact_head .norm a {
  display: inline-block;
  text-decoration: underline;
}
main.privacy .contact_content,
main.contact .contact_content,
main.news .contact_content {
  padding: 10vh 5vw;
}
@media screen and (max-width: 768px) {
  main.privacy .contact_content,
main.contact .contact_content,
main.news .contact_content {
    padding-left: 0;
    padding-right: 0;
  }
}
main.privacy .contact_content h2,
main.contact .contact_content h2,
main.news .contact_content h2 {
  font-size: 2.6rem;
  text-align: center;
}
main.privacy .contact_content h2 span,
main.contact .contact_content h2 span,
main.news .contact_content h2 span {
  font-size: 1.4rem;
}
main.privacy .contact_content p,
main.contact .contact_content p,
main.news .contact_content p {
  text-align: center;
  line-height: 1.5;
}
main.privacy .contact_content p span.phone,
main.contact .contact_content p span.phone,
main.news .contact_content p span.phone {
  font-size: 120%;
  font-weight: 600;
  line-height: 1;
}
main.privacy .contact_content table,
main.contact .contact_content table,
main.news .contact_content table {
  max-width: 620px;
  width: 90%;
  margin: 6vh auto 0;
}
main.privacy .contact_content table tr,
main.contact .contact_content table tr,
main.news .contact_content table tr {
  border-top: 1px solid #ccc;
}
main.privacy .contact_content table tr th, main.privacy .contact_content table tr td,
main.contact .contact_content table tr th,
main.contact .contact_content table tr td,
main.news .contact_content table tr th,
main.news .contact_content table tr td {
  padding: 16px 0;
  vertical-align: top;
  font-size: 1.6rem;
  line-height: 1.6;
}
@media screen and (max-width: 768px) {
  main.privacy .contact_content table tr th, main.privacy .contact_content table tr td,
main.contact .contact_content table tr th,
main.contact .contact_content table tr td,
main.news .contact_content table tr th,
main.news .contact_content table tr td {
    display: block;
  }
}
main.privacy .contact_content table tr th,
main.contact .contact_content table tr th,
main.news .contact_content table tr th {
  white-space: nowrap;
  padding-right: 3em;
}
main.privacy .thanks,
main.contact .thanks,
main.news .thanks {
  padding: 8vh 0;
}
main.privacy .thanks p,
main.contact .thanks p,
main.news .thanks p {
  font-size: 1.8rem;
  line-height: 1.7;
  padding-bottom: 1em;
}

main.privacy p {
  line-height: 1.7;
}
main.privacy ul {
  padding: 1em 0;
}
main.privacy ul li {
  list-style-type: disc;
  list-style-position: outside;
  margin-left: 1.4em;
  padding: 0.5rem 0;
  line-height: 1.5;
}
main.privacy dl {
  padding: 1em 0;
}
main.privacy dl dt {
  font-weight: 600;
  margin-top: 1em;
  padding-bottom: 1rem;
}
main.privacy dl dd {
  font-size: 90%;
  font-weight: 400;
  line-height: 1.6;
  padding-bottom: 1em;
}
main.privacy dl dd b {
  display: inline-block;
  padding-top: 1rem;
}

.notfound .content {
  margin-bottom: 10vh;
}

/*
Theme Name: hiroshima-NANWA
Author: nrd-studio
Version: 1
*/
/*# sourceMappingURL=style.css.map */