@charset "utf-8";
/*
Theme Name: KRHRenewal
Author: krhrenewal-kouji
Version: 1.0
*/

*,
*::before,
*::after {
  box-sizing: border-box;
}
* {
  margin: 0;
  padding: 0;
}
body {
  line-height: 1.7;
  -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;
}

:root {
  --main-color: #006de3;
  --main-color-light: #66aaff;
  --sub-color: #ff6900;
  --sub-color-light: #ffb366;
  --background-color: #fafafa;
  --text-color: #111111;
  --text-color-light: #61738e;
}

body {
  color: #111111;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}
a {
  color: #0097ac;
  transition: all 0.2s;
}
a:hover {
  color: #0fbed5;
}
#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 72px;
  transition: all 0.3s;
  z-index: 100;
  background-color: #fff;
}
#header.scrolled {
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
}
#main {
  padding-top: 72px;
}
#footer {
  background-color: #f1f5f9;
  padding: 48px 0;
}
.section {
  padding: 0 16px;
}
.section-header {
  padding: 24px 0 16px;
}
.section-content {
  padding: 16px 0;
}
.section-footer {
  padding: 16px 0 24px;
}
.section-header,
.section-content,
.section-footer {
  margin: 0 auto;
  max-width: 1200px;
}
.section-header + .section-content {
  padding-top: 0;
}
@media (min-width: 1024px) {
  /* #header {
    height: 96px;
  }
  #main {
    padding-top: 96px;
  } */
  .section-header {
    padding: 32px 0 24px;
  }
  .section-content {
    padding: 24px 0;
  }
  .section-footer {
    padding: 24px 0 32px;
  }
  #footer {
    padding: 72px 0 48px;
  }
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  position: relative;
  height: 72px;
  box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1);
}
.logo {
  font-size: 24px;
}
.logo a {
  color: var(--main-color);
  font-weight: bold;
}
.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(254, 254, 254, 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(230, 230, 230, 0.9);
}
.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) {
  .header-content {
    height: 96px;
  }
  .logo img {
    width: 160px;
  }
  .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;
  }
} */
.section-header h1,
.section-header h2 {
  font-size: 24px;
  font-weight: bold;
  color: #666;
}
.section-footer-link-button {
  display: block;
  width: 70%;
  max-width: 415px;
  margin: 0 auto;
  line-height: 48px;
  border: 1px solid #0097ac;
  background-color: #fff;
  color: #0097ac;
  border-radius: 24px;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
}
.section-footer-link-button:hover {
  color: #008193;
  border: 1px solid #008193;
}


.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-bottom: 48px;
}
.footer-logo a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.footer-logo .site-icon {
  width: 88px;
  height: auto;
}
.footer-logo .site-name {
  width: 128px;
  height: auto;
}
.footer-logo img {
  width: 100%;
  height: auto;
}
.footer-navigation {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-navigation-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.footer-navigation-list li a {
  font-size: 14px;
}

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


.article-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid #e0e0e0;
}
.article-list li {
  padding: 16px 0;
  border-bottom: 1px solid #e0e0e0;
}
.article-list li > a {
  display: flex;
  gap: 16px;
}
.article-list-item-thumbnail {
  width: 30%;
  max-width: 240px;
  flex: 0 0 auto;
}
.article-list-item-thumbnail img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 4px;
}
.article-list-item-meta {
  flex: 1 1 auto;
}
.article-list-item-title {
  font-size: 16px;
  font-weight: bold;
  color: #000;
}
.article-list-item-date {
  font-size: 12px;
  color: #61738e;
}
.article-list-item-category a {
  display: inline-block;
  line-height: 1.5;
  padding: 0 8px;
  border: 1px solid #0097ac;
  border-radius: 16px;
  font-size: 12px;
  color: #0097ac;
}

.article {
  padding: 0 16px;
}
.article-header {
  padding: 48px 0;
}
.article-header h1 {
  font-size: 24px;
  font-weight: bold;
  color: #000;
  margin-bottom: 16px;
}
.article-body {
  padding: 0 0 48px;
}
.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: 1.5em;
}
.article-body > table {
  width: 100%;
  border-collapse: collapse;
}
.article-body > table th,
.article-body > table td {
  padding: 8px;
  border: 1px solid #e0e0e0;
  border-collapse: collapse;
}
.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 #0097ac;
  border-radius: 16px;
  font-size: 12px;
  color: #0097ac;
}
.article-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}
.article-tags a {
  color: #0097ac;
}
.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,
  .article {
    padding: 0 24px;
  }
  .section-header h1,
  .article-header h1 {
    font-size: 24px;
  }
  .article-body {
    padding: 0 0 48px;
  }
  .article-footer {
    padding: 0 0 48px;
  }
  .breadcrumbs {
    padding: 24px 24px;
  }
}
@media (min-width: 768px) {
  .section,
  .article {
    padding: 0 10%;
  }
.section-header h1 {
    font-size: 24px;		
	}
.article-header h1 {
    font-size: 32px;
  }
  .breadcrumbs {
    padding: 24px 32px;
  }

  .footer-content {
    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;
  }
}
@media (min-width: 1024px) {
  .header-content {
    padding: 16px 5%;
  }
  .section,
  .article {
    max-width: 768px;
    padding: 0;
    margin: 0 auto;
  }
}

.centering {
  text-align: center;
}

.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 #165dfb;
}
.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: #165dfb;
  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;
}
