@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&family=Noto+Serif+JP:wght@200..900&display=swap');

/*------------------------
 全体共通部分
------------------------*/
* {
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 0;
    font-style: normal;
    box-sizing: border-box;
    line-height: 2;
}
html {
    font-size: 100%;
    scroll-padding-top: 120px;
}
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-size: 17px;
    letter-spacing: 0.1rem;
    font-family: "Noto Sans JP", sans-serif;
    background-color: #fff;
    color: #333;
}
a {
    color: #333;
    transition: 0.4s;
    text-underline-offset: 5px;
}
a:hover {
    opacity: 0.7;
}
p {
    margin: 20px 0;
}
img {
    max-width: 100%;
    height: auto;
}
@media screen and (max-width: 1280px) {
    body{
        width: 1280px;
        overflow-x: auto;
    }
}
@media (max-width:767px){
    html {
        scroll-padding-top: 90px;
    }
}
@media screen and (min-width: 481px) {
    a[href*="tel:"] {
        pointer-events: none;
        cursor: default;
    }
    .sp {
        display: none;
    }    
}
@media screen and (max-width: 480px) {
    html {
        scroll-padding-top: 70px;
    }
    body{
        width: 100%;
        overflow-x: hidden;
    }
    .pc {
        display: none;
    }
}


/*------------------------
 ヘッダー
------------------------*/
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    z-index: 15;
    background-color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
}
.gnav {
    display: flex;
    gap: 25px;
    align-items: center;
}
header .logo {
    display: flex;
    align-items: center;
    margin-block: 0 !important;
    margin-left: 3%;
    font-size: 0;
    padding: 10px 0 10px 0;
}
header .logo img {
    width: 250px;
    min-width: 250px;
    vertical-align: bottom;
}
.contact_area {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100px;
    background-color: #003477;
    padding: 0 10px 10px;
}
header .num {
    color: #fff;
    font-size: 1.4rem;
}
header .num::before {
    display: inline-block;
    content: '';
    width: 30px;
    height: 30px;
    background: url(img/tel_white.png) no-repeat center / contain;
    margin-right: 5px;
    vertical-align: -5px;
}
header .contact_btn {
    width: 100%;
    padding: 5px 10px;
}
.icon_area {
    position: fixed;
    top: 0;
    right: 71px;
}
@media print, screen and (min-width: 960px) {
    .icon_area {
        display: none;
    }    
}
@media screen and (max-width: 960px) {
    header {
        height: 70px;
    }
    header .logo {
        margin-left: 10px;
    }
    header .logo img {
        width: 200px;
        min-width: 200px;
        vertical-align: baseline;
    }
    .icon_area .contact_area {
        height: 70px;
    }
    .icon_area  .num {
        font-size: 1.1rem;
    }
    .icon_area .num::before {
        width: 20px;
        height: 20px;
        vertical-align: -3px;
    }
    .icon_area .contact_btn {
        padding: 2px 10px;
        font-size: 0.8rem;
    }
    .icon_area .contact_btn::before {
        width: 25px;
        height: 25px;
        vertical-align: -8px;
    }
    .gnav {
        position: fixed;
        top: 0;
        right: 0;
        width: 80%;
        height: 100%;
        opacity: 0;
        visibility: hidden;
        transform: translateX(100%);
        transition: 0.4s;
        overflow: auto;
        -ms-overflow-style: none;
        scrollbar-width: none;
        padding: 80px 20px 50px;
        background-color: #003477;
        flex-direction: column-reverse;
        justify-content: flex-end;
        gap: 50px;
    }
    .gnav.active {
        opacity: 1;
        visibility: visible;
        transform: translateX(0);
    }
    .gnav::-webkit-scrollbar {
        display: none;
    }
    .gnav .contact_area {
        display: none;
    }
}
@media screen and (min-width: 480px) {
    .icon {
        display: none;
    }
}
@media screen and (max-width: 480px) {
    header {
        height: 50px;
    }
    header .logo img {
        width: 130px;
        min-width: 130px;
        vertical-align: top;
    }
    .icon_area .contact_area {
        display: none;
    }
    .gnav {
        width: 100%;
        padding-top: 60px;
    }
    .icon {
        position: absolute;
        width: 50px;
        height: 50px;
        background-color: #003477;
    }
    .icon:first-of-type {
        right: 31px;
    }
    .icon:last-of-type {
        right: -20px;
    }
    .icon img {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 30px;
        height: 30px;
    }
}


/* グローバルナビ */
.header_menu {
    position: relative;
}
.header_menu ul {
    list-style-type: none;
}
.header_menu > ul {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0 25px;
}
.header_menu a {
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
}
.parent a {
    padding-right: 12px;
}
.parent {
    position: relative;
}
.parent::after {
    position: absolute;
    top: 40%;
    right: 0;
    display: inline-block;
    content: '';
    width: 5px;
    height: 5px;
    border-top: 1px solid #333;
    border-right: 1px solid #333;
    transform: rotate(135deg) translateY(-40%);
    z-index: 1;
    transition: 0.4s;
}
.parent.active::after {
    transform: rotate(-45deg);
}
.child_menu {
    position: absolute;
    top: 67px;
    left: 50%;
    transform: translateX(-50%);
    width: max-content;
    display: flex;
    gap: 20px;	
    visibility: hidden;
	opacity: 0;
    transition: all 0.3s;
    padding: 20px;
    background-color: #003477;
    list-style-type: none;
}
.child_menu::before {
    display: block;
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    border: 10px solid transparent;
    border-bottom: 10px solid #003477;
}
.parent:hover > ul,
.parent ul li:hover > ul,
.parent:active > ul,
.parent ul li:active > ul {
    visibility: visible;
    opacity: 1;
}
.child_menu li {
    width: 100%;
    padding: 10px !important;
}
.child_menu li a {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-right: 0;
    font-size: 0.9rem;
    color: #fff;
    white-space: nowrap;
}
@media screen and (max-width: 1268px) {
    .child_menu {
        top: 84px;
    }
}
@media screen and (max-width: 982px) {
    .child_menu {
        top: 67px;
    }
}
@media screen and (max-width: 960px) {
    .header_menu {
        width: 100%;
    }
    .header_menu > ul {
        flex-direction: column;
        gap: 0;
    }
    .header_menu > ul > li {
        border-bottom: 1px solid #fff;
    }
    .header_menu li:not(:last-of-type) {
        border-right: none;
    }
    .header_menu a {
        display: flex;
        flex-direction: column;
        padding: 20px;
        white-space: wrap;
        color: #fff;
        font-size: 1rem;
    }
    .child_menu {
        position: static;
        width: 100%;
        visibility: visible;
        opacity: 1;
        display: none;
        transform: none;
        transition: none;
        background: transparent;
        padding: 0 15px !important;
    }
    .child_menu::before {
        display: none;
    }
    .child_menu li:not(:last-of-type) {
        border-bottom: 1px dotted #fff;
    }
    .child_menu li a {
        align-items: flex-start;
        padding: 10px;
    }
    .parent::after {
        border-color: #fff;
        top: 33px;
        right: 20px;
        transform: rotate(135deg);
    }
}

/* ハンバーガーメニュー */
.hamburger {
    width: 70px;
    height: 70px;
    background-color:  #003477;
    border: none;
    transition: 0.4s;
    cursor: pointer;
    z-index: 20;
}
.line {
    display: inline-block;
    position: absolute;
    top: 34px;
    right: 17px;
    width: 35px;
    height: 1px;
    background-color: #fff;
    transition: 0.4s;
}
.line::before, .line::after {
    display: block;
    content: '';
    position: absolute;
    left: 0;
    width: 35px;
    height: 1px;
    background-color: #fff;
    transition: 0.4s;
}
.line::before {
    top: -12px;
}
.line::after {
    bottom: -12px;
}
.hamburger.active .line {
    background: transparent;
    transform: translateX(20px);
}
.hamburger.active .line::before, .hamburger.active .line::after {
    left: 0;
    width: 100%;
}
.hamburger.active .line::before {
    top: -5px;
    transform: translate(-20px,5px) rotate(-45deg) !important;
}
.hamburger.active .line::after {
    top: 5px;
    transform: translate(-20px,-5px) rotate(45deg) !important;
}
@media screen and (min-width: 960px) {
    .hamburger {
        display: none;
    }
}
@media screen and (max-width: 480px) {
    .hamburger {
        width: 50px;
        height: 50px;
    }
    .line {
        top: 25px;
        right: 12px;
        width: 25px;
    }
    .line::before, .line::after {
        width: 25px;
    }
    .line::before {
        top: -8px;
    }
    .line::after {
        bottom: -8px;
    }    
}

