
*, *::before, *::after {
  box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: bold;
  line-height: 1.3;
}

body {
  margin: 0;
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #333333;
  background-color: #ffffff;
}

a {
  color: var(--color-accent, #3498db);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
}

header {
  background-color: #ffffff;
  border-bottom: 1px solid #e0e0e0;
}
header #header {
  display: flex;
  align-items: center;
  height: 80px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
header #header h1 {
  margin: 0;
  font-size: 22px;
  font-weight: bold;
  color: var(--color-primary, #2c3e50);
}
header #header h1 img {
  max-width: 200px;
  max-height: 60px;
  object-fit: contain;
}
header #header h1 a {
  color: var(--color-primary, #2c3e50);
  text-decoration: none;
}
header #header h1 a:hover {
  opacity: 0.8;
}

nav {
  background-color: var(--color-primary, #2c3e50);
  position: relative;
}
nav .hamburger-btn {
  display: none;
}
nav .nav-mobile-bar {
  display: none;
}
nav ul {
  display: flex;
  list-style: none;
  justify-content: flex-end;
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
nav ul li {
  position: relative;
}
nav ul li a {
  display: block;
  padding: 0 20px;
  height: 56px;
  line-height: 56px;
  color: #ffffff;
  text-decoration: none;
  font-size: 15px;
  transition: background-color 0.15s;
}
nav ul li a:hover {
  background-color: rgba(255, 255, 255, 0.1);
  text-decoration: none;
}
nav ul li ul {
  display: none;
  position: absolute;
  top: 56px;
  left: 0;
  min-width: 180px;
  background-color: var(--color-primary, #2c3e50);
  padding: 0;
  z-index: 200;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
nav ul li ul li a {
  padding: 10px 16px;
  height: auto;
  line-height: 1.5;
  font-size: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
nav ul li ul li a:hover {
  background-color: rgba(255, 255, 255, 0.15);
}
nav ul li:hover ul {
  display: block;
}

#main {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
  min-height: 500px;
}
#main h1 {
  font-size: 28px;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid #e0e0e0;
  /*color: #FFF;*/
}
#main h2 {
  font-size: 22px;
  margin: 32px 0 16px;
  color: var(--color-primary, #2c3e50);
}
#main p {
  margin-bottom: 16px;
}

.home-hero {
  text-align: center;
  padding: 60px 20px;
  background-color: #f8f9fa;
  border-radius: 8px;
  margin-bottom: 40px;
}
.home-hero h2 {
  font-size: 28px;
  color: var(--color-primary, #2c3e50);
  margin-bottom: 16px;
}
.home-hero p {
  font-size: 16px;
  color: #FFF;
  max-width: 600px;
  margin: 0 auto;
}

.login-wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 40px 20px;
}

.login-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 40px;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.login-card .login-title {
  font-size: 22px;
  font-weight: bold;
  color: var(--color-primary, #2c3e50);
  text-align: center;
  margin: 0 0 28px;
}
.login-card .login-error {
  background-color: #fdecea;
  color: #c0392b;
  border: 1px solid #f5c6cb;
  border-radius: 4px;
  padding: 10px 14px;
  margin-bottom: 20px;
  font-size: 14px;
}
.login-card .login-group {
  margin-bottom: 18px;
}
.login-card .login-group label {
  display: block;
  font-size: 13px;
  font-weight: bold;
  margin-bottom: 6px;
  color: #333333;
}
.login-card .login-group input[type=email],
.login-card .login-group input[type=password] {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  font-size: 14px;
  transition: border-color 0.15s;
}
.login-card .login-group input[type=email]:focus,
.login-card .login-group input[type=password]:focus {
  outline: none;
  border-color: var(--color-accent, #3498db);
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}
.login-card .login-actions {
  margin-top: 24px;
}
.login-card .login-actions input[type=submit] {
  width: 100%;
  padding: 11px;
  background-color: var(--color-primary, #2c3e50);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.15s;
}
.login-card .login-actions input[type=submit]:hover {
  background-color: var(--color-primary-hover, #29384a);
}
.login-card .login-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  pointer-events: none;
}
.login-card .login-links {
  margin-top: 20px;
  text-align: center;
  font-size: 13px;
}
.login-card .login-links a {
  color: #666666;
  display: block;
  margin-bottom: 6px;
}
.login-card .login-links a:hover {
  color: var(--color-accent, #3498db);
}

.login-card--wide {
  max-width: 520px;
}

.login-description {
  font-size: 14px;
  color: #666666;
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.6;
}

.otp-remember {
  margin: 16px 0 4px;
}
.otp-remember__label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #333333;
  cursor: pointer;
}
.otp-remember__label input[type=checkbox] {
  width: 16px;
  height: 16px;
  cursor: pointer;
  flex-shrink: 0;
}
.otp-remember__hint {
  margin: 4px 0 0 24px;
  font-size: 12px;
  color: #666666;
  line-height: 1.5;
}

.otp-input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  font-size: 22px;
  letter-spacing: 0.3em;
  text-align: center;
  font-variant-numeric: tabular-nums;
  transition: border-color 0.15s;
}
.otp-input:focus {
  outline: none;
  border-color: var(--color-accent, #3498db);
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.otp-setup__step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 14px;
  line-height: 1.6;
}
.otp-setup__step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  min-width: 24px;
  border-radius: 50%;
  background-color: var(--color-primary, #2c3e50);
  color: #fff;
  font-size: 13px;
  font-weight: bold;
}
.otp-setup__qr {
  display: flex;
  justify-content: center;
  margin: 20px 0;
}
.otp-setup__qr svg {
  display: block;
  width: 200px;
  height: 200px;
  border: 8px solid #fff;
  outline: 1px solid #e0e0e0;
  border-radius: 4px;
  background: #fff;
}
.otp-setup__manual {
  font-size: 13px;
  color: #666666;
  margin-bottom: 20px;
}
.otp-setup__manual summary {
  cursor: pointer;
  color: var(--color-accent, #3498db);
  margin-bottom: 8px;
}
.otp-setup__secret {
  display: block;
  background: #f3f4f6;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  padding: 8px 12px;
  font-family: monospace;
  font-size: 15px;
  letter-spacing: 0.15em;
  word-break: break-all;
  text-align: center;
  margin-top: 6px;
}

.error-page {
  text-align: center;
  padding: 80px 24px 60px;
}
.error-page__code {
  font-size: 96px;
  font-weight: 900;
  line-height: 1;
  color: var(--color-primary, #2c3e50);
  opacity: 0.15;
  margin-bottom: -16px;
  letter-spacing: -4px;
}
.error-page__title {
  font-size: 28px;
  font-weight: 700;
  color: #333333;
  margin: 0 0 16px;
}
.error-page__message {
  font-size: 15px;
  color: #666666;
  margin: 0 0 32px;
  line-height: 1.7;
}
.error-page__link {
  display: inline-block;
  padding: 12px 32px;
  background-color: var(--color-primary, #2c3e50);
  color: #fff;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.15s;
}
.error-page__link:hover {
  background-color: var(--color-primary-hover, #29384a);
  color: #fff;
  text-decoration: none;
}

#site-footer {
  background-color: var(--color-primary, #2c3e50);
  color: #ecf0f1;
  margin-top: 60px;
}
#site-footer .footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px 32px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}
#site-footer .footer-col__title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
#site-footer .footer-logo {
  margin-bottom: 14px;
}
#site-footer .footer-logo img {
  max-height: 64px;
  width: auto;
  object-fit: contain;
  background-color: rgba(255, 255, 255, 0.92);
  padding: 8px 16px;
  border-radius: 8px;
}
#site-footer .footer-logo .footer-site-name {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
}
#site-footer .footer-logo .footer-site-name:hover {
  color: rgba(255, 255, 255, 0.8);
}
#site-footer .footer-description {
  font-size: 18px;
  line-height: 1.7;
  color: rgb(255, 255, 255);
  margin: 0 0 16px;
  max-width: 300px;
}
#site-footer .footer-contact {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin: 0 0 16px;
}
#site-footer .footer-contact__label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 4px;
}
#site-footer .footer-contact__link {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
}
#site-footer .footer-contact__link:hover {
  color: #fff;
  text-decoration: underline;
}
#site-footer .footer-sns {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 4px;
}
#site-footer .footer-sns__link {
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
  text-decoration: none;
  transition: color 0.15s;
}
#site-footer .footer-sns__link:hover {
  color: #fff;
  text-decoration: none;
}
#site-footer .footer-sns__link--line {
  display: inline-flex;
  align-items: center;
  background-color: #00B900;
  color: #fff;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  opacity: 0.9;
}
#site-footer .footer-sns__link--line:hover {
  color: #fff;
  opacity: 1;
}
#site-footer .footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
#site-footer .footer-links__item {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.15s;
}
#site-footer .footer-links__item:hover {
  color: #fff;
  text-decoration: none;
}
#site-footer .footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
#site-footer .footer-copyright {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}
#site-footer .footer-auth {
  text-align: center;
  padding: 10px 20px;
  background-color: rgba(0, 0, 0, 0.2);
  font-size: 12px;
}
#site-footer .footer-auth a {
  color: rgba(255, 255, 255, 0.55);
}
#site-footer .footer-auth a:hover {
  color: #fff;
}
#site-footer .footer-auth form {
  display: inline;
}
#site-footer .footer-auth form button {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
  cursor: pointer;
  padding: 0;
}
#site-footer .footer-auth form button:hover {
  color: #fff;
}

