/*
Theme Name: Soralis Idol Theme
Theme URI: https://example.com/soralis-idol-theme
Author: GALDir Media
Author URI: https://example.com/
Description: Block theme for the Soralis idol official site.
Version: 1.0.0
Requires at least: 6.5
Tested up to: 6.8
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: soralis-idol
*/

:root {
  scroll-behavior: smooth;
  --box-shadow-soft: 0 18px 46px rgba(110, 207, 245, 0.25);
  --box-shadow-card: 0 12px 30px rgba(43, 126, 179, 0.18);
}

body {
  margin: 0;
  padding-top: 0;
  padding-bottom: 0;
  background-color: var(--wp--preset--color--background);
  color: var(--wp--preset--color--text);
  font-family: "Bodoni Moda", "Noto Serif JP", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  /* Sticky footer layout */
  min-height: 100vh;
}

/* WordPress site blocks wrapper */
.wp-site-blocks {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Main content area takes remaining space */
main,
.wp-block-group[role="main"],
main.wp-block-group {
  flex: 1 0 auto;
}

/* Footer stays at bottom */
.soralis-footer {
  flex-shrink: 0;
}

/* Bodoni Moda typography hierarchy */
h1,
h2,
h3,
h4,
h5,
h6,
.wp-block-heading,
.soralis-section__title,
.soralis-hero-mosaic__logo-title,
.soralis-member-item .wp-block-post-title {
  font-family: "Bodoni Moda", "Noto Serif JP", serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
}

h1,
.has-display-font-size {
  font-weight: 800;
  letter-spacing: 0.02em;
}

h2 {
  font-weight: 700;
  letter-spacing: 0.03em;
}

h3 {
  font-weight: 600;
  letter-spacing: 0.04em;
}

p,
.wp-block-paragraph {
  font-family: "Bodoni Moda", "Noto Serif JP", serif;
  font-weight: 400;
  letter-spacing: 0.01em;
}

a,
button,
input,
textarea,
select {
  font-family: inherit;
}

.ttfont-arrow_left:before {
  content: "←" !important;
}

.ttfont-arrow_right:before {
  content: "→" !important;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link:focus {
  left: 50%;
  top: 1rem;
  width: auto;
  height: auto;
  padding: 0.75rem 1.25rem;
  clip: auto;
  clip-path: none;
  transform: translateX(-50%);
  background: var(--wp--preset--color--surface);
  color: var(--wp--preset--color--text);
  border: 2px solid var(--wp--preset--color--primary);
  border-radius: 999px;
  box-shadow: var(--box-shadow-soft);
  z-index: 1001;
}

.wp-site-blocks {
  overflow-x: clip;
}

.wp-block-navigation a {
  text-decoration: none;
  position: relative;
}

.wp-block-navigation a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 2px;
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.2s ease;
  background: var(--wp--preset--color--line);
}

.wp-block-navigation a:hover::after,
.wp-block-navigation a:focus-visible::after {
  transform: scaleX(1);
}

.soralis-header {
  gap: 2.5rem;
  min-height: auto;
  align-items: center;
}

header.wp-block-template-part {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 15px 2.5em 15px 2em;
  border-bottom: none;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

header.wp-block-template-part.is-scrolled {
  padding: 15px 2.5em 15px 2em;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 0 10px 4px rgba(0, 0, 0, 0.13);
}

body.admin-bar header.wp-block-template-part {
  top: 32px;
}

.soralis-header__brand {
  align-items: center;
  flex-shrink: 0;
}

.soralis-header__brand .wp-block-site-logo img {
  width: 100px;
  height: auto;
}

.soralis-header__brand .wp-block-site-title {
  font-family: var(--wp--preset--font-family--headline);
  letter-spacing: 0.26em;
}

.soralis-header__brand .wp-block-site-title a {
  color: var(--wp--preset--color--text);
  text-decoration: none;
}

.soralis-header__brand .wp-block-site-tagline {
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 0.2em;
}

.soralis-header__nav {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 320px;
  height: 100vh;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
  padding: 6rem 2rem 2rem;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 1000;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}

.soralis-header__nav.is-open {
  transform: translateX(0);
}

.soralis-header__nav p {
  width: 100%;
  padding: 1rem 0;
  border-bottom: 1px solid var(--wp--preset--color--line, #e5e7eb);
}

.soralis-header__nav p a {
  font-family: "Bodoni Moda", "Noto Serif JP", serif;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  display: block;
  transition: color 0.2s ease, transform 0.2s ease;
}

.soralis-header__nav p a:hover {
  color: var(--wp--preset--color--primary-dark, #2b7eb3);
  transform: translateX(4px);
}

.soralis-header__cta-group {
  margin-left: clamp(1.2rem, 3vw, 2rem);
  flex-shrink: 0;
}

.soralis-header__cta .wp-block-button__link {
  font-family: "Bodoni Moda", "Noto Serif JP", serif;
  background-color: #f39b7a;
  color: #ffffff;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(243, 155, 122, 0.25);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 700;
  transition: all 0.2s ease;
}

.soralis-header__cta .wp-block-button__link:hover,
.soralis-header__cta .wp-block-button__link:focus-visible {
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(243, 155, 122, 0.35);
}

/* ------------------------------------------------------------
 * Hamburger Menu
 * ------------------------------------------------------------ */
.soralis-header__hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1002;
  position: relative;
  align-self: center;
  margin: 0;
}

.soralis-header__hamburger-line {
  width: 26px;
  height: 2px;
  background-color: var(--wp--preset--color--text, #1f2a37);
  border-radius: 2px;
  transition: all 0.3s ease;
  position: relative;
}

.soralis-header__hamburger-line:not(:last-child) {
  margin-bottom: 6px;
}

/* ハンバーガーメニューが開いた時のアニメーション */
.soralis-header__hamburger.is-active
  .soralis-header__hamburger-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.soralis-header__hamburger.is-active
  .soralis-header__hamburger-line:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}

.soralis-header__hamburger.is-active
  .soralis-header__hamburger-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* オーバーレイ */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 999;
}

body.menu-open::before {
  opacity: 1;
  visibility: visible;
}

body.menu-open {
  overflow: hidden;
}

@media (max-width: 781px) {
  body.admin-bar header.wp-block-template-part {
    top: 46px;
  }

  .soralis-header {
    gap: 1.25rem;
  }

  .soralis-header__cta .wp-block-button__link {
    padding-left: 1.8rem;
    padding-right: 1.8rem;
  }
}

.wp-block-button .wp-block-button__link {
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
  box-shadow: none;
}

.wp-block-button .wp-block-button__link:hover,
.wp-block-button .wp-block-button__link:focus-visible {
  transform: translateY(-2px);
  filter: brightness(1.02);
  box-shadow: var(--box-shadow-soft, 0 18px 46px rgba(110, 207, 245, 0.25));
}

:focus-visible {
  outline: 2px solid var(--wp--preset--color--primary);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--wp--preset--color--surface),
    0 0 0 4px rgba(110, 207, 245, 0.45);
}

.soralis-announcement {
  border-radius: 16px;
  box-shadow: 0 10px 35px rgba(110, 207, 245, 0.28);
}

.soralis-card {
  border-radius: 20px;
  background: var(--wp--preset--color--surface);
  box-shadow: var(--box-shadow-card, 0 12px 30px rgba(43, 126, 179, 0.18));
  padding: 2rem;
}

.soralis-card--news {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100%;
}

.soralis-card--news .wp-block-post-featured-image img {
  border-radius: 12px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.soralis-badge,
.soralis-badge a {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: rgba(110, 207, 245, 0.15);
  color: var(--wp--preset--color--primary-dark);
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
}

.soralis-tag,
.soralis-tag a {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: rgba(255, 127, 191, 0.15);
  color: var(--wp--preset--color--accent);
  font-size: 0.8rem;
  text-decoration: none;
}

.soralis-tag a:hover,
.soralis-badge a:hover {
  opacity: 0.85;
}

.soralis-query-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.soralis-term-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.soralis-term-list__item a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(110, 207, 245, 0.3);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--wp--preset--color--muted);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.soralis-term-list__item a.is-active {
  background: rgba(110, 207, 245, 0.18);
  color: var(--wp--preset--color--primary-dark);
  border-color: rgba(110, 207, 245, 0.55);
}

.soralis-term-list__item a:hover {
  background: rgba(110, 207, 245, 0.24);
  border-color: rgba(110, 207, 245, 0.65);
}

.soralis-related-news {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0 0;
  display: grid;
  gap: 1rem;
}

.soralis-related-news li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--wp--preset--color--line);
  padding-bottom: 0.75rem;
}

