/*
Theme Name: 有限会社ビルド コーポレートサイト
Theme URI: http://build-yukanari.com/
Author: 有限会社ビルド
Author URI: http://build-yukanari.com/
Description: 有限会社ビルド公式コーポレートサイト用WordPressテーマです。
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: custom-theme, responsive, construction, local-business
Text Domain: build-yukanari
*/

/*-------------------------*/
/*--------ヘッディング-------*/
/*-------------------------*/

* {
    margin: 0;
}
body{
  font-family: "Noto Sans JP", "Noto Sans", -apple-system, BlinkMacSystemFont,
               "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Meiryo",
               "Segoe UI", Arial, sans-serif;
}
.header_container{
    background-color: #ADDCED;
}
.header_wrapper{
    max-width: 1366px;
    margin: 0 auto;
    padding-top: 5px;
    padding-bottom: 5px;
    width: 95vw;
}
.header_content{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.header_flex01{
    width: 20%;
}
.header_flex02{
    width: 40%;
    text-align: end;
}
.header_flex03{
    width: 30%;
}
.header_flex01 h1{
    font-size: 20px;
    font-weight: 700;
    color: #1E2C59;
}
.header_flex02 ul{
    display: flex;
    padding-left:0;
    gap: 10px;
    justify-content: end;
}
.header_flex02 ul li{
    list-style: none;
}
.header_flex02 ul li a{
    font-size: 16px;
    font-weight: 500;
    color: rgb(0, 0, 0);
    text-decoration: none;
}
.header_flex03_area01{
    display: flex;
    align-items: center;
    gap: 5px;
}
a.header_flex02_button01{
    font-size: 16px;
    background-color: #00BF7D;
    padding: 10px;
    display:block;
    text-decoration: none;
    color: rgb(255, 255, 255);
    border-radius: 5px;
}
a.header_flex02_button01 i,
a.header_flex02_button02 i{
    padding-right: 5px;
}
a.header_flex02_button02{
    font-size: 16px;
    background-color: #006AD5;
    padding: 10px;
    display:block;
    text-decoration: none;
    color: rgb(255, 255, 255);
    border-radius: 5px;
}
.header_flex03_area02 p{
    font-size: 12px;
}
/* ハンバーガーアイコン */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 20px;
    cursor: pointer;
    z-index: 1001;
}
.hamburger span {
    display: block;
    height: 6px;
    background: #1E2C59;
    border-radius: 2px;
    transition: all 0.4s ease;
}

/* サイドメニュー */
.side_menu {
    position: fixed;
    top: 0;
    left: -260px;
    width: 250px;
    height: 100%;
    background: linear-gradient(135deg, #1E2C59, #3B4A84);
    color: #fff;
    box-shadow: 2px 0 10px rgba(0,0,0,0.3);
    transition: left 0.4s ease;
    z-index: 1000;
    padding-top: 80px;
}
.side_menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.side_menu ul li {
    margin: 20px 0;
    text-align: center;
}
.side_menu ul li a {
    color: #fff;
    font-size: 18px;
    text-decoration: none;
    transition: color 0.3s ease;
}
.side_menu ul li a:hover {
  color: #FFD700; /* 高級感のあるゴールド */
}

/* オーバーレイ */
.overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    opacity: 0; visibility: hidden;
    transition: opacity 0.4s ease;
    z-index: 999;
}

/* 表示時 */
.side_menu.active { left: 0; }
.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ハンバーガー → ✖ アニメーション */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* 1000px以下でメニュー非表示 */
@media(max-width:1000px){
    .header_flex01{ width: 80%;}
    .header_flex02 { display: none; }
    .header_flex03{display: none;}
    .hamburger { display: flex; }
}