.line-float-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: #00B900;
  color: #fff;
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 50px;
  box-shadow: 0 4px 16px rgba(0, 185, 0, 0.4);
  font-size: 14px;
  font-weight: 700;
  transition: background-color 0.2s, box-shadow 0.2s, transform 0.15s;
  white-space: nowrap;
}
.line-float-btn:hover {
  background-color: #009900;
  box-shadow: 0 6px 20px rgba(0, 185, 0, 0.5);
  transform: translateY(-2px);
  color: #fff;
  text-decoration: none;
}
.line-float-btn:active {
  transform: translateY(0);
}
.line-float-btn__text {
  font-size: 13px;
}
@media (max-width: 767px) {
  .line-float-btn {
    padding: 14px;
    border-radius: 50%;
    width: 56px;
    height: 56px;
    justify-content: center;
  }
  .line-float-btn__text {
    display: none;
  }
}

@media (max-width: 1024px) {
  #main {
    padding: 0 24px;
  }
  header #header {
    padding: 0 24px;
  }
  nav ul {
    padding: 0 24px;
  }
}
@media (max-width: 767px) {
  header #header {
    height: 56px;
    padding: 0 16px;
  }
  header #header h1 {
    font-size: 18px;
    margin: 10px auto 0;
  }
  header #header h1 img {
    max-height: 40px;
    max-width: 140px;
  }
  nav .nav-mobile-bar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    min-height: 48px;
    padding: 0 16px;
  }
  nav .hamburger-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
  }
  nav .hamburger-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #ffffff;
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }
  nav.nav--open .hamburger-btn span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  nav.nav--open .hamburger-btn span:nth-child(2) {
    opacity: 0;
  }
  nav.nav--open .hamburger-btn span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 48px;
    left: 0;
    right: 0;
    padding: 0;
    margin: 0;
    max-width: none;
    background-color: var(--color-primary, #2c3e50);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    z-index: 300;
  }
  nav ul li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  nav ul li a {
    height: auto;
    line-height: 1.5;
    padding: 14px 20px;
    font-size: 15px;
  }
  nav ul li ul {
    display: flex;
    position: static;
    box-shadow: none;
    background-color: rgba(0, 0, 0, 0.2);
    top: auto;
  }
  nav ul li ul li a {
    padding: 12px 32px;
    font-size: 14px;
  }
  nav ul li:hover ul {
    display: flex;
  }
  nav.nav--open ul {
    display: flex;
  }
  #main {
    margin: 24px auto;
    padding: 0 16px;
    min-height: 300px;
  }
  #main h1 {
    font-size: 22px;
  }
  #main h2 {
    font-size: 18px;
  }
  .home-hero {
    padding: 36px 16px;
  }
  .home-hero h2 {
    font-size: 22px;
  }
  .home-hero p {
    font-size: 15px;
  }
  #site-footer {
    margin-top: 40px;
  }
  #site-footer .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 32px 16px 24px;
  }
  #site-footer .footer-description {
    max-width: 100%;
  }
  #site-footer .footer-bottom {
    padding: 16px;
  }
  .login-card {
    padding: 28px 20px;
  }
}
.preview-banner {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 20px;
  background: #f59e0b;
  color: #1c1917;
  font-size: 0.875rem;
  font-weight: 600;
}
.preview-banner__link {
  white-space: nowrap;
  color: #1c1917;
  text-decoration: underline;
}
.preview-banner__link:hover {
  opacity: 0.75;
}