.soralis-related-news a {
  font-weight: 600;
  color: var(--wp--preset--color--text);
  text-decoration: none;
  flex: 1;
  margin-right: 1rem;
}

.soralis-related-news time {
  font-size: 0.85rem;
  color: var(--wp--preset--color--muted);
}

.soralis-cta-band {
  border-radius: 24px;
  padding: clamp(2.5rem, 6vw, 4rem);
  position: relative;
  overflow: hidden;
}

.soralis-cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    140deg,
    rgba(255, 255, 255, 0.25) 0%,
    rgba(110, 207, 245, 0.35) 100%
  );
  opacity: 0.35;
  pointer-events: none;
}

.soralis-lily {
  position: absolute;
  inset: auto -120px -160px auto;
  width: 260px;
  height: 260px;
  filter: blur(0);
  opacity: 0.4;
}

.is-style-outline .wp-block-button__link {
  background: transparent;
  border: 2px solid currentColor;
  color: var(--wp--preset--color--primary-dark);
}

.wp-block-breadcrumb {
  font-size: 0.875rem;
  color: var(--wp--preset--color--muted);
}

.wp-block-breadcrumb a {
  color: inherit;
}

.wp-block-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  list-style: none;
  margin: 0 0 1.5rem 0;
  padding: 0;
}

.wp-block-breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.wp-block-breadcrumb li:not(:last-child)::after {
  content: ">";
  font-size: 0.8rem;
  color: rgba(79, 90, 104, 0.6);
}

.soralis-contact-form {
  display: grid;
  gap: 1.5rem;
}

.soralis-contact-form label {
  font-weight: 600;
}

.soralis-contact-form input[type="text"],
.soralis-contact-form input[type="email"],
.soralis-contact-form select,
.soralis-contact-form textarea {
  width: 100%;
  border: 1px solid var(--wp--preset--color--line);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  font: inherit;
  background: var(--wp--preset--color--surface);
}

.soralis-contact-form textarea {
  resize: vertical;
  min-height: 160px;
}

.soralis-contact-form__hint {
  font-size: 0.85rem;
  color: var(--wp--preset--color--muted);
}

.soralis-contact-form .hp-field {
  display: none !important;
}

@media (max-width: 782px) {
  .soralis-cta-band {
    padding: 2.5rem 1.75rem;
  }

  .soralis-contact-columns {
    gap: 2rem !important;
  }
}

/* ------------------------------------------------------------
 * Front Page Layout
 * ------------------------------------------------------------ */
