/* === Custom Styles === */

/* Centered Section Title */
.custom-section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1d2088;
    margin-bottom: 40px;
    margin-top: 40px;
}

/* Main Box Wrapper */
.custom-story-box {
    border: 3px solid #6ac603;
    border-radius: 10px;
    padding: 30px;
    margin: 30px auto;
    max-width: 900px;
    background-color: #fff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
}

/* Hover Effect */
.custom-story-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Label Tag */
.custom-label {
    position: absolute;
    top: -15px;
    left: 20px;
    background-color: #ffcc00;
    color: #fff;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 5px 10px;
    border-radius: 4px;
}

/* Alternate Color Label */
.custom-label.usecase {
    background-color: #0099ff;
    color: #fff;
}

/* Inner Title */
.custom-story-box h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

/* Make the whole box clickable */
a.custom-link-box {
    display: block;
    color: inherit;
    text-decoration: none;
}

/* Responsive tweaks */
@media (max-width: 768px) {
    .custom-story-box {
        padding: 20px;
        margin: 20px 10px;
    }

    .custom-section-title {
        font-size: 2rem;
    }
}

.custom-story-box img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
}

.col-lg-8 h3 {
    color: #6ac603;
}

.company-info {
    font-size: 14px;
}

.company-info h3 {
    font-size: 24px;
    font-weight: 600;
}

.company-info ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.company-info ul li {
    border-bottom: 1px solid #ddd;
    padding: 8px 0;
    font-size: 14px;
    color: #333;
}

.company-info ul li:last-child {
    border-bottom: none;
}

/* === Typography === */
body,
h1,
h2,
h3,
h4,
h5,
h6,
p {
    font-family: 'Noto Sans Japanese', sans-serif;
    font-weight: 500;
}

h2,
h3,
h4,
h5,
h6 {
    font-weight: bold;
}

h3 {
    font-size: 22px;
    margin: 22px 0;
}

.content-area {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 15px;
    color: #575757;
    line-height: 1.8;
}

.introduction_example_title h2 {
    letter-spacing: 0.2rem;
}

.introduction_example_box {
    margin-top: 30px;
}

.introduction_example_box h3 {
    background-color: #6ac603;
    color: #fff;
    padding-top: 6px;
    padding-bottom: 6px;
    text-align: left;
    padding-left: 15px;
}

.introduction_example_box .introduction_example_sub_box {
    border: solid 3px #6ac603;
    padding: 20px;
    overflow: hidden;
    margin: 0 15px;
}

.introduction_example_box .introduction_example_sub_box .introduction_example_img_box {
    float: left;
    padding-right: 15px;
}

.introduction_example_box .introduction_example_sub_box .introduction_example_img_box img {
    margin-top: 0 !important;
}

.introduction_example_box .introduction_example_sub_box .introduction_example_txt_box {
    width: 100%;
    padding-left: 230px;
}

.introduction_example_box .introduction_example_sub_box .introduction_example_txt_box p {
    margin: 0;
    padding: 6px 0;
    border-bottom: dotted 1px #575757;
    font-weight: bold;
    font-size: 16px;
}

.introduction_example_box .introduction_example_sub_box .introduction_example_txt_box p:last-child {
    border-bottom-style: none;
}

/* -------------------------
   Company Information Section
-------------------------- */
.introduction_example_box.company_information .introduction_example_sub_box .introduction_example_txt_box {
    width: 100%;
    padding-left: 0;
    box-sizing: border-box;
    font-family: inherit;
    color: inherit;
    line-height: 1.6;
}

/* Each information row (line) */
.introduction_example_box.company_information .introduction_example_sub_box .introduction_example_txt_box .line {
    display: table;
    width: 100%;
    margin: 0;
    padding: 8px 0;
    border-bottom: 1px dotted #aaa;
    font-size: 16px;
    transition: background 0.2s ease-in-out;
}

/* Table-cell layout for label and content */
.introduction_example_box.company_information .introduction_example_sub_box .introduction_example_txt_box .line span {
    display: table-cell;
    vertical-align: top;
    padding: 4px 0;
}

/* Label column */
.introduction_example_box.company_information .introduction_example_sub_box .introduction_example_txt_box .line span:first-of-type {
    width: 30%;
    font-weight: 600;
    color: #575757;
    position: relative;
}

/* Add colon after the label */
.introduction_example_box.company_information .introduction_example_sub_box .introduction_example_txt_box .line span:first-of-type::after {
    content: "：";
    position: absolute;
    right: 5px;
    color: #444;
}

