/* =========================
   Base
========================= */
html {
  scroll-behavior: smooth;
}

html,
body {
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: serif;
  font-size: 18px;
  line-height: 40px;
  background: #F7F8F5;
}

.wrapper {
  max-width: 1920px;
  margin: 0 auto;
}

.container {
  width: 65%;
  margin: 0 auto;
}

section {
  padding: 70px 0;
  scroll-margin-top: 90px;
}

h2 {
  position: relative;
  margin-bottom: 30px;
  padding-top: 20px;
  padding-bottom: 20px;
  color: #176B4A;
  text-align: center;
}

h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 80px;
  height: 2px;
  background: #176B4A;
  transform: translateX(-50%);
}

/* =========================
   Header
========================= */
header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  height: 90px;
  padding: 0 5%;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.8);
}

header nav {
  margin-left: auto;
}

.logo img {
  display: block;
  width: auto;
  height: 50px;
}

.nav-list {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list a,
.nav-list a:visited,
.nav-list a:hover {
  color: #000;
  text-decoration: none;
}

.hamburger {
  display: none;
  position: absolute;
  top: 50%;
  right: 5%;
  z-index: 1100;
  width: 30px;
  height: 22px;
  cursor: pointer;
  transform: translateY(-50%);
}

.hamburger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: rgba(0, 0, 0, 0.4);
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 10px; }
.hamburger span:nth-child(3) { bottom: 0; }

.header-tel,
.header-mail {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  transition: .3s;
}

.header-tel {
  margin-left: 60px;
}

.header-mail {
  margin-left: 15px;
}

.header-tel img,
.header-mail img {
  display: block;
  width: 45px;
  height: auto;
}

.header-tel:hover,
.header-mail:hover {
  opacity: .7;
}

.nav-phone {
  display: none;
}

/* =========================
   Mobile menu overlay
========================= */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: .3s;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

/* =========================
   Fade animation
========================= */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.6s ease, transform 1.6s ease;
}

.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   Main visual
========================= */
.hero {
  position: relative;
  margin: 0;
  padding: 0;
}

.hero img {
  display: block;
  width: 100%;
  margin-bottom: 180px;
}

.fade-slider {
  position: relative;
}

.fade-slider img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transition: opacity 2s ease;
}

.fade-slider img.active {
  position: relative;
  opacity: 1;
}

.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: 100%;
  color: #fff;
  background: rgba(0, 0, 0, .45);
  text-align: center;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .45);
  transform: translate(-50%, -50%);
}

.hero-text h1 {
  margin: 6px 0 16px;
  font-size: 6rem;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: .12em;
}

.hero-text p {
  margin: 0;
  font-size: 1.6rem;
  line-height: 2;
  letter-spacing: .08em;
  margin-bottom: 16px;
}

.sub-hero {
  position: relative;
  margin: 0 0 160px;
  padding: 0;
}

.sub-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  background: #000;
  opacity: .2;
}

.sub-hero img {
  display: block;
  width: 100%;
}

.sub-hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  color: #fff;
  text-align: center;
  transform: translate(-50%, -50%);
}

/* =========================
   Home / News
========================= */
.gallery-section {
  padding: 40px 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;
  margin-bottom: 100px;
}

.gallery-item {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: .3s;
}

.gallery-item img {
  display: block;
  width: 100%;
  object-fit: cover;
  transition: .3s;
}

.gallery-caption {
  margin: 12px 0 0;
  color: #000;
  line-height: 1.4;
  text-align: right;
}

.gallery-caption::after {
  content: " \2192";
}

.gallery-item:hover {
  opacity: .7;
}

.gallery-item:hover img {
  transform: scale(1.03);
}

.gallery-item:hover .gallery-caption {
  opacity: .7;
}

.insta-news {
  padding: 40px 0;
  margin-bottom: 100px;
}

.insta-news-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.insta-news-item {
  display: block;
  color: #000;
  text-decoration: none;
  transition: .3s;
}

.insta-news-item img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: .3s;
}