/*------------------------
 メインコンテンツ共通部分
------------------------*/
section {
    padding: 150px 0;
}
.padding-short {
    padding: 70px 0 100px;
}
body:not(#top) section:nth-of-type(even) {
    background-color: #f1f1f1;
}
.container {
    max-width: 1080px;
    margin: 0 auto;
}
.subsec:not(:last-of-type) {
    margin-bottom: 70px;
}
.logo img {
    object-fit: contain;
}
.num {
    position: relative;
    display: block;
    width: max-content;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
}
.flex {
    display: flex;
    gap: 50px;
}
@media screen and (max-width: 480px) {
    .container {
        margin: 0 20px;
    }    
    section {
        padding: 100px 0;
    }
    .flex {
        flex-direction: column;
    }
}


/* 見出し */
.headline {
    text-align: center;
    margin-bottom: 80px;
    font-family: 'Noto Serif JP', serif;
}
.headingL {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.5rem;
    line-height: 1.2;
}
.headingM {
    font-size: 1.5rem;
    margin-bottom: 20px;
}
#reform-top .headingM {
    white-space: nowrap;
}
.head_en {
    font-size: 1rem;
    font-weight: 700;
    color: #003477;
}
.white > * {
    color: #fff;
}
.subhead {
    position: relative;
    font-size: 1.7rem;
    font-weight: 500;
    letter-spacing: 0.3rem;
    padding: 0 0 30px 30px;
}
.subhead::before {
    display: inline-block;
    content: '';
    position: absolute;
    top: 19px;
    left: 0;
    border: 10px solid transparent;
    border-left: 10px solid #B5B5B6;
}
#page_header {
    position: relative;
    width: 100%;
    height: 300px;
    margin-top: 100px;
}
#page_header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
}
#company #page_header {
    background: url(img/headimg/company.webp) no-repeat center top / cover;
}
#recruit #page_header {
    background: url(img/headimg/recruit.webp) no-repeat center top / cover;
}
#pet #page_header {
    background: url(img/headimg/pet.webp) no-repeat center top / cover;
}
#reform-store-office #page_header, #reform-house #page_header {
    background: url(img/headimg/reform.webp) no-repeat center top / cover;
}
#house #page_header, .category-works #page_header {
    background: url(img/headimg/house.webp) no-repeat center top / cover;
}
.category-building #page_header {
    background: url(img/headimg/building.webp) no-repeat center top / cover;
}
.category-news #page_header {
    background: url(img/headimg/news.webp) no-repeat center top / cover;
}
#privacy #page_header {
    background: url(img/headimg/privacy.webp) no-repeat center top / cover;
}
#page_header .headline {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    width: max-content;
    margin-bottom: 0;
}
@media screen and (max-width: 960px) {
    #page_header {
        margin-top: 70px;
    }
}
@media screen and (max-width: 480px) {
    #page_header {
        height: 200px;
        margin-top: 50px;
    }
    .headingL {
        font-size: 1.5rem;
        letter-spacing: 0.3rem;
    }
    .headingM {
        font-size: 1.3rem;
    }
    #reform-top .headingM {
        white-space: wrap;
    }
    .subhead {
        font-size: 1.4rem;
        padding-left: 20px !important;
    }
    .subhead::before {
        top: 16px;
        border: 8px solid transparent;
        border-left: 8px solid #B5B5B6;
    }
}


/* 詳細ボタン */
.more_btn {
    position: relative;
    display: block;
    width: 350px;
    border: 2px solid #003477;
    border-radius: 50px;
    background-color: #fff;
    color: #003477;
    text-align: center;
    padding: 10px;
    margin: 0 auto;
    font-weight: 700;
    font-family: 'Noto Serif JP', serif;
    text-decoration: none;
}
.more_btn:hover {
    opacity: 1;
    background-color: #003477;
    color: #fff;
}
.more_btn::before, .more_btn::after {
    display: inline-block;
    content: '';
    position: absolute;
    height: 2px;
    border-radius: 5px;
    background-color: #003477;
    transition: 0.4s;
    border-radius: 10px;
}
.more_btn::before {
    right: 30px;
    bottom: 20px;
    width: 20px;
}
.more_btn::after {
    right: 29px;
    bottom: 23px;
    width: 10px;
    transform: rotate(40deg);
}
.more_btn:hover::before, .more_btn:hover::after {
    background-color: #fff;
}
.more_btn:hover::before {
    transform: translateX(5px);
}
.more_btn:hover::after {
    transform: translateX(5px) rotate(40deg);
}
@media screen and (max-width: 480px) {
    .more_btn {
        width: 100%;
    }
}

/* お問い合わせボタン */
.contact_btn {
    position: relative;
    display: block;
    border-radius: 50px;
    background-color: #fff;
    color: #003477;
    text-align: center;
    text-decoration: none;
}
.contact_btn::before {
    display: inline-block;
    content: '';
    width: 30px;
    height: 30px;
    background: url(img/mail_navy.png) no-repeat center / contain;
    margin-right: 5px;
    vertical-align: -9px;
}
@media screen and (max-width: 480px) {
    .contact_btn {
        width: 100% !important;
    }
}


/* パンくずリスト */
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 30px;
    font-size: 0.7rem;
    margin: 50px 0;
    list-style-type: none;
}
.breadcrumb li {
    position: relative;
}
.breadcrumb li:not(:last-of-type)::after {
    display: inline-block;
    content: '';
    position: absolute;
    top: 10px;
    right: -16px;
    width: 5px;
    height: 5px;
    border-top: 1px solid #333;
    border-right: 1px solid #333;
    transform: rotate(45deg);
}


/* 表・リスト */
.common_dl div {
    display: flex;
    border-bottom: 1px solid #003477;
}
.common_dl div:first-of-type {
    border-top: 1px solid #003477;
}
.common_dl dt {
    width: 250px;
    background-color: #E5F1FF;
    color: #003477;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-weight: 500;
    padding: 20px;
}
.common_dl dd {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px 20px 20px 40px;
    flex: 1;
}
.common_ul {
    list-style: none;
    display: flex;
    gap: 10px 30px;
    flex-wrap: wrap;
}
.common_ul li {
    position: relative;
    padding-left: 20px;
}
.common_ul li::before {
    display: inline-block;
    content: '';
    position: absolute;
    top: 14px;
    left: 0;
    width: 7px;
    height: 7px;
    background-color: #003477;
    border-radius: 50%;
}

@media screen and (max-width: 480px) {
    .common_dl div {
        flex-direction: column;
    }
    .common_dl dt {
        width: 100%;
        padding: 10px 20px;
    }
    .common_dl dd {
        padding: 20px;
    }
}


/* ページ内リンク */
.page_link {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    place-items: center;
    list-style-type: none;
}
.page_link li {
    width: 100%;
}
.page_link a {
    position: relative;
    display: block;
    color: #003477;
    padding: 10px;
    font-weight: 500;
    border-bottom: 1px solid #003477;
    text-decoration: none;
}
.page_link a::after {
    display: inline-block;
    content: '';
    position: absolute;
    top: 50%;
    right: 30px;
    transform: translateY(-50%) rotate(135deg);
    width: 6px;
    height: 6px;
    border-top: 1px solid #003477;
    border-right: 1px solid #003477;
}
.page_link p {
    width: 90%;
    margin: 0;
    line-height: 1.7;
    text-align: center;
}
@media screen and (max-width: 480px) {
    .page_link {
        grid-template-columns: repeat(2, 1fr);
        align-items: flex-end;
    }
    .page_link a {
        font-size: 0.8rem;
    }
    .page_link a::after {
        right: 20px;
    }
    .page_link p {
        width: 80%;
        margin-inline: auto;
    }
}
@media screen and (max-width: 390px) {
    .page_link {
        grid-template-columns: repeat(1, 1fr);
    }
}




/*------------------------
 トップページ
------------------------*/
/* メインヴィジュアル */
#mainvisual {
    position: relative;
    overflow: hidden;
}
.topimg {
    opacity: 0;
}
.topimg img {
    width: 100%;
    height: 100dvh;
    object-fit: cover;
}
.topimg .first-animate img {
    animation: mvFade 2s ease forwards;
}
.topimg.slick-initialized {
    opacity: 1;
}
@keyframes mvFade {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
        transform: scale(1.1);
    }
}
.catchphrase {
    color: #fff;
    font-family: 'Noto Serif JP', serif;
    font-weight: 700;
    font-size: 2.3rem;
    letter-spacing: 0.7rem;
    -webkit-writing-mode: vertical-rl; 
    writing-mode: vertical-rl;    
    text-orientation: upright;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.7);
}
.line1, .line2 {
    position: absolute;
    top: 25%;
}
.line1 {
    right: 20%;
}
.line2 {
    left: 20%;
}
@media screen and (max-width: 480px) {
    .catchphrase {
        font-size: 1.5rem;
        letter-spacing: 0.4rem;
    }
    .line1 {
        right: 25%;
        top: 15%;
    }
    .line2 {
        left: 25%;
        top: 20%;
    }
    .topimg img {
        height: 70dvh;
    }
}

