/*
 Theme Name:   Sydney Child - rino products
 Theme URI:    https://rinoproducts.official.jp
 Description:  Sydney テーマの子テーマ（rino products カスタム用）
 Author:       rino products
 Author URI:   https://rinoproducts.official.jp
 Template:     sydney
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  sydney-child
*/

/* ==========================================================================
   rino products - カスタムCSS
   ここにCSSを追記するとSydneyテーマのスタイルを上書きできます
   ========================================================================== */

/* --- 例: カラー変数（必要に応じて変更） --- */
/*
:root {
    --cue-primary: #2d3436;
    --cue-accent: #00b894;
    --cue-bg: #ffffff;
    --cue-text: #2d3436;
}
*/

/* --- ここからカスタムCSSを記述 --- */

/* rino products front page */
.rino-front-page {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 28px 16px 56px;
}

.front-hero-image {
    width: 100vw;
    margin: -28px 0 48px calc(50% - 50vw);
    text-align: center;
    background: #f1f5f9;
}

.front-hero-image img {
    display: block;
    width: 100%;
    height: auto;
}

.front-hero-placeholder {
    margin-bottom: 48px;
    padding: 56px 20px;
    text-align: center;
    border: 2px dashed #cbd5e1;
    border-radius: 8px;
    background: #f8fafc;
    color: #64748b;
    font-weight: 700;
}

.front-intro {
    max-width: 760px;
    margin: 0 auto 42px;
    font-size: 1.05rem;
    line-height: 1.75;
    text-align: center;
}

.front-intro h1,
.front-intro h2,
.front-section h2 {
    text-align: center;
}

.front-intro h1 {
    margin-bottom: 12px;
    font-size: 2.1rem;
}

.front-intro .lead-copy {
    font-size: 1.35rem;
    font-weight: 700;
    text-align: center;
}

.front-section {
    margin-bottom: 54px;
}

.front-section h2 {
    margin-bottom: 32px;
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.front-section h2::after {
    display: block;
    width: 56px;
    height: 2px;
    margin: 12px auto 0;
    background: #1e293b;
    content: "";
}

.front-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.front-card {
    display: flex;
    min-height: 200px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 30px 22px;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #ffffff;
    color: #1e293b;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.front-card:hover {
    color: #0f172a;
    transform: translateY(-4px);
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.1);
}

.front-card-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 92px;
    height: 92px;
    border-radius: 24px;
    background: #f8fafc;
    color: #0f172a;
    font-size: 1.45rem;
    font-weight: 800;
    line-height: 1;
}

.front-card-label {
    color: #64748b;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.front-card strong {
    font-size: 1.35rem;
}

.front-card span:last-child {
    color: #64748b;
    line-height: 1.65;
}

.front-work-section {
    margin-bottom: 68px;
}

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

.front-section-header h2 {
    margin: 2px 0 8px;
    text-align: left;
}

.front-work-section .front-section-header h2::after {
    display: none;
}

.front-section-header p {
    max-width: 520px;
    margin: 0;
    color: #64748b;
    line-height: 1.7;
}

.front-section-kicker {
    margin-bottom: 0;
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.front-view-link {
    flex: 0 0 auto;
    padding: 10px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    color: #1e293b;
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
}

.front-view-link:hover {
    background: #f1f5f9;
    color: #0f172a;
}

.front-work-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
    gap: 22px;
}

.front-work-card {
    display: block;
    align-self: start;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #ffffff;
    color: #1e293b;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.front-work-card:hover {
    color: #0f172a;
    transform: translateY(-4px);
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.12);
}

.front-work-thumb {
    display: block;
    overflow: hidden;
    background: #f1f5f9;
}

.front-work-thumb img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.2s ease;
}

.front-work-card:hover .front-work-thumb img {
    transform: scale(1.035);
}

.front-work-placeholder {
    display: flex;
    width: 100%;
    min-height: 220px;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-weight: 800;
}

