@charset "UTF-8";
/*
Theme Name: 江崎食品株式会社
Description: 江崎食品株式会社様用のテンプレートです
Version: 1.0
Author: Egashira
*/

body {
  margin: 0;
  padding: 0;
  background: #faffff;
  font-family: Arial, Helvetica, sans-serif;
  background-attachment: fixed;
}

.container {
  width: 100%;
  padding: 0 20px;
  margin-right: auto;
  margin-left: auto;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .container {
    max-width: 720px;
    padding: 0;
  }
}

@media (min-width: 1024px) {
  .container {
    max-width: 800px;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

@media (min-width: 1920px) {
  .container {
    max-width: 1300px;
  }
}

#bubble-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.bubble {
  position: absolute;
  bottom: -30px;
  background: rgba(173, 216, 230, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  box-shadow: inset 0 0 8px rgba(255, 255, 255, 0.6);
  animation: rise linear infinite;
}

@keyframes rise {
  0% {
    transform: translateY(0) translateX(0);
    opacity: 0;
  }

  20% {
    opacity: 0.5;
    transform: translateY(-20vh) translateX(-15px);
  }

  50% {
    transform: translateY(-50vh) translateX(20px);
  }

  80% {
    opacity: 0.5;
    transform: translateY(-80vh) translateX(-15px);
  }

  100% {
    transform: translateY(-120vh) translateX(0);
    opacity: 0;
  }
}

* {
  box-sizing: border-box;
}

.pc-nav a {
  text-decoration: none;
}

a {
  color: #111;
  text-decoration: none;
}

a:hover {
  color: #000;
}

ul,
li {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sp {
  display: block;
}

.fadein {
  opacity: 0;
  transform: translate(0, 0);
  transition: all 2.5s;
}

.fadein.fadein-bottom {
  transform: translate(0, 30px);
}

.fadein.scrollin {
  opacity: 1;
  transform: translate(0, 0);
}

.fadeUp {
  animation-name: fadeUpAnime;
  animation-duration: 0.5s;
  animation-fill-mode: forwards;
  opacity: 0;
}

@keyframes fadeUpAnime {
  from {
    opacity: 0;
    transform: translateY(100px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.text-contents {
  margin: 2% auto;
  font-size: .8em;
  line-height: 1.8;
  text-align: center;
}

.area-about .text-contents {
  color: #fff;
  font-size: 1.1em;
  line-height: 2;
}

.big-title {
  margin-top: 20px;
}

.big-title :nth-child(1) {
  font-family: "Rampart One", sans-serif;
  font-weight: 800;
  font-style: normal;
  text-align: center;
  font-size: 2em;
  color: #135366;
  margin: 0;
}

.big-title :nth-child(2) {
  text-align: center;
  font-size: 1em;
  color: #135366;
  margin: 0;
}

.big-title-w :nth-child(1) {
  font-family: "Rampart One", sans-serif;
  font-weight: 800;
  font-style: normal;
  text-align: center;
  font-size: 2em;
  color: #ffffff;
  margin: 0;
}

.big-title-w :nth-child(2) {
  text-align: center;
  font-size: 1em;
  color: #ffffff;
  margin: 0;
}

.big-title.title-spe {
  margin-top: -30%;
}

.big-title.title-spe :nth-child(1) {
  font-size: 2em;
  margin: 0;
}

.big-title.title-spe :nth-child(2) {
  font-size: 1em;
  margin: 0;
}

.button-two {
  display: flex;
  flex-direction: column;
  width: 70%;
  margin: 0 15% 7% 15%;
}

.top-button.two {
  margin: 0 0 20px 0;
  font-size: .8em;
}

.join {
  margin-top: 40%;
  margin-bottom: 7%;
}

.more-button {
  text-align: center;
  margin-top: 30px;
}

.more-button a {
  display: inline-block;
  padding: 12px 40px;
  background-color: #0d6f85;
  color: #fff;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 1px solid #0d6f85;
}

.more-button a:hover {
  background-color: #fff;
  color: #0d6f85;
}

@media screen and (min-width: 768px) {

  .text-contents {
    font-size: 1em;
  }

  #area-7 {
    margin-top: 20%;
  }

  .button-two {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-around;
    width: 70%;
    margin: 0 15% 7% 15%;
  }

  .top-button.two {
    margin: 0 0 20px 0;
    font-size: 1em;
  }
}

@media screen and (min-width: 1025px) {

  #area-7 {
    margin-top: 0;
  }

  .big-title {
    margin-top: 50px;
  }

  .big-title :nth-child(1) {
    font-size: 4.5em;
    margin: 0;
  }

  .big-title :nth-child(2) {
    font-size: 1.3em;
    margin: 0;
  }

  .big-title-w :nth-child(1) {
    font-size: 4.5em;
    margin: 0;
  }

  .big-title-w :nth-child(2) {
    font-size: 1.3em;
    margin: 0;
  }

  .big-title.title-spe {
    margin-top: -5%;
  }

  .big-title.title-spe :nth-child(1) {
    font-size: 4.5em;
  }

  .big-title.title-spe :nth-child(2) {
    font-size: 1.3em;
  }

  .text-contents {
    margin: 2% auto;
    font-size: 1em;
  }

  .button-two {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-around;
    width: 70%;
    margin: 0 15% 7% 15%;
  }

  .top-button.two {
    margin: 0 0 20px 0;
    font-size: 1em;
  }

  .join {
    margin-bottom: 7%;
    margin-top: 15%;
  }

}

/*========= ヘッダー ===============*/

#header {
  display: none;
}

.sp-nav {
  background-color: #F1F4EC;
  padding: 2%;
  position: relative;
  border-bottom-left-radius: 50% 20%;
  border-bottom-right-radius: 50% 20%;
}

.sp-nav .header-logo {
  width: 70px;
  margin: 0 auto;
}

.sp-nav .header-logo img {
  width: 100%;
}

.sp-nav__box {
  position: fixed;
  top: 1%;
  right: 2%;
  display: flex;
  height: 45px;
  width: 45px;
  justify-content: center;
  align-items: center;
  z-index: 90;
}

.sp-nav__box span,
.sp-nav__box span:before,
.sp-nav__box span:after {
  content: "";
  display: block;
  height: 3px;
  width: 25px;
  border-radius: 3px;
  background: #87B0B8;
  position: absolute;
}

.sp-nav__box span:before {
  bottom: 8px;
}

.sp-nav__box span:after {
  top: 8px;
}

#sp-nav__check {
  display: none;
}

#sp-nav__check:checked~.sp-nav__box span {
  background: rgba(255, 255, 255, 0);
}

#sp-nav__check:checked~.sp-nav__box span::before {
  bottom: 0;
  transform: rotate(45deg);
}