.soralis-front {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.soralis-hero-mosaic {
  background: linear-gradient(135deg, #ccecff 0%, #f6fbff 42%, #a8e6ff 100%);
  position: relative;
  overflow: hidden;
}

.soralis-hero-mosaic__catch {
  margin: 0 auto 2.5rem;
  padding: 1rem 1.75rem;
  max-width: 44ch;
  font-size: clamp(1rem, 3vw, 1.45rem);
  font-family: var(--wp--preset--font-family--headline);
  font-weight: 600;
  line-height: 1.85;
  letter-spacing: 0.08em;
  text-align: center;
  color: var(--wp--preset--color--primary-dark);
  text-shadow: 0 10px 24px rgba(110, 207, 245, 0.35);
}

.soralis-hero-mosaic::before,
.soralis-hero-mosaic::after {
  content: "";
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  z-index: 0;
}

.soralis-hero-mosaic::before {
  top: -140px;
  left: -80px;
}

.soralis-hero-mosaic::after {
  bottom: -120px;
  right: -100px;
}

.soralis-hero-mosaic__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  padding: 0 1.75rem;
}

.soralis-hero-mosaic__tagline {
  margin: 0;
  font-family: var(--wp--preset--font-family--numeral);
  letter-spacing: 0.38em;
  text-transform: uppercase;
  font-size: 0.82rem;
  color: var(--wp--preset--color--primary-dark);
}

@media (max-width: 782px) {
  .soralis-hero-mosaic__catch {
    margin-bottom: 2rem;
    font-size: clamp(0.95rem, 4vw, 1.25rem);
    letter-spacing: 0.05em;
  }
}

.soralis-hero-mosaic__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--box-shadow-soft);
}