.block-html iframe {
  max-width: 100%;
  width: 100%;
}

.block-image {
  margin: 16px 0;
}
.block-image img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}
.block-image figcaption {
  font-size: 0.85rem;
  color: #666666;
  margin-top: 6px;
  text-align: center;
}

.block-text {
  line-height: 1.8;
  margin-bottom: 16px;
}

.block-ogp-card {
  display: flex;
  gap: 16px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: #333333;
  margin: 24px 0;
  transition: box-shadow 0.2s;
}
.block-ogp-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  color: #333333;
}
.block-ogp-card__image {
  width: 160px;
  min-width: 160px;
  height: 120px;
  object-fit: cover;
  flex-shrink: 0;
}
.block-ogp-card__body {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  min-width: 0;
}
.block-ogp-card__site {
  font-size: 0.75rem;
  color: #666666;
}
.block-ogp-card__title {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.4;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.block-ogp-card__description {
  font-size: 0.82rem;
  color: #666666;
  line-height: 1.5;
  margin: 0;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.block-ogp-card__url {
  font-size: 0.72rem;
  color: var(--color-accent, #3498db);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@media (max-width: 600px) {
  .block-ogp-card {
    flex-direction: column;
    gap: 0;
  }
  .block-ogp-card__image {
    width: 100%;
    min-width: unset;
    height: 160px;
  }
}

.block-ogp-card__comment {
  margin-top: 8px;
  font-size: 0.9rem;
  color: #666666;
}

.block-quote {
  margin: 24px 0;
  padding: 16px 20px;
  border-left: 4px solid var(--color-primary, #2c3e50);
  background: #f8f9fa;
  border-radius: 0 6px 6px 0;
}
.block-quote p {
  margin: 0;
  line-height: 1.8;
  color: #333333;
  font-style: italic;
}
.block-quote__cite {
  display: block;
  margin-top: 10px;
  font-size: 0.85rem;
  color: #666666;
  font-style: normal;
}

.block-heading-h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 32px 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid #e0e0e0;
  color: var(--color-primary, #2c3e50);
}

.block-heading-h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 24px 0 12px;
  color: #333333;
}

.closed-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: #c0392b;
  color: #fff;
  padding: 14px 20px;
  text-align: center;
  font-size: 15px;
  font-weight: bold;
  line-height: 1.5;
}
.closed-banner__icon {
  font-size: 18px;
  flex-shrink: 0;
}
.closed-banner__message {
  max-width: 600px;
}

@keyframes closed-progress {
  from {
    transform: scaleX(1);
  }
  to {
    transform: scaleX(0);
  }
}
.closed-overlay {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9000;
}
.closed-overlay__wrapper {
  width: 300px;
}
.closed-overlay__box {
  width: 100%;
  background: #fff;
  border-radius: 14px;
  padding: 24px 20px 0;
  position: relative;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}
.closed-overlay__close {
  position: absolute;
  top: 8px;
  right: 10px;
  background: none;
  border: none;
  font-size: 16px;
  line-height: 1;
  color: #aaa;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 4px;
  transition: color 0.15s, background 0.15s;
}
.closed-overlay__close:hover {
  color: #333;
  background: #f5f5f5;
}
.closed-overlay__label {
  font-size: 1rem;
  font-weight: 700;
  color: #c0392b;
  margin: 0 0 10px;
}
.closed-overlay__message {
  font-size: 0.9rem;
  color: #333;
  line-height: 1.6;
  margin: 0 0 12px;
  white-space: pre-wrap;
}
.closed-overlay__hint {
  font-size: 0.72rem;
  color: #aaa;
  margin: 0 0 10px;
}
.closed-overlay__progress {
  height: 4px;
  background: #c0392b;
  transform-origin: left center;
  animation: closed-progress linear forwards;
  margin: 0 -20px;
}
@media (max-width: 600px) {
  .closed-overlay {
    bottom: 16px;
    right: 16px;
  }
  .closed-overlay__wrapper {
    width: 260px;
  }
  .closed-overlay__mascot {
    width: 70px;
    margin-right: 10px;
  }
}

.breadcrumb {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 20px;
  background-color: unset;
}
.breadcrumb__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem;
  color: #666666;
}
.breadcrumb__item {
  display: flex;
  align-items: center;
}
.breadcrumb__item:not(:first-child)::before {
  content: "›";
  margin-right: 4px;
  color: #e0e0e0;
  font-size: 1rem;
  line-height: 1;
}
.breadcrumb__link {
  color: #666666;
  text-decoration: none;
  transition: color 0.15s;
}
.breadcrumb__link:hover {
  color: var(--color-primary, #2c3e50);
  text-decoration: underline;
}
.breadcrumb__current {
  color: #333333;
  font-weight: 500;
  max-width: 240px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: bottom;
}
@media (max-width: 767px) {
  .breadcrumb {
    padding: 8px 16px;
  }
  .breadcrumb__current {
    max-width: 160px;
  }
}

.articles-index {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 16px;
}

.articles-index__title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 32px;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.article-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: box-shadow 0.2s;
  position: relative; /* カード全体リンクのため */
  cursor: pointer;
}

.article-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.article-card__thumb img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.article-card__body {
  padding: 16px;
}

.article-card__title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.5;
}