.front-work-body {
    display: grid;
    gap: 8px;
    padding: 16px 18px 20px;
}

.front-work-date {
    color: #64748b;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.front-work-meta {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.front-work-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px;
}

.front-work-status {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1;
}

.front-work-status-current {
    background: #dcfce7;
    color: #166534;
}

.front-work-status-coming-soon {
    background: #dbeafe;
    color: #1e40af;
}

.front-work-status-discontinued {
    background: #e2e8f0;
    color: #475569;
}

.front-work-display-tag {
    background: #e0f2fe;
    color: #075985;
}

.front-work-display-tag-award-winning {
    background: #fef3c7;
    color: #92400e;
}

.rino-single-collection-nav {
    display: flex;
    justify-content: center;
    margin: 44px 0 8px;
    padding-top: 32px;
    border-top: 1px solid #e2e8f0;
}

.rino-single-back-link {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 11px 20px;
    border: 1px solid #1e293b;
    border-radius: 6px;
    background: #1e293b;
    color: #ffffff;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none;
}

.rino-single-back-link:hover {
    background: #ffffff;
    color: #1e293b;
}

.rino-prototype-sidebar {
    padding-left: 28px;
}

.rino-prototype-sidebar-inner {
    position: sticky;
    top: 120px;
}

.rino-single-back-link-sidebar {
    width: 100%;
    margin-bottom: 30px;
}

.rino-prototype-sidebar h2 {
    margin: 0 0 16px;
    font-size: 1.05rem;
}

.rino-prototype-sidebar-list {
    display: grid;
    gap: 14px;
}

.rino-prototype-sidebar-item {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    color: #1e293b;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none;
}

.rino-prototype-sidebar-item img {
    display: block;
    width: 72px;
    height: 54px;
    object-fit: cover;
}

.rino-prototype-sidebar-item:hover {
    color: #64748b;
}

.front-work-card strong {
    font-size: 1.05rem;
    line-height: 1.45;
}

.front-work-empty {
    margin: 0;
    padding: 24px;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    color: #64748b;
    text-align: center;
}

.front-social-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.front-social-card {
    display: flex;
    width: 220px;
    min-height: 176px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 34px 20px;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: #ffffff;
    color: #1e293b;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.front-social-card:hover {
    color: #0f172a;
    transform: translateY(-4px);
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.12);
}

.front-social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 74px;
    height: 74px;
    margin-bottom: 18px;
    font-size: 3rem;
    line-height: 1;
}

.front-social-icon-image img {
    display: block;
    width: auto;
    max-width: 74px;
    max-height: 74px;
}

.front-social-icon-protopedia img {
    max-width: 92px;
}

.front-social-card strong {
    font-size: 1.14rem;
    line-height: 1.2;
}

.front-link-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.front-link-grid a {
    min-width: 150px;
    padding: 12px 18px;
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    color: #1e293b;
    text-align: center;
    text-decoration: none;
    font-weight: 700;
}

.front-link-grid a:hover {
    background: #f1f5f9;
    color: #0f172a;
}

.rino-content {
    max-width: 920px;
    margin: 0 auto;
    color: #1e293b;
}

.rino-hero-copy {
    margin-bottom: 56px;
    text-align: center;
}

.rino-brand-statement {
    margin: 0 0 32px;
    text-align: center;
}

.page-id-1045 .entry-header,
.page-id-1046 .entry-header,
.page-id-1047 .entry-header,
.page-id-1048 .entry-header {
    display: none;
}

.rino-about-hero {
    max-width: 820px;
    margin: 0 auto 72px;
    text-align: center;
}

.rino-about-hero .rino-brand-statement {
    font-size: clamp(2rem, 4.2vw, 3.3rem);
    line-height: 1.35;
}

.rino-about-intro {
    margin-top: 36px;
    text-align: left;
}

.rino-about-intro p,
.rino-about-profile-copy p {
    font-size: 1.05rem;
    line-height: 2;
}

