/*-----------------------[ mikyan custom overrides ]------------------------*/

/* Custom cursor (forced with !important so no component-level `cursor: pointer`
   rule elsewhere in the stylesheet can silently revert it) */
* {
    cursor: url('../images/svg/cursor-orange-22.png') 11 10, auto !important;
}
input,
textarea {
    cursor: text !important;
}

/* Logo */
.header-logo-img {
    height: 72px;
    width: auto;
}

/* About portrait */
.about-portrait {
    display: block;
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 24px;
    margin: 20px auto;
}

/* Hero catch copy */
.section-one h1.creative {
    padding-bottom: 4px;
}
.catch-copy-jp {
    color: var(--main-text);
    font-size: 28px;
    font-weight: 700;
    line-height: 1.5;
    padding: 20px 0 2px;
}
.catch-copy-jp .nowrap {
    white-space: nowrap;
}
@media (min-width: 992px) {
    .section-one h1.creative {
        font-size: 32px;
        line-height: 1.3;
    }
}
@media (max-width: 480px) {
    .catch-copy-jp .nowrap {
        white-space: normal;
    }
}
.catch-copy-en {
    color: var(--btn-bg);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding-bottom: 20px;
}
.role-line {
    color: var(--sub-text);
    font-size: 18px;
    font-weight: 500;
    padding-bottom: 6px;
}

/* Section intro (bilingual heading pattern reused across sections) */
.section-eyebrow {
    color: var(--btn-bg);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding-bottom: 10px;
    display: block;
}

/* Strength cards (stacked, one per row, for breathing room) */
.strength-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 40px;
}
.strength-card .web-dev-text {
    font-size: 26px;
}
.strength-card > p {
    color: var(--sub-text);
    font-size: 17px;
    line-height: 30px;
}

/* Works filter buttons */
.works-filter-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
    margin: 20px 0 10px;
}
.filter-btn {
    display: flex;
    align-items: center;
    font-size: 16px;
    font-weight: 700;
    line-height: 22px;
    padding: 10px 20px;
    border-radius: 20px;
}
.works-empty {
    color: var(--sub-text);
    font-size: 16px;
    padding: 20px 0;
}

/* Works cards grid (reuses .services-box dashed-border look) */
.works-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 40px;
}
.works-card {
    display: block;
}
.works-card h3 {
    color: var(--main-text);
    font-size: 22px;
    font-weight: 700;
    line-height: 32px;
    padding-bottom: 12px;
}
.works-card p {
    color: var(--sub-text);
    font-size: 16px;
    line-height: 26px;
}
.works-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 16px;
}
.works-card .works-meta {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    margin-top: 12px;
    padding-top: 12px;
    padding-bottom: 0;
    border-top: 1px dashed var(--line-color);
}
.works-meta p {
    color: var(--sub-text);
    font-size: 14px;
    line-height: 22px;
    text-align: left;
}
.works-meta p span {
    color: var(--main-text);
    font-weight: 500;
}
.works-note {
    color: var(--sub-text);
    font-size: 14px;
    padding-top: 10px;
}
.resume-link-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
    padding: 24px 30px;
    border-radius: 20px;
    background: var(--primary-color);
    background-image: var(--paper-texture);
    background-repeat: repeat;
}
.resume-link-box p {
    color: var(--main-text);
    font-size: 16px;
    line-height: 26px;
    max-width: 560px;
}
.resume-link-box p strong {
    display: block;
    font-size: 18px;
    padding-bottom: 4px;
}

/* Profile detail table spacing tweak for the shorter mikyan field set */
.about-detail-info a {
    color: var(--main-text);
}

/* Download / resume button row */
.doc-download-box {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px dashed var(--line-color);
}
.doc-download-box p {
    color: var(--sub-text);
    font-size: 16px;
    padding-bottom: 6px;
}
.doc-download-box .download-btn {
    margin-top: 4px;
}