/* お知らせ */
#news {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.7);
    padding: 20px 0;
}
#news a {
    display: flex;
    align-items: center;
    gap: 50px;
    text-decoration: none;
}
#news time {
    width: 120px;
    font-weight: 700;
    color: #003477;
    flex-shrink: 0;
}
#news p {
    flex: 1;
    margin: 0;
}
@media screen and (max-width: 480px) {
    #news {
        padding: 10px 0;
    }
    #news a {
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        gap: 5px;
        font-size: 0.8rem;
    }
}


/* ごあいさつ */
#greeting-top {
    padding-top: 200px;
}
.greeting_box {
    position: relative;
    width: 960px;
    border: 1px solid #B5B5B6;
    padding: 50px 60px 50px 120px;
    margin: 0 auto;
}
.greeting_box::before {
    display: block;
    content: '匠';
    position: absolute;
    top: -50px;
    left: -60px;
    width: 100px;
    height: 100px;
    background-color: #003477;
    color: #fff;
    font-family: 'Noto Serif JP', serif;
    font-size: 100px;
    padding: 20px;
    line-height: 90px;
    text-align: center;
}
.greeting_box::after {
    display: block;
    content: '';
    position: absolute;
    top: 10px;
    right: -10px;
    width: 100%;
    height: 100%;
    background-color: #f1f1f1;
    z-index: -1;
}

@media screen and (max-width: 480px) {
    #greeting-top {
        padding-top: 150px;
    }
    .greeting_box {
        width: 95%;
        margin: 0 0 0 auto;
        padding: 50px 30px;
    }
    .greeting_box::before {
        left: -30px;
        width: 60px;
        height: 60px;
        font-size: 60px;
        line-height: 50px;
    }
}


/* 会社のこと */
#about {
    padding: 0;
}
#about .container {
    display: flex;
    padding: 0;
    margin: 0 auto;
    max-width: 1280px;
    height: 75dvh;
}
#about .container > div {
    position: relative;
    flex: 1;
}
.company {
    background: url(img/company.webp) no-repeat center / cover;
}
.recruit {
    background: url(img/recruit.webp) no-repeat center right / cover;
}
.navy_bg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 50px 30px;
    background-color: rgba(0, 52, 119, 0.5);
}
@media screen and (max-width: 480px) {
    #about .container{
        flex-direction: column;
        height: auto;
    }
    #about .container > div {
        min-height: 250px; 
    }
    .navy_bg {
        position: static; 
        height: auto;   
    }
}


/* 一般注文住宅・建築工事 */
#house-top, #building-top {
    display: flex;
    gap: 20px;
    padding-top: 200px;
}
#house-top {
    padding-left:
         max(
            20px,
            calc((100vw - 1280px) / 2)
        );
}
#building-top {
    flex-direction: row-reverse;
    padding-right:
         max(
            20px,
            calc((100vw - 1280px) / 2)
        );
}
#house-top .wrapper, #building-top .wrapper {
    width: 300px;
    min-width: 300px;
    margin-top: -50px;
}
#house-top > .wrapper > * {
    text-align: left;
}
#building-top > .wrapper > * {
    text-align: right;
}
.blue_bg {
    background-color: #E5F1FF;
    padding: 150px 0;
    width: 1265px;
    overflow: hidden;
}
#house-top .blue_bg {
    margin: 0 0 0 auto;
    border-radius: 100px 0 0 100px;
}
#building-top .blue_bg {
    margin: 0 auto 0 0;
    border-radius: 0 100px 100px 0;
}
.btn_list {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    list-style-type: none;
}
#house-top .btn_list,
#building-top .btn_list {
    margin: 150px 5vw 0;
}
.slider {
    position: relative;
}
#house-top .slider {
    right: -150px;
}
#building-top .slider {
    left: -150px;
}
.slider .slick-track {
    position: relative;
    display: flex;
}
#building-top .slider .slick-track {
    flex-direction: row-reverse;
}
.slider .slick-slide {
    padding: 15px;
}
.slider li {
    flex: 1;
}
.slider a {
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: 5px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    height: 100%;
    text-decoration: none;
}
.slider img {
    width: 100%;
    aspect-ratio:  1.5 / 1;
    object-fit: cover;
    vertical-align: bottom;
}
.slider p {
    margin: 0;
    padding: 10px 15px;
    text-align: center;
    background-color: #fff;
    display: flex;
    align-items: center;  
    justify-content: center;
    flex: 1;
    font-weight: 500;
}
.cat_tag {
    position: absolute;
    top: 0;
    right: 0;
    background-color: #003477;
    color: #fff;
    font-size: 0.8rem;
    padding: 5px 10px;
    border-radius: 0 5px 0 5px;
}
@media screen and (max-width: 1280px) {
    #house-top .btn_list {
        margin-left: 100px;
    }
    #building-top .btn_list {
        margin-right: 100px;
    }
}
@media screen and (max-width: 480px) {
    #house-top, #building-top {
        flex-direction: column;
    }
    #house-top .wrapper, #building-top .wrapper {
        width: 90%;
        min-width: auto;
    }
    #house-top .wrapper {
        margin: 0 20px 0 auto;
    }
    #building-top .wrapper {
        margin: 0 auto 0 20px;
    }
    #building-top > .wrapper > p {
        text-align: left;
    }
    #house-top .slider {
        right: 0;
    }
    #building-top .slider {
        left: 0;
    }
    .blue_bg {
        width: 100%;
        padding: 50px 30px;
    }
    .btn_list {
        flex-direction: column;
        margin: 100px auto 0 !important;
    }
    #building-top .slider {
        flex-direction: row;
    }
}


/* slick */
.slide-prev, .slide-next {
    position: absolute;
    bottom: -70px;
    z-index: 2;
    display: inline-block;
    cursor: pointer;
    background-color: #fff;
    border: 2px solid #003477;
    border-radius: 50%;
    width: 50px;
    height: 50px;
  }
  #house-top .slide-prev {
    left: calc(50% - 350px);
  }
  #house-top .slide-next {
    left: calc(50% + 10px);
  }
  #building-top .slide-prev {
    right: calc(50% + 10px);
  }
  #building-top .slide-next {
    right: calc(50% - 350px);
  }
  .prev-arrow, .next-arrow {
    position: absolute;
    top: 14px;
    display: inline-block;
    width: 20px;
    height: 20px;
  }
  .prev-arrow {
    left: 20px;
    border-top: 2px solid #003477;
    border-left: 2px solid #003477;
    transform: rotate(-45deg);
  }
  .next-arrow {
    right: 20px;
    border-top: 2px solid #003477;
    border-right: 2px solid #003477;
    transform: rotate(45deg);
  }
  .slider .slick-track::before,
  .slider .slick-track::after {
      display: none;
  }
  .slider .slick-slide {
      height: auto;
  }
  .slider .slick-slide img {
      display: inline-block;
  }
.dots {
    display: inline-flex;
    gap: 10px;
    position: absolute;
    bottom: -50px;
    transform: translateX(-50%);
} 
#house-top .dots {
  left: calc(50% - 145px);
}
#building-top .dots {
  left: calc(50% + 145px);
}
.dots li {
    width: 10px;
    height: 10px;
    background: #fff;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color .5s ease;
    list-style-type: none;
}
.dots li:hover,
.dots li.slick-active {
    background: #003477 !important;
}
.dots li button {
    display: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: none;
    padding: 0;
    border: none;
    background-color: transparent;
    color: transparent;
}
.hide-dots .dots {
  display: none !important;
}
@media screen and (max-width: 480px) {
.slide-prev, .slide-next {
    bottom: -20px;
    width: 40px;
    height: 40px;
  }
  #house-top .slide-prev {
    left: -10px;
  }
  #house-top .slide-next {
    left: auto;
    right: -10px;
  }
  #building-top .slide-prev {
    left: -10px;
  }
  #building-top .slide-next {
    left: auto;
    right: -10px;
  }
  .prev-arrow, .next-arrow {
    top: 11px;
    width: 15px;
    height: 15px;
  }
  .prev-arrow {
    left: 15px;
  }
  .next-arrow {
    right: 15px;
  }
    .dots {
        position: relative;
        bottom: -20px;
        left: 50% !important;
    } 
}