.rino-about-voice {
    margin: 40px 0;
    text-align: center;
    font-size: clamp(1.2rem, 2.4vw, 1.55rem);
    font-weight: 700;
    line-height: 1.9;
}

.rino-about-section {
    margin-bottom: 72px;
    padding-top: 48px;
    border-top: 1px solid #e2e8f0;
}

.rino-about-section-header {
    margin-bottom: 28px;
    text-align: center;
}

.rino-about-section-header h2 {
    margin: 0;
}

.rino-about-brand-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.rino-about-brand {
    padding: 26px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
}

.rino-about-brand:nth-child(1) {
    border-top: 3px solid #0891b2;
}

.rino-about-brand:nth-child(2) {
    border-top: 3px solid #0f766e;
}

.rino-about-brand:nth-child(3) {
    border-top: 3px solid #ca8a04;
}

.rino-about-brand h3 {
    margin: 0 0 12px;
    font-size: 1.35rem;
}

.rino-about-brand h3 a {
    color: #0f172a;
    text-decoration: none;
}

.rino-about-brand h3 a:hover {
    text-decoration: underline;
}

.rino-about-brand p {
    margin: 0;
    line-height: 1.8;
}

.rino-about-profile {
    display: grid;
    grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.7fr);
    column-gap: 32px;
    row-gap: 22px;
    align-items: start;
}

.rino-about-profile-image {
    grid-row: 1 / span 2;
    margin: 0;
    overflow: hidden;
    border-radius: 8px;
    background: #f8fafc;
}

.rino-about-profile-photo {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: 62% center;
}

.rino-about-profile-title h2 {
    margin: 0 0 10px;
}

.rino-about-role {
    color: #64748b;
    line-height: 1.7;
}

.rino-about-profile-copy p:first-child {
    margin-top: 0;
}

.rino-about-closing {
    margin-top: 30px;
    font-size: 1.12rem;
    font-weight: 700;
}

.rino-home-content .rino-hero-copy {
    margin-bottom: 0;
}

.rino-home-content .rino-lead {
    max-width: 680px;
    margin-right: auto;
    margin-left: auto;
}

.rino-contact-page {
    width: min(1100px, calc(100% - 32px));
    margin: 0 auto;
    padding: 64px 0 80px;
    color: #1e293b;
}

.rino-contact-hero {
    max-width: 860px;
    margin: 0 auto 72px;
    text-align: center;
}

.rino-contact-hero h1 {
    margin: 0 0 24px;
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 1.25;
}

.rino-contact-lead {
    margin: 0;
    font-size: 1.12rem;
    line-height: 2;
}

.rino-contact-section {
    margin-bottom: 72px;
    padding-top: 48px;
    border-top: 1px solid #e2e8f0;
}

.rino-contact-section-header {
    max-width: 760px;
    margin: 0 auto 30px;
    text-align: center;
}

.rino-contact-section-header h2,
.rino-contact-preparation h2 {
    margin: 0 0 12px;
}

.rino-contact-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.rino-contact-purpose-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 36px;
}

.rino-contact-purpose {
    padding: clamp(24px, 4vw, 36px);
    border: 1px solid #dbe4ea;
    border-radius: 8px;
    background: #fff;
}

.rino-contact-purpose:first-child {
    border-top: 3px solid #0891b2;
}

.rino-contact-purpose:last-child {
    border-top: 3px solid #0f766e;
}

.rino-contact-purpose h2 {
    margin: 0 0 14px;
}

.rino-contact-purpose p {
    margin: 0;
    line-height: 1.85;
}

.rino-contact-purpose ul {
    width: fit-content;
    margin: 18px auto 0;
    padding-left: 1.25rem;
    text-align: left;
}

.rino-contact-purpose li {
    margin-bottom: 8px;
    line-height: 1.7;
}

.rino-contact-support-link {
    margin-top: 20px !important;
}

.rino-contact-support-link a {
    color: #0f766e;
    font-weight: 700;
}

