@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}

.custom-footer-links {
    margin-top: 30px;
    padding: 20px;
    background-color: #1a1a1a; /* ダークテーマに合わせた背景色 */
    border-radius: 8px;
}

.custom-section-title {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.custom-section-title .title-block {
    width: 4px;
    height: 20px;
    background-color: #007bff; /* 青い縦線 */
    margin-right: 10px;
}

.custom-section-title h3 {
    margin: 0;
    font-size: 1.2em;
    color: #ffffff; /* 白い文字 */
}

.custom-footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.custom-footer-links li {
    margin-bottom: 8px;
}

.custom-footer-links a {
    color: #add8e6; /* リンクの色 */
    text-decoration: none;
}

.custom-footer-links a:hover {
    text-decoration: underline;
}

.custom-disclaimer {
    display: flex;
    align-items: flex-start;
    background-color: #2a2a2a; /* 免責事項の背景色 */
    border: 1px solid #28a745; /* 緑色の枠線 */
    border-radius: 5px;
    padding: 10px;
    margin-top: 20px;
    color: #ffffff;
    font-size: 0.9em;
}

.custom-disclaimer .disclaimer-icon {
    font-size: 1.5em;
    margin-right: 10px;
}

.custom-disclaimer p {
    margin: 0;
}

.custom-hashtags {
    margin-top: 30px;
    padding: 20px;
    background-color: #1a1a1a; /* ダークテーマに合わせた背景色 */
    border-radius: 8px;
}

.custom-hashtags ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px; /* タグ間のスペース */
}

.custom-hashtags li {
    margin: 0;
}

.custom-hashtags a {
    display: inline-block;
    background-color: #333; /* タグの背景色 */
    color: #add8e6; /* タグの文字色 */
    padding: 5px 10px;
    border-radius: 20px; /* 角丸 */
    text-decoration: none;
    font-size: 0.9em;
}

.custom-hashtags a:hover {
    background-color: #555;
    text-decoration: none;
}

/* ヘッダーメニュー項目に枠線を追加 */
#navi .menu-item a {
    border: 1px solid #555; /* 枠線の色と太さ */
    border-radius: 5px; /* 枠線の角丸 */
    padding: 8px 12px; /* 内側の余白 */
    margin: 0 5px; /* メニュー項目間の余白 */
    display: inline-block; /* 枠線が正しく適用されるように */
    transition: all 0.3s ease; /* ホバーアニメーション */
}

#navi .menu-item a:hover {
    background-color: #333; /* ホバー時の背景色 */
    border-color: #007bff; /* ホバー時の枠線色 */
    color: #ffffff; /* ホバー時の文字色を白に */
}