#sp-nav__check:checked~.sp-nav__box span::after {
  top: 0;
  transform: rotate(-45deg);
}

#sp-nav__check:checked~.sp-nav__content {
  left: 0;
}

.sp-nav__content {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 100%;
  z-index: 80;
  background-color: #F1F4EC;
  transition: all 0.5s;
}

.sp-nav__list {
  padding: 0 10%;
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.sp-nav__item {
  border-bottom: solid 1px #87B0B8;
  list-style: none;
}

.sp-nav__link {
  display: block;
  width: 100%;
  font-size: 15px;
  box-sizing: border-box;
  color: #135366;
  text-decoration: none;
  padding: 9px 15px 10px 0;
}

.sp-nav__link::before {
  left: 3px;
  width: 7px;
  height: 1px;
  background: #7a0;
}

.sp-nav__link::after {
  left: 3px;
  width: 6px;
  height: 6px;
  border-top: 1px solid #7a0;
  border-right: 1px solid #7a0;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

@media screen and (min-width: 968px) {

  header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
  }

  #header {
    height: 130px;
    width: 90%;
    margin: 1% auto 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    border-radius: 9999px;
    text-align: center;
    padding: 50px;
    box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.35);
  }

  #header.HeightMin {
    height: 80px;
    padding: 20px 50px;
    animation: DownAnime 0.8s forwards;
    background-color: #0d6f85;
  }

  @keyframes DownAnime {
    from {
      opacity: 0;
      transform: translateY(-80px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .header-logo {
    width: 80px;
  }

  .header-logo img {
    width: 100%
  }

  .header-logo.HeightMin {
    width: 60px;
    background-color: #fff;
    padding: 5px;
  }

  .sp-nav {
    display: none;
  }

  .pc-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
  }

  .pc-nav ul li a {
    display: block;
    text-decoration: none;
    color: #135366;
    padding: 15px 0;
    transition: all 0.3s;
    font-weight: 600;
  }

  .pc-nav ul li:last-child a {
    display: block;
    text-decoration: none;
    color: #ffffff;
    padding: 15px 20px;
    transition: all 0.3s;
    font-weight: 600;
    border: 1px solid #223135;
    background-color: #223135;
    border-radius: 9999px;
    margin-left: 10px;
  }

  .pc-nav ul li:last-child a:hover {
    background-color: #F5F3EE;
    color: #135366;
    opacity: 0.8;
  }

  .pc-nav ul li a.HeightMin {
    font-weight: 500;
    color: #fff;
  }

  .pc-nav ul li a.entry.HeightMin {
    background-color: #ff7f16;
    border: none;
    color: #ffffff;
  }

}

/*========= トップ写真 ===============*/

.hero-box {
  width: 100%;
  margin: 0 auto;
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: clamp(16px, 3vw, 40px);
  overflow: hidden;
  background-color: #0d3b49;
  color: #fff;
}

.site-catch {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: bold;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  z-index: 2;
}

.site-slogan {
  font-size: clamp(1rem, 2vw, 1.5rem);
  line-height: 1.6;
  text-align: center;
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
  z-index: 2;
}

.hero-background-slideshow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  animation: bgFade 18s infinite;
}

.hero-bg-image-1 {
  background-image: url('./img/top01.jpg');
  animation-delay: 0s;
}

.hero-bg-image-2 {
  background-image: url('./img/top02.jpg');
  animation-delay: 6s;
}

.hero-bg-image-3 {
  background-image: url('./img/honsha-kojo.jpg');
  animation-delay: 12s;
}

@keyframes bgFade {
  0% {
    opacity: 0;
    transform: scale(1);
  }

  15% {
    opacity: 1;
  }

  30% {
    opacity: 1;
    transform: scale(1.03);
  }

  45% {
    opacity: 0;
    transform: scale(1.05);
  }

  100% {
    opacity: 0;
    transform: scale(1);
  }
}

.copy {
  position: absolute;
  right: 16%;
  top: 45%;
  transform: translate(0, -55%);
  z-index: 3;
}

.copy h2 {
  margin: 0;
  text-align: right;
  font-weight: 800;
  letter-spacing: .06em;
  line-height: 1.25;
  color: #188fa9;
  font-size: clamp(18px, 2.2vw, 40px);
}

.brand {
  display: flex;
  align-items: flex-end;
  vertical-align: middle;
  gap: clamp(8px, 1.2vw, 16px);
  z-index: 4;
}

:root {
  --logo-h: clamp(56px, 8vw, 150px);
  --e-scale: 2.5;
}

.brand__svg {
  height: var(--logo-h);
  width: auto;
  fill: #ffffff;
  display: block;
}

