@charset utf-8;
/*
Theme Name: NichiNichi
Author: TeN Media
Version: 1.0
*/

*,
*::before,
*::after {
  box-sizing: border-box;
}
* {
  margin: 0;
  padding: 0;
}
body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}
input,
button,
textarea,
select {
  font: inherit;
}
ul,
ol {
  list-style: none;
}
a {
  text-decoration: none;
}

body {
  color: #333333;
  font-family: "Noto Sans JP", sans-serif;
}
a {
  color: #324158;
  transition: all 0.2s;
}
a:hover {
  color: #61738e;
}
#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 72px;
  transition: all 0.3s;
  z-index: 100;
}
#header.scrolled {
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
}
#footer {
  padding: 48px 0 16px;
  background-color: #f5f5f5;
}
@media (min-width: 1024px) {
  #header {
    height: 96px;
  }
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  position: relative;
  height: 72px;
}
.logo {
  font-size: 24px;
}
.logo a {
  color: #ff6900;
}
.logo img {
  width: 140px;
  height: auto;
}
.global-navigation {
  position: absolute;
  top: 0;
  right: 0;
  width: 72px;
  height: 72px;
}
.global-navigation-content {
  position: absolute;
  top: 0;
  right: 0;
  visibility: hidden;
  background-color: rgba(255, 255, 255, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  width: 100vw;
  height: 100vh;
  transition: all 0.3s;
}
.active .global-navigation-content {
  visibility: visible;
  background-color: rgba(255, 255, 255, 1);
}
.global-navigation-button {
  position: absolute;
  top: 0;
  right: 0;
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: transparent;
  border: none;
  z-index: 101;
}
.global-navigation-button-icon {
  display: inline-block;
  width: 24px;
  height: 2px;
  background-color: #000;
  position: relative;
  transition: all 0.3s;
}
.global-navigation-button-icon::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 2px;
  background-color: #000;
  position: absolute;
  top: -9px;
  left: 0;
  transition: all 0.3s;
}
.global-navigation-button-icon::after {
  content: "";
  display: inline-block;
  width: 24px;
  height: 2px;
  background-color: #000;
  position: absolute;
  bottom: -9px;
  left: 0;
  transition: all 0.3s;
}
.active .global-navigation-button-icon {
  background-color: transparent;
}
.active .global-navigation-button-icon::before {
  top: 0;
  transform: rotate(45deg);
}
.active .global-navigation-button-icon::after {
  bottom: 0;
  transform: rotate(-45deg);
}
.global-navigation-list {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 24px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.5s;
  transition-delay: 0s;
}
.global-navigation-list li:last-child {
  margin-top: 24px;
}
.global-navigation-list li a {
  font-size: 20px;
  font-weight: bold;
}
.active .global-navigation-list {
  visibility: visible;
  opacity: 1;
  transition-delay: 0.3s;
}

@media (min-width: 1024px) {
  .logo img {
    width: 180px;
  }
  .header-content {
    height: 96px;
  }
  .global-navigation {
    flex-grow: 1;
    width: 60%;
    height: 96px;
    margin-right: 5%;
  }
  .global-navigation-content {
    visibility: visible;
    width: fit-content;
    height: 96px;
    background-color: transparent;
    transition: none;
  }
  .active .global-navigation-content {
    background-color: transparent;
    transition: none;
  }
  .global-navigation-list {
    visibility: visible;
    opacity: 1;
    flex-direction: row;
    justify-content: flex-end;
    gap: 32px;
    transition: none;
  }
  .global-navigation-list li:last-child {
    margin-top: 0;
  }
  .global-navigation-list li a {
    font-size: 15px;
  }
  .global-navigation-button {
    display: none;
  }
}

.p-txt {
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.06em;
}

.front-page-content section {
  overflow: hidden;
}
.front-page-top {
  height: 50vh;
  width: 100%;
  background-color: #fbf2e2;
}
.front-page-top-inner {
  position: relative;
  max-width: 1024px;
  margin: 0 auto;
  height: 100%;
}
.front-page-top-content {
  z-index: 10;
  position: absolute;
  top: 54%;
  left: 0;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  padding: 0 20px;
}
.front-page-top-content h1 {
  font-size: 28px;
  font-weight: 600;
  color: #333333;
}
.front-page-top-content p {
  display: flex;
  flex-direction: column;
  margin-top: 8px;
  font-size: 14px;
  color: #333333;
  font-weight: 500;
  letter-spacing: 0.06em;
}
.front-page-fv-img {
  position: absolute;
  top: 50%;
  right: -20px;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  max-width: 280px;
}
.section-content {
  max-width: 1024px;
  margin: 0 auto;
  padding: 32px 16px 20px;
}
.contact .section-content {
  padding: 32px 20px 34px;
}
.section-content .ttl-h2 {
  display: inline-block;
  margin-bottom: 24px;
  padding-bottom: 0.75rem;
  color: #216b9a;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.1em;
  background-image: linear-gradient(to right, #f39c12 50%, #216b9a 50%);
  background-repeat: no-repeat;
  background-position: bottom left;
  background-size: 60% 2px;
}
.section-content .ttl-h2 span {
  font-size: 20px;
  color: #9ec0d6;
  letter-spacing: 0.04em;
  margin-bottom: 0.25rem;
}

.section-footer {
  margin-bottom: 60px;
  text-align: center;
}

/* ボタン */
.btn-careers {
  display: inline-flex;
  justify-content: space-between;
  max-width: 327px;
  width: 100%;
  align-items: center;
  padding: 10px 10px 10px 20px;
  border: 1px solid #216b9a;
  border-radius: 999px;
  text-decoration: none;
  color: #216b9a;
  font-weight: 600;
  letter-spacing: 0.1em;
  transition: background-color 0.3s;
}
.btn-careers__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-left: 8px;
  background-color: #216b9a;
  border-radius: 50%;
  color: #ffffff;
  transition: transform 0.3s;
}
.btn-careers:hover {
  background-color: rgba(240, 240, 240, 0.8);
}
.btn-careers:hover .btn-careers__icon {
  transform: translateX(2px);
}