/* Monitor recruitment box */
.monitor-box {
    margin-top: 30px;
    padding: 30px;
    border-radius: 20px;
    background: var(--primary-color);
    background-image: var(--paper-texture);
    background-repeat: repeat;
}
.monitor-box-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding-bottom: 20px;
}
.monitor-box h4 {
    color: var(--main-text);
    font-size: 22px;
    font-weight: 700;
    line-height: 32px;
}
.monitor-perks {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}
.monitor-perk {
    background: var(--section-background);
    background-image: var(--paper-texture);
    background-repeat: repeat;
    border-radius: 16px;
    padding: 20px;
}
.monitor-perk .perk-icon {
    width: 44px;
    height: 44px;
    object-fit: contain;
    object-position: left center;
    display: block;
    margin-bottom: 10px;
}
.monitor-perk p:nth-of-type(1) {
    color: var(--main-text);
    font-weight: 700;
    font-size: 16px;
    padding-bottom: 8px;
}
.monitor-perk p:nth-of-type(2) {
    color: var(--sub-text);
    font-size: 14px;
    line-height: 22px;
}
.monitor-conditions {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px dashed var(--section-background);
}
.monitor-conditions p.cond-title {
    color: var(--main-text);
    font-weight: 700;
    padding-bottom: 10px;
}
.monitor-conditions ul li {
    color: var(--main-text);
    font-size: 15px;
    line-height: 26px;
    padding-left: 18px;
    position: relative;
}
.monitor-conditions ul li::before {
    content: "・";
    position: absolute;
    left: 0;
}
.monitor-badge {
    display: inline-block;
    flex-shrink: 0;
    padding: 6px 18px;
    border-radius: 999px;
    background: var(--btn-bg);
    color: var(--btn-text);
    font-weight: 700;
    font-size: 14px;
}
.monitor-badge-num {
    font-size: 22px;
    margin: 0 1px;
}

/* Price comparison table */
.price-table-wrap {
    margin-top: 40px;
    overflow-x: auto;
}
table.price-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 560px;
}
table.price-table th,
table.price-table td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid var(--line-color);
    color: var(--main-text);
    font-size: 16px;
}
table.price-table th {
    color: var(--sub-text);
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
table.price-table td:nth-child(2) {
    color: var(--sub-text);
    text-decoration: line-through;
}
table.price-table td:nth-child(3) {
    color: var(--btn-bg);
    font-weight: 700;
}
.price-table-note {
    color: var(--sub-text);
    font-size: 14px;
    padding-top: 16px;
}

/* Service plan cards */
.plan-card {
    margin-top: 40px;
    padding: 40px;
    border-radius: 24px;
    border: 2px dashed var(--line-color);
}
.plan-card-featured {
    border: 3px dashed var(--btn-bg);
}
.plan-card-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding-bottom: 16px;
}
.plan-card-head h3 {
    color: var(--main-text);
    font-size: 26px;
    font-weight: 700;
}
.plan-card-head h3 span {
    color: var(--btn-bg);
}
.plan-tag {
    display: inline-block;
    padding: 10px 26px;
    border-radius: 999px;
    background: var(--btn-bg);
    color: var(--btn-text);
    font-size: 17px;
    font-weight: 700;
}
.plan-card > p.plan-desc {
    color: var(--sub-text);
    font-size: 16px;
    line-height: 28px;
    padding-bottom: 20px;
}
.plan-section-title {
    color: var(--main-text);
    font-weight: 700;
    font-size: 15px;
    padding: 16px 0 10px;
}
.plan-list li {
    color: var(--main-text);
    font-size: 15px;
    line-height: 28px;
    padding-left: 18px;
    position: relative;
}
.plan-list li::before {
    content: "・";
    position: absolute;
    left: 0;
}
.plan-price-box {
    margin-top: 20px;
    padding: 20px;
    border-radius: 16px;
    background: var(--primary-color);
    background-image: var(--paper-texture);
    background-repeat: repeat;
}
.plan-price-box p.price-lead {
    color: var(--main-text);
    font-size: 20px;
    font-weight: 700;
    padding-bottom: 8px;
}
.plan-price-box p.price-note {
    color: var(--sub-text);
    font-size: 14px;
    line-height: 22px;
}
.price-item-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-top: 20px;
}
.price-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 20px;
    border-radius: 14px;
    background: var(--primary-color);
    background-image: var(--paper-texture);
    background-repeat: repeat;
}
.price-item-text {
    min-width: 0;
}
.price-item-icon {
    width: 44px;
    height: 44px;
    object-fit: contain;
    flex-shrink: 0;
}
.price-item p.price-item-name {
    color: var(--main-text);
    font-weight: 700;
    font-size: 16px;
    padding-bottom: 4px;
}
.price-item p.price-item-value {
    color: var(--main-text);
    font-weight: 700;
    font-size: 18px;
    padding-bottom: 4px;
}
.price-item p.price-item-note {
    color: var(--sub-text);
    font-size: 13px;
    line-height: 20px;
}