.brand__e {
  height: calc(var(--logo-h) * var(--e-scale));
  width: auto;
  object-fit: contain;
  display: block;
}

.brand__sp {
  width: clamp(12px, 2vw, 28px);
}

.brand__s {
  transform: translateY(0px);
}

@media (max-width: 768px) {

  .brand__svg.brand__e {
    height: 50px;
  }

  .brand__svg {
    height: 30px;
  }

  .brand__o {
    height: 30px;
  }

  .brand {
    gap: 5px;
  }

  .brand__sp {
    width: 16px;
  }
}

@media (max-width: 768px) {
  .hero-box {
    min-height: 300px;
    /* svhより安定 */
    padding: 24px 16px;
  }

  @keyframes bgFade {
    0% {
      opacity: 0;
      transform: scale(1);
    }

    15% {
      opacity: 1;
    }

    30% {
      opacity: 1;
      transform: scale(1.01);
      /* ★ ズーム弱め */
    }

    45% {
      opacity: 0;
      transform: scale(1.02);
      /* ★ ここも控えめに */
    }

    100% {
      opacity: 0;
      transform: scale(1);
    }
  }

  .copy {
    position: relative;
    top: auto;
    right: auto;
    transform: none;
    margin-bottom: 16px;
    text-align: center;
  }

  .copy h2 {
    text-align: center;
    font-size: clamp(16px, 4.5vw, 22px);
    line-height: 1.4;
  }

  .brand {
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 8px;
  }

}

.brand__e,
.brand__svg,
.brand__o {
  opacity: 0;
  transform: translateY(20px) scale(0.8);
  display: inline-block;
  animation: popIn 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes popIn {
  0% {
    opacity: 0;
    transform: scale(0.3) rotate(-10deg);
  }

  70% {
    transform: scale(1.1) rotate(5deg);
  }

  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

.brand__e {
  animation-delay: 0.2s;
}

.brand__z {
  animation-delay: 0.3s;
}

.brand__a {
  animation-delay: 0.4s;
}

.brand__k {
  animation-delay: 0.5s;
}

.brand__i {
  animation-delay: 0.6s;
}

.brand__f {
  animation-delay: 0.7s;
}

.brand__o {
  animation-delay: 0.8s;
}

.brand__o+.brand__o {
  animation-delay: 0.9s;
}

.brand__d {
  animation-delay: 1.0s;
}

.brand__s {
  animation-delay: 1.1s;
}

@keyframes colorChange {
  0% {
    fill: #F1F4EC;
  }

  100% {
    fill: #188fa9;
  }

}

.brand__svg {
  fill: #F1F4EC;
  animation:
    popIn 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards,
    colorChange 1s ease forwards;
}

.brand__e {
  animation-delay: 0.1s, 1.2s;
}

.brand__z {
  animation-delay: 0.2s, 1.2s;
}

.brand__a {
  animation-delay: 0.3s, 1.3s;
}

.brand__k {
  animation-delay: 0.4s, 1.4s;
}

.brand__i {
  animation-delay: 0.5s, 1.5s;
}

.brand__f {
  animation-delay: 0.6s, 1.6s;
}

.brand__o {
  animation-delay: 0.7s, 1.6s;
}

.brand__o+.brand__o {
  animation-delay: 0.8s, 1.6s;
}

.brand__d {
  animation-delay: 0.9s, 1.9s;
}

.brand__s {
  animation-delay: 1.0s, 2.0s;
}

@media screen and (max-width: 967px) {

  .hero-box {
    min-height: 500px;
  }

}

/*========= トップ写真 ===============*/

.area-about {
  position: relative;
  padding: 200px 0;
  overflow: hidden;
  color: #fff;
}

.area-about::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.1)),
    url("./img/honsha-kojo.jpg");
  background-size: cover;
  background-position: center;
  filter: blur(6px);
  transform: scale(1.1) brightness(0.6);
  z-index: 0;
}

@media (max-width: 768px) {
  .area-about {
    padding: 96px 0;
    text-align: center;
  }

  .area-about::before {
    filter: blur(2px);
    transform: scale(1.05) brightness(0.7);
    background-position: center;
  }

  .area-about .more-button a {
    display: inline-block;
    padding: 12px 18px;
    border-radius: 9999px;
  }

  .area-about .text-contents p {
    line-height: 1.9;
    font-size: 15px;
  }
}

@media (max-width: 967px) {

  .area-about {
    padding: 96px 0;
    text-align: center;
  }

  .area-about::before {
    filter: blur(2px);
    transform: scale(1.05) brightness(0.7);
    background-position: center;
  }

}


/*========= お知らせ ===============*/

.news-container {
  padding: 200px 0;
  background-color: #fff;
}

.area-news-modern {
  padding: 120px 0 200px 0;
  background-color: #fff;
}

.modern-news-list {
  max-width: 960px;
  margin: 60px auto 0;
}

.news-item-link {
  display: block;
  text-decoration: none;
  border-bottom: 1px solid #0d6f85;
  transition: background-color 0.4s ease;
}

.news-item-link:first-child {
  border-top: 1px solid #0d6f85;
}

.news-article {
  display: flex;
  align-items: center;
  padding: 20px;
  position: relative;
  transition: transform 0.3s ease;
}

.news-head {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 0;
  margin-right: 30px;
}

.news-head .date {
  font-size: 0.9rem;
  font-weight: 600;
  color: #444;
  letter-spacing: 0.05em;
  line-height: 1;
}

