@import url('https://fonts.googleapis.com/css2?family=Shippori+Mincho+B1:wght@600&family=Zen+Kaku+Gothic+Antique&display=swap');

:root {
  --color-black: #000;
  --color-green: #3A8F5F;
  --color-green-light: rgba(218, 225, 221, 0.7);
  --font-sans: "Zen Kaku Gothic Antique", sans-serif;
  --font-serif: 'Shippori Mincho B1', serif;
}

.my-ajax-loading {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(255, 255, 255, .5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.my-body {
  font-size: 16px;
  font-family: var(--font-serif);
  color: var(--color-black);
  padding: 0;
}

.my-container {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  overflow: hidden;
}

.my-header {
  padding: 24px 0 0;
}

.my-header-logo {
  margin: 0;
}

.my-header-logo a {
  display: block;
  margin: 0 auto;
  width: 160px;
}

.my-header-logo a img {
  display: block;
  width: 100%;
}

.my-header-nav a {
  color: inherit;
  text-decoration: none;
}

.my-header-nav a:hover {
  text-decoration: underline;
}

.my-header-nav ul {
  list-style: none;
  margin: auto;
  padding: 24px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 80px;
  font-size: 18px;
}

.my-hero {
  position: relative;
  width: 100%;
  padding-top: 66.64%; /*853/1280*/
  background: url(../img/hero-bg.jpg?v1) center/cover no-repeat;
}

.my-hero::before,
.my-hero::after,
.my-hero-text {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: #08602E;
}

.my-hero::before {
  width: 2px;
  margin-top: 25.703%; /*329/1280*/
  margin-left: 17.187%; /*220/1280*/
  z-index: 1;
}

.my-hero::after {
  height: 2px;
  margin-top: 41.562%; /*532/1280*/
  margin-left: 3.125%; /*40/1280*/
}

.my-hero-text {
  margin-top: 25.703%; /*329/1280*/
  margin-left: 15.39%; /*197/1280*/
  margin-bottom: 23.281%; /*298/1280*/
  background: rgba(121, 172, 143, 0.7);
}

.my-hero-text img {
  position: absolute;
  top: 0;
  left: 0;
  width: 87.349%; /*946/1083*/
  margin-top: -8.771%; /*95/1083*/
  margin-left: 5.263%; /*57/1083*/
}

.my-home-outline {
  position: relative;
  padding-right: 3.125%; /*40/1280*/
  padding-left: 17.187%; /*220/1280*/
}

.my-home-outline > img {
  position: absolute;
  top: 0;
  right: 0;
  margin-right: 84.0625%; /*1076/1280*/
  width: 3.984%; /*51/1280*/
  min-width: 35px;
}

.my-home-outline::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: #08602E;
  width: 2px;
  margin-left: 17.187%; /*220/1280*/
}

.my-home-outline-row {
  display: flex;
}

.my-home-outline-row + .my-home-outline-row {
  margin-top: 55px;
}

.my-home-outline-row > div {
  width: 53.725%; /*548/1020*/
}

.my-home-outline-row > div > img {
  width: 100%;
}

.my-home-outline-row > dl {
  flex: 1;
}

.my-home-outline-row > dl > dt {
  font-size: 26px;
  text-align: center;
  border-bottom: 1px solid #000;
  padding: 20px 10px 10px;
}

.my-home-outline-row > dl > dd {
  line-height: 1.875;
  padding: 28px;
}

.my-link {
  padding-right: 3.125%; /*40/1280*/
  padding-left: 19.531%; /*250/1280*/
  padding-bottom: 24px;
  margin-top: 24px;
}

.my-link a {
  position: relative;
  display: block;
  font-size: 40px;
  text-align: right;
  padding-right: 80px;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}

.my-link a::before,
.my-link a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  background: #000;
  width: 0;
}

.my-link a:hover::before {
  transition: width linear .3s;
  width: 100%;
}

.my-link a::after {
  left: auto;
  right: 0;
  width: 0;
  transform: rotate(25deg);
  transform-origin: right bottom;
  margin-bottom: -5px;
}

.my-link a:hover::after {
  transition: width linear .1s .3s;
  width: 45px;
}

.my-link a span {
  font-size: 1.25em;
  vertical-align: text-bottom;
}

.my-title {
  font-size: 40px;
  text-align: center;
  padding: 5px;
  margin-bottom: 55px;
}

.my-title > span {
  font-size: 50px;
}

.my-title-outer {
  display: flex;
  align-items: center;
  height: 200px;
  background: center center / cover no-repeat, center center / cover no-repeat;
  background-image: linear-gradient(rgba(121, 172, 143, 0.7),rgba(121, 172, 143, 0.7)),url(../img/works-title.jpg);
}

.my-title-outer .my-title {
  width: 100%;
  margin: 0;
}

.my-underline {
  position: relative;
}

.my-underline::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 77.343%; /*990/1280*/
  background: #000;
  height: 1px;
}

.my-underline.-r::after {
  right: 0;
  left: auto;
}