.rino-contact-card {
    padding: 28px;
    border: 1px solid #e2e8f0;
    border-top: 3px solid #0f766e;
    border-radius: 8px;
    background: #fff;
}

.rino-contact-card:nth-child(1) {
    border-top-color: #0891b2;
}

.rino-contact-card:nth-child(3) {
    border-top-color: #ca8a04;
}

.rino-contact-card h3 {
    margin: 0 0 12px;
}

.rino-contact-card p {
    margin: 0;
    line-height: 1.85;
}

.rino-contact-preparation {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    gap: 56px;
    align-items: start;
}

.rino-contact-preparation ul {
    margin: 0;
    padding-left: 1.25rem;
}

.rino-contact-preparation li {
    margin-bottom: 12px;
    line-height: 1.75;
}

.rino-contact-form-section {
    max-width: 900px;
    margin-right: auto;
    margin-left: auto;
}

.rino-contact-form {
    padding: clamp(24px, 5vw, 48px);
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #f8fafc;
}

.rino-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.rino-form-field {
    display: grid;
    gap: 8px;
}

.rino-form-field label {
    color: #334155;
    font-weight: 700;
}

.rino-form-field label span {
    margin-left: 5px;
    color: #be123c;
    font-size: .75rem;
}

.rino-form-field label small {
    margin-left: 5px;
    color: #64748b;
    font-size: .75rem;
    font-weight: 500;
}

.rino-form-field input,
.rino-form-field select,
.rino-form-field textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    background: #fff;
    color: #0f172a;
    font: inherit;
    box-sizing: border-box;
}

.rino-form-field input:focus,
.rino-form-field select:focus,
.rino-form-field textarea:focus {
    border-color: #0f766e;
    outline: 2px solid rgba(15, 118, 110, .18);
}

.rino-form-message {
    margin-top: 24px;
}

.rino-contact-submit,
.rino-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 26px;
    border: 0;
    border-radius: 4px;
    background: #1e293b;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.rino-contact-submit {
    margin-top: 28px;
}

.rino-contact-submit:hover,
.rino-cta-button:hover {
    background: #0f172a;
    color: #fff;
}

.rino-form-alert {
    margin-bottom: 24px;
    padding: 16px 18px;
    border: 1px solid;
    border-radius: 6px;
}

.rino-form-alert.is-success {
    border-color: #86efac;
    background: #f0fdf4;
    color: #166534;
}

.rino-form-alert.is-error {
    border-color: #fda4af;
    background: #fff1f2;
    color: #9f1239;
}

.rino-form-honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.rino-inquiry-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: clamp(28px, 5vw, 48px);
    border: 1px solid #dbe4ea;
    border-radius: 8px;
    background: #f8fafc;
}

.rino-inquiry-cta h2 {
    margin: 0 0 10px;
}

.rino-inquiry-cta p:not(.rino-kicker) {
    max-width: 680px;
    margin: 0;
    line-height: 1.8;
}

.rino-support-page {
    width: min(1040px, calc(100% - 32px));
    margin: 0 auto;
    padding: 64px 0 80px;
    color: #1e293b;
}

.rino-support-content {
    width: 100%;
}

.rino-support-hero {
    max-width: 860px;
    margin: 0 auto 64px;
    text-align: center;
}

.rino-support-hero h1 {
    margin: 0 0 22px;
    font-size: clamp(2.25rem, 5vw, 4rem);
    line-height: 1.2;
}

.rino-support-lead {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.95;
}

.rino-support-breadcrumb {
    margin-bottom: 36px;
    color: #64748b;
    font-size: .9rem;
}

.rino-support-breadcrumb a {
    color: #0f766e;
}

.rino-support-product-grid,
.rino-support-link-grid,
.rino-support-step-grid {
    display: grid;
    gap: 18px;
}

.rino-support-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rino-support-product-card {
    display: block;
    padding: clamp(26px, 5vw, 42px);
    border: 1px solid #dbe4ea;
    border-top: 3px solid #0891b2;
    border-radius: 8px;
    background: #fff;
    color: #1e293b;
    text-decoration: none;
}

