@charset "utf-8";

@import url('https://fonts.googleapis.com/css2?family=Shippori+Mincho:wght@400;500;600;700;800&display=swap');

/*-------------------------------------
    全体共通・レイアウト設定
--------------------------------------*/
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-size: 1.6rem;
    font-family: "Shippori Mincho", "Hiragino Kaku Gothic Pro W3", "ヒラギノ角ゴ Pro W3", "Osaka", "ＭＳ ゴシック", sans-serif;
    color: #666;
}

main {
    width: 100%;
    position: relative;
}





/*-------------------------------------
  パンくずリスト（header tag）
--------------------------------------*/
header {
    padding: 70px 0 1em 4%;
    font-size: 1.3rem;
    color: #666;
}

header a.site-nav {
    color: #666;
    text-decoration: none;
    transition: 0.3s;
}

header a.site-nav:hover {
    color: #e85a36;
}





/*-------------------------------------
  メインビジュアル (.mainvisual)
--------------------------------------*/
.mainvisual {
    position: relative;
    width: 100%;
    height: 491px;
    overflow: hidden;
}

.aminvisual::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(238, 238, 238, 0.2);
}

.mainvisual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
}

.mainvisual h6 {
    position: absolute;
    left: 21vw;
    bottom: 5vw;
    font-size: 2.5vh;
    font-weight: normal;
    color: #fff;
    text-shadow: #000 0 0 5px;
}





/*-------------------------------------
  メインコンテンツエリア
--------------------------------------*/
.main-contents {
    position: relative;
    width: calc(100% - 10%);
    margin: 40px 0 100px 10%;
    padding: 60px 40px 20%;
    background-color: #f3eee9;
    border-top-left-radius: 90px;
    overflow: visible;
    counter-reset: section-num;
}

.main-contents::after {
    content: "";
    position: absolute;
    right: -10%;
    bottom: 0;
    width: 45%;
    height: 40%;
    background-image: url('../images/common/bolo-transp.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: right bottom;
    opacity: 0.6;
    filter: brightness(1.2) contrast(0.85);
    z-index: 1;
    pointer-events: none;
}

.main-contents > * {
    position: relative;
    z-index: 2;
}

.head-txt {
    text-align: left;
    margin-bottom: 50px;
    padding-left: 20px;
}

.head-txt h2 {
    display: flex;
    align-items: center;
    margin: 0;
    font-size: 2.8rem;
    font-weight: 500;
    color: #444;
}

.head-txt h2::before {
    content: "";
    display: inline-block;
    width: 40px;
    height: 2px;
    margin-right: 20px;
    background-color: #e85a36;
}





/*-------------------------------------
  各セクション (sec01 ～ sec04)
--------------------------------------*/
section {
    display: block;
    width: 85%;
    margin-bottom: 35px;
    padding: 50px 60px;
    background-color: #fff;
    border-radius: 35px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.container {
    width: 100%;
}

.container h3 {
    position: relative;
    margin-top: 0;
    margin-right: 20px;
    padding-left: 2.2em;
    text-indent: -2.2em;
    font-size: 3rem;
    font-weight: 500;
    color: #444;
    text-align: left;
    counter-increment: section-num;
}

.container h3::before {
    content: counter(section-num, decimal-leading-zero) ".";
    margin-right: 0.8em;
    font-family: "Playfaair Display", "Shippori Mincho", serif;
    font-weight: normal;
    color: #444;
}

.container h3::after {
    content: "";
    display: block;
    width: 50px;
    height: 2px;
    margin-top: 15px;
    margin-left: -2.2em;
    background-color: #e85a36;
}

.txt-box {
    font-size: 1.6rem;
    line-height: 1.85;
    color: #333;
}

.txt-box p {
    margin-top: 0;
    margin-bottom: 2vh;
}


.txt-box p:last-child,
.txt-box ul li:last-child {
    margin-bottom: 0;
}

.txt-box ul {
    margin-top: 2vh;
    margin-bottom: 0;
    padding-left: 0;
    list-style: none;
}

.txt-box ul li {
    position: relative;
    margin-bottom: 2vh;
    padding-left: 1em;
    line-height: 1.5;
}

.txt-box ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 5px;
    height: 5px;
    background-color: #f58022;
    border-radius: 100%;
}





/*-------------------------------------
  フォームボタンエリア
--------------------------------------*/
.form-btn-wrapper {
    text-align: center;
    margin-top: 60px;
}

.btn-form {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 320px;
    height: 70px;
    border: 1px solid #444;
    background-color: transparent; /* 背景無し */
    color: #444;
    text-decoration: none;
    font-family: "Playfair Display", "Shippori Mincho", serif;
    font-size: 1.8rem;
    position: relative;
    overflow: hidden;
    transition: color 0.4s ease, border-color 0.4s ease;
    z-index: 1;
}

/* メールアイコンの色指定（岩本製菓カラー） */
.btn-form .icon {
    color: #e85a36;
    font-size: 2rem;
    line-height: 1;
}

/* ホバー時の背景色浮き出しアニメーション（擬似要素） */
.btn-form::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #e85a36; /* ホバー時に広がる背景色 */
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
    z-index: -1;
}

/* ホバー時の変化 */
.btn-form:hover {
    color: #fff;
    border-color: #e85a36;
}

.btn-form:hover .icon {
    color: #fff; /* アイコンも白に変化 */
    transition: color 0.4s ease;
}

.btn-form:hover::before {
    transform: scaleX(1); /* 左から右へ背景色が満ちるアニメーション */
}










@media (max-width: 768px) {
    header {
        padding-top: 30px;
    }

    .mainvisual {
        height: 300px;
    }

    .mainvisual h6 {
        left: 10vw;
        bottom: 8vw;
        font-size: 2vh;
    }

    .main-contents {
        width: calc(100% - 5%);
        margin: 40px 0 100px 5%;
        padding: 60px 40px 80px;
    }

    section {
        width: 95%;
        padding: 40px 30px;
    }

    .head-txt h2 {
        font-size: 2.5vh;
    }

    .container h3 {
        font-size: 2vh;
    }

    .txt-box {
        font-size: 1.4rem;
    }
    
    .btn-form {
        width: 100%;
        max-width: 280px;
        height: 60px;
        font-size: 1.6rem;
    }
}