.news-head .category {
  font-size: 0.65rem;
  color: #135366;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 5px 12px;
  border: 1px solid #135366;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

@media screen and (max-width: 967px) {

  .news-container,
  .area-news-modern {
    padding: 80px 0;
  }

}

@media screen and (max-width: 767px) {

  .news-container {
    padding: 30px 0 50px 0;
  }

  .area-news-modern {
    padding: 50px 0;
  }

  .modern-news-list {
    margin: 30px auto 0;
  }

  .news-head {
    width: 100%;
    margin-bottom: 12px;
  }
}

.news-body {
  flex: 1;
  padding-right: 40px;
}

.news-body .title {
  font-size: 1.15rem;
  color: #333;
  font-weight: 500;
  line-height: 1.5;
  margin: 0;
}

.news-foot {
  position: relative;
  display: flex;
  align-items: center;
  font-size: 0.75rem;
  font-weight: bold;
  color: #135366;
  letter-spacing: 0.15em;
  padding-right: 40px;
}

.more-text {
  position: relative;
  padding-bottom: 2px;
}

.more-text::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background-color: #135366;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s ease;
}

.news-item-link:hover .more-text::after {
  transform: scaleX(1);
  transform-origin: left;
}

.news-item-link:hover .news-foot::after {
  width: 45px;
}

.news-item-link:hover .news-foot::before {
  right: -5px;
}

@media screen and (max-width: 767px) {
  .news-article {
    flex-direction: column;
    align-items: flex-start;
    padding: 15px;
  }

  .news-head {
    width: 100%;
    flex-direction: row;
    align-items: center;
    margin-bottom: 5px;
  }

  .news-body {
    padding-right: 0;
  }

  .news-foot {
    margin-top: 15px;
  }
}

.top-button-container {
  text-align: center;
  margin-top: 60px;
}

.btn-outline {
  display: inline-block;
  padding: 15px 70px;
  border: 1px solid #135366;
  color: #135366;
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  transition: all 0.3s;
}

.btn-outline:hover {
  background-color: #135366;
  color: #fff;
}

/* =========================
   NEWS サイドバー（Archive / Categories）
   ========================= */
.news-archive {
  display: flex;
  flex-direction: row;
  gap: 18px;
  width: 80%;
  margin: 80px auto 0 auto;
}

/* 各ブロック（Archives / Categories） */
.news-archive .item-archive {
  width: 50%;
  background: #ffffff;
  border: 1px solid rgba(19, 83, 102, 0.18);
  border-radius: 14px;
  padding: 18px 16px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

/* 見出し */
.news-archive .news-title {
  margin: 0 0 12px;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #135366;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(13, 111, 133, 0.25);
}

/* 見出しの左にアクセント */
/* リスト */
.news-archive .sidebar-list {
  list-style: none;
  margin: 0;
  padding: 6px 0 0;
  display: grid;
  gap: 6px;
}

/* WPが出力する li */
.news-archive .sidebar-list li {
  margin: 0;
  padding: 0;
}

/* リンク（年別アーカイブ / カテゴリ） */
.news-archive .sidebar-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;

  text-decoration: none;
  color: #333;
  font-size: 0.9rem;
  line-height: 1.4;

  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: rgba(13, 111, 133, 0.06);

  transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

/* ホバー（PC） */
.news-archive .sidebar-list a:hover {
  background: rgba(13, 111, 133, 0.12);
  border-color: rgba(13, 111, 133, 0.25);
  transform: translateY(-1px);
}

/* カテゴリーの件数表示（WPが span.count を出す場合） */
.news-archive .sidebar-list .count {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #135366;
  padding: 3px 8px;
  border-radius: 9999px;
  background: rgba(19, 83, 102, 0.10);
}

/* 現在のカテゴリが強調される（wp_list_categories の current-cat） */
.news-archive .sidebar-list li.current-cat>a {
  background: rgba(19, 83, 102, 0.14);
  border-color: rgba(19, 83, 102, 0.32);
  color: #135366;
  font-weight: 800;
}

/* アーカイブの “現在の月/年” はWPによってクラスが異なることがあるため念のため */
.news-archive .sidebar-list li.current>a,
.news-archive .sidebar-list li.current_page_item>a {
  background: rgba(19, 83, 102, 0.14);
  border-color: rgba(19, 83, 102, 0.32);
  color: #135366;
  font-weight: 800;
}

/* =========================
   レイアウト：PCは右カラム想定、SPは下に落ちる想定
   ========================= */
@media (max-width: 767px) {
  .news-archive {
    width: 100%;
    margin: 30px auto 0 auto;
    flex-direction: column;
  }

  .news-archive .item-archive {
    width: 100%;
    padding: 16px 14px;
    border-radius: 12px;
  }

  .news-archive .sidebar-list a {
    padding: 11px 12px;
    /* タップしやすく */
  }
}


/*========= 経営目標 ===============*/

.area-goals {
  padding: 50px 0;
  background-color: #fff;
}

.goals-box {
  display: flex;
  flex-direction: column;
  margin-top: 30px;
}

.goals-list {
  width: 80%;
  margin: 0 auto;
  box-sizing: border-box;
  margin-bottom: 20px;
  overflow: hidden;
}

.goals-item01 {
  text-align: center;
}

.goals-item01 img {
  width: 80%;
}

.goals-item02 {
  font-size: .9em;
  padding: 10px 20px;
  text-align: center;
}

@media screen and (min-width: 768px) {

  .goals-box {
    display: flex;
    flex-direction: row;
    gap: 30px;
  }

  .goals-list {
    width: 30%;
    box-sizing: border-box;
    border-radius: 20px;
    margin: 1.75%;
    overflow: hidden;
  }

  .goals-item02 {
    font-size: 1em;
    padding: 5px 10px;
  }

  .area-goals {
    padding: 150px 0 200px 0;
  }

}

.recruit-cta {
  margin-top: 50px;
  text-align: center;
}

.recruit-cta-text {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  font-size: 1em;
  color: #333;
  font-weight: 500;
  margin-bottom: 30px;
  letter-spacing: 0.1em;
}

.deco-line {
  font-family: 'Lato', sans-serif;
  font-size: 1.4rem;
  font-weight: 300;
  color: #135366;
  opacity: 0.6;
  transform: scaleY(1.2);
}

@media screen and (max-width: 767px) {
  .recruit-cta-text {
    font-size: 0.95rem;
    gap: 10px;
  }

  .deco-line {
    font-size: 1.2rem;
  }

  .recruit-cta {
    margin-top: 30px;
    padding: 0 20px;
  }

  .recruit-cta-text {
    font-size: 1rem;
  }

  .recruit-cta-button a {
    padding: 18px 40px;
    font-size: 0.95rem;
    width: 100%;
    max-width: 350px;
  }

}

.recruit-cta-button {
  margin-bottom: 30px;
}

.recruit-cta-button a {
  border: 2px solid #87B0B8;
  border-radius: 10px;
  box-shadow: 5px 5px 10px 0px rgba(135, 176, 184, 0.35);
  background: #fff;
  position: relative;
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin: 0 auto;
  max-width: 300px;
  padding: 10px 25px;
  color: #135366;
  transition: 0.3s ease-in-out;
  font-weight: 600;
  z-index: 0;
  text-decoration: none;
  /* リンクの下線を消す */
  overflow: hidden;
  /* 背景のアニメーションがはみ出さないように追加 */
}

/* ホバー時の背景アニメーション（擬似要素） */
.recruit-cta-button a:before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 0;
  display: block;
  background: #87B0B8;
  transition: .3s;
  left: 0;
  z-index: -1;
}

