/*
Theme Name: SONIQ_EDGE
Theme URI: https://example.com
Author: admin
Author URI: https://example.com
Description: ギター/ベース/DTMの新製品などの音楽制作情報サイト
Version: 1.1.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: tonewood-media
*/


/* ==========================================================================
   ROOT / RESET
   ========================================================================== */

:root {
  /* Colors */
  --white: #ffffff;
  --paper: #f7f7f5;
  --ink: #111116;
  --muted: #74747d;

  --pink: #D733F6;
  --orange: #ff6b35;
  --blue: #00b5ff;
  --lime: #d9ff55;
  --purple: #7b61ff;

  --cream: #f7f7f5;

  /* Fonts */
  --font-display: "Inter", "Noto Sans JP", sans-serif;
  --font-body: "Noto Sans JP", sans-serif;
  --font-mono: "Inter", "Noto Sans JP", sans-serif;
  --font-stamp: "Noto Sans JP", sans-serif;

  /* Layout */
  --wrap: 1240px;
  --gap: 24px;
  --radius: 10px;

  /* Borders */
  --line: 1px solid #dedee2;

  /* Shadows */
  --shadow-sm: 0 6px 20px rgba(17, 17, 22, 0.045);
  --shadow-md: 0 18px 40px rgba(17, 17, 22, 0.11);
  --shadow-lg: 0 18px 45px rgba(17, 17, 22, 0.10);
}


* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

h1,
h2,
h3,
h4 {
  margin: 0 0 0.5em;
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

button,
input,
textarea,
select {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--purple);
  outline-offset: 3px;
}


/* ==========================================================================
   CONTAINER
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 15px;
}


/* ==========================================================================
   EYEBROW
   ========================================================================== */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  background: var(--ink);
  border: 0;
  border-radius: 4px;
  padding: 5px 14px;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;

  box-shadow: none;
  transform: none;
}


/* ==========================================================================
   HEADER
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  color: var(--ink);
  background: var(--blue);
  border-bottom: var(--line);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

img.site-logo-img {
    max-width: 240px;
    box-shadow: 0px 0px 10px #f5f5f5;
}

.site-header .container {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  padding-bottom: 10px;
}

.site-branding {
  display: flex;
  flex-direction: column;
}

.site-title {
  margin: 0;
  font-size: 25px;
  line-height: 1.2;
  letter-spacing: -0.04em;
}

.site-title a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
}

.site-title .mark {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: var(--ink);
  border: 0;
  border-radius: 8px;
  font-size: 16px;
  transform: none;
}

.site-description {
  margin-top: 1px;
  font-family: var(--font-body);
  font-size: 10px;
margin-bottom:0px;
	font-weight: bold;
}


/* ==========================================================================
   NAVIGATION
   ========================================================================== */

.main-navigation ul {
  display: flex;
  gap: 4px;
}

.main-navigation a {
  display: inline-block;
  padding: 9px;
  border: 0;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 700;
  transition:
    color 0.15s ease,
    background 0.15s ease;
}

.main-navigation a:hover {
  color: var(--ink);
  background: #f1f1f3;
  transform: none;
}

.main-navigation .current-menu-item a {
  color: #ffffff;
  background: var(--ink);
}


/* Mobile menu button */