/* Value column */
.introduction_example_box.company_information .introduction_example_sub_box .introduction_example_txt_box .line span:nth-of-type(2) {
    padding-left: 15px;
}

/* List styling inside a line */
.introduction_example_box.company_information .introduction_example_sub_box .introduction_example_txt_box .line ul {
    display: table-cell;
    vertical-align: top;
    list-style: none;
    margin: 0;
    padding-left: 15px;
}

.introduction_example_box.company_information .introduction_example_sub_box .introduction_example_txt_box .line ul li {
    margin-bottom: 4px;
}

/* -------------------------
   Responsive adjustments
-------------------------- */
@media (max-width: 768px) {
    .introduction_example_box.company_information .introduction_example_sub_box .introduction_example_txt_box .line {
        display: block;
        padding: 8px 0;
    }

    .introduction_example_box.company_information .introduction_example_sub_box .introduction_example_txt_box .line span,
    .introduction_example_box.company_information .introduction_example_sub_box .introduction_example_txt_box .line ul {
        display: block;
        width: 100%;
        padding-left: 0;
    }

    .introduction_example_box.company_information .introduction_example_sub_box .introduction_example_txt_box .line span:first-of-type::after {
        content: "";
    }
}

/* -------------------------
   Titles & content blocks
-------------------------- */
.page-contents-title {
    text-align: center;
}

.page-contents-title h2 {
    color: #49BA00;
}

.page-contents-title p {
    font-size: 16px;
    letter-spacing: .2rem;
}

.page-contents-title hr {
    background-color: #E6E6E6;
}

p {
    line-height: 1.8;
}

.introduction_example_column_box {
    margin: 10px 0;
    padding: 0 15px;
}

.introduction_example_column_box h4 {
    text-align: center;
    font-size: 22px;
    margin-bottom: 20px;
    line-height: 1.6em;
}

.introduction_example_column_box p {
    margin-bottom: 0;
}

.introduction_example_column_box .introduction_img {
    float: left;
    margin-right: 15px;
    margin-bottom: 15px;
}

.introduction_example_column_box .flex_reverse .introduction_img {
    float: none;
    margin-right: 0;
    margin: 0;
}

.introduction_example_column_box .introduction_img figure {
    display: inline-block;
}

.introduction_example_column_box .introduction_img figure img {
    margin-bottom: 6px;
}

.introduction_example_column_box .introduction_img figure figcaption {
    text-align: center;
    line-height: 1.2em;
    width: 179px;
    margin: auto;
}

.introduction_example_column_box .introduction_img figure figcaption span {
    display: block;
    padding-top: 5px;
}

.introduction_example_column_box .introduction_column {
    padding-left: 160px;
    text-align: justify;
}

.introduction_example_column_box .flex_reverse .introduction_column {
    width: auto;
    padding-right: 20px;
    padding-left: 0;
}

.introduction_example_column_box.two_img .introduction_img figure {
    display: inherit;
}

.introduction_example_column_box.two_img .introduction_img figure:first-child {
    margin-right: 10px;
    margin-bottom: 15px;
}

.introduction_example_column_box.two_img .introduction_column {
    width: 100%;
    margin-bottom: 20px;
}

.flex_reverse {
    display: flex;
    flex-flow: row-reverse;
}

/* Paragraph indentation */
.introduction_column p:first-of-type {
    text-indent: 2em;
}

.noindent {
    text-indent: 0 !important;
}

.indent {
    text-indent: 2em;
    display: inline-block;
}

/* Image Resets */
.entry-content img,
.entry-summary img,
.comment-content img[height],
img[class*="align"],
img[class*="wp-image-"],
img[class*="attachment-"] {
    height: auto !important;
}

.entry-content img,
.entry-summary img,
.comment-content img,
.widget img,
.wp-caption {
    max-width: 100%;
}

img {
    -ms-interpolation-mode: bicubic;
    border: 0;
    vertical-align: middle;
}

/* Box sizing reset */
* {
    box-sizing: border-box;
}

/* Blockquote */
blockquote {
    font-family: Archivo;
    font-style: italic;
    font-size: 14px;
    color: inherit;
    border-left: 4px solid #6ac603;
    padding-left: 10px;
    text-align: justify;
    margin: 10px 20px;
}

blockquote cite {
    display: block;
    text-align: right;
    font-style: normal;
    margin-top: 8px;
}

/* Clearfix */
.clear {
    clear: both;
    float: none;
}