.insta-news-item p {
  display: -webkit-box;
  min-height: 5.1em;
  margin: 12px 0 0;
  overflow: hidden;
  font-size: .95rem;
  line-height: 1.7;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.insta-news-item:hover {
  opacity: .7;
}

.insta-news-item:hover img {
  transform: scale(1.03);
}

.sns-guide {
  margin-top: 80px;
  text-align: center;
}

.sns-guide p {
  margin: 0 0 30px;
  line-height: 1.8;
}

.sns-guide-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.sns-guide-icons a {
  transition: .3s;
}

.sns-guide-icons a:hover {
  opacity: .7;
}

.sns-guide-icons img {
  display: block;
  width: 48px;
  height: 48px;
}

/* =========================
   Business / Company common nav
========================= */
.business-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 80px;
}

.business-nav a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  padding: 0 22px;
  box-sizing: border-box;
  border: 1px solid #00A65A;
  color: #00A65A;
  background: transparent;
  text-decoration: none;
  transition: .3s;
}

.business-nav a::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-top: -4px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
}

.business-nav a:hover {
  color: #fff;
  background: #00A65A;
}

.business-page-top {
  margin-top: 50px;
  text-align: right;
}

.business-page-top a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #000;
  font-size: .9rem;
  text-decoration: none;
  transition: .3s;
}

.business-page-top a::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-top: 5px;
  border-top: 1px solid currentColor;
  border-left: 1px solid currentColor;
  transform: rotate(45deg);
}

.business-page-top a:hover {
  opacity: .6;
}

/* =========================
   Business
========================= */
.business-section {
  padding: 70px 0;
  scroll-margin-top: 110px;
}

.business-lead {
  margin-bottom: 50px;
}

.business-lead p {
  margin: 0;
  text-align: left;
}

.business-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 60px;
  margin-bottom: 80px;
}

.business-image img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.business-text ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.business-text li {
  padding: 12px 0;
  border-bottom: 1px solid #ccc;
}

.business-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 25px;
}

.business-gallery-item {
  width: 100%;
  margin: 0;
}

.business-gallery-item img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.business-gallery-item figcaption {
  margin-top: 10px;
  font-size: .95rem;
  line-height: 1.7;
  text-align: left;
}

/* =========================
   Company
========================= */
.company-section {
  padding: 70px 0;
}

.company-message {
  text-align: left;
}

.company-message p {
  margin: 0;
  line-height: 2.2;
}

.company-signature {
  margin-top: 50px;
  text-align: right;
}

.company-signature p {
  margin: 0;
  line-height: 2;
}

.company-table {
  width: 100%;
  margin: 0;
  border-top: 1px solid #ddd;
}

.company-table-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  border-bottom: 1px solid #ddd;
}

.company-table dt,
.company-table dd {
  margin: 0;
  padding: 20px 25px;
  box-sizing: border-box;
  line-height: 1.8;
}

.company-table dt {
    font-weight: 500;
    background: #eef5f1;
}

.company-map {
  width: 100%;
  height: 450px;
  margin-top: 50px;
}

.company-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* =========================
   Footer
========================= */
.footer {
  margin-top: 200px;
  padding: 100px 0 30px;
  color: #fff;
  background: #00A65A;
}

.footer-inner {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-logo {
  margin-bottom: 40px;
}

.footer-logo img {
  width: 240px;
  height: auto;
}

.footer-col h3 {
  margin: 0 0 10px;
  font-weight: 500;
}

.footer-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-col li {
  position: relative;
  padding-left: 1em;
}

.footer-col li::before {
  content: "\30FB";
  position: absolute;
  top: 0;
  left: 0;
}

.footer-col a {
  color: #fff;
  text-decoration: none;
}

.footer-sns {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 50px;
}

.footer-sns img {
  width: 40px;
  height: 40px;
}

.copyright {
  margin-top: 20px;
  color: #fff;
  font-size: .9rem;
  text-align: center;
}

@media (min-width: 769px) {
  .footer-inner {
    display: grid;
    grid-template-columns: 280px 1fr;
    align-items: start;
    column-gap: 80px;
  }

  .footer-logo {
    margin-bottom: 0;
  }

  .footer-nav {
    display: flex;
    justify-content: flex-start;
    gap: 80px;
  }

  .footer-sns,
  .copyright {
    grid-column: 1 / -1;
  }
}

/* =========================
   Responsive
========================= */
@media (max-width: 968px) {
  .hamburger {
    display: block;
  }

  .nav-list {
    position: fixed;
    top: 60px;
    left: 0;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 30px 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-120%);
    transition: none;
  }

  .nav-list.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition: transform .3s, opacity .3s;
  }

  .header-tel,
  header > .header-mail {
    display: none;
  }

  .nav-phone {
    display: block;
    width: 100%;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, .15);
  }

  .nav-phone a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #000;
    font-size: 1.1rem;
    font-weight: 500;
    text-decoration: none;
  }

  .nav-phone .header-mail {
    display: flex;
    width: auto;
    height: auto;
    margin-left: 0;
  }

  .nav-phone img,
  .nav-phone .header-mail img {
    display: block;
    width: 24px;
    height: auto;
  }
}

