@charset "UTF-8";
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: clip;
}

body {
  font-family: "Noto Serif JP", serif;
  font-size: 16px;
  font-weight: 400;
  color: #000;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: #fff;
  overflow-wrap: break-word;
  min-height: 100vh;
  min-height: -webkit-fill-available;
  position: relative;
  z-index: -9999;
}

/* top-about sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}


main {
    margin: 0px 0% 0% 5%; 
}

a {
  color: green;
  cursor: pointer;

  transition: 0.3s;
}

a:hover {
  opacity: 0.7;
}

img {
  max-width: 100%;
  height: auto;
  border: none;
  vertical-align: top;
}

video,
iframe,
object {
  max-width: 100%;
  height: auto;
  border: none;
}



table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
  table-layout: fixed;
  border: 1px solid;
}

th,
td {
  padding: 4px 6px;
  text-align: left;
  vertical-align: top;
  border: 1px solid;
}

blockquote,
q {
  quotes: none;
}

blockquote::after,
blockquote::before,
q::after,
q::before {
  content: "";
  content: none;
}

address {
  font-style: normal;
}

b,
strong {
  font-weight: 700;
}

form {
  margin: 0;
  padding: 0;
}

label {
  display: inline-block;
}

a,
area,
button,
input,
label,
select,
summary,
textarea,
[tabindex] {
  touch-action: manipulation;
}

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

button,
select {
  text-transform: none;
}

select {
  cursor: pointer;
}

textarea {
  overflow: auto;
  -ms-overflow-style: scrollbar;
  resize: vertical;
}

dialog {
  background-color: inherit;
  border: solid;
  color: inherit;
  display: block;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
  left: 0;
  margin: auto;
  padding: 1em;
  position: absolute;
  right: 0;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
}
dialog:not([is-open]) {
  display: none;
}

summary {
  display: list-item;
  cursor: pointer;
}

/* Remove all animations and transitions for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }
  *,
*::before,
*::after {
    -webkit-animation-duration: 0.01ms !important;
            animation-duration: 0.01ms !important;
    -webkit-animation-iteration-count: 1 !important;
            animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
.section-title {
  color: #333;
  font-size: 33px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.15em;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
}
@media screen and (max-width: 768px) {
  .section-title {
    width: initial;
    text-align: center;
  }
}

.section-title span {
  color: #1D7667;
  font-weight: 600;
}

.section-title::after {
  content: "";
  width: 42px;
  height: 1px;
  background-color: #333;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: 8px;
}

.section-title--center {
  text-align: center;
  width: initial;
}

.section-title--pc {
  display: block;
}
@media screen and (max-width: 768px) {
  .section-title--pc {
    display: none;
  }
}

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

.text {
  color: #333;
  font-family: "Noto Serif JP";
  font-size: 15px;
  font-weight: 400;
  line-height: 2.3;
  letter-spacing: 0.05em;
}

.logo {
  display: flex;
  align-items: end;
  gap: 10px;
  padding-bottom: 1px;
}

.logo span {
  color: #333;
  font-size: 15px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.15em;
  padding-bottom: 4px;
}

.header__logo {
  margin-left: 12px;
}
@media screen and (max-width: 599px) {
  .header__logo {
    margin-left: 0;
    position: relative;
    z-index: 9999999;
    flex-direction: column-reverse;
    align-items: center;
    gap: 5px;
  }
}

@media screen and (max-width: 1100px) {
  .header__logo span {
    font-size: 14px;
  }
}
@media screen and (max-width: 768px) {
  .header__logo span {
    font-size: 12px;
  }
}

.footer__logo {
  justify-content: center;
  max-width: 100%;
}

@media screen and (max-width: 1100px) {
  .logo img {
    max-width: 150px;
  }
}
@media screen and (max-width: 768px) {
  .logo img {
    max-width: 100px;
  }
}

.button {
  display: flex;
  align-items: end;
  justify-content: space-between;
  color: #333;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.15em;
  max-width: 285px;
  width: 100%;
  border-bottom: 1px solid #333;
  padding-bottom: 20px;
  position: relative;
  transition: 0.3s;
}
@media screen and (max-width: 768px) {
  .button {
    margin-left: auto;
    margin-right: auto;
  }
}

.button svg {
  transform: translateX(0);
  transition: all ease-out 0.3s;
}

.button:hover svg {
  transform: translateX(5px);
  transition: all ease 0.3s;
}

.anniv__card svg {
  transform: translateX(0);
  transition: all ease-out 0.3s;
}

.anniv__card:hover svg {
  transform: translateX(5px);
  transition: all ease 0.3s;
}

.hamburger {
  display: none;
  position: relative;
  z-index: 2000;
  cursor: pointer;
  background-color: #1D7667;
  top: 0;
  right: 0;
  width: 60px;
  height: 60px;
}

.hamburger span {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%);
  z-index: 99;
  width: 35px;
  height: 2px;
  background-color: #fff;
  transition: 0.5s;
}

.hamburger,
.hamburger span {
  transition: all 0.5s;
  box-sizing: border-box;
}
@media screen and (max-width: 1024px) {
  .hamburger,
.hamburger span {
    display: inline-block;
  }
}

.hamburger span:nth-of-type(1) {
  top: calc(50% - 10px);
}

.hamburger span:nth-of-type(3) {
  top: calc(50% + 10px);
}

/*OPEN時の動き*/
.hamburger.is-active span:nth-child(1) {
  width: 35px;
  top: calc(50% - 3px);
  left: 13px;
  transform: rotate(45deg);
}

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