.recruit-cta-button a:hover {
  color: #FFF;
}

.recruit-cta-button a:hover:before {
  width: 100%;
}

@media screen and (max-width: 967px) {

  .area-goals {
    padding: 80px 0;
  }

}

/*========= 会社概要 ===============*/

.area-company {
  padding: 200px 0;
  background-color: #ffffff;
}

.company-profile-box {
  position: relative;
  margin-top: 50px;
  padding: 20px 60px;
  background-color: #fff;
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.company-profile-box::before {
  content: "";
  position: absolute;
  top: -15px;
  right: -15px;
  width: 100%;
  height: 100%;
  background-image: repeating-linear-gradient(135deg, transparent, transparent 10px, rgba(19, 83, 102, 0.05) 10px, rgba(19, 83, 102, 0.05) 11px);
  z-index: -1;
  border-radius: 4px;
}

.table_design {
  border-collapse: collapse;
  width: 100%;
}

.table_design tr {
  border-bottom: 1px solid #eee;
}

.table_design tr:last-child {
  border-bottom: none;
}

.table_design th,
.table_design td {
  padding: 25px 15px;
  vertical-align: middle;
}

.table_design th {
  color: #135366;
  font-weight: 700;
  text-align: left;
  width: 250px;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  position: relative;
}

.table_design th::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 1.2em;
  background-color: #135366;
}

.table_design td {
  color: #444;
  line-height: 1.8;
  font-size: 1rem;
}

@media screen and (max-width: 767px) {
  .area-company {
    padding: 30px 0 50px 0;
  }

  .company-profile-box {
    margin: 20px 0 0 0;
    padding: 10px 20px;
  }

  .table_design th,
  .table_design td {
    display: block;
    width: 100%;
    padding: 10px 0;
  }

  .table_design th {
    padding-top: 20px;
    padding-left: 15px;
  }

  .table_design th::before {
    left: 0;
  }

  .table_design td {
    padding-bottom: 15px;
    padding-left: 15px;
    padding-top: 0;
    border-bottom: none;
  }
}

/*========= 店舗情報 ===============*/

.works-list-area {
  padding: 30px 0 50px 0;
  background-color: #fff;
}

.works-pretty-list {
  margin-top: 80px;
}

.pretty-item {
  position: relative;
  background: #fff;
  border-radius: 30px;
  border: 2px solid #f1f4ec;
  margin-bottom: 120px;
  transition: all 0.3s ease;
  overflow: visible;
}

.pretty-item:hover {
  transform: translateY(-3px);
  border-color: #dce4d5;
  box-shadow: 0 15px 30px rgba(19, 83, 102, 0.1);
}

.pretty-item__inner {
  display: flex;
  padding: 30px;
  align-items: flex-start;
  gap: 30px;
}

.pretty-item__gallery {
  flex: 0 0 25%;
  position: relative;
}

.main-frame {
  position: relative;
  width: 100%;
  padding-top: 75%;
  overflow: hidden;
  border-radius: 10px;
}

.main-frame img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.staff-overlay {
  position: absolute;
  top: -40px;
  right: -15px;
  width: 230px;
  z-index: 10;
  pointer-events: none;
}

.staff-overlay img {
  width: 100%;
  height: auto;
  border-radius: 50%;
}

.pretty-item__content {
  flex: 1;
}

.shop-tag {
  font-size: 10px;
  text-transform: uppercase;
  color: #87B0B8;
  letter-spacing: 0.15em;
  font-weight: 700;
  display: block;
  margin-bottom: 5px;
}

.shop-name {
  font-size: 1.4rem;
  color: #135366;
  margin: 0 0 12px 0;
  font-weight: 700;
  line-height: 1.3;
}

.shop-info-list {
  margin-bottom: 15px;
}

.shop-address,
.shop-contact span {
  font-size: 0.88rem;
  color: #777;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.shop-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 4px;
}

.shop-presentation {
  background: #fcfdfa;
  border-left: 4px solid #f1f4ec;
  padding: 12px 15px;
  margin: 15px 0;
  border-radius: 0 10px 10px 0;
}

