/*
Theme Name: kita
Version: 1.0.0
Description: Created with GSB
*/
header {
    background-color: #eae7e7 !important;
}
aside {
    background-color: #eae7e7 !important;
}
:root {
    --kitan-red: #e60012;
    --kitan-yellow: #fff100;
    --kitan-blue: #00a0e9;
    --kitan-black: #1a1a1a;
}
body {
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--kitan-black);
    background-color: #f8f8f8;
}
.font-dela { font-family: 'Dela Gothic One', cursive; }

/* Logo Animation Simulation */
.logo-container img {
    display: inline-block;
    transition: transform 0.3s ease;
}
.logo-container:hover img {
    transform: translateY(-5px) rotate(5deg);
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: #ccc; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--kitan-red); }

.product-card {
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}
.product-image-container img {
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.product-card:hover .product-image-container img {
    transform: scale(1.1);
}

/* Mobile Drawer Styles */
.mobile-drawer {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(100%);
}
.mobile-drawer.is-active {
    transform: translateX(0);
}

.hamburger-line {
    transition: all 0.3s ease;
}
.is-active .hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.is-active .hamburger-line:nth-child(2) {
    opacity: 0;
}
.is-active .hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.drawer-item {
    border-bottom: 1px solid #f0f0f0;
}
.entry-content h2 {
    position: relative;

    margin: 80px 0 40px;
    padding-bottom: 42px;

    font-size: 2.4rem;
    font-weight: 900;
    line-height: 1.3;

    color: #111827;
}

.entry-content h2::before {
    content: "";

    position: absolute;
    left: 0;
    bottom: 18px;

    width: 18px;
    height: 18px;

    border-radius: 999px;

    background: #e60012;

    box-shadow:
        32px 0 0 #fff100,
        64px 0 0 #00a0e9;
}

.entry-content h2::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: 0;

    width: 100%;
    height: 2px;

    background: #111827;
}
.entry-content h3 {
    display: inline-block;

    margin: 48px 0 24px;
    padding-bottom: 12px;

    font-size: 2rem;
    font-weight: 900;
    line-height: 1.4;

    color: #0f172a;

    position: relative;
}

.entry-content h3::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: 0;

    width: 100%;
    height: 6px;

    border-radius: 999px;

    background:
        linear-gradient(
            to right,
            #e60012 0%,
            #e60012 33%,
            #fff100 33%,
            #fff100 66%,
            #00a0e9 66%,
            #00a0e9 100%
        );
}
.entry-content table {
    width: 100%;
    margin: 32px 0 0;

    border-collapse: separate;
    border-spacing: 0 12px;

    background: transparent;
}

.entry-content th,
.entry-content td {
    padding: 22px 26px;

    border: none;

    font-size: 1rem;
    line-height: 1.8;
    text-align: left;
    vertical-align: middle;

    color: #1f2937;
}

.entry-content th {
    width: 28%;

    border-radius: 24px 0 0 24px;

    background: #111827;
    color: #fff;

    font-weight: 900;
}

.entry-content td {
    border-radius: 0 24px 24px 0;

    background: #f9fafb;

    font-weight: 700;
}

.entry-content tr {
    transition: transform .25s ease, box-shadow .25s ease;
}

/* Contact Form 7 */
.wpcf7 {
    margin-top: 56px;
}

.wpcf7 form {
    display: grid;
    gap: 28px;
}

.wpcf7 p {
    margin: 0;
}

.wpcf7 label {
    display: block;

    font-size: 0.95rem;
    font-weight: 900;
    line-height: 1.5;

    color: #111827;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
    width: 100%;
    margin-top: 12px;
    padding: 18px 22px;

    border: 2px solid transparent;
    border-radius: 22px;

    background: #f9fafb;

    font-size: 1rem;
    font-weight: 700;
    line-height: 1.7;

    color: #111827;

    transition:
        border-color .2s ease,
        background-color .2s ease,
        box-shadow .2s ease,
        transform .2s ease;
}

.wpcf7 textarea {
    min-height: 220px;
    resize: vertical;
}

