/*!
Theme Name: XWRITE
Theme URI: https://xwrite.jp/
Author: XServer Inc.
Author URI: https://www.xserver.co.jp/
Description: エックスサーバー株式会社が提供するWordPressテーマ「XWRITE」
Version: 3.0.1
Requires at least: 6.5
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.txt
Text Domain: xwrite
*/


    .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        .section {
            padding: 80px 0;
            position: relative;
        }

        .section:nth-child(even) {
            background-color: #dee2e6;
        }


        .section-header {
            text-align: center;
            margin-bottom: 60px;
        }

        /* h2タグの強力なスタイル上書き */
        h2.section-title {
            font-size: 2.5rem !important;
            font-weight: 700 !important;
            color: #495057 !important;
            margin-bottom: 15px !important;
            position: relative !important;
            display: inline-block !important;
            text-align: center !important;
            background: none !important;
            border: none !important;
            padding: 0 !important;
            line-height: 1.2 !important;
            font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
        }

        h2.section-title::after {
            content: '' !important;
            position: absolute !important;
            bottom: -10px !important;
            left: 50% !important;
            transform: translateX(-50%) !important;
            width: 60px !important;
            height: 3px !important;
            background: #6c757d !important;
            border-radius: 0 !important;
        }

        h2.section-title::before {
            display: none !important;
        }

        .section-subtitle {
            color: #6c757d;
            max-width: 600px;
            margin: 0 auto;
        }

        /* About Section */
        .about-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
            align-items: center;
        }

        .about-text {
            color: #495057;
            line-height: 1.8;
        }

        .about-features {
            display: grid;
            gap: 20px;
        }

        .feature-item {
            display: flex;
            align-items: center;
            padding: 20px;
            background: #ffffff;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
            border-left: 4px solid #6c757d;
        }

        .feature-icon {
            display: none;
        }

        .feature-text {
            font-weight: 600;
            color: #495057;
        }

        /* Vision Section */
        .vision-content {
            text-align: center;
            max-width: 800px;
            margin: 0 auto;
        }

        .vision-text {
            color: #495057;
            font-weight: 500;
            margin-bottom: 40px;
            line-height: 1.8;
        }

        .vision-cards {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 30px;
            margin-top: 50px;
        }

        .vision-card {
            background: #ffffff;
            padding: 40px 30px;
            border-radius: 12px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
            text-align: center;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .vision-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
        }

        .vision-card-icon {
            width: 120px;
            height: 120px;
            border-radius: 50%;
            margin: 0 auto 20px;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .vision-card-icon img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .vision-card h3 {
            color: #495057;
            margin-bottom: 15px;
        }

        .vision-card p {
            color: #6c757d;
        }

        /* Staff Section */
        .staff-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 40px;
        }

        .staff-card {
            background: #ffffff;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
            transition: transform 0.3s ease;
        }

        .staff-card:hover {
            transform: translateY(-5px);
        }

        .staff-image {
            width: 100%;
            height: 200px;
            background: linear-gradient(135deg, #bdc3c7, #95a5a6);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 3rem;
        }

        .staff-info {
            padding: 30px;
        }

        .staff-name {
            font-size: 1.3rem;
            font-weight: 700;
            color: #2c3e50;
            margin-bottom: 10px;
        }

        .staff-role {
            font-weight: 600;
            margin-bottom: 15px;
        }

        .staff-description {
            color: #7f8c8d;
            font-size: 0.95rem;
            line-height: 1.6;
        }



        .company-info .section-title {
            color: white;
        }

        .company-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 60px;
        }

        .company-details {
            background: rgba(255, 255, 255, 0.05);
            padding: 40px;
            border-radius: 12px;
            border: 1px solid grey;
        }

        .company-table {
            width: 100%;
        }

        .company-table tr {
            border-bottom: 1px solid grey;
        }

        .company-table tr:last-child {
            border-bottom: none;
        }

        .company-table td {
            padding: 15px 0;
            vertical-align: top;
        }

        .company-table td:first-child {
            font-weight: 600;
            color: #adb5bd;
            width: 120px;
        }

        .company-values {
            display: grid;
            gap: 20px;
        }

        .value-item {
            background: rgba(255, 255, 255, 0.05);
            padding: 25px;
            border-radius: 8px;
            border-left: 4px solid #e74c3c;
        }

        .value-item h4 {
            color: #e74c3c;
            margin-bottom: 10px;
        }

        .value-item p {
            color: #bdc3c7;
            font-size: 0.95rem;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .section {
                padding: 60px 0;
            }

            .section-title {
                font-size: 2rem;
            }

            .about-content {
                grid-template-columns: 1fr;
                gap: 40px;
            }

            .company-grid {
                grid-template-columns: 1fr;
                gap: 40px;
            }

            .feature-item {
                flex-direction: column;
                text-align: center;
            }

            .feature-icon {
                margin-right: 0;
                margin-bottom: 15px;
            }
        }

        @media (max-width: 480px) {
            .container {
                padding: 0 15px;
            }

            .section-title {
                font-size: 1.8rem;
            }

            .vision-cards {
                grid-template-columns: 1fr;
            }

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


.staff-image {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 8px; /* 丸みが欲しい場合は追加（任意） */
}




/* ここからswell（6/27） */

    .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        .section {
            padding: 80px 0;
            position: relative;
        }

        .section:nth-child(even) {
            background-color: #dee2e6;
        }


        .section-header {
            text-align: center;
            margin-bottom: 60px;
        }

        /* h2タグの強力なスタイル上書き */
        h2.section-title {
            font-size: 2.5rem !important;
            font-weight: 700 !important;
            color: #495057 !important;
            margin-bottom: 15px !important;
            position: relative !important;
            display: inline-block !important;
            text-align: center !important;
            background: none !important;
            border: none !important;
            padding: 0 !important;
            line-height: 1.2 !important;
            font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
        }

        h2.section-title::after {
            content: '' !important;
            position: absolute !important;
            bottom: -10px !important;
            left: 50% !important;
            transform: translateX(-50%) !important;
            width: 60px !important;
            height: 3px !important;
            background: #6c757d !important;
            border-radius: 0 !important;
        }

        h2.section-title::before {
            display: none !important;
        }

        .section-subtitle {
            color: #6c757d;
            max-width: 600px;
            margin: 0 auto;
        }

        /* About Section */
        .about-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
            align-items: center;
        }

        .about-text {
            color: #495057;
            line-height: 1.8;
        }

        .about-features {
            display: grid;
            gap: 20px;
        }

        .feature-item {
            display: flex;
            align-items: center;
            padding: 20px;
            background: #ffffff;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
            border-left: 4px solid #6c757d;
        }

        .feature-icon {
            display: none;
        }

        .feature-text {
            font-weight: 600;
            color: #495057;
        }

        /* Vision Section */
        .vision-content {
            text-align: center;
            max-width: 800px;
            margin: 0 auto;
        }

        .vision-text {
            color: #495057;
            font-weight: 500;
            margin-bottom: 40px;
            line-height: 1.8;
        }

        .vision-cards {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 30px;
            margin-top: 50px;
        }

        .vision-card {
            background: #ffffff;
            padding: 40px 30px;
            border-radius: 12px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
            text-align: center;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .vision-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
        }

        .vision-card-icon {
            width: 120px;
            height: 120px;
            border-radius: 50%;
            margin: 0 auto 20px;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .vision-card-icon img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .vision-card h3 {
            color: #495057;
            margin-bottom: 15px;
        }

        .vision-card p {
            color: #6c757d;
        }

        /* Staff Section */
        .staff-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 40px;
        }

        .staff-card {
            background: #ffffff;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
            transition: transform 0.3s ease;
        }

        .staff-card:hover {
            transform: translateY(-5px);
        }

        .staff-image {
            width: 100%;
            height: 200px;
            background: linear-gradient(135deg, #bdc3c7, #95a5a6);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 3rem;
        }

        .staff-info {
            padding: 30px;
        }

        .staff-name {
            font-size: 1.3rem;
            font-weight: 700;
            color: #2c3e50;
            margin-bottom: 10px;
        }

        .staff-role {
            font-weight: 600;
            margin-bottom: 15px;
        }

        .staff-description {
            color: #7f8c8d;
            font-size: 0.95rem;
            line-height: 1.6;
        }



        .company-info .section-title {
            color: white;
        }

        .company-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 60px;
        }

        .company-details {
            background: rgba(255, 255, 255, 0.05);
            padding: 40px;
            border-radius: 12px;
            border: 1px solid grey;
        }

        .company-table {
            width: 100%;
        }

        .company-table tr {
            border-bottom: 1px solid grey;
        }

        .company-table tr:last-child {
            border-bottom: none;
        }

        .company-table td {
            padding: 15px 0;
            vertical-align: top;
        }

        .company-table td:first-child {
            font-weight: 600;
            color: #adb5bd;
            width: 120px;
        }

        .company-values {
            display: grid;
            gap: 20px;
        }

        .value-item {
            background: rgba(255, 255, 255, 0.05);
            padding: 25px;
            border-radius: 8px;
            border-left: 4px solid #e74c3c;
        }

        .value-item h4 {
            color: #e74c3c;
            margin-bottom: 10px;
        }

        .value-item p {
            color: #bdc3c7;
            font-size: 0.95rem;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .section {
                padding: 60px 0;
            }

            .section-title {
                font-size: 2rem;
            }

            .about-content {
                grid-template-columns: 1fr;
                gap: 40px;
            }

            .company-grid {
                grid-template-columns: 1fr;
                gap: 40px;
            }

            .feature-item {
                flex-direction: column;
                text-align: center;
            }

            .feature-icon {
                margin-right: 0;
                margin-bottom: 15px;
            }
        }

        @media (max-width: 480px) {
            .container {
                padding: 0 15px;
            }

            .section-title {
                font-size: 1.8rem;
            }

            .vision-cards {
                grid-template-columns: 1fr;
            }

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


.staff-image {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 8px; /* 丸みが欲しい場合は追加（任意） */
}




/* ここからswell（6/27） */

.strong {
    font-weight: 900;
}

.red {
    color: #c11b26 !important;
    font-weight: 700;
}


.cap_box_ttl {
    align-items: center;
    background-color: #004c8e;
    color: #fff;
    display: flex;
    gap: .5em;
    justify-content: center;
    line-height: 1.5;
    margin-bottom: 0 !important;
    padding: .5em;
    position: relative;
    text-align: center;
    z-index: 1;
}

.cap_box_content {
    background-color: white;
    border: 1px solid #004c8e;
    clear: both;
    margin-top: -2px;
    padding: 1.25em;
    position: relative;
    z-index: 0;
}

.-list-under-dashed>li, .border_bottom>li {
    border-bottom: 1px dashed var(--color_border);
    margin-bottom: .75em;
    padding-bottom: .75em;
}

.is-style-check_list li:before {
    color: #004c8e !important;
    content: "\f00c" !important;
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900 !important;
}



.box29 .box-title {
    display: inline-block;
    position: relative;
    top: -2px;
    padding: 2px 9px;
    background: #ffc107;
    color: #fff;
    font-size: 17px;
    line-height: 1.5;
}



.box29 {
    margin: 2em 0;
    border: solid 2px #ffc107;
    background: #fff;
}



.box29 .box-content {
    padding: 15px;
}



.li-check ul li {
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-all;
    max-width: 90%;
}




.li-check li:before {
    position: absolute;
    left: -1.5em !important;
    color: #ffb03f;
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900 !important;
    content: "\f00c";
    left: -26px;
}



.memo {
    margin-bottom: 1.5em;
    padding: 1em;
    background: #fff9e5;
    color: #545454;
}



.memo_ttl {
    margin-bottom: 5px;
    color: #ffb36b;
    font-size: 1.2em;
    font-weight: bold;
}



.memo_ttl:before {
    display: inline-block;
    width: 30px;
    height: 30px;
    line-height: 30px;
    margin: 0 3px 0 0;
    border-radius: 50%;
    background: #ffb36b;
    color: #fff;
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900 !important;
    text-align: center;
    vertical-align: middle;
    content: "\f303";
}



.meritto {
    border: 3px solid #175491;
}



.meritto, .demeritto {
    position: relative;
    padding: 0.8em 1em;
    margin: 4em 0 2em !important;
}

.meritto .box-title {
    background: #175491;
}



.meritto .box-title, .demeritto .box-title, .PR .box-title {
    position: absolute;
    top: -44px;
    left: -3px;
    color: white;
    line-height: 32px;
    padding: 5px 13px 3px;
    border-radius: 10px 10px 0 0;
}



.meritto .box-title:before {
    content: "\f599";
}



.meritto ul, .demeritto ul {
    list-style: none;
}



.meritto li, .demeritto li {
    padding: .5em 0 !important;
    padding-left: 6px !important;
}

.meritto li:before {
    content: "\f164" !important;
    color: #175491 !important;
    transform: none !important;
    font-size: 16px;
}

.meritto li:before, .demeritto li:before {
    margin-left: -20px;
    margin-right: 10px;
}


.demeritto {
    border: 3px solid #cf2e2e;
}

.demeritto .box-title {
    background: #cf2e2e;
}



.meritto, .demeritto {
    position: relative;
    padding: 0.8em 1em;
    margin: 4em 0 2em !important;
}

.demeritto {
    border: 3px solid #cf2e2e;
}



.meritto .box-title, .demeritto .box-title, .PR .box-title {
    position: absolute;
    top: -44px;
    left: -3px;
    color: white;
    line-height: 32px;
    padding: 5px 13px 3px;
    border-radius: 10px 10px 0 0;
}



.demeritto .box-title:before {
    content: "\f119";
}




.demeritto li:before {
    content: "\f165" !important;
    color: #cf2e2e !important;
    transform: none !important;
    font-size: 16px;
}



.memo.alert {
    background: #ffebeb;
}

.memo.alert .memo_ttl:before {
    background: #ff8376;
    content: "\f12a";
}


.memo {
    margin-bottom: 1.5em;
    padding: 1em;
    background: #fff9e5;
    color: #545454;
}


.memo.alert .memo_ttl {
    color: #ff8376;
}
.memo_ttl {
    margin-bottom: 5px;
    color: #ffb36b;
    font-size: 1.2em;
    font-weight: bold;
}




.horizontal_scroll, .twiiter_horizontal_scroll {
    border: none;
    background-color: #DAECF2;
}

.horizontal_scroll li, .twiiter_horizontal_scroll li {
    list-style: none !important;
    overflow-y: scroll;
}

.horizontal_scroll li, .twiiter_horizontal_scroll li {
    background: #fff;
    max-width: 270px;
    display: block;
    position: relative;
    min-width: 270px;
    height: 380px;
}


.horizontal_scroll, .twiiter_horizontal_scroll {
    padding: 0 !important;
    border: none !important;
    margin-top: 0 !important;
}


.horizontal_scroll, .twiiter_horizontal_scroll {
    overflow-x: scroll;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    padding: 0 0 12px 8px;
    display: -ms-flexbox;
    display: flex;
}



.icon-star-full:before {
    content: "\f005";
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900;
}



.icon-star-full {
    color: #ffb500;
    letter-spacing: 3px;
    font-style: normal;
}


.sgb-css-id-8 .wp-block-columns {
    box-shadow: var(--wp--custom--shadow--medium, 0 6px 13px -3px rgba(0, 12, 66, 0.1), 0 0px 1px rgba(0, 30, 100, 0.1));
    background: #fff;
    padding: 0;
    display: flex
;
    margin-bottom: 0;
    border-radius: calc(var(--sgb--custom--box-radius, 6) * 1px);
    box-sizing: border-box;
    flex-wrap: nowrap;
    gap: 0;
    overflow: hidden;
}


.sgb-css-id-8 {
    border: none;
    max-width: 800px;
    margin: 8px auto;
    font-weight: unset;
}


.wp-block-columns.is-not-stacked-on-mobile>.wp-block-column {
    flex-basis: 0;
    flex-grow: 1;
}

.sgb-heading--type2 {
    border: 2px solid transparent;
    border-radius: 4px;
    padding: 0.75em 0.65em;
}

.inline-blockmerit {
    background-color: #175491;
    border-color: transparent;
    font-size: 1em;
    text-align: center;
}

.sgb-heading__inner {
    display: block;
    font-weight: 900;
    line-height: 1.4;
}


.inline-blockdemerit {
    background-color: #cf2e2e;
    border-color: transparent;
    font-size: 1em;
    text-align: center;
}

.sgb-heading__inner {
    display: block;
    font-weight: 900;
    line-height: 1.4;
}



.sgb-heading--type2 {
    border: 2px solid transparent;
    border-radius: 4px;
    padding: 0.75em 0.65em;
}




.sng-box .li-check ul {
    border: none !important;
    left: 30px;
}



.li-check ul li {
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-all;
    max-width: 90%;
}



.li-check .sgb-css-id-7 li:before {
    content: "\f00d" !important;
    font-weight: 900;
    position: absolute;
    left: 0;
    font-family: "Font Awesome 5 Free" !important;
    width: 1.25em;
    color: #cf2e2e !important;
    transform: none;
}


.cap_box_content ul.-list-under-dashed.is-style-check_list {
  list-style: none !important;
  padding-left: 0 !important; /* インデントも除去したい場合 */
}

.cap_box_content ul.-list-under-dashed.is-style-check_list li::marker {
  display: none !important;
  content: '' !important;
}


.swell-block-step {
    --swl-step_arrow_color: #dedede;
    counter-reset: step;
}

.is-style-big>.swell-block-step__item {
    border-bottom: 1px dashed var(--swl-step_arrow_color);
    padding: 2em;
}

.is-style-big>.swell-block-step__item:before {
    border: 12px solid transparent;
    border-top: 12px solid var(--swl-step_arrow_color);
    display: block;
    height: 0;
    left: 50%;
    top: 100%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    width: 0;
}

.is-style-big>.swell-block-step__item:before {
    z-index: 1000;
}
.is-style-big>.swell-block-step__item>.swell-block-step__number {
    border-radius: 0;
    color: inherit;
    height: auto;
    margin: 0 auto 1em;
    position: relative;
    width: auto;
}

.is-style-big .swell-block-step__title {
    text-align: center;
}

.swell-block-step__item {
    background: #feffee;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .1), 0 4px 8px -4px rgba(0, 0, 0, .2);
}

.is-style-big>.swell-block-step__item>.swell-block-step__number {
    border-radius: 0;
    color: inherit;
    height: auto;
    margin: 0 auto 1em;
    position: relative;
    width: auto;
}

.swell-block-step__number {
    box-sizing: content-box;
    color: #fff;
    display: flex
;
    flex-direction: column;
    height: 48px;
    justify-content: center;
    left: 0;
    line-height: 1;
    position: absolute;
    text-align: center;
    top: 0;
    width: 48px;
}

.swell-block-step__number:after {
    content: counter(step);
    counter-increment: step;
    display: block;
    font-size: 20px;
}


.swell-block-step__number:after {
    content: counter(step);
    counter-increment: step;
    display: block;
    font-size: 20px;
}


.u-col-main {
    color: #004c8e !important;
}

.swell-block-step__item .swell-block-step__title {
    font-weight: 700!important;
    margin: 0;
    padding: 0;
}

.swell-block-step__item .swell-block-step__title {
    font-weight: 700;
    margin: 0;
    padding: 0;
}