.menu-toggle {
  display: none;
  padding: 8px 16px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid #d8d8dd;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}


/* ==========================================================================
   HERO / MAIN VISUAL
   ========================================================================== */

.hero {
  min-height: 460px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 30px 0 10px;
  border-bottom: var(--line);
 background:
	radial-gradient(circle at 85% 15%, rgba(123, 97, 255, 0.22), transparent 30%),
	radial-gradient(circle at 95% 80%, rgba(25, 211, 230, 0.18), transparent 28%),
	#f7f7f9;
}

.hero-inner {
  position: relative;
  max-width: none;
}

.hero-kicker {
  display: inline-block;
  margin-bottom: 22px;
  padding: 0 0 0 12px;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-left: 3px solid var(--pink);
  border-radius: 0;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.5;
  text-transform: uppercase;
  transform: none;
}

.hero h1 {
  max-width: 900px;
  color: var(--ink);
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.08;
  letter-spacing: -0.055em;
}

.hero h1 em {
  display: inline;
  color: var(--pink);
  font-style: normal;
  text-shadow: none;
  transform: none;
}

.hero p {
  max-width: 600px;
  margin-top: 24px;
  color: #66666f;
  font-size: 16px;
}


/* ==========================================================================
   MAIN VIEW
   ========================================================================== */

.container.mainview {
  width: 95%;
  max-width: none;
}


/* ==========================================================================
   SECTIONS
   ========================================================================== */

.section {
  padding: 10px 0 40px;
  border-bottom: var(--line);
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.section-head h2 {
  position: relative;
  display: flex;
  align-items: center;
  margin: 0;
  padding-right: 10px;
  font-size: 30px;
  letter-spacing: -0.045em;
  text-shadow: 1px 1px var(--blue);
}

.section-head h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 12px;
  z-index: -1;
  width: 100%;
  height: 11px;
  background: var(--pink);
  opacity: 0.4;
  transform: translateX(-50%);
}

.section-more {
  display: inline-block;
  padding: 8px 15px;
  color: #33333a;
  background: #ffffff;
  border: 1px solid #d8d8dd;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  transition:
    color 0.15s ease,
    background 0.15s ease,
    border-color 0.15s ease;
}

.section-more:hover {
  color: #ffffff;
  background: var(--ink);
  border-color: var(--ink);
  transform: none;
}


/* ==========================================================================
   GRID
   ========================================================================== */

.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.grid.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}


/* ==========================================================================
   CARD
   ========================================================================== */

.card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #dedee2;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  transform: none;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.grid .card:nth-child(3n + 1),
.grid .card:nth-child(3n + 2),
.grid .card:nth-child(3n + 3) {
  transform: none;
}

.card:hover {
  border-color: #c7c7ce;
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
}


/* Card media */

.card-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #f0f0f2;
  border-bottom: var(--line);
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.card:hover .card-media img {
  transform: scale(1.035);
}

.card-media .no-thumb {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9999a1;
  background: #f0f0f2;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
}


/* Card badge */

.hangtag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 5px 9px;
  color: #ffffff;
  background: var(--ink);
  border: 0;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.4;
  box-shadow: none;
  transform: none;
}

.hangtag.review {
  color: #ffffff;
  background: var(--pink);
  transform: none;
}


/* Card body */

.card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 15px 10px;
}

.card-cat {
  display: inline-flex;
  width: fit-content;
  padding: 0;
  color: #777780;
  background: none;
  border: 0;
  border-radius: 0;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.5;
  text-transform: uppercase;
}

.card-title {
  margin: 0;
  font-size: 16px;
  line-height: 1.4;
}

.card-title a:hover {
  color: var(--pink);
}

.card-excerpt {
  flex: 1;
  color: #777780;
  font-size: 13px;
  line-height: 1.75;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 12px;
  color: #6b6b6b;
  border-top: 1px solid #e5e5e8;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
}

.price {
    color: var(--blue);
    font-size: 15px;
    font-weight: 800;
    text-decoration: underline;
}


/* ==========================================================================
   RATING
   ========================================================================== */

.rating {
  display: flex;
  align-items: center;
  gap: 8px;
}

.rating .stars {
  color: var(--orange);
  font-size: 14px;
  letter-spacing: 2px;
}

.rating .score {
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
}


/* ==========================================================================
   COLUMN LIST
   ========================================================================== */

.column-list {
  display: flex;
  flex-direction: column;
}

.column-row {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  align-items: center;
  gap: 28px;
  margin: 0;
  padding: 22px 8px;
  background: transparent;
  border: 0;
  border-top: 1px solid #dedee2;
  border-radius: 0;
  box-shadow: none;
  transition:
    padding-left 0.2s ease,
    background 0.2s ease;
}

.column-row:last-child {
  border-bottom: 1px solid #dedee2;
}

.column-row:hover {
  padding-left: 16px;
  background: #fafafa;
  transform: none;
  box-shadow: none;
}

.column-row:nth-child(3n + 1),
.column-row:nth-child(3n + 2),
.column-row:nth-child(3n + 3) {
  --tagcolor: #f0f0f2;
}

.column-row .tag {
  padding: 5px 8px;
  color: #66666f;
  background: var(--tagcolor);
  border: 0;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-align: center;
}

.column-row h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 750;
}

.column-row h3 a:hover {
  color: var(--pink);
}