.article-card__title a {
  color: inherit;
  text-decoration: none;
}

/* カード全体をクリック可能にする（::after でカード全面を覆う） */
.article-card__title a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.article-card:hover .article-card__title a {
  color: var(--color-primary, #3b82f6);
}

.article-card__desc {
  font-size: 0.85rem;
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-card__date {
  font-size: 0.78rem;
  color: #9ca3af;
}

.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.category-tab {
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.875rem;
  text-decoration: none;
  border: 1px solid #d1d5db;
  color: #374151;
  background: #fff;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.category-tab:hover {
  background: #f3f4f6;
  text-decoration: none;
}

.category-tab--active {
  background: var(--color-primary, #2c3e50);
  color: #fff;
  border-color: var(--color-primary, #2c3e50);
}

@media (max-width: 767px) {
  .articles-index {
    padding: 24px 0;
  }
  .articles-index__title {
    font-size: 1.4rem;
    margin-bottom: 20px;
  }
  .articles-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .article-card__thumb img {
    height: 200px;
  }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
/* ===================================================
   サムネイル（全幅・オーバーレイなし）
   =================================================== */
.article-show__thumb {
  width: 100%;
  margin-bottom: 0;
}

.article-show__thumb picture,
.article-show__thumb img {
  display: block;
  width: 100%;
  max-height: 440px;
  object-fit: cover;
}

/* ===================================================
   記事ヘッダー（タイトル・カテゴリ・日付）
   =================================================== */
.article-show__header {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e5e7eb;
}

.article-show__title {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.45;
  color: #111827;
  margin: 12px 0 10px;
}

.article-show__date {
  font-size: 0.85rem;
  color: #9ca3af;
  display: block;
}

/* ===================================================
   テキストコンテンツ領域
   =================================================== */
.article-show__inner {
  max-width: 920px;
  margin: 0 auto;
  padding: 32px 16px 80px;
}

.article-show__desc {
  font-size: 1rem;
  color: #6b7280;
  line-height: 1.7;
  margin-bottom: 28px;
}

/* ===================================================
   案C：メタ情報バー
   =================================================== */
.article-meta-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e5e7eb;
}

.article-meta-bar__cat {
  display: inline-block;
  background: var(--color-primary, #3b82f6);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 20px;
  text-decoration: none;
  letter-spacing: 0.03em;
}

.article-meta-bar__cat:hover {
  opacity: 0.85;
}

.article-meta-bar__reading {
  font-size: 0.82rem;
  color: #9ca3af;
}

/* ===================================================
   インライン目次
   =================================================== */
.article-toc {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 20px 24px;
  margin-bottom: 40px;
}

.article-toc__heading {
  font-size: 0.9rem;
  font-weight: 700;
  color: #374151;
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}

.article-toc__list {
  margin: 0;
  padding-left: 20px;
  list-style: decimal;
}

.article-toc__item {
  margin-bottom: 6px;
  line-height: 1.5;
}

.article-toc__item a {
  font-size: 0.9rem;
  color: var(--color-primary, #3b82f6);
  text-decoration: none;
}

.article-toc__item a:hover {
  text-decoration: underline;
}

/* H3 はインデント */
.article-toc__item--h3 {
  padding-left: 16px;
  list-style: none;
  position: relative;
}

.article-toc__item--h3::before {
  content: "–";
  position: absolute;
  left: 4px;
  color: #9ca3af;
}

/* ===================================================
   コンテンツブロック
   =================================================== */
.article-show__body {
  line-height: 1.8;
}

.article-show__body > * + * {
  margin-top: 24px;
}

.block-text {
  font-size: 1rem;
  color: #374151;
}

.block-text p {
  margin-bottom: 1em;
}

.block-heading-h2 {
  font-size: 1.5rem;
  font-weight: 700;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-primary, #3b82f6);
  margin-top: 48px;
}

.block-heading-h3 {
  font-size: 1.2rem;
  font-weight: 600;
  padding-left: 12px;
  border-left: 4px solid var(--color-primary, #3b82f6);
  margin-top: 36px;
}

.block-image {
  text-align: center;
}

.block-image picture,
.block-image img {
  max-width: 100%;
  border-radius: 8px;
  display: inline-block;
}

.block-image figcaption {
  margin-top: 8px;
  font-size: 0.82rem;
  color: #9ca3af;
}

.block-button {
  text-align: center;
}

.block-button a {
  display: inline-block;
  padding: 12px 32px;
  background: var(--color-primary, #3b82f6);
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.2s;
}

.block-button a:hover {
  opacity: 0.85;
}

.block-divider {
  border: none;
  border-top: 2px solid #e5e7eb;
}

.block-html {
  overflow-x: auto;
}

/* ===================================================
   前後記事ナビ
   =================================================== */
.article-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid #e5e7eb;
  background: var(--resto-bg);
}

.article-nav__prev {
  justify-self: start;
}

.article-nav__next {
  justify-self: end;
}

.article-nav__link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-decoration: none;
  padding: 14px 18px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  transition: border-color 0.15s, background 0.15s;
  max-width: 280px;
}

.article-nav__link:hover {
  border-color: #9ca3af;
  background: #f9fafb;
}

.article-nav__link--next {
  text-align: right;
}

.article-nav__label {
  font-size: 0.75rem;
  color: #9ca3af;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.article-nav__title {
  font-size: 0.9rem;
  color: #374151;
  font-weight: 600;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ===================================================
   同カテゴリの関連記事
   =================================================== */
.related-articles {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid #e5e7eb;
}

.related-articles__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #374151;
  margin-bottom: 20px;
}

.related-articles__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.related-card {
  position: relative;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.2s;
  cursor: pointer;
}

.related-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.related-card__thumb img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  display: block;
}

.related-card__body {
  padding: 10px 12px 12px;
}

.related-card__title {
  font-size: 0.85rem;
  font-weight: 600;
  color: #374151;
  line-height: 1.5;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.related-card__date {
  font-size: 0.75rem;
  color: #9ca3af;
  display: block;
}

/* カード全体をリンクにする */
.related-card__link {
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* ===================================================
   記事一覧へ戻る
   =================================================== */
.article-show__back {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #e5e7eb;
}

.article-show__back a {
  color: var(--color-primary, #3b82f6);
}

/* ===================================================
   モバイル対応
   =================================================== */
@media (max-width: 767px) {
  .related-articles__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .related-card__thumb img {
    height: 90px;
  }
  .article-show__thumb picture,
  .article-show__thumb img {
    max-height: 240px;
  }
  .article-show__title {
    font-size: 1.4rem;
  }
  .article-show__inner {
    padding: 24px 16px 48px;
  }
  .article-toc {
    padding: 16px 18px;
  }
  .block-heading-h2 {
    font-size: 1.25rem;
    margin-top: 36px;
  }
  .block-heading-h3 {
    font-size: 1.05rem;
    margin-top: 28px;
  }
  .block-button a {
    padding: 10px 24px;
    font-size: 0.95rem;
  }
  .article-nav {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .article-nav__prev,
  .article-nav__next {
    justify-self: stretch;
  }
  .article-nav__link {
    max-width: 100%;
  }
  .article-nav__link--next {
    text-align: left;
  }
}
.page-show {
  max-width: 100%;
  padding: 0 0 60px;
}

.page-show__thumb {
  width: 100%;
  max-height: 480px;
  overflow: hidden;
}
.page-show__thumb picture,
.page-show__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-show__inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 24px 0;
}

.page-show__header {
  margin-bottom: 32px;
}

.page-show__title {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.4;
  color: #111827;
  margin: 0;
}

.page-show__body > * + * {
  margin-top: 24px;
}

.page-show__back {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid #e5e7eb;
  font-size: 0.9rem;
}
.page-show__back a {
  color: var(--color-primary, #3b82f6);
  text-decoration: none;
}
.page-show__back a:hover {
  text-decoration: underline;
}

.block-text {
  font-size: 1rem;
  color: #374151;
  line-height: 1.8;
}

.block-text p {
  margin-bottom: 1em;
}

.block-heading-h2 {
  font-size: 1.5rem;
  font-weight: 700;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-primary, #3b82f6);
  margin-top: 48px;
}

.block-heading-h3 {
  font-size: 1.2rem;
  font-weight: 600;
  padding-left: 12px;
  border-left: 4px solid var(--color-primary, #3b82f6);
  margin-top: 36px;
}

.block-image {
  text-align: center;
}

.block-image img {
  max-width: 100%;
  border-radius: 8px;
}

.block-image figcaption {
  margin-top: 8px;
  font-size: 0.82rem;
  color: #9ca3af;
}

.block-link {
  text-align: center;
}

.block-link a {
  display: inline-block;
  padding: 10px 28px;
  background: var(--color-primary, #3b82f6);
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.2s;
}

.block-link a:hover {
  opacity: 0.85;
}

.preview-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f59e0b;
  color: #fff;
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 24px;
  border-radius: 6px;
}

.preview-banner__link {
  color: #fff;
  text-decoration: underline;
  font-weight: 400;
}

/* =========================================
   ヒーローバナー
========================================= */
.home-hero {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.home-hero--with-image {
  min-height: 460px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
}

.home-hero--plain {
  min-height: 280px;
  background: linear-gradient(135deg, var(--color-primary, #3b82f6) 0%, var(--color-accent, #f59e0b) 100%);
  display: flex;
  align-items: center;
}

.home-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.42);
  pointer-events: none;
}

/* plain の場合はオーバーレイを薄く */
.home-hero--plain .home-hero__overlay {
  background: rgba(0, 0, 0, 0.18);
}

.home-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  padding: 64px 24px;
  text-align: center;
}

.home-hero__title {
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 16px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  letter-spacing: -0.01em;
  color: #FFF;
}

.home-hero__subtitle {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  line-height: 1.8;
  margin-bottom: 32px;
  opacity: 0.92;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
  color: #FFF;
}

.home-hero__cta {
  display: inline-block;
  padding: 14px 36px;
  background: #fff;
  color: var(--color-primary, #3b82f6);
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  transition: transform 0.15s, box-shadow 0.15s;
  letter-spacing: 0.02em;
}

.home-hero__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
}

/* =========================================
   セクション共通
========================================= */
.home-section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 24px;
}

.home-section-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0;
  color: var(--color-primary, #2c3e50);
}

.home-section-more {
  font-size: 0.875rem;
  color: var(--color-primary, #3b82f6);
  text-decoration: none;
  white-space: nowrap;
}
.home-section-more:hover {
  text-decoration: underline;
}

/* =========================================
   新着記事
========================================= */
.home-articles {
  max-width: 1200px;
  margin: 60px auto 0;
  padding: 0 32px;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.article-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}

.article-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.article-card__thumb img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.article-card__body {
  padding: 16px;
}

.article-card__title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.5;
}

.article-card__title a {
  color: inherit;
  text-decoration: none;
}

.article-card__title a:hover {
  color: var(--color-primary, #3b82f6);
}

.article-card__desc {
  font-size: 0.85rem;
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-card__date {
  font-size: 0.78rem;
  color: #9ca3af;
}

/* =========================================
   固定ページコンテンツ
========================================= */
.home-page-content {
  margin-top: 72px;
  padding-top: 48px;
  border-top: 1px solid #e5e7eb;
}

.home-page-content > * + * {
  margin-top: 24px;
}

/* =========================================
   レスポンシブ
========================================= */
@media (max-width: 767px) {
  .home-hero--with-image {
    min-height: 320px;
  }
  .home-hero--plain {
    min-height: 240px;
  }
  .home-hero__inner {
    padding: 48px 20px;
  }
  .home-articles {
    margin-top: 40px;
  }
  .home-section-title {
    font-size: 1.2rem;
  }
  .articles-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .article-card__thumb img {
    height: 200px;
  }
  .home-page-content {
    margin-top: 48px;
  }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
/* =========================================
   床屋テンプレ - 共通カラー
========================================= */
:root {
  --barber-bg: #1c1917;
  --barber-bg-soft: #292524;
  --barber-bg-line: #3f3a36;
  --barber-text: #f5f5f4;
  --barber-text-soft: #d6d3d1;
  --barber-text-muted: #a8a29e;
}

/* 公開サイト全体の背景はサンドにし、テンプレ側で黒を効かせる */
body {
  background: #f5f5f4;
}

#main {
  max-width: 100%;
  margin: 0 10px;
  padding: 0;
}

/* =========================================
   ヒーロー（左右分割）
========================================= */
.barber-hero {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  min-height: 540px;
  /*background: var(--barber-bg);*/
  color: var(--barber-text);
}

.barber-hero__photo {
  background-color: #44403c;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.barber-hero__card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px 48px;
  gap: 18px;
}

.barber-hero__eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: var(--barber-text-soft);
  text-transform: uppercase;
}

.barber-hero__title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
  letter-spacing: -0.01em;
}

.barber-hero__hours {
  background: var(--barber-bg-soft);
  border-radius: 6px;
  padding: 14px 18px;
  margin-top: 8px;
}

.barber-hero__hours-label {
  display: block;
  font-size: 1rem;
  font-weight: bold;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--barber-text-soft);
  margin-bottom: 6px;
}

.barber-hero__hours-body {
  margin: 0;
  font-family: inherit;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--barber-text);
  white-space: pre-wrap;
}

.barber-hero__phone {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--barber-text);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.barber-hero__phone:hover {
  color: var(--barber-text-soft);
  text-decoration: none;
}

.barber-hero__cta {
  display: inline-block;
  align-self: flex-start;
  padding: 14px 32px;
  background: var(--barber-text);
  color: var(--barber-bg);
  border-radius: 2px;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.04em;
  font-size: 0.95rem;
  transition: opacity 0.15s;
}

.barber-hero__cta:hover {
  opacity: 0.85;
  text-decoration: none;
  color: var(--barber-bg);
}

/* =========================================
   店舗情報
========================================= */
.barber-info {
  background: #fafaf9;
  border-bottom: 1px solid #e7e5e4;
}

.barber-info__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.barber-info__label {
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #78716c;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e7e5e4;
}

.barber-info__body {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #292524;
}

/* =========================================
   お知らせ
========================================= */
.barber-articles {
  max-width: 1100px;
  margin: 60px auto 0;
  padding: 0 32px;
}

.barber-section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 28px;
  border-bottom: 1px solid #d6d3d1;
  padding-bottom: 12px;
}

.barber-section-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0;
  color: #1c1917;
  letter-spacing: 0.04em;
}

.barber-section-more {
  font-size: 0.85rem;
  color: #57534e;
  text-decoration: none;
}

.barber-section-more:hover {
  color: #1c1917;
  text-decoration: underline;
}

.barber-articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.barber-article-card {
  background: #fff;
  border: 1px solid #e7e5e4;
  overflow: hidden;
}

.barber-article-card__thumb img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.barber-article-card__body {
  padding: 16px 18px;
}

.barber-article-card__date {
  display: block;
  font-size: 0.75rem;
  color: #a8a29e;
  margin-bottom: 8px;
  letter-spacing: 0.06em;
}

.barber-article-card__title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.5;
}

.barber-article-card__title a {
  color: #1c1917;
  text-decoration: none;
}

.barber-article-card__title a:hover {
  color: #57534e;
}

/* =========================================
   固定ページコンテンツ
========================================= */
.barber-page-content {
  max-width: 900px;
  margin: 72px auto 60px;
  padding: 0 32px;
}

.barber-page-content > * + * {
  margin-top: 24px;
}

/* =========================================
   レスポンシブ
========================================= */
@media (max-width: 767px) {
  .barber-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .barber-hero__photo {
    min-height: 240px;
  }
  .barber-hero__card {
    padding: 36px 24px;
    gap: 14px;
  }
  .barber-info__inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 36px 24px;
  }
  .barber-articles {
    padding: 0 24px;
    margin-top: 40px;
  }
  .barber-articles-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .barber-page-content {
    padding: 0 24px;
    margin: 48px auto;
  }
}
/* =========================================
   洋食屋テンプレ - 共通カラー（クリーム×ボルドー）
========================================= */
:root {
  --resto-bg: #fef9f2;
  --resto-bg-warm: #fcd9b6;
  --resto-bg-strip: #fed7aa;
  --resto-accent: #7c2d12;
  --resto-accent2: #b45309;
  --resto-text: #1c1917;
  --resto-text-soft: #57534e;
  --resto-text-muted:#78716c;
  --resto-border: #fcd9b6;
}

body {
  background: var(--resto-bg);
  color: var(--resto-text);
}

#main {
  max-width: 100%;
  margin: 0 10px;
  padding: 0;
}

/* =========================================
   ヒーロー（全幅写真＋下キャプション）
========================================= */
.resto-hero {
  background: var(--resto-bg);
}

.resto-hero__photo {
  width: 100%;
  aspect-ratio: 16/7;
  background-color: #d97706;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.resto-hero__caption {
  text-align: center;
  padding: 36px 24px 28px;
}

.resto-hero__title {
  font-family: "Cormorant Garamond", "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 500;
  color: var(--resto-accent);
  margin: 0;
  letter-spacing: 0.02em;
}

.resto-hero__tagline {
  font-size: 0.95rem;
  color: var(--resto-text-soft);
  margin: 14px 0 0;
  line-height: 1.7;
}

/* =========================================
   予約ストリップ
========================================= */
.resto-strip {
  background: var(--resto-bg-strip);
}

.resto-strip__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}

.resto-strip__label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--resto-accent);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.resto-strip__hours {
  margin: 0;
  font-family: inherit;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--resto-text);
  white-space: pre-wrap;
}