@media (max-width: 768px) {
  header {
    height: 60px;
  }

  .logo img {
    height: 30px;
  }

  .container {
    width: 90%;
  }

  section {
    scroll-margin-top: 60px;
  }

  .hero {
    height: 60vh;
    overflow: hidden;
  }

  .hero img {
    width: 100%;
    height: 60vh;
    object-fit: cover;
  }

  .hero-text h1 {
    font-size: 2.2rem;
  }

  .hero-text p {
    font-size: .95rem;
    line-height: 1.8;
    margin-bottom: 6px;
  }

  .sub-hero {
    height: 60vh;
    margin-bottom: 60px;
    overflow: hidden;
  }

  .sub-hero img {
    width: 100%;
    height: 60vh;
    object-fit: cover;
  }

  .sub-hero-text h1 {
    font-size: 1.6rem;
    line-height: 1.3;
  }

  .container > h2 {
    margin: 60px 0 30px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .insta-news-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .business-nav {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 50px;
  }

  .business-nav a {
    height: 50px;
  }

  .business-section {
    scroll-margin-top: 80px;
  }

  .business-row {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .business-lead {
    margin-bottom: 30px;
  }

  .business-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 15px;
  }

    .company-table-row {
        display: grid;
        grid-template-columns: 1fr;
    }

    .company-table dt {
        padding: 12px 15px;
        background: #eef5f1;
        font-weight: 500;
    }

    .company-table dd {
        padding: 15px;
    }

  .company-map {
    height: 320px;
    margin-top: 30px;
  }

  .footer {
    margin-top: 100px;
  }

  .footer-inner {
    display: block;
  }

  .footer-logo {
    width: 100%;
    margin-bottom: 40px;
    text-align: center;
  }

  .footer-logo img {
    display: block;
    margin: 0 auto;
  }

  .footer-nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 20px;
    width: 100%;
    padding: 20px 0;
    text-align: center;
  }

  .footer-col ul {
    display: inline-block;
    text-align: left;
  }

  .footer-col h3 {
    font-size: 1.15rem;
    line-height: 1.4;
  }

  .footer-col li {
    font-size: .9rem;
    line-height: 1.8;
  }

  .footer-col li a {
    font-size: inherit;
  }

  .copyright {
    font-size: .8rem;
  }
}

.company-nav {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 768px) {
    .company-nav {
        grid-template-columns: 1fr;
    }
}

/* =========================
   Contact
========================= */

.contact-section {
    padding: 70px 0;
}

.contact-lead {
    margin-bottom: 50px;
    text-align: left;
}

.contact-lead p {
    margin: 0;
}

.contact-form {
    width: 100%;
    border-top: 1px solid #ccc;
}

.contact-row {
    display: grid;
    grid-template-columns: 280px 1fr;
    border-bottom: 1px solid #ccc;
}

.contact-label {
    padding: 35px 20px 35px 0;
    box-sizing: border-box;
    font-weight: 600;
}

.contact-field {
    padding: 35px 0;
    box-sizing: border-box;
}

.required {
    display: inline;
    margin: 0 0 0 4px;
    padding: 0;
    color: #000;
    background: none;
    font-size: inherit;
    line-height: inherit;
}

.contact-field input[type="text"],
.contact-field input[type="email"],
.contact-field input[type="tel"],
.contact-field textarea {
    display: block;
    width: 65%;
    padding: 14px 18px;
    box-sizing: border-box;
    border: 0;
    border-radius: 0;
    outline: none;
    background: #eee;
    font: inherit;
    line-height: 1.6;
}

.contact-field textarea {
    width: 100%;
    min-height: 220px;
    resize: vertical;
}