.soralis-hero-mosaic__item {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.soralis-hero-mosaic__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.soralis-hero-mosaic__item::after {
  content: "";
  position: absolute;
  width: clamp(100px, 16vw, 160px);
  height: clamp(100px, 16vw, 160px);
  border: 2px solid rgba(255, 255, 255, 0.65);
  border-radius: 50%;
  mix-blend-mode: screen;
  pointer-events: none;
  opacity: 0.6;
  transition: transform 0.3s ease;
}

.soralis-hero-mosaic__item:nth-child(odd)::after {
  top: 18%;
  left: 62%;
}

.soralis-hero-mosaic__item:nth-child(even)::after {
  top: 58%;
  left: 24%;
}

.soralis-hero-mosaic__item:hover::after {
  transform: scale(1.08);
}

.soralis-hero-mosaic__item--logo {
  color: #ffffff;
  text-align: left;
  background: linear-gradient(135deg, #7ad5ff 0%, #ff9ab8 100%);
}

.soralis-hero-mosaic__logo-kana {
  margin: 0 0 0.35rem;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.soralis-hero-mosaic__logo-title {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  letter-spacing: 0.22em;
}

.soralis-hero-mosaic__logo-copy {
  margin: 0;
  max-width: 20ch;
  line-height: 1.8;
  font-size: 0.95rem;
}

/* ------------------------------------------------------------
 * Section Base
 * ------------------------------------------------------------ */
.soralis-section {
  position: relative;
  overflow: hidden;
}

.soralis-section__inner {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.soralis-section__title {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 3.3rem);
  letter-spacing: 0.16em;
}

.soralis-section__lead {
  max-width: 58ch;
  margin: 0;
  color: rgba(31, 42, 55, 0.7);
  font-size: 1rem;
  line-height: 1.9;
}

.soralis-section__buttons .wp-block-button__link {
  padding: 0.9rem 2.8rem;
  border-radius: 999px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.82rem;
}

.soralis-button--accent .wp-block-button__link {
  background: #f39b7a;
  color: #ffffff;
  box-shadow: var(--box-shadow-soft);
}

.soralis-button--accent .wp-block-button__link:hover,
.soralis-button--accent .wp-block-button__link:focus-visible {
  filter: brightness(0.97);
}

.soralis-button--secondary .wp-block-button__link {
  background: #ffffff;
  color: var(--wp--preset--color--primary-dark);
  border: 1px solid rgba(43, 126, 179, 0.2);
  box-shadow: var(--box-shadow-soft);
}

.soralis-section--news .soralis-button--accent .wp-block-button__link {
  background: #ffffff;
  color: #6a6f78;
}

.soralis-section--news .soralis-button--accent .wp-block-button__link:hover,
.soralis-section--news .soralis-button--accent .wp-block-button__link:focus-visible {
  color: #51565e;
  filter: none;
}

/* ------------------------------------------------------------
 * News Section
 * ------------------------------------------------------------ */
.soralis-section--news {
  background: linear-gradient(145deg, #6ecff5 0%, #8fdfff 40%, #bff1ff 100%);
  color: #ffffff;
}

.soralis-section--news::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 42%;
  background: rgba(255, 255, 255, 0.22);
  top: -160px;
  right: -60px;
}

.soralis-section--news .soralis-section__lead {
  color: rgba(255, 255, 255, 0.86);
}

.soralis-news__list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.soralis-news-card {
  align-items: stretch;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--box-shadow-card);
}

.soralis-news-card__meta {
  min-width: 90px;
  gap: 0.6rem;
}

.soralis-news-card__date {
  font-family: var(--wp--preset--font-family--numeral);
  letter-spacing: 0.18em;
  font-size: 0.92rem;
  color: #2b7eb3;
}

.soralis-news-card__label {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.soralis-news-card__label a,
.soralis-news-card__label span {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.9rem;
  background: rgba(243, 155, 122, 0.15);
  color: #f16938;
  border-radius: 999px;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  text-transform: uppercase;
  font-weight: 600;
}

.soralis-news-card__body {
  flex: 1 1 auto;
  gap: 0.75rem;
}

.soralis-news-card__title {
  margin: 0;
  font-size: 1.18rem;
  letter-spacing: 0.05em;
}

.soralis-news-card__title a {
  color: #1f2a37;
}

.soralis-news-card__title a:hover,
.soralis-news-card__title a:focus-visible {
  color: #2b7eb3;
}

.soralis-news-card__excerpt {
  margin: 0;
  color: rgba(31, 42, 55, 0.65);
  font-size: 0.95rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
}

.soralis-news__empty {
  margin: 0;
  text-align: center;
}

/* ------------------------------------------------------------
 * Blog Section
 * ------------------------------------------------------------ */
.soralis-section--blog {
  background: #7ed8f7;
  color: #ffffff;
}

.soralis-section--blog::before {
  content: "";
  position: absolute;
  width: 140%;
  height: 60%;
  left: -20%;
  top: 35%;
  background: #ff8f66;
  transform: rotate(-6deg);
  opacity: 0.85;
  z-index: 0;
}

.soralis-section--blog .soralis-section__label,
.soralis-section--blog .soralis-section__title,
.soralis-section--blog .soralis-section__lead {
  color: #ffffff;
}

.soralis-section--blog .soralis-section__lead {
  color: rgba(255, 255, 255, 0.88);
}

.soralis-blog .wp-block-post-template {
  display: grid;
  gap: 1.8rem;
}

@media (min-width: 1040px) {
  .soralis-blog .wp-block-post-template {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 1039px) and (min-width: 720px) {
  .soralis-blog .wp-block-post-template {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 719px) {
  .soralis-blog .wp-block-post-template {
    grid-template-columns: 1fr;
  }
}

.soralis-blog-card {
  background: #ffffff;
  color: var(--wp--preset--color--text);
  box-shadow: var(--box-shadow-card);
  overflow: hidden;
}

.soralis-blog-card__image img {
  height: 240px;
  object-fit: cover;
}

.soralis-blog-card__meta {
  align-items: center;
  justify-content: space-between;
  color: rgba(31, 42, 55, 0.65);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.soralis-blog-card__author {
  font-weight: 600;
}

.soralis-blog-card__title {
  margin: 0;
  font-size: 1.15rem;
  letter-spacing: 0.06em;
}

.soralis-blog-card__title a {
  color: inherit;
}

.soralis-blog-card__title a:hover,
.soralis-blog-card__title a:focus-visible {
  color: var(--wp--preset--color--primary-dark);
}

.soralis-blog-card__excerpt {
  margin: 0;
  color: rgba(31, 42, 55, 0.7);
}

.soralis-blog__empty {
  margin: 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.9);
}

/* ------------------------------------------------------------
 * Schedule Section
 * ------------------------------------------------------------ */
.soralis-section--schedule {
  background: #f1f4f8;
}

.soralis-schedule-card {
  background: #ffffff;
  border-radius: 26px;
  box-shadow: var(--box-shadow-card);
  padding: clamp(1.5rem, 3vw, 2.4rem);
  overflow-x: auto;
}

.soralis-schedule-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

.soralis-schedule-table caption {
  text-align: left;
  font-family: var(--wp--preset--font-family--numeral);
  letter-spacing: 0.2em;
  font-size: 1rem;
  margin-bottom: 1.2rem;
}

.soralis-schedule-table th,
.soralis-schedule-table td {
  border: 1px solid #d9e6f4;
  padding: 0.65rem 0.75rem;
  vertical-align: top;
  text-align: left;
}

.soralis-schedule-table th {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(31, 42, 55, 0.6);
  background: rgba(204, 236, 255, 0.3);
}

.soralis-schedule-table td {
  height: 120px;
  position: relative;
  background: #ffffff;
}

.soralis-schedule-table .is-today {
  border: 2px solid #f39b7a;
}

.soralis-schedule-event {
  margin-top: 0.45rem;
  display: inline-flex;
  padding: 0.35rem 0.55rem;
  background: rgba(110, 207, 245, 0.15);
  border-radius: 10px;
  font-size: 0.78rem;
  line-height: 1.4;
  color: #2b7eb3;
  font-weight: 600;
}

/* ------------------------------------------------------------
 * Goods Section
 * ------------------------------------------------------------ */
.soralis-section--goods {
  background: #7fd9f7;
  color: #ffffff;
}

.soralis-section--goods::before {
  content: "";
  position: absolute;
  width: 140%;
  height: 55%;
  top: -25%;
  left: -15%;
  background: #ff8f66;
  transform: rotate(7deg);
  opacity: 0.88;
  z-index: 0;
}

.soralis-section--goods .soralis-section__label,
.soralis-section--goods .soralis-section__title,
.soralis-section--goods .soralis-section__lead {
  color: #ffffff;
}

.soralis-section--goods .soralis-section__lead {
  color: rgba(255, 255, 255, 0.9);
}

.soralis-goods-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.8rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.soralis-goods-card {
  background: #ffffff;
  color: var(--wp--preset--color--text);
  border-radius: 22px;
  padding: 1.5rem;
  box-shadow: var(--box-shadow-card);
}

.soralis-goods-card__image {
  margin: -1.5rem -1.5rem 1.25rem;
  border-radius: 22px 22px 0 0;
  overflow: hidden;
}

.soralis-goods-card__image img {
  height: 200px;
  object-fit: cover;
  width: 100%;
}

.soralis-goods-card__category {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #2b7eb3;
}

.soralis-goods-card__title {
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.soralis-goods-card__price {
  margin: 0;
  font-family: var(--wp--preset--font-family--numeral);
  font-size: 1rem;
  letter-spacing: 0.14em;
}

.soralis-goods-card__status {
  margin: 0.5rem 0 0;
  display: inline-flex;
  padding: 0.35rem 0.95rem;
  border-radius: 999px;
  letter-spacing: 0.22em;
  font-size: 0.7rem;
  text-transform: uppercase;
  font-weight: 700;
  background: rgba(43, 126, 179, 0.12);
  color: #2b7eb3;
}

.soralis-goods-card__status.is-soldout {
  background: #1f2a37;
  color: #ffffff;
}

/* ------------------------------------------------------------
 * Back To Top Button
 * ------------------------------------------------------------ */
.soralis-backtop {
  position: fixed;
  right: 2.6rem;
  bottom: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem 0.55rem;
  background: #ffffff;
  color: var(--wp--preset--color--primary-dark);
  border-radius: 999px;
  text-decoration: none;
  writing-mode: vertical-rl;
  letter-spacing: 0.26em;
  font-size: 0.78rem;
  font-weight: 700;
  box-shadow: var(--box-shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  z-index: 900;
}

.soralis-backtop:hover,
.soralis-backtop:focus-visible {
  transform: translateY(-6px);
}

/* ------------------------------------------------------------
 * Responsive Adjustments
 * ------------------------------------------------------------ */
@media (max-width: 1160px) {
  .soralis-hero-mosaic__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .soralis-hero-mosaic__item:nth-child(odd)::after,
  .soralis-hero-mosaic__item:nth-child(even)::after {
    left: 50%;
  }

  .soralis-news-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .soralis-news-card__meta {
    min-width: auto;
  }

  .soralis-goods-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 782px) {
  .soralis-hero-mosaic__inner {
    padding: 0 1.25rem;
  }

  .soralis-hero-mosaic__tagline {
    letter-spacing: 0.28em;
  }

  .soralis-hero-mosaic__grid {
    border-radius: 20px;
  }

  .soralis-section__inner {
    padding: 0 1.25rem;
  }

  .soralis-section__title {
    font-size: clamp(2rem, 8vw, 2.6rem);
  }

  .soralis-section__lead {
    font-size: 0.95rem;
  }

  .soralis-section__buttons .wp-block-button__link {
    width: 100%;
    justify-content: center;
  }

  .soralis-goods-grid {
    grid-template-columns: 1fr;
  }

  .soralis-backtop {
    display: none;
  }
}

@media (max-width: 520px) {
  .soralis-hero-mosaic__grid {
    grid-template-columns: 1fr;
  }
}

/* ------------------------------------------------------------
 * Footer
 * ------------------------------------------------------------ */
.soralis-footer {
  position: relative;
}

.soralis-footer__inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(2rem, 5vw, 4rem);
}

.soralis-footer__main {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1.75rem, 4vw, 3rem);
  text-align: center;
}

.soralis-footer__logo img,
.soralis-footer__logo svg {
  max-width: clamp(180px, 22vw, 240px);
  height: auto;
}

.soralis-footer__social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(1.2rem, 3vw, 1.8rem);
  color: #ffffff;
  padding: 0;
  margin: 0;
}

.soralis-footer__social .wp-social-link a,
.soralis-footer__social .soralis-footer__showroom a {
  width: clamp(52px, 6vw, 64px);
  height: clamp(52px, 6vw, 64px);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.soralis-footer__social .wp-social-link a:hover,
.soralis-footer__social .wp-social-link a:focus-visible,
.soralis-footer__social .soralis-footer__showroom a:hover,
.soralis-footer__social .soralis-footer__showroom a:focus-visible {
  box-shadow: 0 28px 40px rgba(0, 0, 0, 0.12);
}

.soralis-footer__social .wp-social-link svg {
  width: clamp(26px, 3.4vw, 30px);
  height: auto;
}

.soralis-footer__social .wp-social-link-x a {
  background: #000000;
}

.soralis-footer__social .wp-social-link-tiktok a {
  background: linear-gradient(135deg, #25f4ee 0%, #000000 48%, #fe2c55 100%);
}

.soralis-footer__social .wp-social-link-instagram a {
  background: linear-gradient(
    45deg,
    #feda75 0%,
    #fa7e1e 30%,
    #d62976 55%,
    #962fbf 75%,
    #4f5bd5 100%
  );
}

.soralis-footer__social .wp-social-link-youtube a {
  background: #ff0000;
  color: #ffffff;
}

.soralis-footer__social .soralis-footer__showroom a {
  background: #050505;
  position: relative;
  overflow: hidden;
  font-family: var(--wp--preset--font-family--headline, inherit);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: transparent;
}

.soralis-footer__social .soralis-footer__showroom a::before,
.soralis-footer__social .soralis-footer__showroom a::after {
  position: absolute;
  left: 0;
  width: 100%;
  text-align: center;
  text-transform: uppercase;
  font-size: clamp(0.62rem, 1.8vw, 0.7rem);
  letter-spacing: 0.12em;
  background: linear-gradient(
    140deg,
    #ffe764 0%,
    #7af9c4 30%,
    #ff70ab 65%,
    #66a8ff 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.soralis-footer__social .soralis-footer__showroom a::before {
  content: "SHOW";
  top: 18%;
}

.soralis-footer__social .soralis-footer__showroom a::after {
  content: "ROOM";
  bottom: 18%;
}

.soralis-footer__nav {
  width: min(100%, 960px);
  margin-inline: auto;
}

.soralis-footer__nav .wp-block-navigation__container {
  justify-content: center;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2.75rem);
}

.soralis-footer__nav .wp-block-navigation-item {
  margin: 0;
}

.soralis-footer__nav .wp-block-navigation-item__content {
  color: var(--wp--preset--color--text);
  letter-spacing: inherit;
  text-transform: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.soralis-footer__nav .wp-block-navigation-item__content:hover,
.soralis-footer__nav .wp-block-navigation-item__content:focus-visible {
  color: var(--wp--preset--color--primary-dark);
}

.soralis-footer__copyright {
  margin: 0;
  padding-bottom: 1rem;
}

.soralis-footer__pagetop {
  flex: 0 0 auto;
  display: flex;
  justify-content: flex-end;
  min-width: 120px;
}

.soralis-footer__pagetop-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-top: 5.5rem;
  text-decoration: none;
  color: var(--wp--preset--color--text);
  letter-spacing: 0.35em;
  font-size: 0.78rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.soralis-footer__pagetop-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 100px;
  background: var(--wp--preset--color--line);
}

.soralis-footer__pagetop-link::after {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 10px;
  height: 10px;
  border-left: 1px solid var(--wp--preset--color--line);
  border-top: 1px solid var(--wp--preset--color--line);
}

.soralis-footer__pagetop-link:hover,
.soralis-footer__pagetop-link:focus-visible {
  color: var(--wp--preset--color--primary-dark);
}

.soralis-footer__pagetop-text {
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

@media (max-width: 1080px) {
  .soralis-footer__inner {
    flex-direction: column;
    align-items: center;
  }

  .soralis-footer__pagetop {
    width: 100%;
    justify-content: flex-end;
    margin-top: 2.5rem;
  }
}

@media (max-width: 880px) {
  .soralis-footer__nav .wp-block-navigation__container {
    display: grid;
    grid-template-columns: repeat(2, minmax(140px, 1fr));
    row-gap: 1.4rem;
    column-gap: 1.75rem;
  }

  .soralis-footer__pagetop-link {
    padding-top: 5rem;
  }
}

@media (max-width: 560px) {
  .soralis-footer {
    padding-left: var(--wp--preset--spacing--md);
    padding-right: var(--wp--preset--spacing--md);
  }

  .soralis-footer__social {
    gap: 1rem;
  }

  .soralis-footer__social .wp-social-link a,
  .soralis-footer__social .soralis-footer__showroom a {
    width: 52px;
    height: 52px;
  }

  .soralis-footer__nav .wp-block-navigation__container {
    grid-template-columns: 1fr;
    row-gap: 1rem;
  }

  .soralis-footer__pagetop {
    justify-content: center;
  }
}

/* ------------------------------------------------------------
 * Member Archive
 * ------------------------------------------------------------ */
.soralis-member-grid,
.wp-block-post-template.soralis-member-grid,
ul.soralis-member-grid,
ul.wp-block-post-template.soralis-member-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 2.5rem !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
}

/* リスト項目のリセット */
.soralis-member-grid > *,
.wp-block-post-template.soralis-member-grid > * {
  list-style: none !important;
  margin: 0 !important;
}

.soralis-member-item {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  text-align: center;
  width: 100%;
}

.soralis-member-item .wp-block-post-featured-image img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: var(--box-shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.soralis-member-item .wp-block-post-featured-image img:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(43, 126, 179, 0.25);
}

.soralis-member-item .wp-block-post-title {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--wp--preset--color--text);
}

.soralis-member-sns {
  list-style: none;
  padding: 0;
  margin: 0;
  margin-top: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
}

.soralis-member-sns__item a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(110, 207, 245, 0.15);
  color: var(--wp--preset--color--primary-dark);
  font-size: 1.2rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(43, 126, 179, 0.15);
}

.soralis-member-sns__item--x a {
  background: #000000;
  color: #ffffff;
}

.soralis-member-sns__item--instagram a {
  background: linear-gradient(
    45deg,
    #feda75 0%,
    #fa7e1e 30%,
    #d62976 55%,
    #962fbf 75%,
    #4f5bd5 100%
  );
  color: #ffffff;
}

.soralis-member-sns__item--instagram a:hover {
  box-shadow: 0 8px 20px rgba(214, 41, 118, 0.4);
}

.soralis-member-sns__item--youtube a {
  background: #ff0000;
  color: #ffffff;
}

.soralis-member-sns__item--youtube a:hover {
  background: #cc0000;
  box-shadow: 0 8px 20px rgba(255, 0, 0, 0.4);
}

.soralis-member-sns__item--tiktok a {
  background: #000000;
  color: #ffffff;
}

.soralis-member-sns__item--tiktok a:hover {
  background: #1a1a1a;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.soralis-member-sns__item--line a {
  background: #06c755;
  color: #ffffff;
}

.soralis-member-sns__item--line a:hover {
  background: #05b34c;
  box-shadow: 0 8px 20px rgba(6, 199, 85, 0.4);
}

.soralis-member-sns__item--store a {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #ffffff;
}

.soralis-member-sns__item--store a:hover {
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.soralis-member-sns__item--streaming a {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  color: #ffffff;
}

.soralis-member-sns__item--streaming a:hover {
  box-shadow: 0 8px 20px rgba(245, 87, 108, 0.4);
}

@media (max-width: 960px) {
  .soralis-member-grid,
  .wp-block-post-template.soralis-member-grid,
  ul.soralis-member-grid,
  ul.wp-block-post-template.soralis-member-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 2rem !important;
  }
}

@media (max-width: 782px) {
  .soralis-member-grid,
  .wp-block-post-template.soralis-member-grid,
  ul.soralis-member-grid,
  ul.wp-block-post-template.soralis-member-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 2rem !important;
  }

  .soralis-member-item .wp-block-post-featured-image img {
    height: 320px;
  }

  .soralis-member-sns__item a {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }
}

@media (max-width: 560px) {
  .soralis-member-grid,
  .wp-block-post-template.soralis-member-grid,
  ul.soralis-member-grid,
  ul.wp-block-post-template.soralis-member-grid {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
  }

  .soralis-member-item .wp-block-post-featured-image img {
    height: 400px;
  }

  .soralis-member-sns {
    gap: 0.7rem;
  }

  .soralis-member-sns__item a {
    width: 38px;
    height: 38px;
    font-size: 1rem;
  }
}

/* ------------------------------------------------------------
 * Post Content - Text wrapping
 * ------------------------------------------------------------ */
.wp-block-post-content {
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
}

/* ------------------------------------------------------------
 * Contact Form 7 - Elegant Design (inspired by reference site)
 * ------------------------------------------------------------ */

/* フォーム全体のコンテナ */
.wpcf7-form {
  font-family: "Bodoni Moda", "Noto Serif JP", serif;
}

/* ページタイトルのスタイル */
.page-template-page-contact .wp-block-post-title {
  text-align: center;
  letter-spacing: 0.15em;
  margin-bottom: 2.5rem;
  font-weight: 700;
}

/* コンタクトフォームのラッパー */
.soralis-contact-wrapper {
  max-width: 680px !important;
  margin: 0 auto;
  padding: 3rem 2.5rem !important;
}

/* 説明文のスタイル */
.soralis-contact-wrapper > p:first-of-type {
  text-align: left;
  color: rgba(31, 42, 55, 0.7);
  line-height: 1.9;
  margin-bottom: 2.5rem;
  font-size: 0.95rem;
}

/* ラベルのスタイル */
.wpcf7-form label {
  display: block;
  margin-bottom: 1.75rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: #1f2a37;
  letter-spacing: 0.02em;
  line-height: 1.6;
}

/* 必須マーク（赤いアスタリスク） */
.wpcf7-form .wpcf7-form-control-wrap::before {
  content: "※";
  color: #ef4444;
  margin-right: 0.25rem;
  font-weight: 600;
}

/* インプットフィールドとテキストエリアの共通スタイル */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="url"],
.wpcf7-form input[type="number"],
.wpcf7-form input[type="date"],
.wpcf7-form select,
.wpcf7-form textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  margin-top: 0.5rem;
  font-size: 1rem;
  font-family: "Noto Sans JP", sans-serif;
  background-color: #ffffff;
  color: #1f2a37;
  transition: all 0.25s ease;
  box-shadow: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

/* フォーカス時のスタイル */
.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form input[type="tel"]:focus,
.wpcf7-form input[type="url"]:focus,
.wpcf7-form input[type="number"]:focus,
.wpcf7-form input[type="date"]:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
  outline: none;
  border-color: #7a5d8c;
  background-color: #ffffff;
  box-shadow: 0 0 0 1px rgba(122, 93, 140, 0.1);
}

/* プレースホルダーのスタイル */
.wpcf7-form input::placeholder,
.wpcf7-form textarea::placeholder {
  color: #9ca3af;
  opacity: 0.6;
  font-weight: 300;
}

/* テキストエリアのスタイル */
.wpcf7-form textarea {
  min-height: 200px;
  resize: vertical;
  line-height: 1.7;
}

/* セレクトボックスのスタイル */
.wpcf7-form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236B7280' d='M1.41 0L6 4.58 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 12px;
  padding-right: 2.5rem;
  cursor: pointer;
}