.hamburger.is-active span:nth-child(3) {
  width: 35px;
  top: calc(50% - 3px);
  left: 12px;
  transform: rotate(-45deg);
}

.inner {
  max-width: 1240px;
  width: 100%;
  padding: 0 20px;
  margin-left: auto;
  margin-right: auto;
}

.inner--m0 {
  max-width: 1440px;
  padding: 0 20px;
  margin-left: auto;
  margin-right: auto;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999999;
}

.header__inner {
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
  padding-left: 20px;
  background-color: rgba(255, 255, 255, 0.9);
}
@media screen and (max-width: 1024px) {
  .header__inner {
    justify-content: space-between;
  }
}

.header__nav {
  display: flex;
  align-items: center;
  margin-left: auto;
}
@media screen and (max-width: 1024px) {
  .header__nav {
    display: none;
    background: #fff;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    padding-top: 100px;
    padding-left: 20px;
    padding-right: 20px;
  }
}

.header__nav__list {
  display: flex;
  align-items: center;
  margin-right: 29px;
}
@media screen and (max-width: 1024px) {
  .header__nav__list {
    flex-direction: column;
    margin-right: 0;
  }
}

@media screen and (max-width: 1024px) {
  .header__nav__item {
    width: 100%;
    height: 100%;
    text-align: center;
  }
}

.header__nav__item a {
  position: relative;
  padding: 10px 12px;
  transition: color 0.3s;
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.1em;
  text-decoration: none;
  color: #333;
}
@media screen and (max-width: 1100px) {
  .header__nav__item a {
    font-size: 16px;
  }
}
@media screen and (max-width: 1024px) {
  .header__nav__item a {
    display: inline-block;
    width: inherit;
    height: inherit;
    padding: 20px 12px;
  }
}

.header__nav__tel {
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 21px;
  padding-right: 22px;
  height: 100px;
  transition: background-color 0.3s;
  background-color: #1D7667;
  color: #FFF;
}
@media screen and (max-width: 1024px) {
  .header__nav__tel {
    height: 80px;
    padding: 0;
    width: 80%;
    margin: auto;
  }
}

.header__nav__tel svg {
  max-width: 14px;
  width: 100%;
  margin-right: 8px;
}

.header1__menu-btn {
  display: none;
  border: none;
}
@media screen and (max-width: 1024px) {
  .header1__menu-btn {
    display: block;
    width: 100px;
    height: 100px;
    background-color: #fff;
    position: absolute;
    top: 0;
    right: 0;
  }
}
@media screen and (max-width: 1024px) and (max-width: 1024px) {
  .header1__menu-btn {
    width: 64px;
    height: 64px;
  }
}
@media screen and (max-width: 1024px) {
  .header1__menu-btn span {
    display: block;
    width: 34px;
    height: 2px;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    background-color: #fff;
  }
}
@media screen and (max-width: 1024px) {
  .header1__menu-btn::before, .header1__menu-btn::after {
    content: "";
    display: block;
    width: 34px;
    height: 2px;
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    background-color: #fff;
  }
}
@media screen and (max-width: 1024px) {
  .header1__menu-btn::before {
    top: 38px;
  }
}
@media screen and (max-width: 1024px) and (max-width: 1024px) {
  .header1__menu-btn::before {
    top: 21px;
  }
}
@media screen and (max-width: 1024px) {
  .header1__menu-btn::after {
    bottom: 38px;
  }
}
@media screen and (max-width: 1024px) and (max-width: 1024px) {
  .header1__menu-btn::after {
    bottom: 20px;
  }
}