/* ペット・リフォーム */
#pet-top, #reform-top {
    background-color: #f1f1f1;
}
.link_card {
    display: flex;
}
#pet-top .link_card {
    flex-direction: row-reverse;
    box-shadow: -10px 10px 0 #B5B5B6;
}
#reform-top .link_card {
    box-shadow: 10px 10px 0 #B5B5B6;
}
.link_card > img {
    width: 60%;
    object-fit: cover;
}
.link_card img {
    vertical-align: bottom;
}
.navy_box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 40%;
    background-color: #003477;
    color: #fff;
    text-align: center;
    font-family: 'Noto Serif', serif;
    padding: 50px 30px;
}
.navy_box .more_btn {
    width: 100%;
    margin-top: 30px;
}
.navy_box .more_btn:nth-of-type(2) {
    margin-top: 20px;
}
.navy_box .more_btn:hover {
    background-color: #fff;
    color: #003477;
}
.navy_box .more_btn:hover::before, .navy_box .more_btn:hover::after {
    background-color: #003477;
}

@media screen and (max-width: 480px) {
    .link_card {
        flex-direction: column-reverse !important;
    }
    .link_card img, .navy_box {
        width: 100%;
    }
    .navy_box {
        padding: 30px 20px;
    }
}


/* お問い合わせ */
#contact {
    position: relative;
    background: url(img/contact.webp) no-repeat center / cover;
}
#contact::after {
    display: block;
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 52, 119, 0.3);
}
#contact > * {
    position: relative;
    z-index: 2;
}
#contact .more_btn {
    margin-top: 5px;
}
.white_box {
    width: 100%;
    padding: 50px 50px 70px;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.7);
}
.white_box .wrapper {
    display: flex;
    margin-top: 50px;
}
.white_box .wrapper > * {
    display: flex;
    flex-direction: column;
    gap: 30px;
    justify-content: flex-end;
    align-items: center;
    flex: 1;
    padding: 20px 20px 50px;
}
.white_box .wrapper > div:not(:last-of-type) {
    border-right: 1px solid #B5B5B6;
}
.white_box .wrapper p {
    color: #003477;
    font-weight: 500;
    font-size: 1.2rem;
    line-height: 1.5;
}
.white_box .more_btn {
    width: 100%;
}
#contact .num {
    color: #003477;
    font-size: 2rem;
}
@media screen and (max-width: 480px) {
    .white_box {
        padding: 50px 20px;
    }
    .white_box .wrapper {
        flex-direction: column;
        gap: 30px;
        justify-content: flex-end;
        align-items: center;
        flex: 1;
        padding: 0;
    }
    .white_box .wrapper > * {
        align-items: flex-start;
        gap: 10px;
    }
    .white_box .wrapper p {
        font-size: 1.1rem;
        text-align: left;
    }
    .white_box .num {
        margin: auto;
    }
    .white_box .wrapper > div:not(:last-of-type) {
        border-right: none;
        border-bottom: 1px solid #B5B5B6;
    }
    .white_box .wrapper > div {
        width: 100%;
        padding: 0 0 50px;
    }
    .white_box .wrapper > div > img {
        display: none;
    }
    #contact .wrapper > div > div {
        display: flex;
        gap: 20px;
        align-items: center;
    }
    #contact .sp {
        width: 50px;
        height: 50px;
    }
}



/*------------------------
 一般注文住宅
------------------------*/
/* 注文住宅をご検討の方へ */
.intro_box {
    position: relative;
    display: flex;
}
.intro_ttl {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.7rem;
    font-weight: 700;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.25);
    color: #775353;
    letter-spacing: 0.3rem;
    margin-bottom: 50px;
}
.intro_txt {
    width: 960px;
    border-radius: 20px;
    padding: 20px;
    margin: 120px auto 0 16px;
    background: url(img/bg.png) repeat;
}
.intro_inner {
    border: 1px dashed #9d8f89;
    border-radius: 15px;
    padding: 80px 150px 80px 60px;
}
.intro_txt .more_btn {
    margin: 70px auto 0;
    background-color: #775353;
    border-color: #775353;
    color:#fff;
}
.intro_txt .more_btn::before, .intro_txt .more_btn::after {
    background-color: #fff;
}
.intro_img {
    position: absolute;
    top: 0;
    right: -60px;
    z-index: 1;
    width: 55%;
    object-fit: contain;
}
@media screen and (max-width: 480px) {
    .intro_box {
        flex-direction: column;
    }
    .intro_ttl {
        font-size: 1.2rem;
        letter-spacing: 0.2rem;
        text-align: center;
        margin-bottom: 30px;
    }
    .intro_txt {
        width: 100%;
        padding: 10px;
        margin: 0;
    }
    .intro_inner {
        padding: 20px 15px 90px;
    }
    .intro_txt .more_btn {
        margin: 50px auto 0 0;
    }
    .intro_img {
        position: static;
        width: 90%;
        margin: -70px 0 0 auto;
    }
}


/* 家づくりの流れ */
.steps_list {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    list-style-type: none;
}
.steps_list li {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px 15px;
}
.steps_list li::after {
    display: block;
    content: '';
    position: absolute;
    top: 20%;
    transform: translateY(-20%);
    right: -40px;
    border: 20px solid transparent;
    z-index: 1;
}
.steps_list li:first-of-type {
    background-color: #fff;
}
.steps_list li:first-of-type::after {
    border-left: 20px solid #fff;
}
.steps_list li:nth-of-type(2) {
    background-color: #C5DFFF;
}
.steps_list li:nth-of-type(2)::after {
    border-left: 20px solid #C5DFFF;
}
.steps_list li:nth-of-type(3) {
    background-color: #4D95F0;
}
.steps_list li:nth-of-type(3)::after {
    border-left: 20px solid #4D95F0;
}
.steps_list li:nth-of-type(4) {
    background-color: #2163B8;
}
.steps_list li:nth-of-type(4)::after {
    border-left: 20px solid #2163B8;
}
.steps_list li:last-of-type {
    background-color: #003477;
}
.steps_list li:first-of-type, .steps_list li:nth-of-type(2) {
    color: #003477;
}
.steps_list li:nth-of-type(3) p,
.steps_list li:nth-of-type(4) p,
.steps_list li:last-of-type p {
    color: #fff;
}
.steps_list p:not(.bold) {
    font-size: 0.8rem;
    margin: 0;
    line-height: 1.8;
}
.steps_list img {
    width: 120px;
    object-fit: contain;
}
@media screen and (max-width: 480px) {
    .steps_list {
        grid-template-columns: repeat(1, 1fr);
    }
    .steps_list li::after {
        top: auto;
        bottom: -40px;
        right: auto;
        left: 50%;
        transform: translate(-50%, 0);
    }
    .steps_list li:first-of-type::after {
        border-left: 20px solid transparent;
        border-top: 20px solid #fff;
    }
    .steps_list li:nth-of-type(2)::after {
        border-left: 20px solid transparent;
        border-top: 20px solid #C5DFFF;
    }
    .steps_list li:nth-of-type(3)::after {
        border-left: 20px solid transparent;
        border-top: 20px solid #4D95F0;
    }
    .steps_list li:nth-of-type(4)::after {
        border-left: 20px solid transparent;
        border-top: 20px solid #2163B8;
    }
    .steps_list li {
        align-items: flex-start;
    }
    .steps_list li div {
        display: flex;
        flex-direction: row-reverse;
        align-items: center;
        gap: 20px;
    }
    .steps_list .sp {
        width: 100px;
        object-fit: contain;
    }
}



/* よくある質問 */
.faq_list div {
    border-bottom: 2px solid #B5B5B6;
}
.faq_list div:first-of-type {
    border-top: 2px solid #B5B5B6;
}
.faq_list div:nth-of-type(even) {
    background-color: #f9f9f9;
}
.faq_list dt, .faq_list dd {
    display: flex;
    gap: 20px;
    align-items: baseline;
}
.faq_list dt {
    position: relative;
    cursor: pointer;
    padding: 30px 20px;
}
.faq_list dt p {
    width: 90%;
    margin: 0;
}
.faq_list dd {
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    padding: 0 20px;
}
.faq_list dt::before, .faq_list dd::before {
    display: inline-block;
    font-weight: 700;
    font-size: 1.2rem;
}
.faq_list dt::before {
    color: #2163B8;
    content: 'Q.';
}
.faq_list dd::before {
    color: #EE325B;
    content: 'A.';
}
.faq_list dd.open {
    opacity: 1;
    visibility: visible;
    padding-top: 10px;
    padding-bottom: 30px;
}
.faq_arrow, .faq_arrow::after {
    position: absolute;
    width: 15px;
    height: 2px;
    border-radius: 5px;
    background-color: #B5B5B6;
}
.faq_arrow {
    top: 50%;
    transform: translateY(-50%);
    right: 30px;
    transition: opacity 0.4s ease-in-out;
}
.faq_arrow::after {
    display: block;
    content: '';
    top: 0;
    right: 0;
    transform: rotate(90deg); 
    transition: transform 0.4s ease-in-out;
}
.faq_arrow.open::before {
    opacity: 0;
}
.faq_arrow.open::after {
    transform: rotate(180deg);
}
@media screen and (max-width: 480px) {
    .faq_list dt::before, .faq_list dd::before {
        left: 15px;
    }
    .faq_arrow {
        right: 15px;
    }
    .faq_list dt, .faq_list dd {
        gap: 10px;
    }
    .faq_list dt p {
        width: 85%;
    }
}