/* セレクトボックスのホバー */
.wpcf7-form select:hover {
  border-color: #9ca3af;
}

/* 送信ボタンのスタイル - 紫系の色 */
.wpcf7-form input[type="submit"] {
  display: block;
  width: auto;
  min-width: 320px;
  max-width: 520px;
  margin: 3rem auto 0;
  padding: 1.1rem 3rem;
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  background: #7a5d8c;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(122, 93, 140, 0.3);
  letter-spacing: 0.08em;
  font-family: "Noto Sans JP", sans-serif;
}

.wpcf7-form input[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(122, 93, 140, 0.4);
  background: #6b4d7c;
}

.wpcf7-form input[type="submit"]:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(122, 93, 140, 0.3);
}

/* 説明テキストのスタイル */
.wpcf7-form .soralis-contact-form__hint {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: rgba(31, 42, 55, 0.6);
  line-height: 1.5;
}

/* プライバシーポリシーへのリンク */
.wpcf7-form .soralis-contact-form__privacy {
  text-align: center;
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: rgba(31, 42, 55, 0.75);
  line-height: 1.7;
}

.wpcf7-form .soralis-contact-form__privacy a {
  color: #7a5d8c;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s ease;
}

.wpcf7-form .soralis-contact-form__privacy a:hover {
  color: #6b4d7c;
}

