@charset "UTF-8";

.container_obi {}

#article_obi {
    margin-top: 90px;
}

.contents_wrap {
    width: 1200px;
    height: auto;
    margin: 0 auto;
}

/* スマホ用要素を非表示 */
.sp_br,
.obi_beforeImg_sp,
.plus_img_sp,
.step_plus_sp {
    display: none;
}

/* =============
article_header
============= */
/* --赤-- */
.section_header {
    background-color: #e60012;
    margin-top:94px;
}

.header_topic {
    display: flex;
    padding-top: 30px;
}

.topic_wrap {
    padding: 14px;
}

.topic_wrap_bk {
    color: #000;
    font-size: 42px;
    font-weight: bold;
    background-image: url(../img/fukidashi_1.png);
    background-repeat: no-repeat;
    background-size: contain;
    max-width: 720px;
    width: 100%;
    height: 85px;
    padding-left: 20px;
    padding-top:6px;
}

/*ふきだし*/
.top_fukidashi {
  position: relative;
  display: inline-block;
  margin-bottom: 20px;
  padding: 5px 16px;
  border: 2px solid #f5f5f5;
  border-radius: 8px;
  background-color: #ffffff;
  text-align: center;
  font-size: 45px;
  font-weight: bold;
  line-height: 1.5;
  color: #000000;
}

.top_fukidashi::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 27%;
  border-style: solid;
  border-width: 20px 10px 0 10px;
  border-color: #f5f5f5 transparent transparent;
  translate: -50% 100%;
}

.top_fukidashi::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 27%;
  border-style: solid;
  border-width: 15.5px 7.8px 0 7.8px;
  border-color: #ffffff transparent transparent;
  translate: -50% 100%;
}


.topic_wrap_w {
    color: #fff;
    font-size: 90px;
    font-weight: bold;
    & span {
        color: #e60012;
        text-shadow:
            2px 0 0 #ffffff,
            -2px 0 0 #ffffff,
            0 2px 0 #ffffff,
            0 -2px 0 #ffffff,
            2px 2px 0 #ffffff,
            -2px 2px 0 #ffffff,
            2px -2px 0 #ffffff,
            -2px -2px 0 #ffffff;
    }
}

.maru_ye {
    background-color: #f1ff0a;
    width: 225px;
    height: 225px;
    border: 2px solid #fff;
    border-radius: 50%;
    text-align: center;
    position: relative;
    & span {
        color: #e60012;
        font-size: 55px;
        font-weight: 600;
        position: absolute;
        top: 50px;
        left: 25%;
    }
    & p {
        font-size: 40px;
        font-weight: bold;
        text-align: center;
        line-height: 1;
        position: absolute;
        top: 100px;
        left: 15%;
    }
}

/* --青-- */
.section_blue {
    background-color: #2056a8;
}

.obi_blueTxt_wrap {
    position: relative;
    height:70px;
}

.header_txt {
    color: #f1ff0a;
    font-size: 40px;
    line-height:40px;
    font-weight: bold;
    padding: 14px;
}

.hakase_sagyou {
    position: absolute;
    bottom: 17px;
    right: -25px;
}

/* --白-- */
.header_img {
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
}

.obi_hakase {
    display: flex;
    align-items: center;
    gap: 23px;
}

.obi_hakase_txt {
    font-size: 26px;
    font-weight: bold;
    line-height: 1.1;
    background-image: url(../img/fukidashi.png);
    background-repeat: no-repeat;
    width: 450px;
    height: 154px;
    padding: 25px 0 0 77px;
    & span {
        font-size: 36px;
    }
}

.obi_ijyuin {
    display: flex;
    gap: 23px;
}

.obi_ijyuin_txt {
    font-size: 26px;
    font-weight: bold;
    position: relative;
    padding-top: 40px;
    width: 280px;
    line-height: 45px;
    & span {
        font-size: 44px;
        position: relative;
        z-index: 1;
    }
    & span::before {
        content: "";
        position: absolute;
        background: #f1ff0a;
        width: 220px;
        height: 15px;
        bottom: 3px;
        z-index: -1;
    }
}

.obi_ijyuin_txt::before,
.obi_ijyuin_txt::after {
    content: "";
    position: absolute;
    background: #000;
    width: 150px;
    height: 3px;
    right: -10px;
}

.obi_ijyuin_txt::before {
    top: 30px;
    transform: rotate(200deg);
}

