@charset "UTF-8";

@import url("https://fonts.googleapis.com/css2?family=Kosugi+Maru&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Kiwi+Maru&family=Kosugi+Maru&display=swap");

:root {
  --text-color: hsl(133, 77%, 5%);
  --logo-color: hsl(133, 77%, 32%);
  --background-white: hsl(133, 77%, 98%);
  --background-green: hsl(133, 77%, 90%);
  --sub-background: hsl(133, 77%, 80%);
  --gray: hsl(133, 5%, 90%);
  --shadow: #ccc;
  --hovered: hsl(133, 77%, 80%);
  --sub-color: hsl(133, 77%, 50%);
  --max-width: 1100px;
  --red: hsl(0, 77%, 50%);
  --deep-red: hsl(0, 77%, 40%);
  --light-orange: hsl(38, 77%, 70%);
  --light-blue: hsl(200, 77%, 80%);
  --yellow: hsl(62, 77%, 50%);
  --deep-yellow: hsl(47, 77%, 58%);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Kosugi Maru", "游ゴシック体", "YuGothic", "游ゴシック",
    "Yu Gothic", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ",
    "Meiryo", sans-serif;
  letter-spacing: 0.05em;
  color: var(--text-color);
  background-color: var(--background-green);
  line-height: 1.8;
  -webkit-text-size-adjust: 100%;
}

h1,
h2,
h3,
h4 {
  margin-bottom: 0.5em;
  vertical-align: middle;
}

h1 {
  border-bottom: 2px solid var(--logo-color);
  font-size: 1.5em;
  margin-top: 0.5em;
  padding: 0px 0.5em;
  position: relative;
}

h1:before {
  position: absolute;
  bottom: -0.2em;
  left: 0em;
  right: 0em;
  border-bottom: 1px solid var(--logo-color);
  content: "";
}

h2 {
  font-size: 1.2em;
  line-height: 2.2em;
  background-color: var(--sub-background);
  padding: 0px 0.5em;
  margin-top: 0.4em;
  border-left: 5px solid var(--logo-color);
}

.h2-top {
  margin-top: 1em;
}

h3 {
  border-bottom: 3px dashed var(--text-color);
  background-color: transparent;
  font-size: 1.05em;
  padding: 0.2em 0.5em;
}

h4 {
  border-bottom: 1px dashed var(--text-color);
  background-color: transparent;
  font-size: 1em;
  padding: 3px 0px;
}

header {
  margin: 0.3em 0 0.2em;
  display: flex;
  align-items: center;
  gap: 2em;
}

.header-logo {
  width: 80px;
}

.header-letter {
  font-family: "Kiwi Maru";
  line-height: 1.2;
  letter-spacing: -0.1px;
}

.header-title {
  font-size: x-large;
  line-height: 1;
}

.header-link {
  display: flex;
  padding: 0.1em;
  gap: 0.5em;
  align-items: center;
  border-radius: 5px;
}

.header-link:hover {
  background-color: var(--background-white);
  box-shadow: 0 0 5px var(--background-white);
}

.hide-til-553 {
  display: none;
}

.for-top {
  align-self: flex-start;
  margin-top: 1em;
  font-size: small;
}

.for-top::before {
  width: 0;
  height: 0;
  display: inline-block;
  content: "";
  vertical-align: middle;
  color: var(--text-color);
  border-style: solid;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 7px solid var(--text-color);
  border-right: 0;
}

.for-top-house {
  display: none;
  margin-left: auto;
  margin-right: 1%;
}

.home-icon {
  width: 30px;
  vertical-align: middle;
}

footer {
  padding: 0.8em 0px;
  text-align: center;
  background-color: var(--logo-color);
  color: var(--background-white);
  font-size: 1.2em;
}

a {
  color: var(--text-color);
  text-decoration: none;
}

.logo {
  margin: 0.5em 0px;
  vertical-align: middle;
}

.background {
  position: relative;
  background-color: var(--background-green);
  margin: 0px auto;
  max-width: var(--max-width);
}

.image-shadow {
  -webkit-box-shadow: 0 1px 4px rgb(0 0 0 / 30%),
    0 0 40px rgb(0 0 0 / 10%) inset;
  -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3),
    0 0 40px rgba(0, 0, 0, 0.1) inset;
  box-shadow: 0 1px 4px rgb(0 0 0 / 30%), 0 0 40px rgb(0 0 0 / 10%) inset;
  border: 1px solid var(--shadow);
}