.header1__close-btn {
  display: none;
  border: none;
}
@media screen and (max-width: 1024px) {
  .header1__close-btn {
    display: block;
    width: 32px;
    height: 40px;
    position: absolute;
    top: 4px;
    right: 4px;
    cursor: pointer;
  }
  .header1__close-btn::before, .header1__close-btn::after {
    content: "";
    width: 100%;
    height: 2px;
    position: absolute;
    left: 0;
    background-color: #fff;
  }
  .header1__close-btn::before {
    top: 23px;
    transform: rotate(45deg);
  }
  .header1__close-btn::after {
    bottom: 15px;
    transform: rotate(-45deg);
  }
}

.footer {
  position: relative;
  width: 100%;
  background-color: #E3EBE1;
  margin-top: 100px;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
  padding: 80px 20px 75px;
}
@media screen and (max-width: 768px) {
  .footer__inner {
    flex-direction: column;
  }
}

.footer__address__list {
  color: #333;
  font-size: 14px;
  font-weight: 400;
  line-height: 2;
  letter-spacing: 0.1em;
  margin-top: 15px;
}
@media screen and (max-width: 768px) {
  .footer__address__list {
    text-align: center;
  }
}

.footer__tel span {
  margin-right: 1em;
}

.footer__fax span {
  margin-right: 1em;
}

.footer__address--hidden {
  display: none;
}

.footer__home {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  display: block;
  margin-bottom: 50px;
}

.footer__list__wrapper {
  padding-bottom: 8px;
  display: flex;
  gap: 67px;
}
@media screen and (max-width: 768px) {
  .footer__list__wrapper {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
}

.footer__list {
  display: flex;
  flex-direction: column;
}
@media screen and (max-width: 768px) {
  .footer__list {
    align-items: center;
  }
}

.footer__item {
  font-weight: 700;
}

.footer__item a {
  display: inline-block;
  color: #333;
  font-size: 14px;
  font-weight: 400;
  line-height: 2;
  letter-spacing: 0.1em;
}

.pageTop-btn,
.to-top {
  position: fixed;
  bottom: 70px;
  right: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: #333;
  cursor: pointer;
  transition: background-color 0.3s;
  z-index: 1;
}
.pageTop-btn:hover,
.to-top:hover {
  background-color: #fff;
}
.pageTop-btn img,
.to-top img {
  width: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}

.footer__right {
  margin-top: 6px;
}
@media screen and (max-width: 768px) {
  .footer__right {
    margin-top: 15px;
  }
}

.footer__button {
  display: inline-block;
  color: #FFF;
  text-align: center;
  font-family: "Noto Serif JP";
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.1em;
  padding: 22px 24px;
  max-width: 300px;
  width: 100%;
  background-color: #F29910;
  border-radius: 48px;
  margin-top: 16px;
  position: relative;
}

.footer__button::after {
  content: "";
  background-image: url(../images/top/page-jump-icon.svg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: inline-block;
  width: 12px;
  height: 12px;
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
}

.footer__button-block span {
  display: block;
  color: #6B6B6B;
  text-align: center;
  font-family: "Noto Serif JP";
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.1em;
  text-align: left;
  margin-top: 10px;
}

.footer__sns {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 15px;
}
@media screen and (max-width: 768px) {
  .footer__sns {
    justify-content: center;
  }
}

.footer__copyright {
  background-color: #333;
  text-align: center;
  color: #FFF;
  font-size: 12px;
  letter-spacing: 0.1em;
  padding-top: 20px;
  padding-bottom: 22px;
  font-weight: 700;
  line-height: 1.16666667;
}

#memorial {
  background-image: url(../images/memorial-bgi.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
  padding: 110px 0;
}
@media screen and (max-width: 768px) {
  #memorial {
    padding-top: 65px;
  }
}

#memorial::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background-color: #e0e6dd;
  mix-blend-mode: multiply;
}