.obi_ijyuin_txt::after {
    bottom: 95px;
    transform: rotate(155deg);
}

/* =============
article_main
============= */
/* ------ before-after ----- */
.section_main {
    background-color: #fcedeb;
}

.main_wrap {
    padding: 175px 0;
}

.mTopic_wrap {
    position: relative;
    top: -30px;
    right: 0;
}

.main_topic {
    color: #e15036;
    font-size: 50px;
    font-weight: 600;
    text-align: center;
    text-shadow:
        2px 0 0 #ffffff,
        -2px 0 0 #ffffff,
        0 2px 0 #ffffff,
        0 -2px 0 #ffffff,
        2px 2px 0 #ffffff,
        -2px 2px 0 #ffffff,
        2px -2px 0 #ffffff,
        -2px -2px 0 #ffffff;
}

.mTopic_img {
    position: absolute;
}

.hakase_niko {
    top: -28px;
    right: 0;
}

.ba_list {
    display: flex;
    justify-content: center;
    background-color: #fff;
    border: 1px solid #e9f2e0;
    width: 1200px;
    height: 620px;
    border-radius: 12px;
}

.ba_item_txt {
    color: #fff;
    font-size: 27px;
    font-weight: 600;
    text-align: center;
    width: 216px;
    height: 47px;
    border-radius: 25px;
    margin: 40px 0;
    line-height: 47px;
}

.Before {
    background-color: #2056a8;
}

.After {
    background-color: #e15036;
}

.hakase_good {
    top: -37px;
    right: 110px;
}

/* ------ step ----- */
.step {
    margin-top: 180px;
}

.step_contents {
    margin-top: 60px;
}

