@charset "utf-8";

/* hirameki 公開サイト用.css */

/* 全体の雰囲気 */
body {
    font-family: "Comic Sans MS", "Rounded Mplus 1c", sans-serif;
    background: linear-gradient(180deg, #fef6ff 0%, #f9fbff 100%);
    color: #333;
}

/* ナビゲーション */
.navbar {
    background: linear-gradient(90deg, #ffd6e8, #cdeaff, #fff6c9);
    border-bottom: 4px solid #ffe680;
}
.navbar .nav-link {
    font-size: 1.2rem;
    font-weight: bold;
    color: #444 !important;
}
.navbar .nav-link:hover {
    color: #ff69b4 !important;
    text-shadow: 1px 1px 3px #fff;
}

/* ジャンボトロン */
.jumbotron {
    background: linear-gradient(135deg, #ffe6f1, #e6f7ff, #fffbd6);
    padding: 4rem 2rem;
    border-radius: 25px;
    position: relative;
    overflow: hidden;
}

/* 星の演出 */
.jumbotron::before, .jumbotron::after {
    content: "✨";
    position: absolute;
    font-size: 3rem;
    color: #ffd700;
    animation: twinkle 2s infinite alternate;
}
.jumbotron::before {
    top: 10%;
    left: 5%;
}
.jumbotron::after {
    bottom: 15%;
    right: 8%;
}

@keyframes twinkle {
    from { opacity: 0.3; transform: scale(0.9); }
    to   { opacity: 1; transform: scale(1.2); }
}

.content-bg {
    background: #fff6c9;
}

/* 右側のパーツ画像を重ねる */
.part-wrap {
    position: relative;
    min-height: 300px;
}
.part-img {
    position: absolute;
    max-width: 56%;
    transition: transform .25s ease;
}
.part-img:hover { transform: translateY(-4px); }
.part-1 { top: 4%; right: 10%; z-index: 2; }
.part-2 { bottom: -6%; right: -4%; z-index: 1; }

/* スマホ時は縦並び＆中央寄せ */
@media (max-width: 991.98px) {
    .part-wrap { min-height: 220px; }
    .part-img { position: absolute; max-width: 70%; left: 50%; transform: translateX(-50%); }
    .part-1 { top: 0; right: auto; }
    .part-2 { bottom: -8%; right: auto; opacity: .95; }
}

.jumbotron h1 {
    font-size: 2.8rem;
    color: #ff69b4;
    text-shadow: 2px 2px 0 #fff;
}
.jumbotron p {
    font-size: 1.4rem;
}
.jumbotron .btn, .content-btn {
    font-size: 1.4rem;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    background: #ffb347;
    border: none;
}
.jumbotron .btn:hover, .content-btn:hover {
    background: #ff9234;
}

h2.sub_title {
    position: relative;
    text-align: center;
    border: 2px solid #000;
    background: #ffe680;
}

h2.sub_title:before,
h2.sub_title:after {
    position: absolute;
    content: '';
}

h2.sub_title:before {
    top: -40px;
    left: calc(50% - 40px);
    width: 80px;
    height: 80px;
    border: 2px solid #000;
    border-radius: 50%;
    background: #ffe680;
}

h2.sub_title:after {
    top: 4px;
    left: 4px;
    width: calc(100% - 8px);
    height: calc(100% - 8px);
    border: 2px dashed #000;
    background: #ffe680;
}

h2.sub_title i {
    font-size: 24px;
    font-size: 2.4rem;
    line-height: 60px;
    position: absolute;
    z-index: 2;
    top: -40px;
    left: calc(50% - 40px);
    width: 80px;
    height: 60px;
    text-align: center;
}

h2.sub_title span {
    position: relative;
    z-index: 1;
    display: block;
    padding: 1.5rem;
}

h2.sub_title span:before,
h2.sub_title span:after {
    position: absolute;
    content: '';
}

h2.sub_title span:before {
    top: -34px;
    left: calc(50% - 34px);
    width: 68px;
    height: 40px;
    border: 2px dashed #000;
    border-radius: 50vw 50vw 0 0;
}

h2.sub_title span:after {
    position: absolute;
    top: 4px;
    left: calc(50% - 32px);
    width: 64px;
    height: 10px;
    background: #ffe680;
}

/* サービスカード */
.card {
    border-radius: 20px;
    border: 3px solid #ffe680;
    background: #fff;
    transition: transform 0.2s;
}
.card:hover {
    transform: translateY(-5px) scale(1.03);
}
.card-title {
    font-size: 1.5rem;
    color: #2a8dd2;
}
.card-text {
    font-size: 1.2rem;
}
.btn-secondary {
    background: #a3d977;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
}
.btn-secondary:hover {
    background: #7cc244;
}

/* フッター */
footer {
    background: #ffd6e8;
    color: #444;
    font-size: 1.1rem;
}

.card-header:first-child { border-radius: 20px!important;}