.image-200 {
  width: 200px;
  height: auto;
}

.eye-catch {
  display: block;
  height: auto;
  margin: 2em auto 1em;
  width: 90%;
}

.contents {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  width: 100%;
  margin: 0px auto;
}

.one-column {
  width: 98%;
  margin: 0px auto;
}

.main-content {
  width: 68%;
}

/* BEGIN サイドバー */
.side-content {
  position: sticky;
  position: -webkit-sticky;
  top: 3em;
  width: 30%;
}

.side-box {
  border: 2px solid var(--text-color);
  border-radius: 10px;
  padding: 1em;
  margin: 1em 0px;
  z-index: 1;
}

.side-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: auto;
  border-bottom: 2px dashed var(--text-color);
}

.side-block a {
  margin: 0.5em 0;
}

.side-block p {
  font-size: 0.9em;
  font-weight: bold;
}

/* BEGIN お知らせ rss表示*/
#message {
  width: 100%;
}

.rss {
  display: flex;
  justify-content: column;
  border-bottom: none;
}

.rss p img {
  display: none;
}

.rss a.btn {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.rss .mu {
  width: 100%;
  position: relative;
  border-bottom: 2px solid var(--logo-color);
  margin-bottom: 0.5em;
}

.rss .mu:hover {
  border-bottom: 2px solid transparent;
  background-color: var(--background-white);
}

.rss .mu:last-child {
  margin-bottom: 0;
}

.rss .mu h3 {
  display: block;
  font-size: small;
  border-bottom: none;
  margin-bottom: 0;
}

.rss .mu small {
  display: block;
}

.to_note {
  font-size: 0.9em;
  font-weight: bold;
  text-align: right;
  width: 100%;
  padding: 0.2em;
}

/* END お知らせ */
/* END サイドバー */

.white-box {
  padding: 0.8em;
  background: var(--background-white);
  border: solid 2px var(--logo-color);
  border-radius: 5px;
  margin-bottom: 0.5em;
}

.list-in-box {
  position: relative;
  line-height: 2.2;
  padding-left: 1.2em;
  font-weight: 500;
  border-bottom: dashed 2px var(--logo-color);
  list-style: none;
}

.list-in-box:last-child {
  border-bottom: none;
}

.list-in-box:before {
  content: "・";
  position: absolute;
  left: 0px;
}

.ribbon-list {
  position: relative;
  list-style: none;
  padding: 0.5em 0 0.5em 4em;
  background: var(--background-white);
  font-weight: bold;
  margin: 1em 0;
  border-radius: 5px;
}

.ribbon {
  position: absolute;
  top: -0.25em;
  left: 1em;
  display: inline-block;
  width: 2em;
  height: 2em;
  text-align: center;
  background: var(--red);
}

.ribbon:before,
.ribbon:after {
  position: absolute;
  content: "";
}

.ribbon:before {
  right: -12.5%;
  width: 0;
  height: 0;
  border-right: 0.25em solid transparent;
  border-bottom: 0.25em solid var(--deep-red);
}

.ribbon:after {
  bottom: -25%;
  left: 0;
  display: block;
  height: 50%;
  border: 1em solid var(--red);
  border-bottom-width: 0.5em;
  border-bottom-color: transparent;
  width: 100%;
}

.ribbon-mark {
  position: relative;
  z-index: 1;
  color: var(--background-white);
  font-size: 18px;
}

.simple-hyperlink {
  border-bottom: 1px solid var(--text-color);
}

.simple-hyperlink:hover {
  border-bottom: none;
}

.hyperlink {
  border-bottom: 2px solid var(--logo-color);
  font-weight: bold;
}

.hyperlink:hover {
  border-bottom: none;
}

.side-logo {
  width: 100%;
  max-width: 280px;
}

.side-link:hover {
  text-decoration: underline 1px solid var(--text-color);
}

/* BEGIN パンくずリスト用 */
.breadcrumbs {
  margin: 1em 0.5em;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.breadcrumbs-list {
  list-style: none;
}

.breadcrumbs-list::after {
  content: ">";
  display: inline-block;
  padding: 0px 1em;
}

.breadcrumbs-list:last-child::after {
  display: none;
}

/* END パンくずリスト用 */

.global-area {
  position: sticky;
  position: -webkit-sticky;
  top: 0px;
  z-index: 3;
  border-bottom: 1px solid var(--shadow);
  -webkit-transform: translate3d(0, 0, 3em);
  transform: translate3d(0, 0, 3em);
}

.global-menu,
.child-menu {
  list-style: none;
}

.global-menu {
  display: flex;
  justify-content: center;
  text-align: center;
}

.global-list,
.child-list {
  position: relative;
  width: 100%;
}

.accordion,
.child-link {
  background-color: var(--logo-color);
  display: block;
  color: var(--background-white);
  padding: 0.5em 1em;
  transition: all 0.3s;
  font-size: 1.1em;
}

.accordion:hover,
.child-link:hover {
  color: var(--text-color);
  background-color: var(--sub-background);
}

.child-link {
  background-color: var(--sub-color);
  color: var(--background-white);
  padding: 0.25em 0.5em;
}

.a-flora-accordion {
  background-color: var(--background-white);
  color: var(--logo-color);
}

.child-menu {
  position: absolute;
  left: 0;
  z-index: 3;
  visibility: hidden;
  opacity: 0;
  transition: all 0.3s;
  width: 100%;
  font-size: 1.1em;
}

.global-list:hover > .child-menu,
.global-list:active > .child-menu {
  visibility: visible;
  opacity: 1;
}

.accordion:has(> .turn-star) {
  -webkit-perspective: 500px;
  perspective: 500px;
}

.turn-star {
  font-size: 0.8em;
  color: var(--yellow);
  display: inline-block;
  margin: 0 0.1em;
  animation: 3s turning linear infinite;
}

.accordion:hover .turn-star {
  color: var(--deep-yellow);
}

@keyframes turning {
  0% {
    transform: rotateY(0deg) translate(0px, -0.1em);
  }

  100% {
    transform: rotateY(360deg) translate(0px, -0.1em);
  }
}

.noscroll .menu-bar {
  display: none;
}

/* ハンバーガーメニュー（非表示） */
.header__hamburger {
  display: none;
}

.menu-window {
  display: none;
}

@media screen and (max-width: 889px) {
  .header-logo {
    width: 40px;
  }
}

@media screen and (max-width: 776px) {
  .side-block {
    height: auto;
    font-size: small;
  }

  .sp_n {
    letter-spacing: normal;
  }
}

@media screen and (max-width: 770px) {
  header {
    gap: 1em;
  }
}

@media screen and (max-width: 721px) {
  .for-top {
    font-size: inherit;
  }

  .header-letter {
    font-size: small;
  }
}

/* ハンバーガーメニュー（表示） */
@media screen and (max-width: 700px) {
  .global-area {
    background-color: transparent;
    border-color: transparent;
  }

  .global-menu {
    display: none;
  }

  .menu-bar {
    position: relative;
    max-height: 50px;
  }

  .header__hamburger {
    display: block;
    width: 5%;
    min-width: 40px;
    aspect-ratio: 1/1;
    padding: 0.2em;
  }

  .menu-window {
    display: none;
    position: absolute;
    right: 0;
    top: 0;
    width: 13em;
    height: auto;
    background-color: white;
    transition: ease 0.4s;
    visibility: hidden;
  }

  .menu-items {
    width: 100%;
    /* height: 150vh; */
    background-color: rgba(0, 0, 0, 0);
    display: flex;
    flex-flow: column;
    align-items: center;
    text-align: left;
    visibility: visible;
    color: white;
  }

  .menu-items a {
    width: 100%;
    text-decoration: none;
    color: white;
  }

  .nav-parent {
    display: block;
    height: 3em;
    line-height: 3em;
    padding-left: 1em;
    width: 100%;
    background-color: hsl(133, 77%, 32%);
  }

  .nav-child {
    display: block;
    width: 100%;
    height: 3em;
    line-height: 3em;
    padding-left: 1em;
    color: white;
    background-color: hsl(133, 85%, 39%);
  }

  .nav-link:hover {
    background-color: hsl(133, 94%, 80%);
  }

  .hamburger {
    position: relative;
    background-color: transparent;
    border-color: white;
    border-width: 0.1em;
    background-color: hsl(133, 77%, 32%);
    margin: 0 0 0 auto;
    z-index: 9999;
    transform: translateZ(10px);
  }

  .hamburger span {
    display: block;
    width: 80%;
    height: 0.2em;
    margin-left: auto;
    margin-right: auto;
    background-color: white;
    position: relative;
    transition: ease 0.4s;
  }

  .hamburger span:nth-child(1) {
    top: 0;
  }

  .hamburger span:nth-child(2) {
    margin: 0.8em auto;
  }

  .hamburger span:nth-child(3) {
    top: 0;
  }

  /* hamburgerメニュークリック後のスタイル */
  .menu-window.active {
    display: block;
    /*animation: display-menu-animation .5s ease;*/
  }

  .hamburger.active span:nth-child(1) {
    top: 1em;
    transform: rotate(45deg);
  }

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

  .hamburger.active span:nth-child(3) {
    top: -1em;
    transform: rotate(-45deg);
  }

  @keyframes display-menu-animation {
    0% {
      -moz-opacity: 0;
      -khtml-opacity: 0;
      opacity: 0;
    }

    100% {
      -moz-opacity: 1;
      -khtml-opacity: 1;
      opacity: 1;
    }
  }

  /* アコーディオンメニュー */
  .toggle {
    display: none;
  }

  .ac-parent::before {
    content: "";
    width: 6px;
    height: 6px;
    border-top: 2px solid white;
    border-right: 2px solid white;
    -webkit-transform: rotate(45deg);
    position: absolute;
    top: calc(50% - 3px);
    left: 8em;
    transform: rotate(135deg);
    transition: all 0.3s;
  }

  .ac-parent,
  .children {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
    transition: all 0.3s;
  }

  .children {
    width: 100%;
    height: 0;
    overflow: hidden;
  }

  .toggle:checked + .ac-parent::before {
    transform: rotate(-45deg) !important;
    transition: all 0.3s;
  }

  .rotate-star {
    display: inline-block;
    color: yellow;
    text-align: center;
    animation: rotate-star 4s linear infinite;
  }

  .nav-link:has(> .rotate-star) {
    -webkit-perspective: 500px;
    perspective: 500px;
  }

  @keyframes rotate-star {
    0% {
      transform: rotateY(0deg);
      -webkit-transform: rotateY(0deg);
    }

    100% {
      transform: rotateY(360deg);
      -webkit-transform: rotateY(360deg);
    }
  }
}

@media screen and (max-width: 689px) {
  .for-top::before {
    content: none;
  }

  .for-top {
    display: none;
  }

  .for-top-house {
    display: inline;
  }
}

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

  .main-content,
  .one-column {
    width: 95%;
  }

  .side-content {
    width: 98%;
  }

  .side-logo {
    display: block;
  }

  .side-content {
    position: inherit;
  }

  .side-block {
    font-size: medium;
    align-items: center;
  }
}

@media screen and (max-width: 621px) {
  header {
    gap: 2em;
  }

  .header-logo {
    display: none;
  }

  .header-link {
    background-color: var(--background-white);
  }

  .header-link:first-child {
    margin-left: 1%;
  }

  .header-flora {
    background-image: linear-gradient(
      135deg,
      var(--background-white) 15px calc(100% - 15px),
      var(--sub-background) 15px
    );
  }

  .header-lifehouse {
    background-image: linear-gradient(
      135deg,
      var(--background-white) 15px calc(100% - 15px),
      var(--light-orange) 15px
    );
  }

  .header-fgene {
    background-image: linear-gradient(
      135deg,
      var(--background-white) 15px calc(100% - 15px),
      var(--light-blue) 15px
    );
  }

  .header-title {
    display: inline-block;
    height: 2em;
  }
}

@media screen and (max-width: 833px) {
  .accordion,
  .child-link {
    font-size: medium;
  }

  .turn-star {
    font-size: 0.7em;
  }
}

@media screen and (max-width: 743px) {
  .accordion,
  .child-link {
    font-size: 0.9em;
  }

  .turn-star {
    font-size: 0.6em;
  }
}

@media screen and (max-width: 553px) {
  .hide-til-553 {
    display: inline;
  }
}

@media screen and (max-width: 530px) {
  header {
    gap: 1em;
  }
}

@media screen and (max-width: 482px) {
  .header-title {
    font-size: large;
  }
}

@media screen and (max-width: 432px) {
  header {
    gap: 0.5em;
  }
}

@media screen and (max-width: 408px) {
  .header-letter {
    font-size: x-small;
  }

  .header-title {
    font-size: medium;
  }
}

@media screen and (max-width: 345px) {
  .home-icon {
    width: 25px;
  }
}

@page {
  margin: 0mm;
  size: A4 portrait;
}

@media print {
  body {
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
    zoom: 0.7;
  }

  .global-area,
  .side-content {
    position: static;
  }

  .global-area,
  .for-top,
  .for-top-house {
    display: none;
  }

  header {
    margin-top: 0px;
  }
}