.shop-presentation p {
  font-size: 0.9rem;
  line-height: 1.8;
  color: #333;
  margin: 0;
}

.shop-list {
  margin-top: 50px;
  color: #0d6f85;
  text-align: center;
}

.pretty-item__footer {
  display: flex;
  gap: 12px;
  align-items: center;
}

.btn-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 5px 15px;
  background: #fff;
  border: 1.5px solid #135366;
  color: #135366;
  text-decoration: none;
  border-radius: 5px;
  font-size: 0.75rem;
  font-weight: 700;
  transition: 0.3s;
}

.btn-link:hover {
  background: #135366;
  color: #fff;
}

.pretty-item__header-s {
  display: flex;
  vertical-align: middle;
  align-items: center;
  gap: 20px;
}

@media screen and (min-width: 1920px) {

  .pretty-item__gallery {
    flex: 0 0 30%;
    position: relative;
  }

  .staff-overlay {
    width: 300px;
    top: -90px;
  }

}

.company-menu-box {
  width: 90%;
  margin: 10% 5% 0 5%;
}

.company-menu {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  margin: 5px auto 0 auto;
  font-size: .9em;
}

.company-menu li {
  margin-bottom: 10px;
  border-right: 1px solid #87B0B8;
}

.company-menu li a {
  padding: 0 5px;
  color: #135366;
}

@media screen and (min-width: 1025px) {

  .works-list-area {
    padding: 200px 0;
    background-color: #fff;
  }

  .company-menu-box {
    width: 70%;
    margin: 3% 15% 0 15%;
  }

  .company-menu-box p {
    font-size: 1.5em;
  }

}

@media screen and (max-width: 767px) {

  .pretty-item {
    margin-bottom: 50px;
    border-radius: 20px;
  }

  .pretty-item__inner {
    flex-direction: column;
    padding: 20px;
    gap: 20px;
  }

  .pretty-item__gallery {
    flex: 0 0 auto;
    width: 100%;
  }

  .staff-overlay {
    width: 140px;
    bottom: -35px;
    right: 10px;
  }

  .shop-name {
    font-size: 1.25rem;
    text-align: center;
  }

  .shop-info-list,
  .shop-presentation {
    text-align: left;
  }

  .pretty-item__footer {
    justify-content: center;
  }
}

/*========= 採用情報 ===============*/

:root {
  --main-blue: #005bac;
  --bg-dietitian: #fdf2f4;
  --bg-cook: #f0faff;
  --bg-staff: #fff8f0;
  --bg-part: #fdffed;
  --text-main: #333;
  --border-color: #eee;
}

.part {
  display: inline-block;
  position: relative;
  color: #fff;
  font-size: 1.8rem;
  font-weight: 700;
  padding: 10px 40px;
  transform: skewX(-15deg);
  margin-top: 20px;
  line-height: 1;
}

.outside-badge {
  position: absolute;
  top: -25px;
  left: 0;
  background-color: #f95d2d;
  color: #fff;
  font-size: 0.9rem;
  padding: 4px 12px;
  transform: skewX(15deg);
  white-space: nowrap;
  z-index: 1;
}

.entry-container {
  padding: 200px 0 50px 0;
  background-color: #fff;
}

.job-visual-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 50px 40px;
  padding: 60px 0 120px;
  max-width: 1200px;
  margin: 0 auto;
  counter-reset: job-counter;
}

.blob-item {
  position: relative;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  counter-increment: job-counter;
}

.blob-item::before {
  content: "0" counter(job-counter);
  position: absolute;
  top: -40px;
  left: 10px;
  font-size: 120px;
  font-weight: 900;
  line-height: 1;
  color: rgba(0, 91, 172, 0.05);
  z-index: 0;
  pointer-events: none;
  font-family: 'Arial Black', sans-serif;
}

.blob-item a {
  text-decoration: none;
  display: block;
}

.blob-shape {
  width: 260px;
  height: 260px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  transition: all 0.6s ease-in-out;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.blob-img {
  width: 100%;
  height: 100%;
  transform: scale(1.0);
  transition: transform 0.6s ease-in-out;
}

.blob-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blob-text {
  text-align: center;
  margin-top: 30px;
  position: relative;
  z-index: 2;
}

.job-cat {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: #bbb;
  margin-bottom: 8px;
  letter-spacing: 0.1em;
}

.blob-text h3 {
  font-size: 24px;
  font-weight: 700;
  color: #333;
  margin: 0 0 10px;
  transition: color 0.3s;
}

.price {
  font-size: 20px;
  font-weight: 700;
  color: #005bac;
  margin-bottom: 15px;
}

.view-more {
  font-size: 12px;
  font-weight: 800;
  color: #333;
  border: 1px solid #333;
  padding: 8px 24px;
  border-radius: 100px;
  transition: all 0.3s;
  display: inline-block;
}

.blob-item:hover .blob-shape {
  border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
  transform: translateY(-15px) rotate(-2deg);
}

.blob-item:hover .blob-img {
  transform: scale(1.15);
}

.blob-item:hover h3 {
  color: #005bac;
}

.blob-item:hover .view-more {
  background-color: #333;
  color: #fff;
  letter-spacing: 0.1em;
}

.pink .blob-shape {
  border: 6px solid #ffedf1;
}

.blue .blob-shape {
  border: 6px solid #e1f5ff;
}

.orange .blob-shape {
  border: 6px solid #fff5e1;
}

.yellow .blob-shape {
  border: 6px solid #feffe1;
}

.blob-item::before {
  content: "0" counter(item);
  counter-increment: item;
  position: absolute;
  top: -20px;
  left: 20px;
  font-size: 100px;
  font-weight: 900;
  color: rgba(0, 0, 0, 0.03);
  z-index: 0;
}

.recruit-page {
  counter-reset: item;
}

.job-details {
  padding: 150px 0;
  background-color: #fff;
}

.detail-card {
  margin-bottom: 180px;
  position: relative;
}

.detail-card:nth-child(even) .detail-flex {
  flex-direction: row-reverse;
}

.detail-card:last-child {
  margin-bottom: 0;
}

.detail-flex {
  display: flex;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 2;
}

.detail-img {
  flex: 1;
  position: relative;
}

.detail-img img {
  width: 100%;
  height: auto;
  border-radius: 0;
  box-shadow: 30px 30px 0px rgba(0, 91, 172, 0.05);
  filter: grayscale(20%);
  transition: 0.5s;
}

.detail-info {
  flex: 1;
}

.label-e {
  display: inline-block;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.1em;
  padding: 4px 12px;
  margin-bottom: 20px;
  background: #333;
  color: #fff;
  transform: skewX(-15deg);
}

.label-e.dietitian {
  background: #ff4e79;
}

.label-e.cook {
  background: #00a0e9;
}

.label-e.staff {
  background: #e96d00;
}

.label-e.part {
  background: #fff41b;
}

.detail-info h3 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  margin: 0 0 40px 0;
  line-height: 1.1;
  color: #ffffff;
}