/* 同意チェックボックスのスタイル */
.wpcf7-form .wpcf7-acceptance {
  margin-top: 2rem;
  text-align: center;
}

.wpcf7-form .wpcf7-acceptance label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0;
  font-size: 0.9rem;
  color: #4b5563;
  cursor: pointer;
}

.wpcf7-form .wpcf7-acceptance input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
  flex-shrink: 0;
  cursor: pointer;
  accent-color: #7a5d8c;
}

/* エラーメッセージ */
.wpcf7-form .wpcf7-not-valid-tip {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: #ef4444;
  font-weight: 500;
}

.wpcf7-form .wpcf7-response-output {
  margin: 1.5rem 0 0;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  text-align: center;
  border: none;
}

/* 成功メッセージ */
.wpcf7-form .wpcf7-mail-sent-ok {
  background-color: #d1fae5;
  color: #065f46;
  border-left: 4px solid #10b981;
}

/* エラーメッセージ（全体） */
.wpcf7-form .wpcf7-validation-errors,
.wpcf7-form .wpcf7-acceptance-missing {
  background-color: #fee2e2;
  color: #991b1b;
  border-left: 4px solid #ef4444;
}

/* スパムエラー */
.wpcf7-form .wpcf7-spam-blocked {
  background-color: #fef3c7;
  color: #92400e;
  border-left: 4px solid #f59e0b;
}

