#guide .under_title {
    background-image: url("images/guide/bg_head_guide.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    height: 230px;
    text-align: center;
}

#guide .under_title h2 {
    font-family: "Zen Maru Gothic", sans-serif;
    font-size: 24px;
    color: rgb(255, 255, 255);
    padding-top: 140px;
    text-shadow: rgba(0, 0, 0, 0.5) 0px 0px 10px;
}

#guide_list {
    padding: 80px 0px;
    background-color: rgb(245, 245, 245);
}

#guide_list .container {
    max-width: 1050px;
    margin: 0px auto;
    padding: 0px 20px;
}

#guide_list .guide_list ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

#guide_list .guide_list li {
    width: 100%;
    background-color: rgb(255, 255, 255);
    border-radius: 10px;
    overflow: hidden;
}

#guide_list .guide_list li a {
    display: flex;
    align-items: center;
    padding: 30px;
    gap: 20px;
    position: relative;
    transition: 0.3s;
}

#guide_list .guide_list li a:hover {
    opacity: 0.8;
}

#guide_list .guide_list .icon {
    width: 80px;
    flex-shrink: 0;
}

#guide_list .guide_list .icon img {
    width: 100%;
}

#guide_list .guide_list h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

#guide_list .guide_list p {
    font-size: 13px;
    line-height: 1.7;
    color: rgb(102, 102, 102);
}

#guide_list .guide_list .arrow {
    position: absolute;
    right: 20px;
    bottom: 20px;
    width: 20px;
}

#guide_list .guide_list .arrow img {
    width: 100%;
}

.guide_tab {
    margin: 40px auto 0px;
}

.guide_tab ul {
    display: flex;
    flex-direction: column;
    gap: 0px;
    list-style: none;
    padding: 0px;
    margin: 0px;
}

.guide_tab ul li {
    width: 100%;
}

.guide_tab ul li a, .guide_tab ul li span {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    padding: 14px 20px;
    border-radius: 0px;
    border: 1px solid rgb(204, 204, 204);
    color: rgb(153, 153, 153);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    background-color: rgb(255, 255, 255);
    transition: 0.2s;
    cursor: default;
}

.guide_tab ul li a img,
.guide_tab ul li span img {
    width: 26px;
    flex-shrink: 0;
    margin-right: 10px;
}

.guide_tab ul li.active a img {
    filter: brightness(5);
}

.guide_tab ul li a {
    cursor: pointer;
}

.guide_tab ul li a:hover {
    opacity: 0.75;
}

.guide_tab ul li.work a {
    border-color: rgb(108, 155, 230);
    color: rgb(108, 155, 230);
}

.guide_tab ul li.raising a {
    border-color: rgb(237, 167, 181);
    color: rgb(237, 167, 181);
}

.guide_tab ul li.house a {
    border-color: rgb(239, 190, 112);
    color: rgb(239, 190, 112);
}

.guide_tab ul li.life a {
    border-color: rgb(125, 209, 170);
    color: rgb(125, 209, 170);
}

.guide_tab ul li.work.active a {
    background-color: rgb(108, 155, 230);
    border-color: rgb(108, 155, 230);
    color: rgb(255, 255, 255);
}

.guide_tab ul li.raising.active a {
    background-color: rgb(237, 167, 181);
    border-color: rgb(237, 167, 181);
    color: rgb(255, 255, 255);
}

.guide_tab ul li.house.active a {
    background-color: rgb(239, 190, 112);
    border-color: rgb(239, 190, 112);
    color: rgb(255, 255, 255);
}

.guide_tab ul li.life.active a {
    background-color: rgb(125, 209, 170);
    border-color: rgb(125, 209, 170);
    color: rgb(255, 255, 255);
}

#guide_article {
    padding: 0;
}


.title_read {
    text-align: center;
    margin-bottom: 60px;
}

.title_read > .under_wrap {
    padding-top: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgb(238, 238, 238);
}

.title_read[style*="background-image"] > .under_wrap {
    padding-top: 70px;
    padding-bottom: 70px;
    border-bottom: none;
}

.title_read h3 {
    font-family: "Zen Maru Gothic", sans-serif;
    font-size: 18px;
    line-height: 1.9;
    color: rgb(51, 51, 51);
    margin: 0;
}

.title_read[style*="background-image"] h3 {
    color: rgb(255, 255, 255);
    text-shadow: rgba(0, 0, 0, 0.4) 0px 0px 8px;
}

.guide_cards {
    margin-bottom: 80px;
}