.contact .btn-careers {
  border: 1px solid #fff;
  color: #fff;
}

.contact .btn-careers__icon {
  background-color: #fff;
  color: #f79536;
}

.service-list {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 40px;
}
.service-item h3 {
  font-size: 18px;
  font-weight: 600;
  color: #216b9a;
  margin: 10px 0 6px;
  letter-spacing: 0.04em;
}

.news {
  padding-top: 22px;
  background-color: #fffeef;
}
.front-page-news-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid #e0e0e0;
}
.front-page-news-list li {
  padding: 16px 0;
  border-bottom: 1px solid #e0e0e0;
}
.front-page-news-list h3 {
  font-size: 16px;
  font-weight: 600;
}
.front-page-news-list-item-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 8px 0;
}
.front-page-news-list-item-meta p {
  font-size: 12px;
  color: #61738e;
  line-height: 1;
}
.front-page-news-list-item-category a {
  display: inline-block;
  line-height: 1;
  padding: 2px 8px;
  border: 1px solid #216b9a;
  border-radius: 16px;
  font-size: 12px;
  color: #216b9a;
}

.contact {
  padding-top: 16px;
  background-color: #f79536;
  text-align: center;
}

.contact h2 {
  font-size: 32px;
  color: #fff;
  letter-spacing: 0.06em;
}
.contact p {
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  margin-bottom: -16px;
  letter-spacing: 0.06em;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
}
.footer-logo img {
  width: 200px;
  height: auto;
}
.footer-navigation {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-weight: 600;
}
.footer-navigation-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.footer-navigation-list li a {
  font-size: 14px;
}

.copyright {
  text-align: center;
  font-size: 12px;
  color: #61738e;
}

.index-content,
.page-content,
.single-content {
  padding: 72px 0 48px;
}

.article-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid #e0e0e0;
}
.article-list li {
  padding: 12px 0 16px;
  border-bottom: 1px solid #e0e0e0;
}
.article-list li > a {
  display: flex;
  justify-content: space-between;
}
.article-list-item-thumbnail {
  width: 30%;
  max-width: 240px;
  margin-left: 16px;
  flex: 0 0 auto;
}
.article-list-item-thumbnail img {
  width: 100%;
  height: auto;
  border-radius: 16px;
}
.article-list-item-title {
  font-size: 16px;
  font-weight: bold;
  color: #000;
}
.article-list-item-meta {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 8px 0 4px;
}
.article-list-item-meta p {
  font-size: 12px;
  color: #61738e;
}
.article-list-item-category a {
  display: inline-block;
  line-height: 1.5;
  padding: 0 8px;
  border: 1px solid #216b9a;
  border-radius: 16px;
  font-size: 12px;
  color: #216b9a;
}

.archive {
  padding: 0 16px;
}
.archive-header {
  padding: 24px 0 20px;
}
.archive-header h1 {
  font-size: 24px;
  font-weight: bold;
  color: #000;
}

.article {
  padding: 0 16px;
}
.article-header {
  padding: 24px 0 8px;
}
.article-header h1 {
  font-size: 24px;
  font-weight: bold;
  color: #000;
  margin-bottom: 16px;
}
.article-body {
  padding: 0 0 48px;
}
.article-body h2,
.article-body h3 {
  font-weight: bold;
  margin-bottom: 1.5em;
}
.article-body p {
  line-height: 1.8;
  margin-bottom: 1.5em;
}
.article-body > table,
.article-body > figure,
.article-body > div,
.article-body > iframe {
  margin-bottom: 40px;
}
.article-body > table {
  width: 100%;
  border-collapse: collapse;
}
.article-body > table th,
.article-body > table td {
  padding: 12px;
  border: 1px solid #e0e0e0;
  border-collapse: collapse;
  min-width: 8em;
}
.article-body > table th {
  background-color: #f1f5f9;
}