#memorial::after {
  content: "法";
  position: absolute;
  bottom: -145px;
  right: 0;
  color: #1D7667;
  font-size: 322px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.15em;
  opacity: 0.05;
}
@media screen and (max-width: 768px) {
  #memorial::after {
    font-size: 190px;
    letter-spacing: 0;
    bottom: -132px;
  }
}

.memorial__container {
  display: flex;
  align-items: center;
  gap: 72px;
  position: relative;
  left: -20px;
}
@media screen and (max-width: 768px) {
  .memorial__container {
    flex-direction: column;
    left: 0;
    gap: 36px;
  }
}

.memorial__img {
  max-width: 760px;
  width: 100%;
}

.memorial__img img {
  aspect-ratio: 760/418;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.memorial__text {
  max-width: 399px;
  width: 100%;
}

.memorial__text .text,
.memorial__text .button {
  margin-top: 40px;
}

@media screen and (max-width: 768px) {
  .memorial__text .text {
    margin-top: 0;
  }
}

#sanga {
  padding: 110px 0;
}

.sanga__container {
  display: flex;
  align-items: center;
  flex-direction: row-reverse;
  gap: 72px;
  position: relative;
  right: -20px;
}
@media screen and (max-width: 768px) {
  .sanga__container {
    flex-direction: column;
    right: 0;
    gap: 36px;
  }
}

.sanga__img {
  max-width: 760px;
  width: 100%;
}

.sanga__img img {
  aspect-ratio: 760/418;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.sanga__text {
  max-width: 399px;
  width: 100%;
}

.sanga__text .text,
.sanga__text .button {
  margin-top: 40px;
}

@media screen and (max-width: 768px) {
  .sanga__text .text {
    margin-top: 0;
  }
}

.anniv {
  padding: 110px 0;
  background-image: url(../images/トップページ/anniv-bgi.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
}

.anniv::before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #e0e6dd;
  mix-blend-mode: multiply;
}

.anniv::after {
  content: "生";
  position: absolute;
  bottom: -201px;
  right: 0;
  color: #1D7667;
  font-size: 322px;
  font-weight: 600;
  line-height: 1.5;
  opacity: 0.05;
}
@media screen and (max-width: 768px) {
  .anniv::after {
    font-size: 192px;
    bottom: -140px;
  }
}

.anniv .inner {
  position: relative;
}

.anniv__cards {
  display: flex;
  gap: 54px;
  margin-top: 40px;
}
@media screen and (max-width: 768px) {
  .anniv__cards {
    flex-direction: column;
    align-items: center;
    margin-top: 36px;
  }
}

.anniv__card {
  max-width: 364px;
  width: 100%;
}

.anniv__img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  aspect-ratio: 364/221;
}

.anniv__text-block {
  margin-top: 24px;
}

.anniv__title {
  color: #333;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.1em;
}
@media screen and (max-width: 768px) {
  .anniv__title {
    text-align: center;
  }
}

.anniv__text {
  color: #333;
  font-size: 15px;
  font-weight: 400;
  line-height: 2.3;
  letter-spacing: 0.05em;
  margin-top: 16px;
}

.anniv__button {
  margin-top: 37px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.anniv__button .button {
  margin-left: 0;
}
@media screen and (max-width: 768px) {
  .anniv__button .button {
    margin-left: auto;
  }
}

#study {
  padding-top: 110px;
}

.study__container {
  display: flex;
  align-items: center;
  gap: 72px;
  position: relative;
  left: -20px;
}
@media screen and (max-width: 768px) {
  .study__container {
    flex-direction: column;
    left: 0;
    gap: 36px;
  }
}

.study__img {
  max-width: 902px;
  width: 100%;
}