.contact-radio {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.contact-radio label {
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1.6;
    cursor: pointer;
}

.contact-radio input[type="radio"] {
    width: 22px;
    height: 22px;
    margin: 0;
}

.contact-error {
    margin: 8px 0 0;
    color: #c00;
    font-size: .9rem;
    line-height: 1.6;
}

.contact-errors {
    margin-bottom: 40px;
    padding: 20px 25px;
    border: 1px solid #c00;
    color: #c00;
}

.contact-errors p {
    margin: 0 0 10px;
}

.contact-errors ul {
    margin: 0;
    padding-left: 1.5em;
}

.contact-submit {
    margin-top: 50px;
    text-align: center;
}

.contact-submit button {
    min-width: 280px;
    padding: 16px 40px;
    border: 1px solid #00A65A;
    background: #00A65A;
    color: #fff;
    font: inherit;
    cursor: pointer;
    transition: .3s;
}

.contact-submit button:hover {
    color: #00A65A;
    background: transparent;
}


/* =========================
   Contact SP
========================= */

@media (max-width: 768px) {

    .contact-row {
        grid-template-columns: 1fr;
    }

    .contact-label {
        padding: 20px 0 5px;
    }

    .contact-field {
        padding: 10px 0 25px;
    }

    .contact-field input[type="text"],
    .contact-field input[type="email"],
    .contact-field input[type="tel"],
    .contact-field textarea {
        width: 100%;
    }

    .contact-submit button {
        width: 100%;
        min-width: 0;
    }
}

.mail-auth-send button {
    min-width: 220px;
    padding: 14px 30px;
    font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", serif;
    font-size: 1.1rem;
    margin-top: 15px;
}

.contact-recaptcha {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.contact-submit button {
    width: 304px;
    min-width: 304px;
}

@media (max-width: 400px) {
    .contact-recaptcha {
        transform: scale(.9);
        transform-origin: center top;
    }
}

.mail-auth-verify {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-field .mail-auth-verify #auth-code {
    width: 180px;
}

.mail-auth-verify button {
    padding: 10px 25px;
    border: 1px solid #00A65A;
    background: #00A65A;
    color: #fff;
    font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
    font-size: inherit;
    cursor: pointer;
    transition: .3s;
}

.mail-auth-verify button:hover:not(:disabled) {
    color: #00A65A;
    background: transparent;
}

.mail-auth-verify button:disabled {
    opacity: .6;
    cursor: default;
}

#auth-verify-message {
    margin: 10px 0 0;
    font-size: .9rem;
}

#auth-verify-message.is-success {
    color: #00A65A;
}

#auth-verify-message.is-error {
    color: #c00;
}

@media (max-width: 768px) {

    .mail-auth-verify {
        align-items: stretch;
        flex-direction: column;
    }

    .contact-field .mail-auth-verify #auth-code {
        width: 100%;
    }
}

/* =========================
   Company / Initiative
========================= */

.company-initiative-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    margin-top: 50px;
}

.company-initiative-card {
    display: block;
    margin: 0;
    padding: 0;
    border: 0;
    color: #000;
    background: none;
    box-shadow: none;
    text-decoration: none;
    transition: .3s;
}

.company-initiative-card::before,
.company-initiative-card::after {
    display: none;
    content: none;
}

.company-initiative-card img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    margin: 0;
    padding: 0;
    border: 0;
    object-fit: cover;
    box-shadow: none;
    transition: .3s;
}

.company-initiative-card p {
    margin: 12px 0 0;
    padding: 0;
    color: #000;
    background: none;
    font-size: .95rem;
    line-height: 1.7;
    text-align: left;
}

.company-initiative-card:hover {
    color: #000;
    background: none;
    border: 0;
    opacity: .7;
}

.company-initiative-card:hover img {
    transform: scale(1.03);
}

@media (max-width: 1100px) {
    .company-initiative-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .company-initiative-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin-top: 30px;
    }
}

/* =========================
   Company / Recruit
========================= */

.company-recruit-lead {
    margin-bottom: 40px;
}

.company-recruit-lead p {
    margin: 0;
    text-align: left;
}

.company-recruit-banners {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10%;
    align-items: center;
}

.company-recruit-banners a {
    display: block;
    transition: .3s;
}

.company-recruit-banners a:hover {
    opacity: .7;
}

.company-recruit-banners img {
    display: block;
    width: 100%;
    height: auto;
}