/*--------------*/
/*
フッター
*/
/*--------------*/
.footer_container{
    background-color: #1E2C59;
}
.footer_wrapper{
    max-width: 1366px;
    margin: 0 auto;
    padding-top: 40px;
    padding-bottom: 40px;
}
.footer_content{
    display: flex;
    justify-content: space-between;
}
.footer_flex01{
    width: 40%;
}
.footer_flex02{
    width: 60%;
    text-align: end;
}
p.footer_flex01_text_p01{
    color: #ffffff;
    font-size: 45px;
    font-weight: 700;
}
p.footer_flex01_text_p02{
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
}
.footer_flex01_text ul{
    padding-left: 0;
    display: flex;
    gap: 20px;
    margin-top: 15px;
}
.footer_flex01_text ul li a{
    color: #ffffff;
    font-size: 18px;
    text-decoration: none;
}
.footer_flex01_text ul li {
    list-style: none;
}
.footer_flex01_text_p02{
    margin-top: 15px;
}
.footer_flex01_button{
    display: flex;
    gap: 20px;
    margin-top: 40px;
}
.footer_flex01_button01 a{
    font-size: 20px;
    width: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #00BF7D;
    color: #ffffff;
    text-decoration: none;
    padding: 5px;
    box-sizing: border-box;
    font-weight: 700;
    padding-top: 15px;
    padding-bottom: 15px;
    box-shadow: 5px 5px 0px rgba(255, 255, 255, 0.6);
    transition: all 0.15s ease;
}
.footer_flex01_button01 a:hover {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0px rgba(255, 255, 255, 0.6);
}
.footer_flex01_button02 a{
    font-size: 20px;
    width: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #006AD5;
    color: #ffffff;
    text-decoration: none;
    padding: 5px;
    box-sizing: border-box;
    font-weight: 700;
    padding-top: 15px;
    padding-bottom: 15px;
    box-shadow: 5px 5px 0px rgba(255, 255, 255, 0.6);
    transition: all 0.15s ease;
}
.footer_flex01_button02 a:hover {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0px rgba(255, 255, 255, 0.6);
}
.footer_flex02_copyinc{
    background-color: #141414;
    padding-top: 5px;
    padding-bottom: 5px;
}
.footer_flex02_copyinc p{
    font-size: 14px;
    max-width: 1366px;
    width: 95vw;
    color: #ffffff;
    margin: 0 auto;
    text-align: end;
}
@media(max-width:768px){
    .footer_content{
        flex-wrap: wrap-reverse;
        width: 95vw;
        margin: 0 auto;
    }
    .footer_flex01{
        width: 100%;
        margin-top: 20px;
    }
    .footer_flex02{
        width: 100%;
    }
    .footer_flex02 iframe{
        width: 100% !important;
        height: 320px !important;
    }
    .footer_flex01_button{
        flex-wrap: wrap;
    }
    .footer_flex01_text ul{
        flex-wrap: wrap;
    }
    p.footer_flex01_text_p01{
        color: #ffffff;
        font-size: 30px;
        font-weight: 700;
    }
    p.footer_flex01_text_p02{
        color: #ffffff;
        font-size: 16px;
        font-weight: 700;
    }
}

/*----------*/
/*
共有ボタン
*/
/*----------*/