.column-row time {
  color: #9999a1;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}


/* ==========================================================================
   SINGLE POST HEADER
   ========================================================================== */

.single-header {
  padding: 22px 0 20px;
  background: #fafafa;
  border-bottom: var(--line);
}

.single-header .eyebrow {
  color: #ffffff;
  background: var(--ink);
  border: 0;
  border-radius: 4px;
  box-shadow: none;
  transform: none;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.single-header h1 {
  margin-top: 1rem;
  margin-bottom: 1rem;
  font-size: clamp(32px, 3vw, 48px);
  line-height: 1.15;
}

.single-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
  color: #888892;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
}


/* ==========================================================================
   CONTENT LAYOUT
   ========================================================================== */

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 800px) 240px;
  gap: 40px;
  padding: 40px 0;
}

.entry-content {
  max-width: 760px;
  margin: 0 auto;
  padding-top: 0;
  font-size: 16px;
}

.entry-content p {
  margin: 0 0 1.4em;
}

.entry-content h2 {
  margin-top: 1.5em;
  padding-left: 16px;
  border-left: 3px solid var(--pink);
  font-size: 22px;
}

.entry-content h3 {
  margin-top: 1.6em;
  font-size: 20px;
}

.entry-content img {
  margin: 1em auto;
  border: 0;
  border-radius: 8px;
}

.entry-content blockquote {
  margin: 2em 0;
  padding: 1em 1.4em;
  color: #66666f;
  background: #f7f7f8;
  border-left: 3px solid var(--pink);
  font-weight: 600;
}

.entry-content a {
  color: #ffffff;
  background: var(--pink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}


/* ==========================================================================
   TAG LIST
   ========================================================================== */

.tag-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.tag-list a {
  padding: 6px 12px;

  color: var(--ink);
  background: #ffffff;
  border: 1px solid #dedee2;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  transition:
    color 0.15s ease,
    background 0.15s ease;
}

.tag-list a:hover {
  background: var(--lime);
}


/* ==========================================================================
   SPEC TABLE
   ========================================================================== */

.spec-table {
  width: 100%;
  margin: 20px 0;
  border: 1px solid #dedee2;
  border-radius: 8px;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 13px;
}

.spec-table th,
.spec-table td {
  padding: 10px;
  text-align: left;
  border-bottom: 1px solid #e5e5e8;
}

.spec-table tr:last-child th,
.spec-table tr:last-child td {
  border-bottom: none;
}

.spec-table th {
  width: 180px;
  color: #777780;
  background: #f5f5f6;
  font-weight: 600;
}

.spec-table td {
  color: var(--ink);
  background: #ffffff;
  font-weight: 600;
}

.spec-table .price {
  font-size: 15px;
}


/* ==========================================================================
   AFFILIATE CTA
   ========================================================================== */

.affiliate-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0 ;
  padding: 14px 26px;
  color: #ffffff;
  background: var(--ink);
  border: 0;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 800;
  transition:
    background 0.15s ease,
    transform 0.15s ease;
}

.affiliate-cta:hover {
  color: #ffffff;
  background: var(--pink);
  transform: translateY(-2px);
}

.affiliate-note {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
}


/* ==========================================================================
   RATING BLOCK
   ========================================================================== */

.rating-block {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 26px 0;
  padding: 20px 24px;
  background: #fafafa;
  border: 1px solid #dedee2;
  border-radius: 8px;
  box-shadow: none;
}

.rating-block .score-big {
  color: var(--pink);
  font-family: var(--font-mono);
  font-size: 38px;
  font-weight: 800;
}

.rating-block .stars {
  color: var(--orange);
  font-size: 22px;
}


/* ==========================================================================
   PROS / CONS
   ========================================================================== */

.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 26px 0;
}

.pros-cons .box {
  padding: 18px 20px;
  border: 1px solid #dedee2;
  border-radius: 8px;
  box-shadow: none;
}

.pros-cons .box.pros {
  background: #f5f8ed;
}

.pros-cons .box.cons {
  background: #faf1ed;
}

.pros-cons h4 {
  margin-bottom: 10px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 800;
}


/* ==========================================================================
   SIDEBAR / WIDGET
   ========================================================================== */

.widget {
  margin-bottom: 20px;
}

.widget-title {
  display: inline-block;
  margin-bottom: 12px;
  padding: 0 0 0 10px;
  color: #33333a;
  background: none;
  border: 0;
  border-left: 3px solid var(--pink);
  border-radius: 0;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: none;
}