.guide_cards ul {
    list-style: none;
    padding: 0px;
    margin: 0px;
}

.guide_cards ul li {
    padding: 60px 0px;
}

.guide_cards ul li:nth-child(2n) {
    background-color: rgb(244, 250, 248);
}

.guide_cards ul li .card_title h4 {
    font-family: "Zen Maru Gothic", sans-serif;
    font-size: 22px;
    line-height: 1.6;
    color: rgb(51, 51, 51);
    margin-bottom: 24px;
    padding-top: 40px;
    text-align: center;
}

.guide_cards ul li .card_title .frame {
    margin-bottom: 30px;
    text-align: center;
}

.guide_cards ul li .card_title .frame img {
    width: 342px;
    height: auto;
    max-width: 100%;
}

.guide_cards ul li .card_content p {
    font-size: 14px;
    line-height: 1.9;
    color: rgb(85, 85, 85);
    margin-bottom: 30px;
    text-align: center;
}

.guide_cards ul li .card_content img {
    width: 100%;
    display: block;
    border-radius: 5px;
}

.guide_cards ul li .card_content:has(.img-sp) .img-pc {
    display: none;
}

.guide_cards ul li .card_content .img-sp {
    display: block;
}

.guide_cards ul li .card_content .noimage {
    width: 100%;
    aspect-ratio: 4 / 3;
    background-color: rgb(238, 238, 238);
    border-radius: 5px;
}

.guide_links {
    padding: 60px 0px;
}

.guide_links.bg_colored {
    background-color: rgb(244, 250, 248);
}

.guide_links .links_section_head {
    text-align: center;
    margin-bottom: 80px;
}

.guide_links .links_section_head h4 {
    font-family: "Zen Maru Gothic", sans-serif;
    font-size: 22px;
    color: rgb(51, 51, 51);
    margin-bottom: 20px;
}

.guide_links .links_section_head .frame img {
    width: 342px;
    height: auto;
    max-width: 100%;
}

.guide_links .links_body {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    border-radius: 8px;
    padding: 33px 20px 20px;
    background-color: rgb(255, 255, 255);
    margin-top: 0px;
}

.guide_links .links_head {
    grid-column: 1 / -1;
    margin-top: 20px;
    text-align: center;
}

.guide_links .links_head:first-child {
    margin-top: -63px;
}

.guide_links .links_head span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: rgb(0, 141, 215);
    color: rgb(255, 255, 255);
    width: 290px;
    height: 50px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 18px;
    box-sizing: border-box;
}

#guide_article.work .guide_links .links_head span {
    background-color: rgb(108, 155, 230);
}

#guide_article.raising .guide_links .links_head span {
    background-color: rgb(237, 167, 181);
}

#guide_article.house .guide_links .links_head span {
    background-color: rgb(239, 190, 112);
}

#guide_article.life .guide_links .links_head span {
    background-color: rgb(125, 209, 170);
}

.guide_links .links_item {
    display: flex;
    flex-direction: column;
}

.guide_links .links_item a {
    display: flex;
    flex-direction: column;
    flex: 1 1 0%;
    position: relative;
    padding: 12px 16px 40px;
    background-color: #F8F8F8;
    border-radius: 5px;
    text-decoration: none;
    color: rgb(51, 51, 51);
    transition: opacity 0.2s;
    box-sizing: border-box;
}

.guide_links .links_item a:hover {
    opacity: 0.8;
}

.guide_links .links_item a h5 {
    font-size: 14px;
    font-weight: 500;
    margin: 0 0 17px;
    padding-bottom: 16px;
    line-height: 1.5;
    border-bottom: 1px solid #E3E3E3;
}

.guide_links .links_item a p {
    font-size: 11px;
    color: rgb(102, 102, 102);
    line-height: 1.7;
    margin: 0;
}

.guide_links .links_item a .arrow {
    position: absolute;
    right: 0px;
    bottom: 0px;
}

.guide_links .links_item a .arrow img {
    width: 40px;
    display: block;
}

#guide_article.work .guide_links .links_item a .arrow img {
    content: url("images/guide/icon_arrow_work.png");
}

#guide_article.raising .guide_links .links_item a .arrow img {
    content: url("images/guide/icon_arrow_raising.png");
}

#guide_article.house .guide_links .links_item a .arrow img {
    content: url("images/guide/icon_arrow_house.png");
}

#guide_article.life .guide_links .links_item a .arrow img {
    content: url("images/guide/icon_arrow_life.png");
}