.study__img img {
  aspect-ratio: 902/490;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.study__text {
  max-width: 284px;
  width: 100%;
}
@media screen and (max-width: 768px) {
  .study__text {
    max-width: 100%;
  }
}

.study__text .text,
.study__text .button {
  margin-top: 40px;
}

.study__text .text {
  max-width: 257px;
  width: 100%;
}
@media screen and (max-width: 768px) {
  .study__text .text {
    max-width: 100%;
    margin-top: 0;
  }
}

.study__text .button {
  margin-top: 53px;
  margin-left: 0;
}
@media screen and (max-width: 768px) {
  .study__text .button {
    margin-left: auto;
  }
}

.access {
  padding-top: 108px;
  position: relative;
}

@media screen and (max-width: 768px) {
  .access__inner {
    padding: 0 20px;
  }
}

.access__map {
  margin-top: 39px;
}

.access__map iframe {
  width: 100%;
  height: 100%;
  aspect-ratio: 1440/289;
}
@media screen and (max-width: 768px) {
  .access__map iframe {
    aspect-ratio: 16/9;
  }
}

.access__contents {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 140px;
  margin-top: 36px;
}
@media screen and (max-width: 768px) {
  .access__contents {
    flex-direction: column;
    gap: 20px;
    align-items: baseline;
  }
}

.access__left,
.access__right p {
  color: #333;
  font-size: 16px;
  font-weight: 400;
  line-height: 2.2;
  letter-spacing: 0.1em;
}
@media screen and (max-width: 768px) {
  .access__left,
.access__right p {
    font-size: 15px;
  }
}

.access__right {
  max-width: 459px;
  width: 100%;
}

.access__tel span,
.access__fax span {
  margin-right: 1em;
}

.mv img {
  display: block; /* imgをブロック要素にする */
  margin-left: auto; /* 左マージンを自動調整 */
  margin-right: auto; /* 右マージンを自動調整 */
}

@media screen and (max-width: 768px) {
  .mv img {
    height: 47vh;
    -o-object-fit: cover;
       object-fit: cover;
    width: 100%;
    display: block; /* 追加 */
    margin: 0 auto; /* 追加 */
  }
}


/* 以下追加 */



header ul,
header ol,
footer ul,
footer ol
 {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 0;
}

footer a {
  color: inherit;
  cursor: pointer;
  text-decoration: none;
  transition: 0.3s;
}

section {
  margin-top: 6em;
  padding: 5em 0 3em 0;

}

.section1 {
  background-color: white;/* #e0e6dd */
}

.section2 {
  background-color: white;/* #e0e6dd */
}


p, h4, h5, ul,ol,table, blockquote {
  margin-left: 5%; /* 左側のマージンを少し小さく */
  font-size: 1em;
  line-height:  inherit;

}

h1 {
  position: relative;
  padding: 0.4em; /* パディングを小さく */
  background-color: #1D7667;
  color: #FFF;

  font-size: 1.5em; /* フォントサイズを少し小さく */
}

h1:before {
  position: absolute;
  content: '';
  top: 100%;
  left: 0;
  border: none;
  border-bottom: solid 10px transparent; /* 三角形のサイズを小さく */
  border-right: solid 20px #8BC34A; /* 三角形のサイズを小さく */
}

h2 {
  margin-left: 2%; /* 左側のマージンを少し小さく */
  position: relative;
  padding-left: 12px; /* パディングを小さく */
  color: #1D7667;
  font-size: 1.3em; /* フォントサイズを少し小さく */
}

h2:before {
  position: absolute;
  content: '';
  bottom: -2px; /* 位置を調整 */
  left: 0;
  width: 0;
  height: 0;
  border: none;
  border-left: solid 10px transparent; /* 三角形のサイズを小さく */
  border-bottom: solid 10px #1D7667; /* 三角形のサイズを小さく */
}

h2:after {
  position: absolute;
  content: '';
  bottom: -2px; /* 位置を調整 */
  left: 8px; /* 位置を調整 */
  width: 100%;
  border-bottom: solid 2px #1D7667; /* 線の太さを細く */
}

h3 {
  margin-left: 2%; /* 左側のマージンを少し小さく */
  position: relative;
  padding-left: 20px; /* パディングを小さく */
  color: #1D7667;
  font-size: 1.1em; /* フォントサイズを少し小さく */
}





/* コンテナの設定　はじまり*/
.container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 10px; /* パディングを小さく */
  flex-wrap: wrap; /* 画面が狭い場合に折り返す */
}