/* エラー時の入力フィールド */
.wpcf7-form .wpcf7-not-valid {
  border-color: #ef4444;
  background-color: #fef2f2;
}

.wpcf7-form .wpcf7-not-valid:focus {
  border-color: #ef4444;
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.1);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .soralis-contact-wrapper {
    padding: 2rem 1.5rem !important;
  }

  .wpcf7-form label {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
  }

  .wpcf7-form input[type="text"],
  .wpcf7-form input[type="email"],
  .wpcf7-form input[type="tel"],
  .wpcf7-form input[type="url"],
  .wpcf7-form input[type="number"],
  .wpcf7-form input[type="date"],
  .wpcf7-form select,
  .wpcf7-form textarea {
    padding: 0.75rem 0.875rem;
    font-size: 16px; /* iOS のズーム防止 */
  }

  .wpcf7-form input[type="submit"] {
    min-width: 100%;
    padding: 1rem 2rem;
    font-size: 0.95rem;
  }

  .wpcf7-form .soralis-contact-form__privacy {
    font-size: 0.85rem;
  }

  .soralis-contact-wrapper > p:first-of-type {
    font-size: 0.9rem;
  }
}

/* ==========================================================================
   Footer SNS Icons
   ========================================================================== */

.soralis-footer__social {
  margin-top: clamp(1.5rem, 3vw, 2rem);
}