@media (max-width: 768px) {

    .company-recruit-lead {
        margin-bottom: 30px;
    }

    .company-recruit-banners {
        grid-template-columns: 1fr;
        gap: 30px;
    }

}

.company-recruit-banners img {
    display: block;
    width: 100%;
    height: auto;
    box-sizing: border-box;
    border: 1px solid #ccc;
}

/* =========================
   Contact / Confirm
========================= */

.confirm-lead {
    width: 100%;
    margin-bottom: 40px;
    text-align: center;
}

.contact-section .confirm-lead p {
    margin: 0;
    text-align: center;
}

.confirm-table {
    width: 100%;
    margin-top: 40px;
    border-collapse: collapse;
    border-spacing: 0;
    table-layout: fixed;
    border-top: 1px solid #ccc;
}

.confirm-table th,
.confirm-table td {
    margin: 0;
    padding: 25px 0;
    border: 0;
    border-bottom: 1px solid #ccc;
    vertical-align: top;
    text-align: left;
    line-height: 1.8;
    box-sizing: border-box;
}

.confirm-table th {
    width: 280px;
    padding-right: 30px;
    font-weight: 600;
}

.confirm-table td {
    width: auto;
    word-break: break-word;
}

.confirm-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 50px;
}

.confirm-buttons form {
    margin: 0;
    padding: 0;
}

.confirm-buttons button {
    width: 304px;
    padding: 16px 30px;
    box-sizing: border-box;
    font-family: "Yu Mincho", "YuMincho",
                 "Hiragino Mincho ProN",
                 "Hiragino Mincho Pro",
                 serif;
    font-size: inherit;
    cursor: pointer;
    transition: .3s;
}

.confirm-back {
    border: 1px solid #999;
    color: #333;
    background: transparent;
}

.confirm-back:hover {
    background: #eee;
}

.confirm-send {
    border: 1px solid #00A65A;
    color: #fff;
    background: #00A65A;
}

.confirm-send:hover {
    color: #00A65A;
    background: transparent;
}


/* =========================
   Contact / Confirm SP
========================= */

@media (max-width: 768px) {

    .confirm-lead {
        margin-bottom: 30px;
    }

    .confirm-table {
        margin-top: 30px;
    }

    .confirm-table,
    .confirm-table tbody,
    .confirm-table tr,
    .confirm-table th,
    .confirm-table td {
        display: block;
        width: 100%;
    }

    .confirm-table th {
        padding: 18px 0 5px;
        border-bottom: 0;
    }

    .confirm-table td {
        padding: 5px 0 20px;
    }

    .confirm-buttons {
        flex-direction: column;
        gap: 15px;
        margin-top: 40px;
    }

    .confirm-buttons form {
        width: 100%;
    }

    .confirm-buttons button {
        width: 100%;
    }

}

/* =========================
   Contact / Finish
========================= */

.finish-message {
    margin-top: 40px;
    text-align: center;
}

.finish-message p {
    margin: 0 0 25px;
    line-height: 2;
}

.finish-links {
    margin-top: 50px;
    text-align: center;
}

.finish-home {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 304px;
    padding: 16px 30px;
    box-sizing: border-box;
    border: 1px solid #00A65A;
    color: #fff;
    background: #00A65A;
    text-decoration: none;
    transition: .3s;
}

.finish-home:hover {
    color: #00A65A;
    background: transparent;
}

@media (max-width: 768px) {

    .finish-message {
        margin-top: 30px;
        text-align: left;
    }

    .finish-message p {
        line-height: 1.8;
    }

    .finish-home {
        width: 100%;
    }
}

@media (max-width: 768px) {

    .footer-nav {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 20px;
        width: 100%;
        padding: 20px 0;
        text-align: center;
    }

    .footer-col ul {
        display: inline-block;
        text-align: left;
    }
}

/* =========================
   News Detail
========================= */

.news-detail {
    padding: 70px 0 100px;
}


/* タイトル・日付
------------------------- */

.news-detail-header {
    margin-bottom: 60px;
}

.news-detail-title {
    margin: 0;
    padding: 0;
    text-align: left;
}

.news-detail-title::before,
.news-detail-title::after {
    display: none;
}

.news-detail-line {
    width: 100%;
    height: 1px;
    margin: 20px 0 15px;
    background: #ccc;
}

.news-detail-date {
    margin: 0;
    text-align: left;
}