#house .link_card {
    flex-direction: column-reverse;
}
#house .flex {
    display: flex;
    gap: 30px;
}
#house .navy_box, #house .link_card img {
    width: 100%;
}
#house .navy_box {
    padding: 20px 20px 30px;
}
#house .navy_box .more_btn {
    margin-top: 0;
}
@media screen and (max-width: 480px) {
    #house .flex {
        flex-direction: column;
    }
}



/*------------------------
 ペットと暮らす
------------------------*/
.pet_list {
    list-style-type: none;
    margin-top: 150px;
}
.pet_list li {
    position: relative;
    display: flex;
}
.pet_list li:nth-of-type(even) {
    flex-direction: row-reverse;
}
.pet_list li:not(:last-of-type) {
    margin-bottom: 200px;
}
.pet_list img {
    width: 40%;
    object-fit: cover;
}
.pet_list li:nth-of-type(odd) img {
    transform: rotate(-5deg);
}
.pet_list li:nth-of-type(even) img {
    transform: rotate(5deg);
}
.pet_ttl {
    font-size: 1.3rem;
    font-weight: 700;
    font-family: 'Noto serif JP', serif;
    color: #003477;
    padding: 0 10px 5px;
    border-bottom: 1px solid #003477;
    margin: 0 0 40px;
}
.pet_txtbox {
    position: absolute;
    top: 50px;
    width: 70%;
    padding: 50px 30px;
    background-color: #E5F1FF;
    z-index: -1;
}
.pet_list li:nth-of-type(odd) .pet_txtbox {
    right: 0;
    padding-left: 140px !important;
}
.pet_list li:nth-of-type(even) .pet_txtbox {
    left: 0;
    padding-right: 140px !important;
}
.pet_txtbox::after {
    display: block;
    content: '';
    position: absolute;
    top: -50px;
    width: 100px;
    height: 100px;
}
.pet_list li:first-of-type .pet_txtbox::after {
    background: url(img/point01.png) center / contain no-repeat;
}
.pet_list li:nth-of-type(2) .pet_txtbox::after {
    background: url(img/point02.png) center / contain no-repeat;
}
.pet_list li:nth-of-type(3) .pet_txtbox::after {
    background: url(img/point03.png) center / contain no-repeat;
}
.pet_list li:nth-of-type(4) .pet_txtbox::after {
    background: url(img/point04.png) center / contain no-repeat;
}
.pet_list li:last-of-type .pet_txtbox::after {
    background: url(img/point05.png) center / contain no-repeat;
}
.pet_list li:first-of-type .pet_txtbox::after, .pet_list li:nth-of-type(3) .pet_txtbox::after, .pet_list li:last-of-type .pet_txtbox::after  {
    right: -20px;
    transform: rotate(15deg);    
}
.pet_list li:nth-of-type(2) .pet_txtbox::after, .pet_list li:nth-of-type(4) .pet_txtbox::after   {
    left: -20px;
    transform: rotate(-15deg);    
}

@media screen and (max-width: 480px) {
    .pet_list li,
    .pet_list li:nth-of-type(even) {
        flex-direction: column-reverse;
    }
    .pet_list li:not(:last-of-type) {
        margin-bottom: 100px;
    }
    .pet_list img {
        width: 80%;
    }
    .pet_ttl {
        text-align: center;
        font-size: 1.1rem;
    }
    .pet_txtbox {
        position: static;
        width: 95%;
        padding: 60px 20px 20px;
        margin-top: -30px !important;
    }
    .pet_list li:nth-of-type(odd) .pet_txtbox {
        padding-left: 20px !important;
        margin: 0 0 0 auto;
    }
    .pet_list li:nth-of-type(even) .pet_txtbox {
        padding-right: 20px !important;
    }
    .pet_list li:nth-of-type(even) img {
        margin: 0 0 0 auto;
    }
    .pet_txtbox::after {
        top: 140px;
        width: 60px;
        height: 60px;
    }
    .pet_list li:first-of-type .pet_txtbox::after, .pet_list li:nth-of-type(3) .pet_txtbox::after, .pet_list li:last-of-type .pet_txtbox::after  {
        right: -10px;
    }
    .pet_list li:nth-of-type(2) .pet_txtbox::after, .pet_list li:nth-of-type(4) .pet_txtbox::after   {
        left: -10px;
    }
}


/*------------------------
 会社案内
------------------------*/
/* 代表挨拶 */
#greeting .wrapper {
    display: flex;
    gap: 50px;
}
#greeting .wrapper div {
    width: 70%;
}
#greeting .wrapper img {
    width: 30%;
}
#greeting .name {
    font-family: 'Noto Serif JP', serif;
    font-weight: 700;
    text-align: right;
    letter-spacing: 0.2rem;
    margin-top: 80px;
}
#greeting .name span {
    font-weight: 900;
    font-size: 1.5rem;
    margin-left: 30px;
    letter-spacing: 0.5rem;
}
@media screen and (max-width: 480px) {
    #greeting .wrapper {
        flex-direction: column-reverse;
    }
    #greeting .wrapper img {
        display: block;
        width: 70%;
        margin-inline: auto;
    }
    #greeting .wrapper div {
        width: 100%;
    }
    #greeting .name {
        margin-top: 50px;
    }
    #greeting .greeting_name span {
        font-size: 1.3rem;
        letter-spacing: 0.3rem;
    }
}


/* 企業理念 */
.philosophy_box {
    position: relative;
    padding: 80px 50px;
    background-color: #fff;
    text-align: center;
}
.philosophy_box::before, .philosophy_box::after {
    display: block;
    content: '';
    position: absolute;
    width: 20px;
    height: 30px;
}
.philosophy_box::before {
    top: 0;
    left: 0;
    border-left: 2px solid #003477;
    border-top: 2px solid #003477;
}
.philosophy_box::after {
    bottom: 0;
    right: 0;
    border-right: 2px solid #003477;
    border-bottom: 2px solid #003477;
}
.philosophy_box span {
    font-size: 1.7rem;
    font-weight: 700;
    letter-spacing: 0.5rem;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.25);
    background: linear-gradient(transparent 60%, #E5F1FF 60%);
}
.philosophy_box p {
    font-family: 'Noto Serif JP', serif;
    font-weight: 500;
}
@media screen and (max-width: 480px) {
    .philosophy_box {
        padding: 50px 30px;
    }
    .philosophy_box span {
        font-size: 1.3rem;
        letter-spacing: 0.3rem;
    }
}


/* 沿革 */
.timeline {
    list-style-type: none;
}
.timeline li {
    position: relative;
    padding: 0 0 50px 80px;
    margin-left: 10px;
    border-left: 2px solid #B5B5B6;
}
.timeline li::before {
    display: inline-block;
    content: '';
    position: absolute;
    top: 24px;
    left: -11px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #003477;
}
.timeline div {
    display: flex;
    gap: 40px;
    margin-left: 20px;
}
.timeline div:not(:last-of-type) {
    margin-bottom: 20px;
}
.timeline p {
    margin: 0;
}
.year {
    position: relative;
    display: block;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.8rem;
    color: #003477;
    margin-bottom: 20px;
}
.year::before {
    display: inline-block;
    content: '';
    position: absolute;
    top: 50%;
    left: -55px;
    width: 40px;
    height: 5px;
    border-top: 5px dotted #E5F1FF;
}
.month {
    font-weight: 500;
}
@media screen and (max-width: 480px) {
    .timeline li {
        padding: 0 0 50px 40px;
    }
    .timeline li::before {
        top: 18px;
        left: -9px;
        width: 15px;
        height: 15px;
    }
    .timeline div {
        flex-direction: column;
        gap: 5px;
        margin-left: 12px;
    }
    .year {
        font-size: 1.5rem;
        letter-spacing: 0.5rem;
    }
    .year::before {
        left: -27px;
        width: 20px;
        height: 5px;
    }
}



/* 取引先一覧 */
.customer_list {
    background-color: #fff;
    padding: 80px 50px;
    display: flex;
    gap: 20px 30px;
    flex-wrap: wrap;
    list-style-type: none;
}
.customer_list li {
    position: relative;
    padding-left: 20px;
}
.customer_list li::before {
    display: inline-block;
    content: '';
    position: absolute;
    top: 13px;
    left: 0;
    width: 7px;
    height: 7px;
    background-color: #003477;
    transform: rotate(45deg);
}
@media screen and (max-width: 480px) {
    .customer_list {
        padding: 50px 30px;
    }
}