.medix-floating-contact {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9999;
    display: none;
    align-items: center;
    width: 64px;
    height: 64px;
    overflow: hidden;
    border-radius: 999px 0 0 999px;
    background: linear-gradient(135deg, #4bc0f0, #2f93d1);
    color: #fff;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(28, 96, 140, 0.24);
    transition: width 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.medix-floating-contact:hover,
.medix-floating-contact:focus-visible {
    width: 220px;
    text-decoration: none;
    box-shadow: 0 14px 28px rgba(28, 96, 140, 0.32);
}

.medix-floating-contact__icon {
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.medix-floating-contact__icon svg {
    width: 26px;
    height: 26px;
    display: block;
}

.medix-floating-contact__text {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding-right: 18px;
    opacity: 0;
    transform: translateX(10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.medix-floating-contact:hover .medix-floating-contact__text,
.medix-floating-contact:focus-visible .medix-floating-contact__text {
    opacity: 1;
    transform: translateX(0);
}

@media (min-width: 1024px) {
    .medix-floating-contact {
        display: inline-flex;
    }
}

@media (max-width: 1023px) {
    .medix-floating-contact {
        display: none !important;
    }
}

/* ksdemo01 refresh: clean aqua/white Web 2.0 tone */
:root {
    --kst-ink: #17324d;
    --kst-muted: #5d7185;
    --kst-blue: #0d74a8;
    --kst-blue-deep: #075d8b;
    --kst-aqua: #5fd5e7;
    --kst-aqua-soft: #eefbff;
    --kst-line: #d8ebf5;
    --kst-shadow: 0 18px 42px rgba(13, 116, 168, 0.13);
    --kst-card-shadow: 0 12px 28px rgba(23, 50, 77, 0.08);
}

body {
    color: var(--kst-ink);
    background:
        linear-gradient(180deg, #f7fcff 0, #ffffff 360px),
        #ffffff;
}

.container {
    max-width: 1160px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9) !important;
    border-bottom: 1px solid rgba(216, 235, 245, 0.86) !important;
    box-shadow: 0 12px 30px rgba(23, 50, 77, 0.07) !important;
    backdrop-filter: blur(12px);
}

.site-header__inner {
    margin-top: 0 !important;
    padding: 14px 24px !important;
    background: rgba(255, 255, 255, 0.96) !important;
    border: 1px solid rgba(216, 235, 245, 0.88) !important;
    border-radius: 8px !important;
    box-shadow: 0 8px 24px rgba(23, 50, 77, 0.07) !important;
}

#primary {
    padding-top: 0 !important;
}

.site-title,
.site-title a {
    color: var(--kst-ink) !important;
    letter-spacing: 0 !important;
}

.site-header__menu-top > li > a,
.site-header__menu-product-title,
.site-header__menu-company-title {
    border: 1px solid rgba(13, 116, 168, 0.16) !important;
    border-radius: 999px !important;
    background: linear-gradient(180deg, #ffffff 0%, #eef9fd 100%) !important;
    color: #24435e !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 5px 14px rgba(23, 50, 77, 0.05);
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.site-header__menu-top > li > a:hover,
.site-header__menu-product-title:hover,
.site-header__menu-company-title:hover,
.site-header__menu-top > li > a.is-current,
.site-header__menu-product-title.is-current,
.site-header__menu-company-title.is-current {
    transform: translateY(-1px);
    background: linear-gradient(180deg, #1290c8 0%, #086899 100%) !important;
    color: #ffffff !important;
    border-color: rgba(7, 93, 139, 0.2) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.34), 0 10px 22px rgba(13, 116, 168, 0.22);
}

.site-header__cta,
.hero-button,
.link-button {
    border: 1px solid rgba(255,255,255,0.64) !important;
    border-radius: 999px !important;
    background: linear-gradient(180deg, #67ddeb 0%, #18a3cc 52%, #0874a9 100%) !important;
    color: #ffffff !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.55), 0 13px 26px rgba(13, 116, 168, 0.24) !important;
    text-shadow: 0 1px 0 rgba(0, 67, 96, 0.24);
}

.site-header__cta:hover,
.hero-button:hover,
.link-button:hover {
    filter: none !important;
    transform: translateY(-1px);
    background: linear-gradient(180deg, #7be7f2 0%, #22add5 52%, #08699a 100%) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.62), 0 17px 32px rgba(13, 116, 168, 0.30) !important;
    text-decoration: none !important;
}

.hero-button--ghost {
    background: linear-gradient(180deg, #ffffff 0%, #f1fbff 100%) !important;
    border: 1px solid rgba(13, 116, 168, 0.24) !important;
    color: var(--kst-blue-deep) !important;
    text-shadow: none;
    box-shadow: inset 0 1px 0 #fff, 0 10px 22px rgba(23, 50, 77, 0.08) !important;
}

.medix-hero {
    min-height: 420px !important;
    padding: 28px 0 34px !important;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(235,249,255,0.94) 100%),
        radial-gradient(circle at 72% 6%, rgba(95, 213, 231, 0.22), transparent 32%) !important;
    border-bottom: 1px solid var(--kst-line) !important;
}

.medix-hero::before {
    background:
        linear-gradient(120deg, rgba(255,255,255,0.7), rgba(255,255,255,0) 42%),
        repeating-linear-gradient(90deg, rgba(13,116,168,0.035) 0, rgba(13,116,168,0.035) 1px, transparent 1px, transparent 82px) !important;
}

.medix-hero::after {
    display: none;
}

.medix-hero__inner {
    min-height: 360px !important;
    grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr) !important;
    gap: 34px !important;
}

.medix-hero__title {
    color: #0b2c47 !important;
    font-size: clamp(2rem, 3.3vw, 3.1rem) !important;
    line-height: 1.12 !important;
    text-shadow: 0 1px 0 #fff;
}

.medix-hero__lead,
.section-description,
.medix-news-card__excerpt,
.company-page__card p {
    color: var(--kst-muted) !important;
}

.medix-hero__chips li,
.product-category-badge {
    border: 1px solid rgba(13, 116, 168, 0.18) !important;
    background: linear-gradient(180deg, #ffffff 0%, #edfaff 100%) !important;
    color: #226082 !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 7px 16px rgba(23, 50, 77, 0.06);
}

.medix-hero__visual {
    min-height: 340px !important;
}

.medix-hero__slider {
    min-height: 340px !important;
    border: 1px solid rgba(255,255,255,0.92);
    border-radius: 8px !important;
    box-shadow: var(--kst-shadow), inset 0 1px 0 rgba(255,255,255,0.8);
}

.content-section {
    background: linear-gradient(180deg, #ffffff 0%, #f8fdff 100%);
}

.content-section:nth-of-type(even) {
    background: #ffffff;
}

.section-headline .title,
.section-title {
    color: var(--kst-ink) !important;
    letter-spacing: 0 !important;
}

.section-headline .title::after {
    content: "";
    display: block;
    width: 58px;
    height: 4px;
    margin-top: 8px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--kst-aqua), var(--kst-blue));
}

.medix-warning {
    border: 2px solid #ff4242 !important;
    border-radius: 8px !important;
    background: linear-gradient(180deg, #fff475 0%, #ffe65a 100%) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.8), 0 14px 30px rgba(219, 42, 42, 0.12) !important;
}

.medix-news-item,
.medix-news-card,
.pickup-carousel__item,
.company-page__card,
.company-page__table,
.company-page__list li,
.company-page__timeline li,
.medix-cta__inner,
.modal-content {
    border: 1px solid var(--kst-line) !important;
    border-radius: 8px !important;
    background: linear-gradient(180deg, #ffffff 0%, #f8fdff 100%) !important;
    box-shadow: var(--kst-card-shadow) !important;
}

.medix-news-item:hover,
.medix-news-card:hover,
.pickup-carousel__item:hover,
.company-page__card:hover {
    border-color: rgba(13, 116, 168, 0.26) !important;
    box-shadow: 0 18px 38px rgba(13, 116, 168, 0.15) !important;
}

.medix-news-item__date,
.medix-news-card__more {
    color: var(--kst-blue) !important;
}

.pickup-carousel__body,
.pickup-carousel__item:last-child .pickup-carousel__body {
    background: linear-gradient(180deg, #1290c8 0%, #0873a7 100%) !important;
    color: #ffffff !important;
    border-top: 1px solid rgba(255,255,255,0.34) !important;
}

.pickup-carousel__body h3,
.pickup-carousel__item:last-child .pickup-carousel__body h3 {
    color: #ffffff !important;
}

.pickup-carousel__body p,
.pickup-carousel__item:last-child .pickup-carousel__body p {
    color: #eaf9ff !important;
}

.pickup-carousel__control,
.scroll-top-button,
.medix-floating-contact {
    background: linear-gradient(180deg, #67ddeb 0%, #18a3cc 52%, #0874a9 100%) !important;
    border: 1px solid rgba(255,255,255,0.7) !important;
    color: #ffffff !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.58), 0 14px 28px rgba(13, 116, 168, 0.25) !important;
}

.pickup-carousel__control:hover,
.scroll-top-button:hover {
    background: linear-gradient(180deg, #7be7f2 0%, #22add5 52%, #08699a 100%) !important;
}

.medix-cta__inner {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.96), rgba(238,251,255,0.96)),
        radial-gradient(circle at 86% 18%, rgba(95, 213, 231, 0.24), transparent 36%) !important;
}

.site-footer {
    background: linear-gradient(180deg, #f6fcff 0%, #eaf7fd 100%) !important;
    border-top: 1px solid var(--kst-line) !important;
    color: var(--kst-muted) !important;
}

@media screen and (max-width: 1023px) {
    .medix-hero__inner {
        grid-template-columns: 1fr !important;
    }
}

@media screen and (max-width: 768px) {
    .site-header__inner {
        padding-left: 16px;
        padding-right: 16px;
    }

    .site-header__nav.is-open {
        padding: 12px;
        border: 1px solid var(--kst-line);
        border-radius: 8px;
        background: #ffffff;
        box-shadow: var(--kst-card-shadow);
    }

    .medix-hero {
        min-height: 0 !important;
        padding-top: 18px !important;
    }

    .medix-hero__visual {
        min-height: 220px !important;
    }

    .medix-hero__slider {
        min-height: 220px !important;
    }

    .medix-hero__title {
        font-size: clamp(1.75rem, 8vw, 2.35rem) !important;
    }
}