/* 写真
------------------------- */

.news-detail-image {
    text-align: left;
    margin-bottom: 40px;
}

.news-detail-image img {
    display: block;
    width: 100%;
    max-width: 800px;
    height: auto;
    margin: 0;
}

/* 本文
------------------------- */

.news-detail-body {
    margin-top: 60px;
    text-align: left;
}

.news-detail-body p {
    margin: 0 0 30px;
    line-height: 2.2;
}


/* SP
------------------------- */

@media (max-width: 768px) {

    .news-detail {
        padding: 50px 0 70px;
    }

    .news-detail-header {
        margin-bottom: 40px;
    }

    .news-detail-line {
        margin: 15px 0 12px;
    }

    .news-detail-image {
        margin-bottom: 25px;
    }

    .news-detail-body {
        margin-top: 40px;
    }

    .news-detail-body p {
        line-height: 2;
    }

}

.text-right {
    display: block;
    text-align: right;
}

/* =========================
   News Detail / Back
========================= */

.news-detail-footer {
    margin-top: 70px;
    padding-top: 50px;
    border-top: 1px solid #ccc;
    text-align: center;
}

.news-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 304px;
    padding: 16px 30px;
    box-sizing: border-box;
    border: 1px solid #00A65A;
    background: #00A65A;
    color: #fff;
    text-decoration: none;
    transition: .3s;
}

.news-back:hover {
    background: transparent;
    color: #00A65A;
}

@media (max-width: 768px) {

    .news-detail-footer {
        margin-top: 50px;
        padding-top: 40px;
    }

    .news-back {
        width: 100%;
    }

}

/* =========================
   News List
========================= */

.news-list-section {
    padding: 70px 0 100px;
}

.news-list {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 50px 15px;
    margin-top: 60px;
}

.news-list-item {
    display: block;
    color: #000;
    text-decoration: none;
    transition: .3s;
}

.news-list-item:hover {
    opacity: .7;
}

.news-list-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.news-list-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .3s;
}

.news-list-item:hover .news-list-image img {
    transform: scale(1.03);
}

.news-list-title {
    margin: 12px 0 0;
    font-size: .95rem;
    line-height: 1.6;
    text-align: left;
}

.news-list-empty {
    margin-top: 60px;
    text-align: center;
}


/* =========================
   News Pagination
========================= */

.news-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 80px;
}

.news-pagination a,
.news-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 12px;
    box-sizing: border-box;
    border: 1px solid #00A65A;
    color: #00A65A;
    background: transparent;
    text-decoration: none;
    line-height: 1;
    transition: .3s;
}

.news-pagination a:hover {
    color: #fff;
    background: #00A65A;
}

.news-pagination-current {
    color: #fff !important;
    background: #00A65A !important;
}

.news-pagination-prev,
.news-pagination-next {
    min-width: 70px !important;
}


/* =========================
   News List Responsive
========================= */

@media (max-width: 1200px) {

    .news-list {
        grid-template-columns: repeat(4, 1fr);
    }

}


@media (max-width: 968px) {

    .news-list {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px 20px;
    }

}


@media (max-width: 768px) {

    .news-list-section {
        padding: 50px 0 70px;
    }

    .news-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 15px;
        margin-top: 40px;
    }

    .news-list-title {
        margin-top: 8px;
        font-size: .95rem;
        line-height: 1.5;
    }

    .news-pagination {
        flex-wrap: wrap;
        gap: 8px;
        margin-top: 50px;
    }

    .news-pagination a,
    .news-pagination span {
        min-width: 38px;
        height: 38px;
        padding: 0 10px;
    }

    .news-pagination-prev,
    .news-pagination-next {
        min-width: 64px !important;
    }

}


@media (max-width: 480px) {

    .news-list {
        grid-template-columns: repeat(2, 1fr);
    }

}

.news-more {
    margin-top: 50px;
    text-align: center;
}

.news-more a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 304px;
    padding: 16px 30px;
    box-sizing: border-box;
    background: #00A65A;
    border: 1px solid #00A65A;
    color: #fff;
    text-decoration: none;
    transition: .3s;
}

.news-more a:hover {
    background: transparent;
    color: #00A65A;
}

@media (max-width: 768px) {

    .news-more {
        margin-top: 35px;
    }

    .news-more a {
        width: 100%;
    }

}