/* 事業内容 */
.business_list li {
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
    display: flex;
}
.business_list li:not(:last-of-type) {
    margin-bottom: 50px;
}
.business_list li img {
    width: 30%;
    object-fit: cover;
}
.txt_area {
    width: 70%;
    background: #f1f1f1;
    padding: 30px 50px;
}
.business_ttl {
    position: relative;
    color: #003477;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Noto Serif JP', serif;
    padding-inline: 10px;
    margin-bottom: 20px;
    border-bottom: 1px solid #003477;
}
@media screen and (max-width: 480px) {
    .business_list li {
        flex-direction: column;
    }
    .business_list li img, .txt_area {
        width: 100%;
    }
    .business_list li img {
        aspect-ratio: 2 / 1;
    }
    .txt_area {
        padding: 20px;
    }
    .business_ttl {
        text-align: center;
        font-size: 1.2rem;
    }
}



/* 福利厚生 */
.benefits_list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    list-style-type: none;
}
.benefits_list li {
    background-color: #fff;
    border: 1px solid #B5B5B6;
    border-radius: 5px;
    padding: 30px 20px;
}
.benefits_list li .wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}
.benefits_list li img {
    width: 150px;
    height: 150px;
    object-fit: contain;
}
.bold {
    font-size: 1.1rem;
    font-weight: 500;
    color: #003477;
    margin: 0;
}
@media screen and (max-width: 480px) {
    .benefits_list {
        grid-template-columns: repeat(1, 1fr);
    }
    .benefits_list li .wrapper {
        flex-direction: row;
        gap: 30px;
    }
    .benefits_list li img {
        width: 80px;
        height: 80px;
    }
}


/* アクセス */
#access .flex {
    align-items: flex-start;
}
#access iframe {
    width: 60%;
}
#access img {
    width: 40%;
    object-fit: contain;
}
@media screen and (max-width: 480px) {
    #access iframe {
        width: 100%;
        height: 400px;
    }   
    #access img {
        width: 100%;
    } 
}


/* ギャラリー */
.gallery_list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    list-style-type: none;
}
.gallery_list a {
    display: block;
    overflow: hidden;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.25);
}
.gallery_list a:hover {
    opacity: 1;
}
.gallery_list img {
    aspect-ratio: 1.5 / 1;
    object-fit: cover;
    vertical-align: bottom;
    transition: 0.4s;
}
.gallery_list a:hover img {
    transform: scale(1.1);
}
.gallery_list .dots li {
    background: #E5F1FF;
}
.gallery_list .dots {
    left: auto !important;
    transform: none;
    margin-inline: auto;
    width: 70%;
    flex-wrap: wrap;
    justify-content: center;
    bottom: -30px;
}
.gallery_list .slide-prev, .gallery_list .slide-next {
    bottom: -35px;
}
.gallery_list .slide-next {
    right: 0;
}
@media screen and (max-width: 480px) {
    .gallery_list {
        grid-template-columns: repeat(1, 1fr);
    }
    .gallery_list .slick-slide {
        padding: 10px;
    }
}


/*------------------------
 採用情報
------------------------*/
/* 募集要項 */
.accordion-header {
    position: relative;
    width: 100%;
    background-color: #003477;
    border-radius: 5px;
    padding: 15px 30px;
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
    font-family: 'Noto Sans JP', sans-serif;
    letter-spacing: 0.1rem;
    cursor: pointer;
    text-align: left;
}
.accordion-header p {
    margin: 0;
    width: 90%;
}
.accordion-content {
    padding: 50px 0;
    display: none;
}
.accordion-content.open {
    display: block;
}
.accordion-arrow {
    display: block;
    position: absolute;
    top: 25px;
    right: 30px;
    width: 10px;
    height: 10px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(135deg);
    transition: 0.4s;
}
.accordion-arrow.open {
    transform: rotate(315deg);
}


/* 仕事内容 */
.jobs_list {
    list-style-type: none;
}
.jobs_list > li {
    position: relative;
    background-color: #fff;
    padding: 50px 30px;
}
.jobs_list > li:not(:last-of-type) {
    margin-bottom: 50px;
}
.jobs_num {
    position: absolute;
    top: -100px;
    left: -100px;
    transform: rotate(-45deg);
    border: 100px solid transparent;
    border-bottom: 100px solid #003477;
}
.jobs_num::before {
    position: absolute;
    top: 15px;
    left: -30px;
    display: block;
    color: #fff;
    font-weight: 700;
    font-size: 2.7rem;
    font-family: 'Noto Serif JP', serif;
    transform: rotate(45deg);
}
.jobs_list > li:first-of-type .jobs_num::before {
    content: '01';
}
.jobs_list > li:nth-of-type(2) .jobs_num::before {
    content: '02';
}
.jobs_list > li:last-of-type .jobs_num::before {
    content: '03';
}
.jobs_ttl {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    display: inline-block;
    text-align: center;
    font-size: 1.7rem;
    font-weight: 700;
    margin: 0 0 40px;
    letter-spacing: 0.3rem;
    color: #003477;
    padding: 0 10px;
    background: linear-gradient(transparent 60%, #E5F1FF 60%);
}
@media screen and (max-width: 480px) {
    .jobs_list > li {
        position: relative;
        background-color: #fff;
        padding: 30px 20px;
    }
    .jobs_list > li:not(:last-of-type) {
        margin-bottom: 50px;
    }
    .jobs_num {
        top: -50px;
        left: -50px;
        border: 50px solid transparent;
        border-bottom: 50px solid #003477;
    }
    .jobs_num::before {
        top: 10px;
        left: -17px;
        font-size: 1.3rem;
    }
    .jobs_ttl {
        font-size: 1.3rem;
        margin-bottom: 20px;
    }
}



/* 社員インタビュー */
.int_list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    list-style-type: none;
}
.int_list a {
    display: flex;
    flex-direction: column;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    height: 100%;
    text-decoration: none;
}
.int_list a:hover {
    opacity: 1;
}
.int_list img {
    aspect-ratio: 1.3 / 1;
    object-fit: cover;
    vertical-align: bottom;
    transition: 0.4s;
}
.int_list a:hover img {
    transform: scale(1.1);
}
.int_info {
    position: relative;
    z-index: 1;
    background-color: #003477;
    color: #fff;
    padding: 0 30px;
    height: 100%;
}
.int_info p {
    margin: 10px 0;
}
.int_name {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 500;
}
@media screen and (max-width: 480px) {
    .int_list {
        grid-template-columns: repeat(1, 1fr);
    }
    .int_list a {
        flex-direction: row;
    }
    .int_info {
        padding: 0 20px;
        flex: 1;
    }
    .int_name {
        font-size: 1.3rem;
    }
    .int_list img {
        width: 100px;
    }
}


/* 応募の流れ */
.flow_list {
    overflow: hidden;
}
.flow_list li {
    position: relative;
    display: flex;
    align-items: flex-start;
}
.flow_list li:not(:last-of-type) {
    margin-bottom: 70px;
}
.flow_list li:not(:last-of-type)::after {
    display: block;
    content: '';
    position: absolute;
    bottom: -18px;
    left: 50%;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #B5B5B6;
    box-shadow:
        0 10px 0 #B5B5B6,
        0 20px 0 #B5B5B6,
        0 30px 0 #B5B5B6,
        0 40px 0 #B5B5B6;
}
.steps {
    position: relative;
    display: block;
    width: 200px;
    background-color: #003477;
    color: #E5F1FF;
    font-weight: 700;
    font-size: 1.5rem;
    padding: 10px 20px;
    text-align: center;
    letter-spacing: 0.3rem;
    border-radius: 10px;
    margin: 25px -50px 0 auto;
    z-index: 1;
}
.steps::after {
    display: inline-block;
    content: '';
    position: absolute;
    top: 50%;
    right: -30px;
    border: 20px solid transparent;
    border-left: 20px solid #003477;
    transform: translateY(-50%);
}
.flow_cnt {
    position: relative;
    background-color: #f1f1f1;
    padding: 20px 50px;
    width: 80%;
    margin: 0 0 0 auto;
}
.flow_cnt::before, .flow_cnt::after {
    display: block;
    content: '';
    position: absolute;
    border: 20px solid transparent;
    transform: rotate(45deg);
}
.flow_cnt::before {
    top: -20px;
    left: -20px;
    border-right: 20px solid #fff;
}
.flow_cnt::after {
    bottom: -20px;
    right: -20px;
    border-left: 20px solid #fff;
}
.flow_ttl {
    color: #003477;
    font-weight: 700;
    font-size: 1.2rem;
    padding: 0 20px 5px;
    border-bottom: 1px solid #003477;
}
@media screen and (max-width: 480px) {
    .flow_list li {
        flex-direction: column;
    }
    .flow_list li:not(:last-of-type) {
        margin-bottom: 55px;
    }
    .flow_list li:not(:last-of-type)::after {
        bottom: -20px;
    }
    .steps {
        width: auto;
        font-size: 1.1rem;
        margin: 0 0 -20px 30px;
        padding: 5px 15px;
    }
    .steps::after {
        top: auto;
        right: auto;
        left: 50%;
        bottom: -30px;
        border-left: 20px solid transparent;
        border-top: 20px solid #003477;
        transform: translate(-50%, 0);
    }
    .flow_cnt {
        padding: 10px 20px;
        width: 100%;
    }
    .flow_ttl {
        text-align: center;
    }
}