.rino-support-product-card:hover {
    border-color: #0891b2;
    color: #0f172a;
}

.rino-support-product-card h2 {
    margin: 8px 0 12px;
}

.rino-support-product-card p {
    margin: 0;
    line-height: 1.8;
}

.rino-support-product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.rino-support-product-meta span {
    padding: 5px 9px;
    border-radius: 4px;
    background: #ecfeff;
    color: #155e75;
    font-size: .8rem;
    font-weight: 700;
}

.rino-support-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}

.rino-support-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 22px;
    border: 1px solid #1e293b;
    border-radius: 4px;
    background: #fff;
    color: #1e293b;
    font-weight: 700;
    text-decoration: none;
}

.rino-support-button.is-primary,
.rino-support-button:hover {
    background: #1e293b;
    color: #fff;
}

.rino-support-alert {
    margin-bottom: 64px;
    padding: 22px 24px;
    border: 1px solid #fca5a5;
    border-left: 4px solid #dc2626;
    border-radius: 6px;
    background: #fff7f7;
    line-height: 1.8;
}

.rino-support-alert strong {
    color: #991b1b;
}

.rino-support-section {
    margin-bottom: 64px;
    padding-top: 46px;
    border-top: 1px solid #e2e8f0;
}

.rino-support-section-header {
    margin-bottom: 26px;
}

.rino-support-section-header h2 {
    margin: 0 0 10px;
}

.rino-manual-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 28px;
    padding: clamp(24px, 5vw, 38px);
    border: 1px solid #dbe4ea;
    border-radius: 8px;
    background: #f8fafc;
}

.rino-manual-card h3 {
    margin: 0 0 10px;
}

.rino-manual-meta {
    margin: 0;
    color: #64748b;
    line-height: 1.7;
}

.rino-support-step-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    counter-reset: support-step;
}

.rino-support-step {
    position: relative;
    padding: 24px 24px 24px 68px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
    counter-increment: support-step;
}

.rino-support-step::before {
    position: absolute;
    top: 22px;
    left: 22px;
    content: counter(support-step, decimal-leading-zero);
    color: #0891b2;
    font-size: .9rem;
    font-weight: 800;
}

.rino-support-step h3 {
    margin: 0 0 8px;
    font-size: 1.1rem;
}

.rino-support-step p {
    margin: 0;
    line-height: 1.75;
}

.rino-support-video {
    width: min(760px, 100%);
    aspect-ratio: 16 / 9;
    margin: 30px auto 0;
    overflow: hidden;
    border-radius: 8px;
    background: #000;
}

.rino-support-video iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.rino-support-faq {
    display: grid;
    gap: 12px;
}

.rino-support-faq details {
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background: #fff;
}

.rino-support-faq summary {
    padding: 18px 20px;
    font-weight: 700;
    cursor: pointer;
}

.rino-support-faq details p {
    margin: 0;
    padding: 0 20px 20px;
    line-height: 1.8;
}

.rino-support-contact {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: clamp(26px, 5vw, 40px);
    border: 1px solid #dbe4ea;
    border-radius: 8px;
    background: #f8fafc;
}

.rino-support-contact h2 {
    margin: 0 0 10px;
}

.rino-support-contact p {
    margin: 0;
}

/* Short support pages can oscillate at the sticky-header threshold. */
body.page-id-1185 {
    padding-top: 0 !important;
}

.page-id-1185 .shfb-header.has-sticky-header .shfb-sticky-header,
.page-id-1185 .shfb-header.has-sticky-header .shfb-sticky-header.sticky-active {
    position: static !important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    box-shadow: none !important;
}

.rino-kicker {
    margin-bottom: 10px;
    color: #64748b;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.rino-lead {
    font-size: 1.2rem;
    line-height: 1.9;
}

.rino-section {
    margin-bottom: 48px;
}

.rino-section h2 {
    margin-bottom: 18px;
}