.resto-strip__phone {
  text-decoration: none;
  color: inherit;
}

.resto-strip__phone:hover {
  text-decoration: none;
}

.resto-strip__phone-num {
  display: block;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--resto-text);
  letter-spacing: 0.02em;
}

.resto-strip__cta {
  background: var(--resto-accent);
  color: #fef9f2;
  padding: 12px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: opacity 0.15s, transform 0.15s;
}

.resto-strip__cta:hover {
  opacity: 0.92;
  transform: translateY(-1px);
  color: #fef9f2;
  text-decoration: none;
}

/* =========================================
   メッセージ（編集記事的）
========================================= */
.resto-message {
  padding: 64px 24px;
  text-align: center;
}

.resto-message__inner {
  max-width: 720px;
  margin: 0 auto;
}

.resto-message__eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--resto-text-muted);
  margin-bottom: 18px;
}

.resto-message__body {
  font-family: "Cormorant Garamond", "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: 1.2rem;
  line-height: 1.9;
  color: var(--resto-text);
  margin: 0;
}

/* =========================================
   ご来店案内
========================================= */
.resto-info {
  background: #fff;
  border-top: 1px solid var(--resto-border);
  border-bottom: 1px solid var(--resto-border);
}

.resto-info__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 24px;
}

.resto-info__title {
  font-family: "Cormorant Garamond", "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: 1.6rem;
  color: var(--resto-accent);
  text-align: center;
  margin: 0 0 32px;
  font-weight: 500;
}