.article-footer {
  padding: 0 0 48px;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
}
.article-meta p {
  font-size: 14px;
  color: #61738e;
}
.article-category a {
  display: inline-block;
  padding: 2px 8px;
  border: 1px solid #216b9a;
  border-radius: 16px;
  font-size: 12px;
  color: #216b9a;
}
.article-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}
.article-tags a {
  color: #216b9a;
}
.article-tags a::before {
  content: "#";
}

.breadcrumbs {
  padding: 24px 16px;
  background-color: #fafafa;
}
.breadcrumbs-list {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.breadcrumbs-list li {
  font-size: 12px;
  color: #61738e;
}
.breadcrumbs-list li:has(a)::after {
  content: ">";
  display: inline-block;
  padding-left: 8px;
  color: #61738e;
}

@media (min-width: 415px) {
  .header-content {
    padding: 16px 24px;
  }
  .section-footer {
    margin-bottom: 48px;
  }
  .front-page-top-content {
    padding-left: 24px;
    top: 50%;
  }
  .front-page-top-content h1 {
    font-size: 36px;
  }
  .front-page-top-content p {
    font-size: 20px;
  }
  .front-page-top {
    height: 60vh;
  }
  .front-page-fv-img {
    max-width: 358px;
  }

  .service-item h3 {
    font-size: 19px;
  }
  .archive,
  .article {
    padding: 0 24px;
  }
  .archive-header h1,
  .article-header h1 {
    font-size: 32px;
  }
  .article-body {
    padding: 0 0 48px;
  }
  .article-footer {
    padding: 0 0 48px;
  }
  .breadcrumbs {
    padding: 24px 24px;
  }
}
@media (min-width: 768px) {
  .section-content {
    padding: 32px 20px 48px;
  }
  .contact .section-content {
    padding: 32px 20px 30px;
  }
  .front-page-fv-img {
    max-width: 548px;
  }
  .service-item {
    display: flex;
    gap: 28px;
  }
  .service-image {
    width: 48%;
    flex: 0 0 auto;
  }

  .contact {
    padding-top: 10px;
  }

  .archive,
  .article {
    padding: 0 10%;
  }
  .archive-header {
    padding: 48px 0 24px;
  }
  .archive-header h1,
  .article-header h1 {
    font-size: 40px;
  }
  .breadcrumbs {
    padding: 24px 10%;
  }

  .footer-content {
    gap: 32px;
    flex-direction: row;
    justify-content: space-between;
    margin: 0 auto 48px;
    padding: 0 10%;
  }
  .footer-logo {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .footer-navigation {
    width: 50%;
    flex-direction: row;
    gap: 72px;
  }
  .footer-navigation-list {
    justify-content: flex-start;
    align-items: flex-start;
    gap: 12px;
  }
}
@media (min-width: 1024px) {
  .header-content {
    padding: 16px 5%;
  }
  .section-content {
    padding: 50px 20px 36px;
  }
  .section-footer {
    margin-bottom: 72px;
  }
  .contact .section-footer {
    margin-bottom: 62px;
  }
  .archive,
  .article {
    max-width: 768px;
    padding: 0;
    margin: 0 auto;
  }
  .archive-header,
  .article-header {
    padding: 90px 0 24px;
  }
}
.contact-form-fields {
  margin-top: 48px;
  margin-bottom: 32px;
}
.contact-form-fields label {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-form-fields span {
  flex: 1 1 auto;
}
.contact-form-fields span.form-label {
  font-size: 15px;
  font-weight: bold;
  color: #324158;
  flex: 0 0 auto;
}
.contact-form-fields input,
.contact-form-fields textarea {
  font-size: 16px;
  width: 100%;
  padding: 8px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
}
.contact-form-fields input:focus,
.contact-form-fields textarea:focus {
  outline: none;
  border: 1px solid #216b9a;
}
.contact-form-submit input {
  display: block;
  width: 70%;
  max-width: 415px;
  margin: 0 auto;
  line-height: 56px;
  border: none;
  border-radius: 28px;
  font-size: 18px;
  font-weight: bold;
  background-color: #216b9a;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s;
}
.contact-form-submit input:hover {
  background-color: #2b7fff;
}
@media (min-width: 768px) {
  .contact-form-fields label {
    flex-direction: row;
    align-items: center;
    gap: 16px;
  }
  .contact-form-fields span.form-label {
    width: 160px;
    text-align: right;
  }
}

.wpcf7-response-output {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  box-sizing: border-box;
  background-color: rgba(164, 244, 208, 0.8);
  color: #009866;
  z-index: 1000;
  border: none !important;
  margin: 0 !important;
  padding: 16px 48px 16px 16px !important;
}
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output {
  background-color: rgba(255, 202, 202, 0.8);
  color: #fa2c37;
}
.wpcf7-not-valid-tip {
  font-size: 14px;
  color: #fa2c37;
}
.wpcf7-response-output:empty {
  display: none;
}
.wpcf7-response-output::after {
  content: "×";
  display: inline-block;
  width: 24px;
  height: 24px;
  position: absolute;
  top: calc(50% - 12px);
  right: 16px;
  font-size: 24px;
  line-height: 24px;
}

#service {
  padding-top: 96px;
  margin: -104px 0 30px;
}