/* Contact form checkbox */
.privacy-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 10px 0 30px;
}
.privacy-check input {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: var(--btn-bg);
    flex-shrink: 0;
}
.privacy-check label {
    color: var(--main-text);
    font-size: 15px;
    line-height: 24px;
}
.privacy-note {
    margin-top: 30px;
    padding: 20px;
    border-radius: 16px;
    background: var(--primary-color);
    background-image: var(--paper-texture);
    background-repeat: repeat;
}
.privacy-note p.privacy-note-title {
    color: var(--main-text);
    font-weight: 700;
    padding-bottom: 6px;
}
.privacy-note p {
    color: var(--sub-text);
    font-size: 14px;
    line-height: 22px;
}
.contact-lead {
    color: var(--sub-text);
    font-size: 16px;
    line-height: 28px;
    padding-top: 10px;
}

@media (max-width: 1200px) {
    .works-grid,
    .price-item-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 767px) {
    .works-grid,
    .price-item-grid {
        grid-template-columns: 1fr;
    }
    .plan-card {
        padding: 24px;
    }
    .resume-link-box {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ==================== Sub pages (blog list / detail pages) ==================== */
.sub-header {
    border-radius: 30px;
    background: var(--section-background);
    background-image: var(--paper-texture);
    background-repeat: repeat;
    padding: 16px 30px;
    margin: 30px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.back-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--main-text);
    font-weight: 700;
    font-size: 15px;
    white-space: nowrap;
}
.back-link:hover {
    color: var(--btn-bg);
}
.back-link img {
    width: 16px;
    transform: rotate(180deg);
    filter: var(--icons-filter);
}
.back-link:hover img {
    filter: var(--icons-accent);
}
.sub-content {
    background: var(--section-background);
    background-image: var(--paper-texture);
    background-repeat: repeat;
    border-radius: 30px;
    padding: 60px;
    margin-bottom: 30px;
}
.sub-page-title {
    color: var(--main-text);
    font-size: 36px;
    font-weight: 700;
    padding-bottom: 12px;
}
.sub-page-lead {
    color: var(--sub-text);
    font-size: 16px;
    line-height: 28px;
    padding-bottom: 10px;
}

/* Post grid (blog list) */
.post-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 30px;
}
.post-card {
    display: block;
    border-radius: 20px;
    border: 2px dashed var(--line-color);
    padding: 20px;
    transition: all 0.3s ease-in-out;
}
.post-card:hover {
    border-color: var(--btn-bg);
}
.post-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 16px;
}
.post-card .post-category {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 999px;
    background: var(--primary-color);
    color: var(--main-text);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 10px;
}
.post-card h3 {
    color: var(--main-text);
    font-size: 20px;
    font-weight: 700;
    line-height: 30px;
    padding-bottom: 8px;
}
.post-card p {
    color: var(--sub-text);
    font-size: 15px;
    line-height: 24px;
}
.post-empty {
    color: var(--sub-text);
    font-size: 16px;
    padding: 20px 0;
}

/* Detail page content (work / blog single post) */
.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding-bottom: 24px;
}
.detail-tag {
    display: inline-block;
    padding: 5px 16px;
    border-radius: 999px;
    background: var(--primary-color);
    color: var(--main-text);
    font-size: 13px;
    font-weight: 700;
}
.detail-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    margin-bottom: 30px;
}
.detail-body p {
    color: var(--main-text);
    font-size: 16px;
    line-height: 30px;
    padding-bottom: 20px;
}
.detail-tools {
    margin-top: 10px;
    padding-top: 20px;
    border-top: 1px dashed var(--line-color);
}
.detail-tools p.tools-label {
    color: var(--sub-text);
    font-size: 14px;
    padding-bottom: 8px;
}

