@charset "utf-8";

/* --- ブラウザのデフォルト余白をリセット --- */
*, *::before, *::after {
    box-sizing: border-box;
}

body, h1, h2, h3, p, ul, ol, dl, dt, dd {
    margin: 0;
    padding: 0;
}

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

/* --- 全体共通設定 --- */
body {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

/* --- レイアウトの基本幅 --- */
.inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================================
   共通ボタン：btn-common（ホバーで枠も強調される決定版）
   ============================================================ */

.btn-common {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: 280px;
    height: 75px;
    padding: 0 20px 0 25px;
    /* 💡 枠線の初期設定 */
    border: 2px solid #08A66C;
    border-radius: 50px;
    background-color: #fff;
    text-decoration: none;
    color: #08A66C;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1); /* 💡 滑らかな動き */
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

/* テキストエリア */
.btn-common .btn-text-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.btn-common .btn-text-main {
    font-size: 16px;
    font-weight: 800;
}

.btn-common .btn-text-sub {
    font-size: 11px;
    font-weight: 700;
    margin-top: 4px;
    text-transform: uppercase;
}

/* 矢印アイコン（初期状態） */
.btn-common .link-arrow {
    width: 38px;
    height: 38px;
    background-color: #D7CCC8;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    transition: all 0.3s ease;
}

/* --- 💡 ホバー時の挙動（枠も中身も大きく強調） --- */

.btn-common:hover {
    background-color: #fff;
    color: #08A66C !important;
    /* 💡 枠線を太くし、ボタン自体を一回り大きく見せる */
    border-width: 3px; 
    transform: scale(1.03); 
    box-shadow: 0 10px 25px rgba(8, 166, 108, 0.15);
}

.btn-common:hover .link-arrow {
    background-color: #08A66C; /* 緑に色づく */
    color: #fff;
    transform: translateX(8px); /* 💡 スライド幅も少し大きく */
}

/* --- オレンジ色(is-orange)の場合 --- */

.btn-common.is-orange {
    border-color: #e8a36d;
    color: #e8a36d;
}

.btn-common.is-orange .link-arrow {
    background-color: #f1e4dc;
}

.btn-common.is-orange:hover {
    border-color: #e8a36d;
    box-shadow: 0 10px 25px rgba(232, 163, 109, 0.15);
}

.btn-common.is-orange:hover .link-arrow {
    background-color: #e8a36d;
    color: #fff;
}

/* --- スマホ対応（横幅を調整） --- */
@media screen and (max-width: 768px) {
    .btn-common {
        width: 100%; /* スマホでは親要素いっぱいに */
        max-width: 300px;
        height: 65px;
    }
}