.step_list {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.step_item {
    background-color: #fff;
    border: 1px solid #e60012;
    border-radius: 15px;
    text-align: center;
    position: relative;
}

.step_item_topic {
    color: #fff;
    background-color: #e60012;
    font-size: 40px;
    font-weight: bold;
    text-align: center;
    padding: 12px 0;
    border-radius: 15px 15px 0 0;
    height: 55px;
    line-height: 55px;
}

.step_item_number {
    color: #e60012;
    background-color: #fff;
    font-size: 38px;
    font-weight: bold;
    line-height: 1;
    text-align: center;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 1px solid #e60012;
    position: absolute;
    top: -63px;
    left: 10px;
    
    & span {
        display: block;
        font-size: 16px;
        text-align: center;
        padding-top: 20px;
    }
}

.step_item_step {
    width: 530px;
    height: 460px;
    & img {
        height: 306px;
        margin-top: 30px;
    }
}

.step_item_txt {
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    margin-top: 12px;
}

.sankaku {
    position: relative;
    left: 49%;
    top: -320px;
    margin-top: 20px;
    width: 140px;
}

/* ------ plus ----- */
.step_plus {
    margin-top: 180px;
}

.hakase_plus {
    position: absolute;
    top: -85px;
    right: 170px;
}

.step_item_plus {
    font-size: 28px;
    width: 100px;
    height: 100px;
    left: 170px;

    & p {
        display: block;
        text-align: center;
        padding-top: 40px;
    }
}

.plus_list {
    padding: 30px 0 80px;
    text-align:left;
}

.plus_topic {
    color: #fff;
    background-color: #e60012;
    font-size: 20px;
    font-weight: bold;
    border-radius: 20px;
    padding: 5px 0 5px 55px;
    width: 170px;
    line-height:28px;
}

.plus_number {
    color: #e60012;
    background-color: #fff;
    font-size: 25px;
    font-weight: bold;
    line-height: 30px;
    text-align: center;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    position: absolute;
    top: 4px;
    left: 5px;
}

.num04 .plus_number {
    padding-right: 1px;
}

.num01,
.num02,
.num03,
.num04 {
    position: absolute;
    width:230px;
}

.num01 { top: 168px; left: 45px; }
.num02 { top: 337px; left: 45px; }
.num03 { top: 168px; right: 55px; }
.num04 { bottom: 209px; right: 55px; }

.plus_img_pc {
    text-align: center;
    position: relative;
}

.plus_txt {
    padding: 8px;
    font-size:18px;
    line-height:24px;
}

/* =============
article_footer
============= */
.soudan {
    padding: 20px 0;
    position: relative;
}

.maru_bl {
    color: #2056a8;
    background-color: #f1ff0a;
    border-radius: 50%;
    border: 1px solid #2056a8;
    text-align: center;
    width: 150px;
    height: 150px;
    position: absolute;
    top: -31px;
    left: 0;
    
    & p {
        font-size: 20px;
        font-weight: bold;
        text-align: center;
        padding-top: 40px;
    }
}

.txt_contents {
    & h3 {
        color: #fff;
        font-size: 45px;
        font-weight: bold;
        text-align: center;
    }
    & span {
        color: #f1ff0a;
    }
}

.soudan_txt {
    color: #fff;
    font-size: 25px;
    text-align: center;
}

.soudan_img {
    max-width: 220px;
    width: 100%;
    height: 171px;
    position: absolute;
    top: -60px;
    right: 0;
}

.soudan_btn {
    display: block;
    color: #fff;
    font-size: 25px;
    font-weight: 600;
    background-color: #e60012;
    width: 510px;
    padding: 38px;
    text-align: center;
    margin: 53px auto; 
    border: 2px solid #e60012; 
    box-sizing: border-box;
    transition: all 0.3s ease;
    text-decoration: none;
    border-radius:10px;
}

.soudan_btn:hover {
    background-color: #fff;
    color: #e60012;
}

.section_more {
    background-color: #fcedeb;
}

/* --- 全体コンテナのスタイル --- */
.obi-replacement-section {
    background-color: #faebeb;
    padding: 30px 15px;
    color: #333;
    max-width: 1200px;
    margin: 0 auto;
    padding-top:140px;
    padding-bottom:100px;
}

/* --- 共通の赤枠ボックス --- */
.red-border-box {
    background-color: #ffffff;
    border: 2px solid #d32f2f;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    position: relative;
}

/* --- 見出しスタイル --- */
.section-title {
    color: #e60012;
    font-size: 40px;
    font-weight: bold;
    display: flex;
    align-items: center;
    margin-top: -110px;
    margin-bottom: 20px;
}

.section-title img {
    width: 100px;
    margin-right: 30px;
}

.section-title span.large-num {
    font-size: 56px;
    font-style: italic;
    margin: 0 5px;
    line-height: 1;
}

/* --- ステップセクション（上部） --- */
.step-container {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
}

.step-block {
    width: 30%;
}

.step-block2 {
    width: 35%;
}

.step-label {
    background-color: #e53935;
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    padding: 5px 20px;
    display: inline-block;
    border-radius: 4px;
    margin-bottom: 15px;
}

.step-title {
    color: #d32f2f;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
    line-height:40px;
}

.step-arrow {
    width: 8%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: #d32f2f;
    margin-top: 80px;
}

.step-image-placeholder {
    width: 115%;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}

.step-image-placeholder2 {
    width: 100%;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    margin-top:25px;
}

/* --- ステップの右側テキストエリア --- */
.step-side-info {
    width: 25%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-weight: bold;
    font-size: 15px;
}

.step-side-info .top-text {
    line-height: 1.6;
    background-image: url(../img/roop.webp);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 130px;
    height: 100px;
    text-align: center;
    margin: 0 auto;
    padding-top: 30px;
    margin-bottom: 30px;
    font-size: 16px;
}

.step-side-info .bottom-text {
    position: relative;
    line-height: 1.6;
    text-align:center;
    font-size: 20px;
}

.step-side-info .bottom-text span {
    padding: 0.2rem;
    margin-bottom: 0.2rem;
    background: linear-gradient(transparent 60%, #f1ff0a 60%);
}

.step-side-info .bottom-text img {
    width: 130px;
    display: block;
    margin: 0 auto;
    padding-top: 10px;
}

/* --- 再編集機能セクション（下部） --- */
.edit-container {
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    gap: 30px;
}

.edit-mockup {
    width: 45%;
    background-color: #f5f5f5;
    border: 1px dashed #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    min-height: 300px;
}

.edit-features-grid {
    width: 50%;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.feature-item {
    width: calc(50% - 15px);
    border: 2px solid #d32f2f;
    border-radius: 8px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.feature-number {
    position: absolute;
    top: 5px;
    left: 10px;
    color: #d32f2f;
    font-size: 20px;
    font-weight: bold;
}

.feature-title {
    color: #d32f2f;
    font-weight: bold;
    font-size: 16px;
    margin-top: 15px;
    margin-bottom: 10px;
}

.feature-icon-placeholder {
    width: 50px;
    height: 50px;
    background-color: #f9e6e6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d32f2f;
}