/* Blog preview + "view other posts" (on index.html) */
.blog-more-btn {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

@media (max-width: 767px) {
    .post-grid {
        grid-template-columns: 1fr;
    }
    .sub-content {
        padding: 30px;
    }
}

/* Contact form success message */
.contact-success-msg {
    color: #00BF13;
    font-size: 16px;
    font-weight: 700;
    margin-top: 16px;
}

/* Hero mobile alignment + sizing */
@media (max-width: 991px) {
    .section-one .hi-there,
    .section-one h1.creative,
    .section-one .role-line {
        text-align: left;
    }
    .section-one .catch-copy-jp,
    .section-one .catch-copy-en {
        text-align: center;
    }
}
@media (max-width: 767px) {
    .section-one h1.creative {
        font-size: 22px;
        line-height: 1.3;
        white-space: nowrap;
    }
    .section-one .role-line {
        font-size: 14px;
        white-space: nowrap;
    }
}
@media (max-width: 360px) {
    .section-one h1.creative,
    .section-one .role-line {
        white-space: normal;
    }
}

/* ==================== Contact Form 7 skin ==================== */
/* Text / email / textarea fields already pick up the existing
   `.input-main input` / `.input-main textarea` rules automatically,
   since CF7 only adds a wrapping <span> around each field (not a
   direct-child relationship the selectors depend on). */
.wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}
.wpcf7 form.wpcf7-form br {
    display: none;
}

/* Privacy checkbox: CF7 nests <span><span><label><input>text</label></span></span>.
   `display:contents` removes those wrapper boxes from layout so the existing
   flex rule on .privacy-check (input + label side by side) still applies. */
.privacy-check .wpcf7-form-control-wrap,
.privacy-check .wpcf7-list-item,
.privacy-check .wpcf7-list-item-label {
    display: contents;
}
.privacy-check label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}
.privacy-check input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: var(--btn-bg);
    flex-shrink: 0;
}

/* Submit button: CF7's [submit] tag can render as either <button> or
   <input type="submit"> depending on version/config. ::after pseudo-elements
   have no effect on <input> (a replaced element), so the arrow icon is drawn
   as a plain background-image using pre-colored SVG files instead of relying
   on a CSS `filter` + pseudo-element - this works on both element types. */
.wpcf7-submit.aryaBtn {
    color: var(--btn-text);
    background-color: var(--btn-bg);
    font-size: 18px;
    font-family: inherit;
    font-weight: 700;
    line-height: 24px;
    border-radius: 20px;
    border-top: 2px solid var(--btn-bg);
    border-right: 4px solid var(--btn-bg);
    border-bottom: 4px solid var(--btn-bg);
    border-left: 2px solid var(--btn-bg);
    padding: 12px 46px 12px 24px;
    transition: all 0.3s ease-in-out;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    background-image: url('../images/svg/right-arrow-white.svg');
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 18px 18px;
}
.wpcf7-submit.aryaBtn:hover {
    background-color: var(--section-background);
    color: var(--btn-bg);
    border-width: 2px;
    border-color: var(--btn-bg);
    background-image: url('../images/svg/right-arrow-orange.svg');
}

/* Validation + sent messages */
.wpcf7-not-valid-tip {
    color: #D64545;
    font-size: 13px;
    margin-top: 6px;
    display: block;
}
.wpcf7-response-output {
    margin-top: 16px;
    padding: 14px 18px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    border: none !important;
}
.wpcf7-form.sent .wpcf7-response-output {
    color: #00BF13;
    background: rgba(0, 191, 19, 0.08);
}
.wpcf7-form.invalid .wpcf7-response-output,
.wpcf7-form.unaccepted .wpcf7-response-output,
.wpcf7-form.spam .wpcf7-response-output,
.wpcf7-form.aborted .wpcf7-response-output,
.wpcf7-form.payment-required .wpcf7-response-output {
    color: #D64545;
    background: rgba(214, 69, 69, 0.08);
}
.wpcf7-spinner {
    margin-left: 10px;
}