.resto-info__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
}

.resto-info__label {
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--resto-accent2);
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--resto-border);
}

.resto-info__body {
  font-size: 0.92rem;
  line-height: 1.8;
  color: var(--resto-text);
  margin: 0;
}

pre.resto-info__body {
  font-family: inherit;
  white-space: pre-wrap;
}

/* =========================================
   新着情報
========================================= */
.resto-articles {
  max-width: 1100px;
  margin: 60px auto 0;
  padding: 0 24px;
}

.resto-section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 24px;
}

.resto-section-title {
  font-family: "Cormorant Garamond", "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--resto-accent);
  margin: 0;
}

.resto-section-more {
  font-size: 0.85rem;
  color: var(--resto-accent);
  text-decoration: none;
}

.resto-section-more:hover {
  text-decoration: underline;
}

.resto-articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.resto-article-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  transition: transform 0.15s, box-shadow 0.15s;
}

.resto-article-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.resto-article-card__thumb img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.resto-article-card__body {
  padding: 16px 18px;
}

.resto-article-card__date {
  display: block;
  font-size: 0.78rem;
  color: var(--resto-text-muted);
  margin-bottom: 6px;
}

.resto-article-card__title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 8px;
  line-height: 1.5;
}

.resto-article-card__title a {
  color: var(--resto-text);
  text-decoration: none;
}

