@charset "utf-8";

html {
    font-size: 100%;
}

body {
    font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
    color: #333;
    letter-spacing: 0.1em;
    line-height: 1.5;
    overflow-x: hidden;
}


/*共通*/
.section {
    width: 90%;
    margin: 0 auto;
    max-width: 1280px;
    padding: 50px 0;
}

.c-contactArea {  
    justify-self: end;
}
@media  screen and (max-width: 960px) {
    .c-contactArea {
        justify-self: center;
    }
}

.c-service__Contact {
    font-size: 18px;
    margin-bottom: 15px;
}
.c-btn {
    background-color: #e30313;
    color: #fdfdf3;
    font-size: 24px;
    padding: 5px 20px;
    transition: background-color 0.5s ease;
    border-bottom: 6px solid #9a0413;
    border-radius: 10px;
}

.c-btn:hover {
    background-color: #101214;
}

/*サブタイトル*/
.c-subtitle {
    display: flex;
}
.c-subtitle__title {
    font-size: 24px;
    background-color: #e30313;
    border-bottom: 6px solid #9a0413;
    border-radius: 10px;
    color: #fdfdf3;
    font-weight: 600;
    padding: 5px 20px;
    margin-right: 30px;
    margin-bottom: 50px;
}
.c-subtitle__text {
    font-size: 18px;
    margin-bottom: 10px;
}

@media  screen and (max-width: 960px) {
    .c-subtitle {
    display: block;
    margin-bottom: 30px;
    }

    .c-subtitle__title {
    text-align: center;
    margin-bottom: 30px;
    }

    

    .c-subtitle__text {
    font-size: 16px;
    }
}



/*ヘッダー*/

.l-header {
    /*background-color: #e30313;*/
    background: linear-gradient(to right, #e30313, #a5000b);
    /*background: linear-gradient(to right, #e30313, #fdfdf3);*/

}

.l-header__inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    width: 90%;
    margin: 0 auto;
    max-width: 1280px;
}

/*ロゴ*/
.p-header__logo_img {
    width: 400px;
}

.p-header__ul {
    display: flex;
}

.p-header__li {
    padding: 5px 20px;
    color: #fdfdf3;
}

@media  screen and (max-width: 960px) {

    .p-header__logo_img {
    width: 300px;
}

}

/*ハンバーガーメニュー*/

#menu-btn,
.nav-hidden {
    display: none;
}
.c-header__nav {
    display: none;
}


@media screen and (max-width: 960px) {
    .p-header__nav {
    display: none;
    }

    /*ハンバーガーメニューを描く*/
    #menu-btn {
    display: block;
    width: 30px;
    height: 20px;
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 3;
    }

    #menu-btn span,
    #menu-btn span::before,
    #menu-btn span::after {
    content: "";
    height: 2px;
    width: 100%;
    border-radius: 3px;
    background: #333;
    position: absolute;
    transition: 0.2s;
    }

    #menu-btn span {
    top: 0;
    }
    #menu-btn span::before {
    top: 8px;
    }
    #menu-btn span::after {
    top: 16px;
    }

    /*タップしたらバツに変わる*/
    #nav-input:checked~#menu-btn span {
        top: 8px;
        transform: rotate(45deg);
        background: #3656a7;
    }
    #nav-input:checked~#menu-btn span::before {
    opacity: 0;
    }
    #nav-input:checked~#menu-btn span::after {
    top: 0;
    transform: rotate(-90deg);
    background: #3656a7;
    }

    /*ナビゲーションメニュー初期状態*/
    .c-header__nav {
        display: block;
        max-width: 100%; /*画面の横幅いっぱいに*/
        width: 100%;     /*最大でも100%を超えないように*/
        height: 70vh;    /*高さは画面の縦幅（viewport height）の40%。つまり画面の約上半分くらい。*/
        position: fixed; /*スクロールしても固定される*/
        top: -100%;      /*要素を 画面の上の外側に隠す。*/
        right: 0;        /*右端に寄せる*/
        z-index: 2;      /*重なり順を前面に設定する*/
        opacity: 0;      /*透明にして見えなくする*/
        visibility: hidden; /*表示を無効にして、マウス操作なども無効に*/
        background: #f0f0f0;
        transition: 0.5s;   /*トランジション（アニメーション）を0.5秒で*/
    }

    .c-header__ul {
        display: block;
        padding: 4rem 2rem;
    }
    .c-header__li {
        padding-left: 0;
        padding-top: 1.2rem;
        padding-bottom: 1.2rem;
        border-bottom: solid 1px #333;
    }

    /*ハンバーガーメニューをタップしたときの動き*/
    #nav-input:checked~.c-header__nav {
    top: 0;
    opacity: 1;
    visibility: visible; /*要素を表示状態にする*/
    }

}