.my-inner {
  max-width: 760px;
  margin: 0 auto;
}

.my-inner.-lg {
  max-width: 1000px;
}

.my-section-title {
  font-size: 24px;
  text-align: center;
  border-bottom: 2px solid var(--color-green);
  margin-bottom: 64px;
}

.my-posts {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin: 80px 3.125%;
}

.my-posts a {
  width: calc((100% - 60px) / 3);
  color: inherit;
  font-family: var(--font-sans);
  text-decoration: none;
}

.my-posts a:hover {
  text-decoration: underline;
}

.my-posts figure {
  display: block;
  width: 100%;
  aspect-ratio: 380 / 274;
  overflow: hidden;
}

.my-posts figure img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  transition: all ease-out .3s;
}

.my-posts a:hover figure img {
  transform: scale(1.1);
}

.my-posts dl,
.my-posts dd {
  margin: 0;
}

.my-posts dt {
  margin-bottom: .5em;
  text-align: center;
}

.my-posts dd {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.my-posts-outer {
  position: relative;
  padding-top: 80px;
  border-left: 15px solid var(--color-green);
  border-bottom: 15px solid var(--color-green);
}

.my-posts-outer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 58.203%; /*745/1280*/
  height: 15px;
  background: var(--color-green);
}

.my-spinner-wrap {
  display: flex;
  justify-content: center;
  overflow: hidden;
  margin: 15px auto;
}

/* https://10015.io/tools/css-loader-generator */
.my-spinner {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: radial-gradient(farthest-side,#3a8f5f 94%,#0000) top/9px 9px no-repeat,conic-gradient(#0000 30%,#3a8f5f);
  -webkit-mask: radial-gradient(farthest-side,#0000 calc(100% - 9px),#000 0);
  animation: spinner-c7wet2 1s infinite linear;
}

@keyframes spinner-c7wet2 {
  100% {
    transform: rotate(1turn);
  }
} 

.my-post {
  max-width: 760px;
  margin: 0 auto;
}

.my-post-date {
  font-family: var(--font-sans);
  font-size: 14px;
  color: #888;
  margin-bottom: 50px;
}

.my-post-title {
  font-size: 24px;
  text-align: center;
  border-bottom: 2px solid var(--color-green);
  margin-bottom: 50px;
}

.my-post-img {
  display: block;
  width: 100%;
  margin-bottom: 50px;
}

.my-post-outer {
  position: relative;
  padding: 50px 30px 100px;
  border-bottom: 15px solid var(--color-green);
}

.my-post-outer::before,
.my-post-outer > span::before,
.my-post-outer > span::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 58.203%; /*745/1280*/
  height: 15px;
  background: var(--color-green);
}

.my-post-outer > span::before,
.my-post-outer > span::after {
  width: 15px;
  height: 43%;
}

.my-post-outer > span::after {
  top: auto;
  right: 0;
  bottom: 0;
  left: auto;
}

.my-post-nav {
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 16px;
  margin-top: 30px;
  padding: 0 10px;
}

.my-post-nav a {
  position: relative;
  color: inherit;
  text-decoration: none;
}

.my-post-nav a:hover {
  text-decoration: underline;
}

.my-post-nav > a {
  margin: 10px auto 0;
}

.my-post-nav ul {
  display: flex;
  list-style: none;
  padding: 0;
  color: var(--color-green);
}

.my-post-nav li {
  display: flex;
  width: 50%;
}

.my-post-nav li:first-child {
  justify-content: flex-end;
}

.my-post-nav li:first-child a {
  padding-right: 2.5em;
}

.my-post-nav li:first-child a::after {
  content: '';
  position: absolute;
  top: 0;
  right: 1em;
  bottom: 0;
  margin: auto 0;
  background: url(../img/post-nav-prev.svg) 0 0 / contain no-repeat;
  width: 12px;
  height: 20px;
}

.my-post-nav li a {
  display: flex;
  align-items: center;
}

.my-post-nav li:last-child a {
  padding-left: 2.5em;
}

.my-post-nav li:last-child a::after {
  content: '';
  position: absolute;
  top: 0;
  left: 1em;
  bottom: 0;
  margin: auto 0;
  background: url(../img/post-nav-next.svg) 0 0 / contain no-repeat;
  width: 12px;
  height: 20px;
}

.my-breadcrumb {
  --bs-breadcrumb-divider: '>';
  margin: 10px 10.9375% 60px; /*140/1280*/
  font-size: 14px;
  font-family: var(--font-sans);
}

.my-breadcrumb a {
  text-decoration: none;
  color: inherit;
}

.my-breadcrumb a:hover {
  text-decoration: underline;
}

#home01 {
  padding: 100px 0;
}

#home01 h2 {
  display: inline-block;
  background: var(--color-green);
  color: #fff;
  font-size: 28px;
  padding: 5px 10px 5px 10.9375%; /*140/1280*/
  margin-bottom: 40px;
}

#home01 dl {
  margin: 0 10.9375%; /*140/1280*/
}