.resto-article-card__title a:hover {
  color: var(--resto-accent);
}

.resto-article-card__desc {
  font-size: 0.85rem;
  color: var(--resto-text-soft);
  line-height: 1.6;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* =========================================
   固定ページコンテンツ
========================================= */
.resto-page-content {
  max-width: 900px;
  margin: 72px auto 60px;
  padding: 0 24px;
}

.resto-page-content > * + * {
  margin-top: 24px;
}

/* =========================================
   レスポンシブ
========================================= */
@media (max-width: 767px) {
  .resto-hero__photo {
    aspect-ratio: 4/3;
  }
  .resto-hero__caption {
    padding: 28px 20px 24px;
  }
  .resto-strip__inner {
    gap: 18px;
    padding: 14px 20px;
  }
  .resto-message {
    padding: 48px 20px;
  }
  .resto-message__body {
    font-size: 1.05rem;
  }
  .resto-info__inner {
    padding: 40px 20px;
  }
  .resto-info__grid {
    gap: 20px;
  }
  .resto-articles {
    padding: 0 20px;
    margin-top: 40px;
  }
  .resto-articles-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .resto-page-content {
    padding: 0 20px;
    margin: 48px auto;
  }
}
.contact-form {
  margin-top: 32px;
}
.contact-form__errors {
  background: #fff5f5;
  border: 1px solid #e74c3c;
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 24px;
  color: #c0392b;
  font-size: 0.9rem;
}
.contact-form__group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}
.contact-form__label {
  font-weight: 600;
  font-size: 0.9rem;
  color: #333;
  display: flex;
  align-items: center;
  gap: 6px;
}
.contact-form__required {
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
  background: #e74c3c;
  padding: 1px 6px;
  border-radius: 3px;
  letter-spacing: 0.02em;
}
.contact-form__optional {
  font-size: 0.72rem;
  font-weight: 600;
  color: #888;
  background: #f0f0f0;
  padding: 1px 6px;
  border-radius: 3px;
}
.contact-form__input {
  width: 100%;
  max-width: 480px;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  box-sizing: border-box;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.contact-form__input:focus {
  outline: none;
  border-color: var(--color-primary, #2c3e50);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06);
}
.contact-form__input--error {
  border-color: #e74c3c;
}
.contact-form__textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  box-sizing: border-box;
  resize: vertical;
  line-height: 1.6;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.contact-form__textarea:focus {
  outline: none;
  border-color: var(--color-primary, #2c3e50);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06);
}
.contact-form__textarea.contact-form__input--error {
  border-color: #e74c3c;
}
.contact-form__error-msg {
  font-size: 0.82rem;
  color: #e74c3c;
  margin: 0;
}
.contact-form__honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  pointer-events: none;
}
.contact-form__submit {
  margin-top: 28px;
}
.contact-form__btn {
  display: inline-block;
  padding: 12px 32px;
  background: var(--color-primary, #2c3e50);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.15s, opacity 0.15s;
}
.contact-form__btn:hover {
  background: var(--color-primary-hover, #29384a);
}
.contact-form__btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
@media (max-width: 600px) {
  .contact-form__input {
    max-width: 100%;
  }
}

.contact-confirm__table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 32px;
}
.contact-confirm__table tr {
  border-bottom: 1px solid #e5e7eb;
}
.contact-confirm__table tr:first-child {
  border-top: 1px solid #e5e7eb;
}
.contact-confirm__label {
  width: 160px;
  min-width: 120px;
  padding: 14px 16px 14px 0;
  vertical-align: top;
  font-weight: 600;
  font-size: 0.9rem;
  color: #555;
  white-space: nowrap;
  text-align: left;
}
.contact-confirm__value {
  padding: 14px 0;
  vertical-align: top;
  font-size: 0.95rem;
  color: #222;
  line-height: 1.6;
  word-break: break-all;
}
.contact-confirm__actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.contact-confirm__back-btn {
  color: #e74c3c;
  font-size: 0.9rem;
}
.contact-confirm__back-btn:hover {
  text-decoration: underline;
}
@media (max-width: 600px) {
  .contact-confirm__table {
    display: block;
  }
  .contact-confirm__table tbody, .contact-confirm__table tr {
    display: block;
  }
  .contact-confirm__label {
    display: block;
    width: auto;
    padding: 14px 0 4px;
    white-space: normal;
  }
  .contact-confirm__value {
    display: block;
    padding: 0 0 14px;
  }
}

.corp-hero {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: center;
  background-color: var(--color-primary, #1e3a5f);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.corp-hero--plain {
  min-height: 400px;
}
.corp-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.68) 0%, rgba(0, 0, 0, 0.4) 60%, rgba(0, 0, 0, 0.28) 100%);
}
.corp-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 80px 40px;
}
.corp-hero__eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent, #f59e0b);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 2px;
  padding: 4px 10px;
  margin-bottom: 20px;
}
.corp-hero__title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.35;
  color: #fff;
  margin: 0 0 16px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}
