@charset "utf-8";

/* =============================
   リセット（ブラウザ標準スタイルを初期化）
============================= */
* {
    margin: 0;
    padding: 0;
}

a {
    text-decoration: underline;
}

/* =============================
   画像をレスポンシブに表示
============================= */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* =============================
   HTML基本スタイル
============================= */
html {
    font-family: "ヒラギノ角ゴ Pro W5", "Hiragino Kaku Gothic Pro", "メイリオ", "Meiryo", "Osaka", "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    font-weight: normal;
    font-size: 1.1em;
    line-height: 1.6em;
    background-color: #fafafa;
}

html,
body {
    overflow-x: hidden;
}

/* CSS変数の定義 */
:root {
    --brand-orange: #E67E22;
    /* ブランドオレンジ */
    --line-green: #00C300;
    /* ブランドグリーン */
    --font-main: "Hiragino Kaku Gothic Pro", sans-serif;
    /* メインフォント */
}

/* =============================
   見出しのスタイル
============================= */
h1 {
    font: bolder 1.5em sans-serif;
    line-height: 1.5em;
    letter-spacing: 0.02em;
    color: #333;
    margin: 40px 0;
    text-align: center;
    /* 中央揃え */
}

h2 {
    font: bolder 1.4em sans-serif;
    line-height: 1.4em;
    letter-spacing: 0.02em;
    color: #333;
    margin: 30px 0 10px;
}

h3 {
    vertical-align: baseline;
    color: white;
    font: bold 1.5em sans-serif;
    line-height: 1.5em;
    text-align: center;
    border-radius: 20px;
    padding: 15px 0;
    margin: 20px 0;
    background: sienna;
}

h4 {
    color: #222;
    background-color: #f0e68c;
    display: block;
    border-radius: 20px;
    padding: 25px 20px;
    margin: 10px 0;
    font: normal 1.15em sans-serif;
    line-height: 1.5em;
}

/* =============================
   ヘッダー
============================= */
header {
    text-align: center;
    padding-top: 24px;
}

/* =============================
   グローバルナビゲーション
============================= */
.global_menu {
    width: 100%;
    position: relative;
    color: #333;
    background-color: #f5efe6;
    /* 薄い背景色 */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    /* 軽い影 */
    text-align: center;
}

.global_menu li {
    display: inline-block;
}

.global_menu a {
    display: block;
    padding: 20px 10px;
    font: 400 1.1em sans-serif;
}

.menu:hover > a {
    background: rgba(0, 0, 0, 0.05);
    /* ホバー時の背景 */
}

.child_menu > li > a {
    font-size: 1.0em;
    padding: 8px;
}

.child_menu > li > a:hover {
    background: #f5efe6;
    /* サブメニューのホバー背景 */
}

.child_menu {
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    padding: 8px;
    color: #222;
    background-color: #f5efe6;
    visibility: hidden;
    /* 初期状態は非表示 */
}

.global_menu .child_menu li {
    display: list-item;
}

.menu:hover .child_menu {
    visibility: visible;
    /* ホバーで表示 */
}

.child_menu a:hover {
    color: red;
    /* サブメニューリンクのホバー色 */
}

/* =============================
   グローバルナビ用の丸三角アイコン
============================= */
.arrow {
    position: relative;
    padding: 0 0 0 16px;
}

.arrow::before {
    content: "";
    width: 0;
    height: 0;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    box-sizing: border-box;
    border: 5px solid transparent;
    border-left: 8px solid #555;
    /* 矢印の色 */
    z-index: 2;
}

.arrow::after {
    position: absolute;
    top: 0;
    bottom: 0;
    left: -6px;
    margin: auto;
    content: "";
    width: 16px;
    height: 16px;
    border: 1px solid #555;
    /* 枠線 */
    border-radius: 9px;
    /* 丸角 */
    background: #FFF;
    /* 背景色 */
    z-index: 1;
}

/* =============================
   記事本文
============================= */
article {
    width: 94%;
    margin: 0 auto;
    text-align: center;
}

article p {
    margin: 10px 6px 17px;
    font-size: 1.1em;
    line-height: 1.6em;
    text-align: left;
}

ul {
    list-style-position: inside;
    padding-left: 0;
    margin-left: 0;
}

ul li {
    text-align: left;
    list-style: none;
    margin: 0.2em 0.1em;
}