.parts_wrapper{
    max-height: 500px;
}
.parts_background{
    background-image: url("image/background_abesama.png");
    background-size: contain;
    height: 500px;
    position: relative;
    width: 60%;
    margin-top: -500px;
    z-index: -1;
     --slant: 15%; /* 斜め量。お好みで 8%～25% など */
    clip-path: polygon(0 0, 100% 0, calc(100% - var(--slant)) 100%, 0 100%);
    -webkit-clip-path: polygon(0 0, 100% 0, calc(100% - var(--slant)) 100%, 0 100%);
}
.parts_background_rigth{
    background-image: url("image/back_abesama.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: right center;
    height: 500px;
    width: 50%;
    margin-top: -500px;
    position: relative;
    margin-left: auto;
    z-index: -1;
    --slant: 15%;
    clip-path: polygon(var(--slant) 0, 100% 0, 100% 100%, 0 100%);
    -webkit-clip-path: polygon(var(--slant) 0, 100% 0, 100% 100%, 0 100%);
}
.parts_content{
    display: flex;
    align-items: center;
    padding-left: 100px;
    padding-right: 100px;
    padding-top: 40px;
    position: relative;
}
.parts_flex01{
    width: 60%;
    position: relative;
    z-index: 1;
}
.parts_flex02{
    width: 40%;
    position: relative;
    z-index: 1;
}
.parts_flex_on_text p{
    font-size: 30px;
    font-weight: 700;
}
.parts_flex_on_text p i{
    width: 31.14px;
}
.parts_line_link img{
    width: 50px;
}
.parts_line_button_text{
    border: 2px solid #06C755;
    border-radius: 80px;
    width: 358px;
    text-align: center;
    padding-top: 5px;
    padding-bottom: 5px;
    box-sizing: border-box;
}
.parts_line_button_text p{
    font-size: 20px;
    font-weight: 700;
}
.parts_line_button_text p span{
    font-size: 25px;
    color: #006AD5;
}
a.parts_line_link {
    background-color: #006AD5;
    display: block;
    width: 488px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    box-sizing: border-box;
    border-radius: 10px;
}
a.parts_line_link{
    font-size: 25px;
    color: #ffffff;
    font-weight: 700;
}
.parts_flex02 img{
    width: 468px;
    vertical-align: middle;
    display: flex;
    align-items: center;
}
.parts_line_button {
    position: relative;
    display: inline-block;
}

.parts_line_button_text {
    position: relative;
    left: 50%;
    transform: translate(-50%, 0);
    bottom: -10px;
    background: #fff;
}
.parts_line_under_text{
    margin-top: 5px;
}
.parts_line_under_text p{
    font-weight: 700;
    font-size: 20px;
}

@media (min-width:300px) {
    .parts_wrapper {
        max-height: calc(500 * (100vw / 1366));
    }

    .parts_background {
        background-image: url(image/background_abesama.png);
        background-size: contain;
        height: calc(500 * (100vw / 1366));
        position: relative;
        width: calc(60 * (100vw / 100));
        margin-top: calc(-500 * (100vw / 1366));
        z-index: -1;
        --slant: 15%;
        clip-path: polygon(0 0, 100% 0, calc(100% - var(--slant)) 100%, 0 100%);
        -webkit-clip-path: polygon(0 0, 100% 0, calc(100% - var(--slant)) 100%, 0 100%);
    }

    .parts_background_rigth {
        background-image: url(image/back_abesama.png);
        background-size: cover;
        background-repeat: no-repeat;
        background-position: right center;
        height: calc(500 * (100vw / 1366));
        width: calc(50 * (100vw / 100));
        margin-top: calc(-500 * (100vw / 1366));
        position: relative;
        margin-left: auto;
        z-index: -1;
        --slant: 15%;
        clip-path: polygon(var(--slant) 0, 100% 0, 100% 100%, 0 100%);
        -webkit-clip-path: polygon(var(--slant) 0, 100% 0, 100% 100%, 0 100%);
    }

    .parts_content {
        display: flex;
        align-items: center;
        padding-left: calc(100 * (100vw / 1366));
        padding-right: calc(100 * (100vw / 1366));
        padding-top: calc(40 * (100vw / 1366));
        position: relative;
    }

    .parts_flex01 {
        width: calc(60 * (100vw / 100));
        position: relative;
        z-index: 1;
    }

    .parts_flex02 {
        width: calc(40 * (100vw / 100));
        position: relative;
        z-index: 1;
    }

    .parts_flex_on_text p {
        font-size: calc(25 * (100vw / 1366));
        font-weight: 700;
    }

    .parts_flex_on_text p i {
        width: calc(31.14 * (100vw / 1366));
    }

    .parts_line_link img {
        width: calc(50 * (100vw / 1366));
    }

    .parts_line_button_text {
        border: calc(2 * (100vw / 1366)) solid #06C755;
        border-radius: calc(80 * (100vw / 1366));
        width: calc(358 * (100vw / 1366));
        text-align: center;
        padding-top: calc(5 * (100vw / 1366));
        padding-bottom: calc(5 * (100vw / 1366));
        box-sizing: border-box;
    }

    .parts_line_button_text p {
        font-size: calc(20 * (100vw / 1366));
        font-weight: 700;
    }

    .parts_line_button_text p span {
        font-size: calc(25 * (100vw / 1366));
        color: #006AD5;
    }

    a.parts_line_link {
        background-color: #006AD5;
        display: block;
        width: calc(488 * (100vw / 1366));
        display: flex;
        align-items: center;
        gap: calc(10 * (100vw / 1366));
        padding: calc(10 * (100vw / 1366));
        box-sizing: border-box;
        border-radius: calc(10 * (100vw / 1366));
        font-size: calc(25 * (100vw / 1366));
        color: #ffffff;
        font-weight: 700;
    }

    .parts_flex02 img {
        width: calc(468 * (100vw / 1366));
        vertical-align: middle;
        display: flex;
        align-items: center;
    }

    .parts_line_button {
        position: relative;
        display: inline-block;
    }

    .parts_line_button_text {
        position: relative;
        left: 50%;
        transform: translate(-50%, 0);
        bottom: calc(-10 * (100vw / 1366));
        background: #fff;
    }

    .parts_line_under_text {
        margin-top: calc(5 * (100vw / 1366));
    }

    .parts_line_under_text p {
        font-weight: 700;
        font-size: calc(20 * (100vw / 1366));
    }
}