.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 textarea:focus {
    outline: none;

    border-color: #e60012;
    background: #fff;

    box-shadow: 0 12px 30px rgba(230, 0, 18, .08);

    transform: translateY(-1px);
}

.wpcf7 input[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 220px;
    padding: 18px 44px;

    border: none;
    border-radius: 999px;

    background: #111827;
    color: #fff;

    font-size: 0.85rem;
    font-weight: 900;
    letter-spacing: 0.25em;

    cursor: pointer;

    transition:
        background-color .25s ease,
        transform .25s ease,
        box-shadow .25s ease;
}

.wpcf7 input[type="submit"]:hover {
    background: #e60012;

    box-shadow: 0 14px 30px rgba(230, 0, 18, .22);

    transform: translateY(-2px) scale(1.03);
}

.wpcf7-spinner {
    margin-left: 16px;
}

.wpcf7-not-valid-tip {
    margin-top: 8px;

    font-size: 0.8rem;
    font-weight: 700;

    color: #e60012;
}

.wpcf7-response-output {
    margin: 32px 0 0 !important;
    padding: 18px 22px !important;

    border: none !important;
    border-radius: 20px;

    background: #fff5f5;

    font-size: 0.9rem;
    font-weight: 700;

    color: #111827;
}
.wpcf7-submit {
    display: block !important;

    width: 320px;
    max-width: 100%;

    margin: 0 auto;

    padding: 20px 40px;

    border-radius: 999px;
}

/* Entry Content Text */
.entry-content p {
    margin: 0 0 1.6em;

    font-size: 1rem;
    font-weight: 700;
    line-height: 2.1;

    color: #1f2937;
}

.entry-content p strong {
    font-weight: 900;
    color: #111827;
}

.entry-content p a {
    font-weight: 900;
    color: #e60012;
    text-decoration: underline;
    text-decoration-thickness: 3px;
    text-underline-offset: 4px;
}

/* Entry Content List */
.entry-content ul {
    margin: 32px 0;
    padding: 28px 32px;

    border-radius: 28px;

    background: #f9fafb;
}

.entry-content ul li {
    position: relative;
    margin: 0 0 0px;
    padding-left: 18px;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.9;
    color: #1f2937;
}

.entry-content ul li:last-child {
    margin-bottom: 0;
}

.entry-content ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1em;
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: #e60013;
    transform: translateY(-50%);
}
.entry-content ul ul {
    margin-top: 16px;
    margin-bottom: 0;

    padding: 0;

    background: transparent;

    box-shadow: none;
}
/* 親リスト */
.entry-content > ul > li::before {
    content: "";

    position: absolute;
    left: 0;
    top: 1em;

    width: 12px;
    height: 12px;

    border-radius: 999px;
    background: #e60012;

    transform: translateY(-50%);
}

/* 子リスト */
.entry-content ul ul li {
    padding-left: 22px;
}

.entry-content ul ul li::before {
    content: "・";

    position: absolute;
    left: 0;
    top: 0;

    width: auto;
    height: auto;

    background: none;
    border-radius: 0;

    color: #e60012;

    font-size: 1.2rem;
    font-weight: 900;

    transform: none;
}
/* Contact Form 7 select */
.wpcf7 select {
  width: 100%;
  height: 88px;
  padding: 0 64px 0 32px;
  border: none;
  border-radius: 28px;
  background-color: #f8f9fb;
  color: #0f1a2b;
  font-size: 18px;
  font-weight: 700;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

/* selectの親要素 */
.wpcf7 .wpcf7-form-control-wrap {
  position: relative;
  display: block;
}

/* 矢印 */
.wpcf7 .wpcf7-form-control-wrap:has(select)::after {
  content: "";
  position: absolute;
  right: 32px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid #0f1a2b;
  border-bottom: 2px solid #0f1a2b;
  transform: translateY(-65%) rotate(45deg);
  pointer-events: none;
}

/* フォーカス時 */
.wpcf7 select:focus {
  box-shadow: 0 0 0 2px rgba(15, 26, 43, 0.08);
}