.rino-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.rino-card {
    padding: 24px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #ffffff;
}

.rino-card h3 {
    margin-top: 0;
}

.rino-card-label {
    margin-bottom: 8px;
    color: #64748b;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.rino-link-list {
    display: grid;
    gap: 12px;
    padding-left: 0;
    list-style: none;
}

.rino-link-list li {
    padding: 14px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #ffffff;
}

.rino-link-list a {
    color: #1e293b;
    font-weight: 700;
    text-decoration: none;
}

.rino-link-list a:hover {
    color: #0f172a;
    text-decoration: underline;
}

.rino-collection-page .content-wrapper {
    max-width: 1150px;
}

.rino-collection-page .entry-header {
    margin-bottom: 32px;
}

.rino-collection-page .entry-content {
    max-width: none;
}

.rino-collection-page .rino-content {
    max-width: 920px;
}

.rino-collection-posts {
    max-width: 1120px;
    margin: 56px auto 0;
}

.rino-collection-posts + .rino-collection-posts {
    padding-top: 56px;
    border-top: 1px solid #e2e8f0;
}

.rino-collection-posts .front-section-header h2 {
    margin-bottom: 0;
}

.rino-collection-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 38px;
}

.rino-collection-pagination .page-numbers {
    display: inline-flex;
    min-width: 42px;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    color: #1e293b;
    font-weight: 700;
    text-decoration: none;
}

.rino-collection-pagination .page-numbers.current,
.rino-collection-pagination .page-numbers:hover {
    border-color: #1e293b;
    background: #1e293b;
    color: #ffffff;
}

@media (max-width: 900px) {
    .rino-front-page {
        padding-right: 14px;
        padding-left: 14px;
    }

    .front-hero-image {
        margin-right: 0;
        margin-bottom: 36px;
        margin-left: calc(50% - 50vw);
    }

    .front-card-grid {
        grid-template-columns: 1fr;
    }

    .front-card {
        min-height: auto;
    }

    .front-section-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }

    .front-section-header h2 {
        text-align: left;
    }

    .front-work-grid {
        grid-template-columns: 1fr;
    }

    .front-work-card {
        width: 100%;
    }

    .front-social-card {
        width: min(100%, 220px);
    }

    .rino-card-grid {
        grid-template-columns: 1fr;
    }

    .rino-about-brand-grid,
    .rino-about-profile,
    .rino-contact-card-grid,
    .rino-contact-purpose-grid,
    .rino-contact-preparation,
    .rino-form-grid {
        grid-template-columns: 1fr;
    }

    .rino-contact-preparation {
        gap: 22px;
    }

    .rino-inquiry-cta {
        align-items: flex-start;
        flex-direction: column;
    }

    .rino-support-product-grid,
    .rino-support-step-grid,
    .rino-manual-card {
        grid-template-columns: 1fr;
    }

    .rino-support-contact {
        align-items: flex-start;
        flex-direction: column;
    }

    .rino-about-profile {
        gap: 24px;
    }

    .rino-about-profile-image {
        grid-row: auto;
        width: min(100%, 420px);
        margin-right: auto;
        margin-left: auto;
    }

    .rino-about-hero,
    .rino-about-section {
        margin-bottom: 52px;
    }

    .rino-collection-posts {
        margin-top: 42px;
    }

    .rino-prototype-sidebar {
        padding-top: 40px;
        padding-left: 15px;
    }

    .rino-prototype-sidebar-inner {
        position: static;
    }
}