.corp-hero__subtitle {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  margin: 0 0 32px;
  max-width: 600px;
}
.corp-hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.corp-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 13px 28px;
  border-radius: 3px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.15s, transform 0.15s;
}
.corp-hero__cta--primary {
  background: var(--color-accent, #f59e0b);
  color: #fff;
}
.corp-hero__cta--primary:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}
.corp-hero__cta--outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.7);
}
.corp-hero__cta--outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}
@media (max-width: 640px) {
  .corp-hero {
    min-height: 380px;
  }
  .corp-hero__inner {
    padding: 60px 20px;
  }
  .corp-hero__title {
    font-size: 1.7rem;
  }
  .corp-hero__cta {
    padding: 11px 20px;
    font-size: 0.88rem;
  }
}

.corp-section-head {
  text-align: center;
  margin-bottom: 40px;
}
.corp-section-head__eyebrow {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--color-primary, #1e3a5f);
  margin-bottom: 8px;
  opacity: 0.6;
}
.corp-section-head__title {
  font-size: 1.55rem;
  font-weight: 700;
  color: #111827;
  margin: 0;
  padding-bottom: 16px;
  position: relative;
}
.corp-section-head__title::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background: var(--color-accent, #f59e0b);
  margin: 14px auto 0;
  border-radius: 2px;
}

.corp-services {
  padding: 72px 40px;
  background: #f9fafb;
}
.corp-services__body {
  max-width: 860px;
  margin: 0 auto;
}
@media (max-width: 640px) {
  .corp-services {
    padding: 48px 20px;
  }
}

.corp-news {
  padding: 72px 40px;
  background: #fff;
}
.corp-news__list {
  max-width: 800px;
  margin: 0 auto;
  border-top: 1px solid #e5e7eb;
}
.corp-news__footer {
  max-width: 800px;
  margin: 28px auto 0;
  text-align: right;
}
.corp-news__more {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-primary, #1e3a5f);
  text-decoration: none;
}
.corp-news__more:hover {
  text-decoration: underline;
  color: var(--color-primary-hover, #1e3a5f);
}
@media (max-width: 640px) {
  .corp-news {
    padding: 48px 20px;
  }
}

.corp-news-item {
  display: grid;
  grid-template-columns: 90px auto 1fr;
  gap: 0 16px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid #e5e7eb;
}
.corp-news-item__date {
  font-size: 0.82rem;
  color: #6b7280;
  white-space: nowrap;
  letter-spacing: 0.03em;
}
.corp-news-item__cat {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--color-primary, #1e3a5f);
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 2px;
  padding: 2px 8px;
  white-space: nowrap;
}
.corp-news-item__title {
  font-size: 0.95rem;
  font-weight: 500;
  margin: 0;
  line-height: 1.5;
}
.corp-news-item__title a {
  color: #111827;
  text-decoration: none;
}
.corp-news-item__title a:hover {
  color: var(--color-primary, #1e3a5f);
  text-decoration: underline;
}
.corp-news-item:not(:has(.corp-news-item__cat)) {
  grid-template-columns: 90px 1fr;
}
@media (max-width: 640px) {
  .corp-news-item {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .corp-news-item:not(:has(.corp-news-item__cat)) {
    grid-template-columns: 1fr;
  }
}

/*# sourceMappingURL=public_site.css.map */