/*メインビジュアル*/

.l-mv {
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url('img/TOP.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    height: 100vh;
}


.l-mv__containerText {
    font-size: 24px;
    padding-bottom: 20px;
}

.l-mv__containerCompanyName {
    font-size: 60px;
    font-weight: 500;
    padding-bottom: 20px;
}

.l-mv__containerSlogan {
    font-size: 36px;
}

.l-mv__container {
    text-align: center;
    color: #ffffff;
}

@media  screen and (max-width: 960px) {
    .l-mv__container {
        width: 80%;
    }
    .l-mv__containerText {
        font-size: 18px;
    }
    .l-mv__containerCompanyName {
        font-size: 32px;
    }
    .l-mv__containerSlogan {
    font-size: 20px;
}
}


/*ポーブスの由来*/

.p-povs__h3 {
    font-size: 36px;
    margin-bottom: 70px;
}

.p-povs__container {
    
    display: flex;
    justify-content: space-between;
    align-items: stretch;
}
/*左*/

.p-povs__leftItem {
    
    margin:0 auto 50px;
    border-bottom: solid 1px gray;
    display: flex;
    width: 95%;

}


.p-povs__dtSpan {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 70px;      /* ← 赤い背景の大きさを自由に調整できる */
    height: 70px;
    font-size: 60px;
    font-weight: 500;
    background-color: #e30313;
    color: #fdfdf3;
    margin-right: 5px;

}


.p-povs__dt {
    
    align-self: flex-end;
    font-size: 32px;
}
.p-povs__dd {
    
    align-self: flex-end;
    font-size: 32px;
    text-align: right;
    flex: 1;
}


.p-povs__left {
    
    flex: 1;
}

/*右*/

.p-povs__right {
    
    flex: 1;
}

.p-povs__rightTitle {
    
    font-size: 32px;
    margin-bottom: 10px;
    text-align: center;
}

.p-povs__rightText {
    
    font-size: 18px;
    margin: 0 auto 30px;
    width: 95%;
}

@media  screen and (max-width: 960px) {
    .p-povs__container {
    display: block;
    }

    .p-povs__right {
        width: 100%;
    }
    .p-povs__left {
        width: 100%;
    }
    .p-povs__leftItem {
        width: 100%;
    }
    
    .p-povs__dtSpan {
        width: 36px;
        height: 32px;
        font-size: 32px;
    }
    .p-povs__dt {
        font-size: 22px;
        
    }
    .p-povs__dd {
        font-size: 22px;
    }
}


/*ポーブスサービス*/
#l-service {
    background-color: #f0f0f0;
}

.p-service__item::before {
    content: "■ ";
    color: #333;
    text-align: center;
}

.p-service__item {
    font-size: 24px;
    line-height: 1.4;
}
.p-service__container {
    display: flex;
    justify-content: space-between;
    line-height: 1.6;
}

.p-service__listLeft {
    width: 48%;
}

.p-service__listRight {
    width: 48%;
}

.p-service__listBox {
    font-size: 22px;
    margin-bottom: 20px;
}

@media  screen and (max-width: 960px) {
    .p-service__container {
    display: block;
    }

    .p-service__listLeft {
        width: 100%;
    }

    .p-service__listRight {
        width: 100%;
    }
}


/*ポーブス自動販売機事業*/

.p-vendor__container {
    font-size: 20px;
    line-height: 1.8;
    text-align: left;
}

.p-vendor__h6 {
    font-size: 42px;
    margin: 30px 0;
    font-weight: 600;
}

.red-text {
    color: #e30313;
    font-weight: bolder;
}

.p-vendor__text2 {
    padding: 30px 0 10px 0;
    font-weight: 600;
}

.p-vendor__text3 {
    font-size: 16px;
    font-weight: 600;
}

@media  screen and (max-width: 960px) {

}


/*ポーブス自動販売機事業実績例の一部ご紹介*/

.p-vendorIntroduction__container {
    display: flex;
    flex-wrap: wrap;
}
.p-vendorIntroduction__list {
    display: flex;
    width: 48%;
    margin-bottom: 20px;
    margin-right: 4px;
}

.p-vendorIntroduction__img {
    height: auto;
    width: 48%;
}

.p-vendorIntroduction__TextBox {
    width: 48%;
    padding-left: 20px;
}

.p-vendorIntroduction__Title {
    font-size: 24px;
    margin-bottom: 12px;
}