p a {
    color: blue;
    /* リンク色 */
}

/* =============================
   フッター
============================= */
footer {
    margin-bottom: 70px;
    /* CTA分の余白 */
    font-size: 1.2em;
    color: black;
    text-align: center;
    line-height: 1.6em;
    margin: 0 auto;
    padding: 30px 5px;
}

/* =============================
   お問い合わせテーブル
============================= */
table {
    width: 100%;
    border-collapse: collapse;
    /* 枠線を重ねて表示 */
}

td,
th {
    border: 1px solid #6b3f31;
    padding: 1px;
}

/* =============================
   ボタン
============================= */
.botan {
    display: inline-block;
    font-size: 1.6em;
    font-weight: bolder;
    padding: 25px 50px;
    margin: 15px 0;
    border-radius: 50px;
    text-decoration: none;
    background: orangered;
    color: white;
    transition: all 0.4s ease-out;
    box-shadow: 0px 4px 5px #C87E14;
    /* ボタンの影 */
}

.botan:hover {
    color: #222;
    background: linear-gradient(270deg, red 0%, orange 50%, red 100%);
    background-size: 200% auto;
    background-position: right center;
    box-shadow: 0px 4px 5px #C87E14;
    /* ホバー時の影 */
}

/* =============================
   文字スタイル補助
============================= */
.text-akamoji {
    color: firebrick;
    /* 赤文字 */
    font-size: 1.5em;
    font-weight: bolder;
}

.text-kuromoji {
    font-size: 1.2em;
    font-weight: bolder;
}

figcaption {
    display: block;
    clear: both;
    margin: 0 auto 15px;
    font-size: 0.8rem;
    color: #555;
    line-height: 1.3rem;
}

/* =============================
   フッター拡張スタイル
============================= */
.site-footer {
    background-color: #fafafa;
    padding: 40px 0;
    text-align: center;
    margin-top: 10px;
}

.footer-inner {
    width: 90%;
    max-width: 800px;
    margin: 0 auto;
}

.footer-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 0.5em;
}

.footer-text {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 1.5em;
}

address {
    font-style: normal;
    /* 斜体解除 */
}

/* sp-profile のプロフィール画像サイズ調整 */
.sp-profile img {
    width: 60%;
    /* スマホ時は画面幅の60% */
    max-width: 100%;
    /* 親幅を超えない */
    height: auto;
    display: block;
    margin: 0 auto;
    /* 中央揃え */
}

/* スマホ対応 */
@media (max-width: 480px) {
    .site-footer .footer-links {
        flex-direction: column;
        /* 縦並び */
        gap: 10px;
        /* 項目間隔 */
    }

    .site-footer .footer-links .sns-btn {
        width: 100%;
        padding: 16px 20px;
        /* ボタン余白 */
    }
}

/* =============================
   著作権表記
============================= */
.copyright {
    margin-top: 2em;
    font-size: 0.7rem;
    color: #777;
}

/* =============================カルーセル・スライドショー
============================= */
@keyframes horizontal-animation {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}


@media (hover: hover) {
    .slider-container:hover .slider-wrapper {
        animation-play-state: paused;
        /* ホバーで停止 */
    }
}

/* =============================
   ボタン（影を強調した改良版）
============================= */
.botan {
    display: inline-block;
    font-size: 1.6em;
    font-weight: bolder;
    padding: 25px 50px;
    margin: 15px 0;
    border-radius: 50px;
    text-decoration: none;
    background: orangered;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.35);
    /* 影を濃く */
}

.botan:hover {
    color: #222;
    background: linear-gradient(270deg, red 0%, orange 50%, red 100%);
    background-size: 200% auto;
    background-position: right center;
    transform: translateY(-3px);
    /* ホバーで浮き上がる */
    box-shadow: 0 8px 14px rgba(0, 0, 0, 0.4);
    /* ホバー時の影 */
}

/* =============================
   フッター問い合わせボタン（影を強調）
============================= */
.footer-button {
    display: inline-block;
    background-color: darkorange;
    color: #fff;
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    margin: 15px auto;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.25);
    /* 柔らかい影 */
}

.footer-button:hover {
    background-color: #ffa500;
    transform: translateY(-3px);
    /* 浮き上がり */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    /* ホバー影 */
}