.imakoko {
  background: #4CAF50;
  color: white;
}

.block {
  display: block;
  width: 45%; /* 幅を調整して横に2つ並ぶように */
  min-width: 150px; /* 最小幅を設定 */
  border: 1px solid #ccc;
  border-radius: 5px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease;
  margin-bottom: 10px; /* 下のマージンを追加 */
}

.block:hover {
  transform: translateY(-3px); /* ホバー時の移動量を小さく */
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1); /* ホバー時の影を弱く */
}

.image-container {
  width: 100%;
  height: auto;
}

.image-container img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.text-container {
  text-align: center;
  padding: 5px; /* パディングを追加 */
}

.text-container h3 {
  margin-left: 0;
  padding-left: 0;
  margin-top: 5px; /* 上のマージンを追加 */
  margin-bottom: 2px; /* 下のマージンを小さく */
  color: #2E7D32;
  font-size: 1em; /* フォントサイズを少し小さく */
}

.text-container p {
  margin-left: 0;
  margin-bottom: 5px; /* 下のマージンを追加 */
  font-size: 0.8em; /* フォントサイズを小さく */
}

/* レスポンシブ対応（必要に応じて） */
@media (max-width: 600px) {
  .container {
    flex-direction: column; /* 画面が非常に狭い場合は縦並びにする */
    align-items: center;
  }

  .block {
    width: 80%; /* 幅を広げる */
    margin-bottom: 15px; /* 下のマージンを大きく */
  }
}
/* コンテナの設定　おわり*/



/* 表の設定　はじまり*/
.styled-table {
  border-collapse: collapse;
  width: auto;
  max-width: none; /* 最大幅を削除し、画面幅に合わせる */
  margin: 10px auto; /* 上下のマージンを小さく */
  font-size: 0.9em; /* フォントサイズを少し小さく */
  font-family: sans-serif;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.15); /* 影を少し弱く */
}

.styled-table th,
.styled-table td {
  padding: 8px 10px; /* パディングを小さく */
  border: 1px solid #ddd;
  text-align: left;
}

.styled-table thead tr:first-child th {
  background-color: #f2f2f2;
  color: #333;
  text-align: center;
  font-weight: bold;
}

.styled-table thead tr:nth-child(2) th {
  background-color: #009879;
  color: #ffffff;
  font-weight: normal;
}

.styled-table tbody tr {
  border-bottom: 1px solid #ddd;
}

.styled-table tbody tr:nth-of-type(even) {
  background-color: #f3f3f3;
}

.styled-table tbody tr:last-of-type {
  border-bottom: 2px solid #009879;
}

.styled-table td[rowspan] {
  vertical-align: top;
}

.styled-table tfoot th {
  background-color: #f2f2f2;
  color: #333;
  text-align: center;
  font-weight: bold;
}

.styled-table tfoot td {
  border: 1px solid #ddd;
}
/* 表の設定　おわり*/

/* 表2の設定　はじまり*/
.styled-table2 {
  border-collapse: collapse;
  width: auto;
  margin: 10px 0; /* 上下のマージンを小さく */
  font-size: 0.8em; /* フォントサイズをさらに小さく */
  font-family: sans-serif;
  min-width: auto; /* 最小幅を自動に */
}

.styled-table2 th,
.styled-table2 td {
  border: 1px solid #ddd;
  padding: 6px; /* パディングをさらに小さく */
  text-align: left;
  vertical-align: middle;
}

.styled-table2 th {
  background-color: #f2f2f2;
  font-weight: bold;
}

.styled-table2 tr:nth-child(even) {
  background-color: #f9f9f9;
}

.styled-table2 th[colspan] {
  text-align: center;
  background-color: #e0e0e0;
}

/* 画像のサイズ調整 */
.styled-table2 img {
  max-width: 80px; /* 画像の最大幅を小さく */
  height: auto;
  display: block;
  margin-top: 3px; /* 上のマージンを小さく */
}

/* レスポンシブ対応 (画面幅が600px以下の場合) */
@media screen and (max-width: 600px) {
  .styled-table2 {
    overflow-x: auto; /* 横スクロールを有効にする */
  }
}
/* 表2の設定　おわり*/