@media (max-width: 600px) {
    .rino-contact-page {
        width: min(100% - 24px, 1100px);
        padding-top: 40px;
    }

    .rino-contact-hero,
    .rino-contact-section {
        margin-bottom: 52px;
    }

    .rino-contact-lead br {
        display: none;
    }

    .rino-support-page {
        width: min(100% - 24px, 1040px);
        padding-top: 40px;
    }

    .rino-support-hero,
    .rino-support-section {
        margin-bottom: 48px;
    }

    .rino-support-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .rino-support-button {
        width: 100%;
    }

    .rino-front-page {
        padding-top: 20px;
        padding-right: 12px;
        padding-left: 12px;
    }

    .front-hero-image {
        margin-top: -20px;
        margin-bottom: 30px;
    }

    .front-intro {
        margin-bottom: 36px;
    }

    .front-intro h1 {
        font-size: 1.65rem;
        line-height: 1.4;
    }

    .rino-lead {
        font-size: 1rem;
        line-height: 1.75;
    }

    .front-work-section {
        margin-bottom: 52px;
    }

    .front-section-header h2 {
        font-size: 1.65rem;
    }

    .front-view-link {
        align-self: flex-start;
    }

    .front-work-body {
        padding: 14px 16px 18px;
    }

    .front-work-card strong {
        overflow-wrap: anywhere;
    }

    .front-social-grid {
        gap: 18px;
    }

    .front-social-card {
        width: 100%;
        min-height: 150px;
    }
}

/* サイドバーの「最近のコメント (Recent Comments)」を非表示にする */
.widget_recent_comments,
.wp-block-latest-comments {
    display: none !important;
}

/* サイドバー内の Recent Comments の見出し（h2やh3）がある場合も非表示 */
.widget_recent_comments-title,
.wp-block-heading:has(+ .wp-block-latest-comments) {
    display: none !important;
}

/* 投稿一覧（アーカイブ/グリッド）のタイトル文字を小さくする */
.blog .title-post,
.archive .title-post {
    font-size: 1.25rem;
    /* デフォルトより小さく（約20px前後） */
    line-height: 1.5;
    margin-top: 10px;
    margin-bottom: 10px;
}


/* ========================================================
   ヘッダーの背景色反転（ダークブルー系）と文字色の白色化
   ======================================================== */
@media (min-width: 1025px) {
    .shfb-desktop .shfb-main_header_row .shfb-row.shfb-cols-2 {
        grid-template-columns: minmax(280px, 34%) minmax(0, 66%);
    }
}

header#masthead,
.site-header,
.site-header.float-header,
.shfb-header,
.sticky-header-active .has-sticky-header .shfb-main_header_row,
.shfb-sticky-header.sticky-active {
    background-color: #1a2332 !important;
}

/* メニューのリンク文字・アイコンを白色に */
#mainnav ul li a,
.shfb-header a,
.site-header a,
.header-search-icon,
.header-search-icon i,
.site-header .social-menu-widget a,
.btn-menu {
    color: #ffffff !important;
}

.site-header .site-description,
.shfb-header .site-description {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* ホバー時のメニュー文字色 */
#mainnav ul li a:hover,
.shfb-header a:hover,
.site-header a:hover {
    color: #94a3b8 !important;
}

/* ヘッダー右側にある検索アイコン（虫眼鏡）を非表示にする */
.header-search,
.header-search-icon,
.shfb-search,
.shfb-search-wrap {
    display: none !important;
}

/* スクロール時の画面バウンス（「引っ張って更新」のような挙動）を無効化 */
html,
body {
    overscroll-behavior-y: none !important;
}

/* ヘッダー自体のスクロール時のスライド・バウンスアニメーションを無効化 */
.site-header,
.shfb-header,
#masthead,
.site-header.float-header {
    transition: none !important;
    animation: none !important;
}

/* スマホ用ハンバーガーメニューのアイコン色を白にする */
.shfb-component-mobile_hamburger .menu-toggle svg {
    fill: #ffffff !important;
}

/* スマホ用メニュー（オフキャンバス）の中身を強制的に表示する */
.shfb-component-mobile_offcanvas_menu {
    display: block !important;
}

/* ページネーション（数字、現在のページ、省略のドットなど）が見えなくなる問題の修正 */
.nav-links .page-numbers,
.pagination .page-numbers,
.page-numbers.current,
.page-numbers.dots {
    color: #333333 !important;
    display: inline-block !important;
}