.info-dl {
  display: flex;
  flex-wrap: wrap;
  border-top: 1px solid #ddd;
  padding-top: 40px;
}

.info-dl dt {
  flex-basis: 120px;
  font-size: .9em;
  font-weight: 600;
  color: #135366;
}

.info-dl dd {
  flex-basis: calc(100% - 120px);
  margin: 0 0 25px 0;
  font-size: 16px;
  font-weight: 500;
  color: #333;
  line-height: 1.6;
}

.info-dl dd:nth-of-type(1) {
  flex-basis: calc(100% - 120px);
}

.info-dl dt:nth-of-type(2) {
  clear: left;
}

.entry-footer {
  padding: 80px 0 180px 0;
}

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

.button-group a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 40px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 100px;
  transition: all 0.3s ease;
  letter-spacing: 0.05em;
  min-width: 280px;
}

.btn-main {
  background-color: #005bac;
  color: #fff;
  box-shadow: 0 10px 20px rgba(0, 91, 172, 0.2);
  position: relative;
  overflow: hidden;
}

.btn-main:hover {
  background-color: #004a8d;
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(0, 91, 172, 0.3);
  color: #fff;
}

.btn-sub {
  background-color: #fff;
  color: #333;
  border: 2px solid #333;
}

.btn-sub:hover {
  background-color: #333;
  color: #fff;
  transform: translateY(-3px);
}

.btn-main::after {
  content: '→';
  margin-left: 10px;
  font-size: 18px;
  transition: transform 0.3s;
}

.btn-main:hover::after {
  transform: translateX(5px);
}