.widget ul li {
  margin: 10px 15px;
  padding: 0 1px;
  color: var(--ink);
  border-bottom: 1px solid #e5e5e8;
  font-size: 13px;
}

.widget ul li a {
  display: block;
  width: 100%;
  padding-bottom: 5px;
  font-weight: 600;
}

.widget ul li a:hover {
  color: var(--pink);
}


/* ==========================================================================
   SEARCH
   ========================================================================== */
.search-form {
  display: flex;
  gap: 8px;
}

.search-form input[type="search"] {
  flex: 1;
  padding: 11px 15px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid #d8d8dd;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
}

.search-form input[type="search"]::placeholder {
  color: var(--muted);
}

.search-form button {
  padding: 0 20px;
  color: #ffffff;
  background: var(--ink);
  border: 0;
  border-radius: 6px;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.15s ease;
}

.search-form button:hover {
  background: var(--pink);
}


/* ==========================================================================
   PAGE TITLE / ARCHIVE
   ========================================================================== */
.page-title {
  padding: 40px 0 0;
  font-size: 32px;
}

.archive-intro {
  max-width: 60ch;
  padding: 12px 0 0;
  color: var(--muted);
  font-weight: 500;
}


/* ==========================================================================
   PAGINATION
   ========================================================================== */
.pagination {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  padding: 40px 0 0;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
	justify-content: center;
}

.pagination a,
.pagination span {
  padding: 7px 13px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid #dedee2;
  border-radius: 5px;
}

.pagination a:hover,
.pagination .current {
  color: #ffffff;
  background: var(--ink);
  border-color: var(--ink);
}


/* ==========================================================================
   404
   ========================================================================== */

.not-found {
  padding: 100px 0;
  text-align: center;
}

.not-found h1 {
  display: inline-block;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 110px;
  text-shadow: none;
  transform: none;
}


/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  padding: 25px 10px 5px;
  color: #ffffff;
  background: #111116;
  border-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 15px;
}

.site-footer .site-title {
  color: #ffffff;
}

.footer-about p {
  max-width: 46ch;
  color: #c9c9c9;
  font-size: 11px;
  font-weight: bold;
}

.footer-col h5 {
  margin-bottom: 10px;
	margin-top: 10px;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-col ul li {
  padding: 3px 0;
  color: #c9c9c9;
  font-size: 15px;
}

.footer-col ul li a:hover {
  color: #ffffff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
  padding-top: 20px;
  color: #c9c9c9;
  border-top: 1px solid #2b2b31;
  font-family: var(--font-mono);
  font-size: 12px;
}


/* ==========================================================================
   NEW POST SLIDER
   ========================================================================== */
h2.new-title-text {
  margin-bottom: 0;
  font-size: 1.6rem;
  text-shadow: 1px 1px var(--blue);
}

.post-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 20px 0 30px;
}

.post-slider__track {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  will-change: transform;
  transition: transform 0.6s ease;
}

.post-slider__item {
  flex: 0 0 calc((100% - 40px) / 3);
  min-width: 0;
	overflow: hidden;
}


.post-slider__item a {
  display: block;
  color: inherit;
  text-decoration: none;
}

.post-slider__item img {
  display: block;
  width: 100%;
  height: 310px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 0 10px #dddddd;
  transition: transform 0.4s ease;
}

.post-slider__item:hover img {
  transform: scale(1.05);
}

.post-slider__item time {
  display: block;
  margin-top: 10px;
  color: #888;
  font-size: 13px;
}

.post-slider__item h3 {
  margin-top: 5px;
  font-size: 18px;
  line-height: 1.5;
	height: 50px;
}


/* Slider arrows */
.post-slider__prev,
.post-slider__next {
  position: absolute;
  top: 58.5%;
  z-index: 10;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid #000000;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  transition:
    background 0.15s ease,
    color 0.15s ease;
}

.post-slider__prev:hover,
.post-slider__next:hover {
  color: #ffffff;
  background: var(--ink);
	border:1px solid;
}

.post-slider__prev {
  left: 5px;
}

.post-slider__next {
  right: 5px;
}


/* Slider dots */

.post-slider__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.post-slider__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  background: #cccccc;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition:
    width 0.3s ease,
    background 0.3s ease;
}

.post-slider__dot.is-active {
  width: 24px;
  background: #000000;
  border-radius: 10px;
}