.p-vendorIntroduction__Text {
    font-size: 20px;
    margin-bottom: 5px;
}
.p-vendorIntroduction__Comment {
    font-size: 16px;
}

.p-vendorIntroduction__merit {
    padding: 40px 0;
    display: flex;
    justify-content: space-between;
}

.p-vendorIntroduction__meritBoxleft {
    background-color: #f2f1ed;
    padding: 15px;
    width: 48%;
}

.p-vendorIntroduction__meritBoxRight {
    background-color: #f2f1ed;
    padding: 15px;
    width: 48%;
}

.p-vendorIntroduction__meritTitle {
    font-size: 24px;
    background-color: #e30313;
    border-bottom: 6px solid #9a0413;
    border-radius: 10px;
    color: #ffffff;
    padding: 5px 20px;
    margin-bottom: 20px;
}

.p-vendorIntroduction__meritText {
    font-size: 20px;
}


@media  screen and (max-width: 960px) {
    .p-vendorIntroduction__container {
    display: block;
    }

    .p-vendorIntroduction__list {
        width: 100%;
        display: block;
    }

    .p-vendorIntroduction__img {
        width: 100%;
    }

    .p-vendorIntroduction__TextBox {
        width: 100%;
        padding: 0 0 0 10px;
    }

    .p-vendorIntroduction__Title {
        font-size: 22px;
    }

    .p-vendorIntroduction__merit {
        display: block;
}

.p-vendorIntroduction__meritBoxleft {
    width: 100%;
}

.p-vendorIntroduction__meritBoxRight {
    width: 100%;
}
}




/*ポーブス自動販売機事業実績例*/
.p-vendor__IntroductionListContainer {
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.p-vendor__IntroductionListBox {
    width: 25%;
    text-align: center;
    
}

.p-vendor__IntroductionListing {
    width: 93%;
    height: auto;
    margin-bottom: 15px;
}

.p-vendor__IntroductionListTitle {
    margin-bottom: 15px;
    font-size: 20px;
}

.p-vendor__IntroductionListText {
    margin-bottom: 50px;
    font-size: 18px;
    
}

@media  screen and (max-width: 960px) {
    .p-vendor__IntroductionListContainer {
    display: block;
    }

    .p-vendor__IntroductionListBox {
    width: 100%;
    }
}

/*ポーブス会社概要*/

.p-company__Container {
    margin-top: 30px;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.p-company__Box {
    display: flex;
    font-size: 20px;
    margin-bottom: 30px;
}

.p-company__Title {
    width: 15%;
}

.p-company__Item {
    width: 85%;
}

.p-company__ItemBox {
    display: flex;
    flex-wrap: wrap;
}

.p-company__ItemBoxList {
    margin-right: 20px;
}

@media  screen and (max-width: 960px) {
    .p-company__Box {
    display: block;
    }

    .p-company__Title {
    width: 100%;
    margin-bottom: 10px;
}

.p-company__Item {
    width: 100%;
}
}


/*お問い合わせ*/
.p-contact__PhoneBox {
    display: flex;
    justify-content: flex-start;
    padding-bottom: 15px;
}

.p-contact__PhoneNo {
    padding-right: 40px;
}
.p-subtitle__others {
    font-size: 20px;
    font-weight: bold;
}

/* フォーム全体のスタイル */
.p-contact__container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 30px;


    border-radius: 8px;
    font-family: "Arial", sans-serif;
}

/* ラベルのスタイル */
.p-contact__container label {
    font-weight: bold;
    margin-bottom: 6px;
    display: inline-block;
}

/* 入力フィールドのスタイル */
.p-contact__container input,
.p-contact__container textarea {
    width: 100%;
    padding: 10px;
    border: 2px solid #e30313;
    border-radius: 4px;
    box-sizing: border-box;
    margin-bottom: 20px;
    font-size: 16px;
}

/* メッセージエリアの高さを設定 */
.p-contact__container textarea {
    resize: vertical;
}

/* 送信ボタンのスタイル */
.p-contact__container button[type="submit"] {
    background-color: #e30313;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.5s;
}

.p-contact__container button[type="submit"]:hover {
    background-color: #101214;
}

.p-contact__btnText {
    font-size: 12px;
    line-height: 1.0;
    margin-top: 15px;
    
}


@media  screen and (max-width: 960px) {
    .p-contact__PhoneBox {
    display: block;
    text-align: center;
    }

    .c-subtitle__text {
    margin-bottom: 10px;
    }
}



/*フッター*/
footer {
    background-color: #e30313;
    color: #fdfdf3;
    padding: 15px 0;
    text-align: center;
}

.p-footer__title {
    font-size: 42px;
}