@media screen and (max-width: 768px) {

  .button-group {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .button-group a {
    width: 100%;
    max-width: 320px;
    padding: 14px 20px;
    font-size: 15px;
  }

  .entry-container {
    padding: 30px 0 50px 0;
  }

  .info-dl {
    margin-top: 0;
    padding-top: 0;
  }

  .info-dl dt,
  .info-dl dd {
    flex-basis: 100%;
  }

  .info-dl dd {
    margin-bottom: 10px;
  }

  .detail-info h3 {
    margin: 0 0 20px 0;
  }

  .detail-card {
    margin-bottom: 50px;
  }

  .entry-footer {
    padding: 30px 0 70px 0;
  }

}

.detail-card::after {
  content: "WORK WITH US";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 12vw;
  font-weight: 900;
  color: rgba(0, 0, 0, 0.02);
  white-space: nowrap;
  z-index: 1;
  pointer-events: none;
}

@media screen and (max-width: 900px) {

  .detail-flex,
  .detail-card:nth-child(even) .detail-flex {
    width: 90%;
    margin: 0 auto;
    flex-direction: column;
    gap: 30px;
  }

  .info-dl {
    grid-template-columns: 1fr;
  }

  .detail-img {
    width: 100%;
  }
}

@media screen and (max-width: 768px) {
  .job-visual-grid {
    padding: 60px 0 30px;
    gap: 60px 20px;
  }

  .blob-shape {
    width: 200px;
    height: 200px;
  }

  .info-dl {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .info-dl dt {
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
  }

  .info-dl dt:first-child {
    border-top: none;
  }

  .job-details {
    padding: 50px 0;
  }

}

/*========= お問い合わせページ ===============*/

.area-1 {
  padding: 30px 0 50px 0;
  background-color: #fff;
}

.contact-box {
  width: 90%;
  margin: 0 auto;
  background-color: #fff;
  border-radius: 10px;
  padding: 1% 3%;
  box-shadow: 5px 5px 10px 0px rgba(0, 0, 0, 0.35);
}

.form-container {
  width: 94%;
  margin: 0 auto 5% auto;
}

.form-2 {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.form-2 div {
  width: 45%;
}

input[type=text],
input[type=email],
input[type=tel],
textarea {
  width: 100%;
  padding: 10px 2%;
  border: 1px solid #C4C4C4;
  border-radius: 5px;
  outline: none;
  font-size: 18px;
}

.required {
  display: inline-block;
}

.required::after {
  content: "※";
  display: inline-block;
  padding-left: 1em;
  color: #DA1725;
}

.form-box {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.form-box dt,
.form-box dd {
  width: 100%;
  margin: 0;
}

.form-box dt {
  padding-bottom: 0.3em;
  font-size: 1.1em;
}

.btn-submit {
  border: 2px solid #87B0B8;
  border-radius: 10px;
  box-shadow: 5px 5px 10px 0px rgba(135, 176, 184, 0.35);
  background: #fff;
  position: relative;
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin: 0 auto;
  max-width: 250px;
  padding: 10px 25px;
  color: #135366;
  transition: 0.3s ease-in-out;
  font-weight: 600;
  font-size: 1.1em;
  z-index: 0;
}

.selectbox-shop {
  display: inline-flex;
  align-items: center;
  position: relative;
}

.selectbox-shop::after {
  position: absolute;
  right: 15px;
  width: 10px;
  height: 7px;
  background-color: #87B0B8;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  content: '';
  pointer-events: none;
}

.selectbox-shop select {
  appearance: none;
  width: 100%;
  height: 2.8em;
  padding: .4em calc(.8em + 30px) .4em .8em;
  border: 1px solid #C4C4C4;
  border-radius: 5px;
  background-color: #fff;
  color: #333333;
  font-size: 1em;
  cursor: pointer;
}

@media screen and (min-width: 768px) {

  .area-1 {
    padding: 100px 0;
  }

  .form-container {
    width: 70%;
    margin: 0 auto 10% auto;
  }

  .form-container.text p {
    text-align: left;
  }

  .form-2 {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
  }

  .form-2 div {
    width: 45%;
  }

  .form-box {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .form-box dt,
  .form-box dd {
    width: 100%;
    margin: 0;
  }

  .form-box dt {
    padding-bottom: 0.3em;
  }

}

@media screen and (min-width: 1025px) {

  .area-1 {
    padding: 200px 0;
  }

  .contact-box {
    width: 80%;
    border-radius: 20px;
    padding: 3% 0;
  }

  .form-container {
    width: 80%;
    margin: 0 auto 5% auto;
  }

  .form-box {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .form-box dt,
  .form-box dd {
    width: 100%;
    margin: 0;
  }

  .form-box dt {
    padding-bottom: 0.3em;
  }

  .btn-submit {
    max-width: 300px;
    padding: 10px 25px;
    margin-top: 20px;
  }

}

/*====== ページトップ =======*/

.pagetop {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 100;
}

.pagetop a {
  background-color: #fff;
  border: 1px solid #135366;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  transition: all .3s ease-in-out;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-decoration: none;
}

.top-arrow {
  display: block;
  width: 10px;
  height: 10px;
  border-top: 2px solid #135366;
  border-right: 2px solid #135366;
  transform: rotate(-45deg);
  margin-top: 4px;
  transition: all .3s ease;
}

.pagetop a:hover {
  background-color: #135366;
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(19, 83, 102, 0.3);
}

.pagetop a:hover .top-arrow {
  border-color: #fff;
}

@media screen and (max-width: 767px) {
  .pagetop {
    right: 15px;
    bottom: 15px;
  }

  .pagetop a {
    width: 45px;
    height: 45px;
  }
}

/*========= フッター全体 ===============*/

footer {
  position: relative;
  background-color: #F1F4EC;
  padding: 30px 0 0 0;
  color: #333;
}

.footer-box {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-contents {
  text-align: left;
}

.footer-logo {
  max-width: 100px;
  margin: 0 auto 20px auto;
  text-align: center;
}

.footer-logo img {
  width: 100%;
  height: auto;
  display: block;
}

.company-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #135366;
  margin-bottom: 8px;
}

.address {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #666;
  margin-bottom: 10px;
}

.footer-section-title {
  font-family: "Rampart One", sans-serif;
  font-size: 1.4rem;
  color: #135366;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.footer-section-title::after {
  content: "";
  height: 1px;
  background: #87B0B8;
  flex-grow: 1;
}

.footer-map {
  width: 100%;
}

.map-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e0e0e0;
}

.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.contact-methods {
  margin-bottom: 20px;
}

.tel-row {
  display: flex;
  align-items: baseline;
  gap: 15px;
  margin-bottom: 5px;
}

.tel-row .label {
  font-weight: 700;
  font-size: 0.8rem;
  color: #87B0B8;
  width: 30px;
}

.tel-row .number {
  font-size: 1.4rem;
  font-weight: 700;
  color: #135366;
  text-decoration: none;
}

.footer-entry-button a {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #135366;
  color: #fff !important;
  padding: 15px 20px;
  text-decoration: none;
  font-weight: 600;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.footer-entry-button a:hover {
  background: #87B0B8;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(19, 83, 102, 0.2);
}

.footer-menu {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 60px auto 20px;
  padding: 0;
  list-style: none;
  font-size: 0.85em;
}

.footer-menu li {
  border-right: 1px solid #ccc;
  padding-right: 10px;
}

.footer-menu li:last-child {
  border-right: none;
}

.footer-menu li a {
  color: #555;
  text-decoration: none;
}

.copyright {
  text-align: center;
  font-size: 0.75em;
  padding: 20px;
  color: #999;
  background: #fff;
  border-top: 1px solid #eee;
}

@media screen and (min-width: 768px) {

  footer {
    padding: 80px 0 0 0;
  }

  .footer-logo {
    max-width: 200px;
    margin: 0 0 20px 0;
  }

  .footer-box {
    flex-direction: row;
    justify-content: space-between;
    align-items: stretch;
    gap: 30px;
  }

  .address {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .footer-contents {
    width: 25%;
    order: 1;
  }

  .footer-map {
    width: 35%;
    order: 2;
    display: flex;
    flex-direction: column;
  }

  .footer-entry {
    width: 35%;
    order: 3;
  }

  .map-container {
    flex-grow: 1;
    aspect-ratio: auto;
    min-height: 200px;
  }
}

.p-404 {
  padding: 200px 0;
}

.text-contents-404 {
  margin-top: 30px;
  text-align: center;
}

@media screen and (min-width: 1025px) {

  .p-404 {
    padding: 200px 0;
  }

}