/* ==========================================================================
   CONTACT FORM 7
   ========================================================================== */
.contact-form-box {
  max-width: 760px;
  margin: 0 auto;
  padding: 45px 50px 15px;
  background: #ffffff;
  border: 1px solid #eeeeee;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
}

h1.page-title.text-c {
  text-align: center;
}


/* Form paragraphs */
.contact-form-box p {
  margin: 0 0 24px;
}

.contact-form-box p:last-child {
  margin-bottom: 0;
}


/* Labels */
.contact-form-box label {
  display: block;
  color: #333333;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.03em;
}


/* Inputs */
.contact-form-box input[type="text"],
.contact-form-box input[type="email"],
.contact-form-box textarea {
  display: block;
  width: 100%;
  margin-top: 9px;
  padding: 10px 17px;
  color: #333333;
  background: #fafafa;
  border: 1px solid #e3e3e3;
  border-radius: 10px;
  outline: none;
  font-family: inherit;
  font-size: 17px;
  line-height: 1.7;
  transition:
    border-color 0.25s ease,
    background-color 0.25s ease,
    box-shadow 0.25s ease;
}


/* Textarea */
.contact-form-box textarea {
  min-height: 220px;
  resize: vertical;
}


/* Focus */
.contact-form-box input[type="text"]:focus,
.contact-form-box input[type="email"]:focus,
.contact-form-box textarea:focus {
  background: #ffffff;
  border-color: #111111;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06);
}


/* Placeholder */
.contact-form-box input::placeholder,
.contact-form-box textarea::placeholder {
  color: #aaaaaa;
}


/* Submit */
.contact-form-box input[type="submit"] {
  display: block;
  width: 220px;
  height: 54px;
  margin: 10px auto 0;
  color: #ffffff;
  background: #111111;
  border: none;
  border-radius: 999px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

.contact-form-box input[type="submit"]:hover {
  background: #333333;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.contact-form-box input[type="submit"]:active {
  transform: translateY(0);
  box-shadow: none;
}


/* CF7 spinner */
.contact-form-box .wpcf7-spinner {
  margin: 0 0 0 10px;
}


/* CF7 errors */
.contact-form-box .wpcf7-not-valid {
  background: #fffafa;
  border-color: #ee5555;
}

.contact-form-box .wpcf7-not-valid-tip {
  margin-top: 6px;
  color: #dd3333;
  font-size: 12px;
}


/* CF7 response */
.contact-form-box .wpcf7-response-output {
  margin: 25px 0 0;
  padding: 15px 18px;
  border-radius: 10px;
  font-size: 14px;
}


/* ==========================================================================
   TABLET
   ========================================================================== */

@media (max-width: 1024px) {
  .post-slider__item {
    flex: 0 0 calc((100% - 20px) / 2);
  }

}


/* ==========================================================================
   960px
   ========================================================================== */

@media (max-width: 960px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .content-layout {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

}


/* ==========================================================================
   MOBILE
   ========================================================================== */

@media (max-width: 767px) {
  .container {
    padding: 0 5px;
  }
	
	.page-title {
    padding: 25px 0 0;
    font-size: 20px;
}
	
	.entry-content h2 {
    margin-top: 1em;
    font-size: 18px;
}

  /* Header */
  .site-header .container {
    min-height: 66px;
  }

  .main-navigation {
    display: none;

    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 16px 20px;
    background: #ffffff;
    border-bottom: 1px solid #dedee2;
  }

  .main-navigation.is-open {
    display: block;
  }

	nav#primary-menu ul li:hover {
    background-color: #f5f5f5;
		color:#000;
}
	
		nav#primary-menu ul li {
    color:#fff;
}
	
	nav#primary-menu {
    background-color: #000;
}
	
  .main-navigation ul {
    flex-direction: column;
    gap: 10px;
  }

  .main-navigation a {
    display: block;
    padding: 10px 12px;
    border-radius: 5px;
  }

  .menu-toggle {
    display: block;
  }


  /* Hero */

  .hero {
    min-height: 420px;
    padding: 50px 0 45px;
  }

  .hero h1 {
    font-size: 42px;
  }


  /* Sections */
  .section {
    padding: 20px 10px!important;
  }


  /* Grid */
  .grid,
  .grid.cols-3 {
    grid-template-columns: 1fr;
  }

  .grid .card {
    transform: none;
  }

	.card {
    max-height: 380px;
}

  /* Column */
  .column-row {
    grid-template-columns: 90px 1fr;

    gap: 12px 18px;
  }

  .column-row time {
    grid-column: 2;
  }


  /* Single */
  .single-header {
    padding: 15px 0 10px;
  }

  .single-header h1 {
    font-size: 28px;
  }

  .content-layout {
    padding: 20px 10px;
  }


  /* Pros / Cons */
  .pros-cons {
    grid-template-columns: 1fr;
  }


  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
  }


  /* Slider */

  .post-slider {
    padding: 10px 0 20px;
  }

  .post-slider__track {
    gap: 12px;
  }

  .post-slider__item {
    flex: 0 0 85%;
  }

  .post-slider__item h3 {
    font-size: 16px;
  }

  .post-slider__prev,
  .post-slider__next {
    width: 36px;
    height: 36px;
  }

  .post-slider__prev {
    left: 5px;
  }

  .post-slider__next {
    right: 5px;
  }


  /* Contact */
  .contact-form-box {
    padding: 30px 20px;
    border-radius: 15px;
  }

  .contact-form-box p {
    margin-bottom: 20px;
  }

  .contact-form-box input[type="text"],
  .contact-form-box input[type="email"],
  .contact-form-box textarea {
    padding: 13px 14px;

    font-size: 16px;
  }

  .contact-form-box textarea {
    min-height: 180px;
  }

  .contact-form-box input[type="submit"] {
    width: 100%;
    height: 52px;
  }

}