/*------------------------
 リフォーム・リノベーション
------------------------*/
.reform_txt {
    text-align: center;
    font-family: 'Noto Serif JP', serif;
    font-size: 1.1rem;
    font-weight: 700;
}
#reform-house .reform_list {
    background: url(img/bg.png) repeat;
}
#reform-store-office .reform_list {
    background: url(img/bg2.png) repeat;
}
.reform_list {
    list-style-type: none;
    padding: 80px 30px;
    margin-top: 120px;
    border-radius: 50px;
}
.reform_list > li {
    padding-inline: 20px;
}
.reform_list > li:not(:first-of-type) {
    padding-top: 50px;
}
.reform_list > li:not(:last-of-type) {
    padding-bottom: 50px;
}
#reform-house .reform_list > li:not(:last-of-type) {
    border-bottom: 1px dashed #9d8f89;
}
#reform-store-office .reform_list > li:not(:last-of-type) {
    border-bottom: 1px dashed #6e6e6e;
}
.reform_ttl {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.2rem;
    margin-bottom: 30px;
}
#reform-house .reform_ttl {
    color: #775353;
}
#reform-store-office .reform_ttl {
    color: #6e6e6e;
}
.before_after {
    display: flex;
    flex-direction: column;
    gap: 80px;
    margin-top: 80px;
}
.before_after ul {
    display: flex;
    gap: 50px;
    align-items: center;
    justify-content: center;
    list-style-type: none;
}
.before_after ul li:first-of-type, .before_after ul li:last-of-type {
    position: relative;
    width: 35%;
}
.before_after img {
    width: 100%;
    aspect-ratio: 1.5 / 1;
    object-fit: cover;
    vertical-align: bottom;
    transition: 0.4s;
}
.before_after a {
    display: block;
    overflow: hidden;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
}
.before_after a:hover {
    opacity: 1;
}
.before_after a:hover img {
    transform: scale(1.1);
}
.exterior li:first-of-type::before, .interior li:first-of-type::before,
.exterior li:last-of-type::before, .interior li:last-of-type::before {
    display: block;
    border-radius: 5px;
    font-weight: 700;
    font-family: 'Noto Serif JP', serif;
    padding: 5px 10px;
    transform: rotate(-10deg);
    position: absolute;
    top: -20px;
    left: -30px;
    z-index: 1;
}
.exterior li:first-of-type::before, .interior li:first-of-type::before {
    background-color: #E5F1FF;
    color: #003477;
}
.exterior li:last-of-type::before, .interior li:last-of-type::before {
    background-color: #003477;
    color: #fff;
}
.exterior li:first-of-type::before {
    content: '外観Before';
}
.interior li:first-of-type::before {
    content: '内観Before';
}
.exterior li:last-of-type::before {
    content: '外観After';
}
.interior li:last-of-type::before {
    content: '内観After';
}
.exterior_after::before, .interior_after::before  {
    background-color: #003477 !important;
    color: #fff !important;
}
.exterior_after::before {
    content: '外観After' !important;
}
.interior_after::before {
    content: '内観After' !important;
}
.ba_arrow {
    position: relative;
    left: -10px;
    display: block;
    width: 30px;
    height: 20px;
    background-color: #6e6e6e;
}
.ba_arrow::after {
    display: block;
    content: '';
    border: 20px solid transparent;
    border-left: 20px solid #6e6e6e;
    position: absolute;
    right: -40px;
    top: 50%;
    transform: translateY(-50%);
}


@media screen and (max-width: 480px) {
    .reform_list {
        padding: 50px 20px;
    }
    .reform_list > li {
        padding-inline: 10px;
    }
    .reform_list > li:not(:first-of-type) {
        padding-top: 30px;
    }
    .reform_list > li:not(:last-of-type) {
        padding-bottom: 30px;
    }
    .reform_ttl {
        font-size: 1.2rem;
    }
    .before_after ul {
        flex-direction: column;
    }
    .before_after ul li:first-of-type, .before_after ul li:last-of-type {
        width: 100%;
    }
    .exterior li:first-of-type::before, .interior li:first-of-type::before,
    .exterior li:last-of-type::before, .interior li:last-of-type::before {
        left: -15px;
    }
    .ba_arrow {
        top: -20px;
        left: 50%;
        transform: translateX(-50%);
        width: 20px;
        height: 30px;
    }
    .ba_arrow::after {
        border-left: 20px solid transparent;
        border-top: 20px solid #6e6e6e;
        position: absolute;
        right: auto;
        top: auto;
        left: 50%;
        bottom: -40px;
        transform: translateX(-50%);
    }
}



/*------------------------
 お知らせ
------------------------*/
.news_list {
    border-top: 2px solid #B5B5B6;
    border-bottom: 2px solid #B5B5B6;
    padding: 30px 20px;
    list-style-type: none;
}
.news_list li {
    padding-inline: 20px;
}
.news_list li:not(:last-of-type) {
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px dotted #B5B5B6;
}
.news_list a {
    display: flex;
    align-items: center;
    gap: 50px;
    text-decoration: none;
}
.news_list time {
    width: 120px;
    font-weight: 700;
    color: #003477;
    flex-shrink: 0;
}
.news_list p {
    flex: 1;
    margin: 0;
}
@media screen and (max-width: 480px) {
    .news_list {
        padding: 30px 10px;
    }
    .news_list li {
        padding-inline: 10px;
    }
    .news_list li:not(:last-of-type) {
        padding-bottom: 20px;
        margin-bottom: 20px;
        border-bottom: 1px dotted #B5B5B6;
    }
    .news_list a {
        flex-direction: column;
        gap: 5px;
    }
    .news_list time {
        width: 100%;
    }
}

/* 投稿ページ */
.article_title {
  position: relative;
  border-bottom: 2px solid #B5B5B6;
  z-index: 0;
  padding: 0 10px 5px;
  font-size: 1.3em;
  margin-bottom: 50px;
  font-weight: 500;
}
.article_title::before {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  background: #003477;
  width: 100px;
  height: 2px;
  display: block;
  z-index: 1;
}
.article_date {
    display: block;
    color: #003477;
    padding-left: 10px;
    font-weight: 500;
}
.article_text {
    padding: 0 15px;
    margin-bottom: 100px;
}
.article_text > ul li, .article_text > ol li {
    margin-left: 25px;
}
.article_text p:not(:last-of-type) {
    margin-bottom: 20px;
}
.article_text p .aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.article_text p .alignright {
    display: block;
    margin-left: auto;
}


/* 一覧ページネーション */
.nav-links .page-numbers {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 100px;
}
.nav-links .page-numbers li {
    list-style-type: none;
}
.nav-links a.page-numbers,
.nav-links .current,
.nav-links a.prev,
.nav-links a.next {
    position: relative;
    display: block;
    content: '';
    width: 40px;
    height: 40px;
    background-color: #003477;
    border: 1px solid #003477;
    color: #fff;
    font-family: 'Noto Serif JP', serif;
    text-align: center;
    line-height: 40px;
    margin-top: 0;
    text-decoration: none;
}
.nav-links a.page-numbers:hover {
    opacity: 1;
    background-color: #fff;
    color: #003477;
}
.nav-links .current {
    background-color: #f1f1f1;
    border-color: #f1f1f1;
    color: #333;
}
.nav-links a.prev {
    margin-right: 5px;
}
.nav-links a.next {
    margin-left: 5px;
}
.nav-links .dot {
    margin-top: 0;
}
.prev_arrow, .next_arrow {
    position: absolute;
    top: 14.5px;
    display: block;
    content: '';
    width: 10px;
    height: 10px;
}
.prev_arrow {
    left: 16px;
    border-top: 2px solid #fff;
    border-left: 2px solid #fff;
    transform: rotate(-45deg);
}
.next_arrow {
    right: 15px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(45deg);
}
.nav-links a.page-numbers:hover .prev_arrow,
.nav-links a.page-numbers:hover .next_arrow {
    border-color: #003477;
}
.current .prev_arrow, .current .next_arrow {
    border-color: #B5B5B6;
}