.soralis-footer-sns {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 1.5rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.soralis-footer-sns__item {
  margin: 0;
  padding: 0;
}

.soralis-footer-sns__item a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(2.5rem, 5vw, 3rem);
  height: clamp(2.5rem, 5vw, 3rem);
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    rgba(110, 207, 245, 0.1),
    rgba(255, 127, 191, 0.12)
  );
  color: var(--wp--preset--color--primary);
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  transition: all 0.3s ease;
  text-decoration: none;
  border: 1px solid rgba(110, 207, 245, 0.2);
}

.soralis-footer-sns__item a:hover,
.soralis-footer-sns__item a:focus {
  background: linear-gradient(
    135deg,
    rgba(110, 207, 245, 0.2),
    rgba(255, 127, 191, 0.25)
  );
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(110, 207, 245, 0.3);
  border-color: rgba(110, 207, 245, 0.4);
}

.soralis-footer-sns__item i {
  display: block;
}

@media (max-width: 768px) {
  .soralis-footer-sns {
    gap: 0.875rem;
  }

  .soralis-footer-sns__item a {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.1rem;
  }
}

/* ==========================================================================
   News List (Non-Card Style)
   ========================================================================== */

.soralis-news-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.soralis-news-list-item {
  display: flex !important;
  align-items: center !important;
  gap: 2rem !important;
  padding: 1.5rem 0 !important;
  border-bottom: 1px solid #e5e5e5 !important;
  transition: all 0.2s ease;
}

.soralis-news-list-item:hover {
  background-color: rgba(110, 207, 245, 0.02);
}

.soralis-news-list-item:first-child {
  border-top: 1px solid #e5e5e5;
}

.soralis-news-list-item__date {
  flex-shrink: 0 !important;
  min-width: 110px !important;
  font-size: 0.95rem !important;
  color: #666 !important;
  font-weight: 400 !important;
  letter-spacing: 0.02em;
  margin: 0 !important;
}

.soralis-news-list-item__title {
  flex: 1 !important;
  margin: 0 !important;
  font-size: 1rem !important;
  font-weight: 400 !important;
  line-height: 1.7 !important;
}

.soralis-news-list-item__title a {
  color: #333 !important;
  text-decoration: none !important;
  transition: color 0.2s ease;
  display: inline;
}

.soralis-news-list-item__title a:hover,
.soralis-news-list-item__title a:focus {
  color: var(--wp--preset--color--primary, #6ecff5) !important;
}

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

.soralis-pagination {
  margin-top: 4rem !important;
  padding-top: 2rem;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 1rem !important;
  flex-wrap: wrap !important;
}

.soralis-pagination .wp-block-query-pagination-previous,
.soralis-pagination .wp-block-query-pagination-next,
.soralis-pagination .wp-block-query-pagination-numbers {
  margin: 0 !important;
}

.soralis-pagination .wp-block-query-pagination-numbers {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.soralis-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3rem;
  height: 3rem;
  padding: 0.5rem;
  margin: 0;
  font-size: 1rem;
  font-weight: 500;
  color: #333;
  text-decoration: none;
  background-color: transparent;
  border: none;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.soralis-pagination .page-numbers:hover,
.soralis-pagination .page-numbers:focus {
  color: var(--wp--preset--color--primary, #6ecff5);
  background-color: rgba(110, 207, 245, 0.08);
}

.soralis-pagination .page-numbers.current {
  color: #fff !important;
  background: linear-gradient(135deg, #6ecff5 0%, #ff7fbf 100%) !important;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(110, 207, 245, 0.3);
}

.soralis-pagination .page-numbers.dots {
  background: transparent;
  pointer-events: none;
  color: #999;
}

.soralis-pagination .wp-block-query-pagination-previous a,
.soralis-pagination .wp-block-query-pagination-next a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  color: var(--wp--preset--color--primary, #6ecff5);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.soralis-pagination .wp-block-query-pagination-previous a:hover,
.soralis-pagination .wp-block-query-pagination-next a:hover {
  color: var(--wp--preset--color--accent, #ff7fbf);
}

.soralis-pagination .wp-block-query-pagination-next a::after {
  content: " →";
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .soralis-news-list-item {
    flex-direction: column !important;
    gap: 0.75rem !important;
    padding: 1.25rem 0 !important;
    align-items: center !important;
  }

  .soralis-news-list-item__date {
    min-width: auto !important;
    font-size: 0.85rem !important;
  }

  .soralis-news-list-item__title {
    font-size: 0.95rem !important;
  }

  .soralis-pagination {
    margin-top: 3rem !important;
    padding-top: 1.5rem;
    gap: 0.5rem !important;
  }

  .soralis-pagination .page-numbers {
    min-width: 2.5rem;
    height: 2.5rem;
    padding: 0.375rem;
    font-size: 0.9rem;
  }

  .soralis-pagination .wp-block-query-pagination-previous a,
  .soralis-pagination .wp-block-query-pagination-next a {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
  }
}