/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    scroll-behavior: auto !important;
  }

}

/* ==========================================================================
   CATEGORY SORT
   ========================================================================== */

.Category-sort {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;

	padding: 24px 0 10px;
}

.Category-sort__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;

	padding: 8px 16px;

	color: #55555d;
	background: #ffffff;

	border: 1px solid #dedee2;
	border-radius: 999px;

	font-size: 13px;
	font-weight: 700;
	line-height: 1.4;

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

.Category-sort__button:hover {
	color: #ffffff;
	background: var(--ink);
	border-color: var(--ink);

	transform: translateY(-1px);
}

.Category-sort__button.is-active {
	color: #ffffff;
	background: var(--pink);
	border-color: var(--pink);
}


/* ==========================================================================
   HAMBURGER MENU
   ========================================================================== */

.menu-toggle {
	display: none;

	width: 44px;
	height: 44px;

	padding: 0;

	position: relative;

	background: transparent;
	border: 0;

	cursor: pointer;
}

.menu-toggle span {
	display: block;

	width: 26px;
	height: 2px;

	margin: 5px auto;

	background: var(--ink);

	border-radius: 2px;

	transition:
		transform 0.25s ease,
		opacity 0.2s ease;
}


/* メニュー表示時：三本線 → × */

.menu-toggle.is-open span:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
	opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}


/* スマホのみ表示 */

@media (max-width: 767px) {

	.menu-toggle {
		display: block;
	}

}

/* サイドバー検索 */
.sidebar-search .search-form-side {
	display: flex;
	gap: 5px;
	align-items: center;
}

.sidebar-search .search-field {
	flex: 1;
	min-width: 0;
	padding: 5px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 15px;
	box-sizing: border-box;
}

.sidebar-search .search-submit {
	width: 42px;
	height: 42px;
	padding: 0;
	border: 0;
	border-radius: 4px;
	background: #333;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

.sidebar-search .search-submit:hover {
	opacity: 0.8;
}

.sidebar-search .search-icon {
	font-size: 26px;
	line-height: 1;
}

.search-form-side input[type="search"] {
    flex: 1;
    padding: 7px 10px;
    color: var(--ink);
    background: #ffffff;
    border: 1px solid #d8d8dd;
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
}

/* =========================
   ページトップへ戻るボタン
========================= */

.back-to-top {
    position: fixed;
    right: 10px;
    bottom: 80px;
    z-index: 9999;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 0px 20px rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease, background 0.2s ease;
}

.back-to-top svg {
	width: 20px;
	height: 20px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.back-to-top.is-visible {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.back-to-top:hover {
	background: #222;
	color: #fff;
}

@media (max-width: 768px) {
	.back-to-top {
		right: 16px;
		bottom: 16px;
		width: 42px;
		height: 42px;
	}
}