#home01 dt {
  font-size: 30px;
  line-height: 2;
}

#home01 dt span {
  display: inline-block;
  text-decoration: underline #08602E 2px;
  text-underline-offset: 8px;
}

#home01 dt strong {
  font-size: 40px;
}

#home01 dd {
  font-size: 20px;
  line-height: 2;
  margin-top: 50px;
}

#home01 ul {
  display: flex;
  justify-content: space-between;
  list-style: none;
  padding: 0;
  margin-top: 60px;
}

#home01 ul > li {
  display: flex;
  align-items: center;
  justify-content: center;
}

#home01 ul > li > img {
  width: 15px;
}

#home01 ul > li > div {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: var(--color-green);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.1;
}

#home01 ul > li > div > strong {
  text-align: center;
  margin-top: 25px;
}

#home01 ul > li > div > img {
  width: 88px;
  margin-bottom: 35px;
}

#home03 {
  margin-top: 60px;
  padding-top: 24px;
  background: url(../img/home03-bg.png) top right/contain no-repeat;
}

#home04 {
  margin-top: 160px;
  padding-top: 20px;
  border-left: 15px solid var(--color-green);
  border-bottom: 15px solid var(--color-green);
}

#home04::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 58.203%; /*745/1280*/
  height: 15px;
  background: var(--color-green);
}

#corporate .my-title-outer {
  background-image: linear-gradient(rgba(121, 172, 143, 0.7),rgba(121, 172, 143, 0.7)),url(../img/corporate-title.jpg);
}

#corporate h4 {
  font-family: var(--font-sans);
  font-size: 16px;
  text-align: center;
  margin-bottom: 50px;
}

#corporate01 table {
  border-collapse: separate;
  border-spacing: 0 10px;
  width: 450px;
  font-family: var(--font-sans);
  margin: 0 auto;
}

#corporate02 {
  margin-top: 150px;
}

#corporate02 p {
  line-height: 60px;
  text-align: center;
  margin-bottom: 100px;
}

#corporate02 p strong {
  font-size: 22px;
}

#overview .my-title-outer {
  background-image: linear-gradient(rgba(121, 172, 143, 0.7),rgba(121, 172, 143, 0.7)),url(../img/overview-title.jpg);
}

#overview01 ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 0;
  margin: 150px 0 110px;
  gap: 66px;
}

#overview01 li {
  width: 200px;
}

#overview01 li dl {
  margin: 0;
}

#overview01 li dt {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-green);
  color: #fff;
  text-align: center;
  font-size: 24px;
  aspect-ratio: 1/1;
  border-radius: 50%;
  margin-bottom: 50px;
}

#overview01 p {
  font-size: 20px;
  line-height: 3;
  text-align: center;
  margin-bottom: 100px;
}

.my-footer {
  background: rgba(218, 225, 221, 0.7);
  margin-top: 150px;
  padding-top: 50px;
}

.my-footer a {
  color: inherit;
  text-decoration: none;
}

.my-footer a:hover {
  text-decoration: underline;
}

.my-footer nav ul {
  list-style: none;
  margin: auto;
  padding: 75px 40px 95px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 60px;
  font-size: 18px;
}

.my-footer small {
  display: block;
  text-align: center;
  font-size: 12px;
}

.my-signature {
  text-align: center;
  overflow: hidden;
}

.my-signature-name img {
  display: block;
  width: 160px;
  margin: 0 auto 20px;
}

.my-signature-address {
  font-size: 18px;
  margin-bottom: 0;
}

.my-signature-tel {
  font-size: 28px;
}

.my-quill .ql-container {
  background: #fff;
  font-family: inherit;
  font-size: inherit;
}

.my-quill-body {
  background: #fff;
  padding: 1rem;
  line-height: 1.6;
}

.my-quill-body p {
  margin: 0;
}

.my-quill-body img {
  max-width: 100%;
}

#modalForm iframe {
  display: block;
  width: 100%;
  height: calc(100vh - 240px);
}

/* `md` applies to small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
  .my-header-nav ul {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .my-home-outline-row {
    flex-direction: column;
  }

  .my-home-outline-row > div {
    width: 100%;
    order: 1;
  }

  .my-link a {
    font-size: 20px;
    padding-right: 60px;
  }

  .my-title {
    font-size: 30px;
  }

  .my-title > span {
    font-size: 40px;
  }

  .my-inner {
    padding: 0 15px;
  }
  
  .my-posts a {
    font-size: 14px;
    width: calc((100% - 30px) / 2);
  }

  #home01 h2 {
    font-size: 20px;
  }

  #home01 dt {
    font-size: 18px;
  }

  #home01 dt strong {
    font-size: 24px;
  }

  #home01 dd {
    font-size: 18px;
  }

  #corporate02 p,
  #overview01 p {
    text-align: left;
  }
}

@media (max-width: 1040px) {
  #home01 ul {
    flex-direction: column;
    width: 180px;
    margin-right: auto;
    margin-left: auto;
  }

  #home01 ul > li > img {
    transform: rotate(90deg);
  }
}