/* 個別ページネーション */
.article_pagenation {
    display: flex;
    justify-content: space-between;
    gap: 15px 30px;
    margin-inline: auto;
    width: 90%;
}
.nav-prev-link, .nav-next-link {
    position: relative;
    width: auto;
    min-width: 50%;
    display: flex;
    gap: 10px;
    border-radius: 5px;
    border: 1px solid #B5B5B6;
    padding: 10px;
    text-decoration: none;
    background-color: #f1f1f1;
}
.article_pagenation:has(.nav-prev-link):not(:has(.nav-next-link)) {
    justify-content: flex-start; 
}
.article_pagenation:has(.nav-next-link):not(:has(.nav-prev-link)) {
    justify-content: flex-end; 
}
.nav-prev-link:hover, .nav-next-link:hover {
    opacity: 1;
}
.nav-next-link {
    text-align: right;
    flex-direction: row-reverse;
}
.nav-prev-title, .nav-next-title {
    font-size: 15px;
    margin: 0;
}
.nav-prev-title {
    padding-left: 20px;
}
.nav-next-title {
    padding-right: 20px;
}
.nav-prev-arrow, .nav-next-arrow {
    position: absolute;
    top: 22px;
    width: 8px;
    height: 8px;
    border-top: 2px solid #003477;
    transition: 0.3s;
}
.nav-next-arrow {
    right: 15px;
    border-right: 2px solid #003477;
    transform: rotate(45deg);
}
.nav-next-link:hover .nav-next-arrow {
    transform: rotate(45deg) translate(3px, -3px);
}
.nav-prev-arrow {
    left: 15px;
    border-left: 2px solid #003477;
    transform: rotate(-45deg);
}
.nav-prev-link:hover .nav-prev-arrow {
    transform: rotate(-45deg) translate(-3px, -3px);
}
@media screen and (max-width: 480px) {
    .article_pagenation {
        flex-direction: column;
    }
    .nav-prev-link, .nav-next-link {
        width: 100%;
    }    
}


/*------------------------
 施工実績
------------------------*/
.tab_list {
    display: flex;
    gap: 20px;
    justify-content: center;
    list-style-type: none;
    flex-wrap: wrap;
}
.tab_item {
    padding: 5px 20px;
    border: 1px solid #003477;
    border-radius: 10px;
    cursor: pointer;
}
.tab_item.active {
    background-color: #003477;
    color: #fff;
}
.tab_cnt {
    position: relative;
}
.tab_panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease;
}
.tab_panel.active {
    position: relative;
    opacity: 1;
    visibility: visible;
}
.works_list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px 20px;
    list-style-type: none;
}
.works_list a {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    overflow: hidden;
    border-radius: 10px;
    transition: 0.4s;
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.25);
}
.works_list p {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100%;
    margin: 0;
    padding: 10px;
    background-color: #fff;
    font-weight: 500;
    line-height: 1.7;
}
.works_list img {
    position: relative;
    vertical-align: bottom;
    transition: 0.4s;
    aspect-ratio: 1.5 / 1;
}
.works_list .wrapper {
    position: relative;
}
.hover-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.4s ease;
    opacity: 0;
}
.hover-mask .more_btn {
    color: #fff;
    border-color: #fff;
    background-color: transparent;
    width: 80%;
}
.hover-mask .more_btn::before, .hover-mask .more_btn::after {
    background-color: #fff;
}
.hover-mask .more_btn::before {
    transform: translateX(0);
}
.hover-mask .more_btn::after {
    transform: translateX(0) rotate(40deg);
}
.works_list a:hover {
    border-radius: 0;
}
.works_list a:hover .hover-mask,
.works_list a:hover {
    opacity: 1;
}
.works_list a:hover img {
    transform: scale(1.1);
}
@media screen and (max-width: 480px) {
    .works_list {
        grid-template-columns: repeat(1, 1fr);
    }
    .works_ttl, .tab_item {
        font-size: 0.8rem;
    }
    .hover-mask .more_btn {
        font-size: 0.7rem;
        width: 90%;
    }
    .hover-mask .more_btn::before, .hover-mask .more_btn::after {
        display: none;
    }
    .tab_list {
        gap: 10px;
    }
}


/* 投稿詳細スライダー */
.works_slider {
    margin-bottom: 120px;
}
.main-img img {
    display: block;
    width: 80%;
    margin-inline: auto;
    aspect-ratio: 1.5 / 1;
    object-fit: cover;
}
.thumbnail-slider {
    margin-top: 30px;
}
.thumbnail-img {
    margin: 0 5px;
}
.thumbnail-img img {
    cursor: pointer;
    aspect-ratio: 1.5 / 1;
    object-fit: cover;
}
.works_slider .slide-prev, .works_slider .slide-next {
    bottom: auto;
    top: 50%;
    transform: translateY(-50%);
}
.works_slider .slide-next {
    right: -30px;
}
.works_slider .slide-prev {
    left: -30px;
}
@media screen and (max-width: 480px) {
    .main-img img {
        width: 95%;
    }    
}


/*------------------------
 リフォーム・リノベーション
------------------------*/
#reform-home .intro_ttl, #reform-store .intro_ttl {
    color: #333;
    text-align: center;
}
.link_btn {
    display: block;
    width: 500px;
    background-color: #003477;
    color: #fff;
    text-align: center;
    text-decoration: none;
    font-family: 'Noto Serif JP', serif;
    font-weight: 700;
    font-size: 1.2rem;
    padding: 20px;
    margin: 0 auto 100px;
    border-radius: 10px;
    box-shadow: 0 5px 0 #B5B5B6;
    transition: 0.4s;
}
.link_btn:hover {
    opacity: 1;
    transform: translateY(5px);
    box-shadow: none;
}
@media screen and (max-width: 480px) {
    .link_btn {
        width: 100%;
    }    
}

/*------------------------
 個人情報保護方針
------------------------*/
.num_list {
    padding-left: 20px;
    list-style-type: decimal;
}
.num_list li {
    padding: 0 0 15px 5px;
    display: list-item;
}
.num_list li::marker {
    font-weight: 700;
    font-family: 'Noto Serif JP', serif;
    color: #003477;
}
.num_list li > ol {
    padding-left: 30px;
}
.num_list li > ol li {
    padding-bottom: 10px;
}
.num_list > li:last-of-type, .num_list li > ol li:last-of-type {
    padding-bottom: 0;
}
.numlist_title {
    display: block;
    font-weight: 700;
    margin-bottom: 5px;
}


/*------------------------
 フッター
------------------------*/
footer {
    background-color: #003477;
    padding: 100px 0 10px;
    margin-top: auto;
}
footer p, footer a {
    color: #fff;
    font-size: 0.9rem;
}
footer .wrapper {
    display: flex;
    gap: 50px;
    justify-content: space-between;
    margin-bottom: 100px;
}
footer .logo img {
    width: 300px;
    min-width: 300px;
}
footer .contact_btn {
    width: 300px;
    padding: 10px;
    margin: 30px auto 0;
}
.footer_menu {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 20px;
}
.footer_menu ul {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 30px;
    list-style-type: none;
}
.footer_menu ul a {
    text-decoration: none;
}
.footer_child {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
    margin: 5px 20px 0 0;
}
.footer_child a {
    font-size: 0.8rem;
}
.not_link {
    pointer-events: none;
}
address p {
    font-size: 0.9rem;
    margin: 0;
}
.privacy {
    font-size: 0.7rem;
    text-align: center;
}
@media screen and (max-width: 480px) {
    footer .wrapper {
        flex-direction: column;
        align-items: center;
    }
    footer .logo {
        text-align: center;
    }
    footer .logo img {
        width: 200px;
        min-width: 200px;
    }
    footer .contact_btn {
        margin: 30px auto 0;
    }
    .footer_menu, .footer_child {
        align-items: flex-start;
    }
    .footer_menu {
        width: 80%;
        margin: 0 auto;
        gap: 10px;
    }
    .footer_menu ul {
        flex-direction: column;
        gap: 5px 30px;
    }
    .footer_child {
        margin: 5px 0 0 20px;
    }
    address p {
        text-align: center;
    }
}


/* ページトップボタン */
.page_top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 70px;
    height: 70px;
    border: 2px solid #003477;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    background-color: #fff;
    z-index: 10;
}
.arrow {
    position: absolute;
    top: 30px;
    left: 21px;
    display: block;
    width: 70px;
    height: 70px;
    width: 25px;
    height: 25px;
    border-top: 2px solid #003477;
    border-right: 2px solid #003477;
    transform: rotate(315deg);
    transition: 0.4s;
}
.page_top:hover {
    opacity: 1;
}
.page_top:hover .arrow{
    transform: translateY(-3px) rotate(315deg);
}
@media screen and (max-width: 480px) {
    .page_top {
        bottom: 10px;
        right: 10px;
        width: 50px;
        height: 50px;
    }
    .arrow {
        top: 17px;
        left: 13px;
        width: 20px;
        height: 20px;
    }
}