/* ===== スマホ用CTA ===== */
.btn-main {
    display: block;
    background: darkorenge;
    color: #fff;
    text-align: center;
    padding: 14px;
    margin: 10px 0;
    border-radius: 6px;
    font-weight: bold;
    text-decoration: none;
}

.btn-sub {
    display: block;
    background: #e8e8e8;
    color: #333;
    text-align: center;
    padding: 12px;
    border-radius: 6px;
    text-decoration: none;
}

/* 固定CTA全体 */
.fixed-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    gap: 5px;
    z-index: 999;
    padding: 5px;
    background-color: #f5f5f5;
    /* 背景薄グレー */
}

/* CTAボタン共通 */
.fixed-cta a {
    flex: 1;
    text-align: center;
    padding: 14px 0;
    border-radius: 6px;
    font-weight: bold;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    /* ボタン影 */
}

/* 高額問い合わせ用ボタン */
.fixed-cta .btn-contact {
    background-color: var(--brand-orange);
}

.fixed-cta .btn-contact:hover {
    background-color: #d96514;
    transform: translateY(-2px);
    /* 浮き上がり */
}

/* LINE相談用ボタン */
.fixed-cta .btn-line {
    background-color: var(--line-green);
}

.fixed-cta .btn-line:hover {
    background-color: #24995c;
    transform: translateY(-2px);
    /* 浮き上がり */
}

/* 共通ボタン背景色 */
.botan,
.btn-main,
.footer-button,
.fixed-cta {
    background-color: #E67E22;
}

.btn-line {
    display: block;
    background-color: var(--line-green);
    color: #fff;
    text-align: center;
    padding: 14px;
    margin: 10px 0;
    border-radius: 6px;
    font-weight: bold;
    text-decoration: none;
}

.btn-line:hover {
    background-color: #24995c;
}

.btn-contact {
    display: block;
    background-color: var(--brand-orange);
    color: #fff;
    text-align: center;
    padding: 14px;
    margin: 10px 0;
    border-radius: 6px;
    font-weight: bold;
    text-decoration: none;
}

.btn-contact:hover {
    background-color: #d96514;
}

/* =============================
   写真スライダー
============================= */
.slider {
    position: relative;
    overflow: hidden;
    /* はみ出た部分は隠す */
    width: 100%;
    margin: 20px 0;
}

.slides {
    display: flex;
    transition: transform 1.0s ease-in-out;
    /* スライド移動のアニメーション */
}

.slide {
    min-width: 100%;
    box-sizing: border-box;
    text-align: center;
}

.slide img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.slide figcaption {
    font-size: 14px;
    margin-top: 8px;
    color: #555;
}

/* PC用矢印 */
.prev,
.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

.prev:hover,
.next:hover {
    background: rgba(0, 0, 0, 0.8);
}

/* =============================
   文字のピンク色ハイライト
============================= */

.highlight {
    position: relative;
    display: inline-block;
    color: #ff69b4;
    /* ピンク色の文字色 */
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    /* 文字の下にピッタリ配置 */
    left: 0;
    width: 100%;
    height: 4px;
    /* 太めの下線 */
    background-color: #ff69b4;
    /* ピンク色の下線 */
}

/* =============================
   パンくずリスト
============================= */
.breadcrumb {
    font-size: 14px;
    color: #333;
    margin-bottom: 10px;
}

.breadcrumb a {
    text-decoration: none;
    color: #007bff;
    /* クリック可能なリンク色 */
}

.breadcrumb a:hover {
    text-decoration: underline;
    /* ホバー時に下線 */
}

.breadcrumb span {
    color: #777;
    /* さりげない色 */
    margin: 0 5px;
}

/* =============================
   画像の角丸
============================= */
.rounded-image {
    border-radius: 12px;
    object-fit: cover;
}

/* =============================
   レスポンシブレイアウト
============================= */
@media screen and (min-width: 768px) {
    article {
        width: 760px;
        /* 記事幅を固定 */
    }

    nav ul {
        width: 760px;
        margin: 0 auto;
        /* 中央揃え */
    }

    header {
        background: url(https://www.photo-papan.com/images/tytle760px2025.svg) top center no-repeat;
        background-size: 760px;
        /* ヘッダー背景サイズ */
    }

    header img {
        height: 360px;
        visibility: hidden;
        /* 背景用画像は非表示 */
    }

    .sp-profile img {
        width: 350px;
        /* タブレット以上で固定幅 */
    }
}
