body {
    font-family: 'Noto Sans JP', sans-serif;
    background-image: url('../../images/common/bg.png');
    background-repeat: repeat;
    background-size: 100%;
    color: #1e293b;
    overflow-x: hidden;
}
html {
  scroll-behavior: smooth;
}
@font-face {
  font-family: 'CorpRounded';
  src: url('../../fonts/Corporate-Logo-Rounded-Bold.woff2') format('woff2'),
       url('../../fonts/Corporate-Logo-Rounded-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

h3 {
  font-family: 'CorpRounded', sans-serif !important;
  font-weight: bold !important;
  font-size: 2rem !important;
  line-height: 1 !important;
}
/* 共通見出しスタイル（バルーン形状とテキストアウトライン） */
.title-balloon {
    position: relative;
    background-color: #3b82f6;
    border: 4px solid #0f172a;
    border-radius: 1rem;
    padding: 1rem 3rem;
    text-align: center;
    box-shadow: 4px 6px 0px #0f172a;
    z-index: 10;
    display: inline-block;
}

.title-balloon::before,
.title-balloon::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.title-balloon::before {
    top: -24px;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-bottom: 24px solid #0f172a;
    z-index: -1;
}

.title-balloon::after {
    top: -16px;
    border-left: 14px solid transparent;
    border-right: 14px solid transparent;
    border-bottom: 18px solid #3b82f6;
    z-index: 1;
}

.title-text {
    font-size: 2.5rem;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: 0.1em;
    line-height: 1.1;
    text-shadow:
        3px 3px 0 #0f172a,
        -2px -2px 0 #0f172a,
        2px -2px 0 #0f172a,
        -2px 2px 0 #0f172a,
        2px 2px 0 #0f172a;
}

@media (min-width: 768px) {
    .title-text {
        font-size: 4rem;
    }
}

/* ボタン共通影 */
.btn-shadow {
    box-shadow: 0 4px 0 #1e3a8a;
}

.btn-shadow:active {
    box-shadow: 0 0 0 #1e3a8a;
    transform: translateY(4px);
}

/* MENUカードの左上リボン */
.card-ribbon-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 4rem;
    height: 4rem;
    overflow: hidden;
    border-top-left-radius: 0.5rem;
    z-index: 10;
}

.card-ribbon {
    position: absolute;
    top: 0;
    left: 0;
    background-color: #2563eb;
    color: white;
    font-size: 0.6rem;
    font-weight: bold;
    width: 6rem;
    text-align: center;
    padding: 0.25rem 0;
    transform: rotate(-45deg) translate(-1.2rem, -0.8rem);
    border-bottom: 2px solid #0f172a;
}

/* プロセス図のバインダー風装飾 */
.binder-clip {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 16px;
    background-color: white;
    border: 2px solid #0f172a;
    border-radius: 4px;
    z-index: 10;
}

.binder-clip::before {
    content: '';
    position: absolute;
    top: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 6px;
    background-color: #0f172a;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

/* スライダー用スタイル */
.slider-item {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 0;
}

.slider-item.active {
    opacity: 1;
    z-index: 1;
}

.slider-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
}
#sunday-layout{
    background:url(../../images/section-sunday-edition/sunday-edtion-pic.png) no-repeat center;
    background-size: 95% auto;
}
.footer-top{
    position: relative;
}
.footer-wrap {
    background: url(../../images/common/footer-bg2.png) repeat-y;
    background-size: 100% auto;
}


.footer-content {
    position: relative;
    z-index: 2;
}

.menu-title {
    font-size: 16px;
    font-weight: 800;
    line-height: 1.2;
    color: white;
    margin-bottom: 6px;
}

.menu-sub {
    font-size: 12px;
    font-weight: 700;
    line-height: 1.5;
    color: rgba(255,255,255,0.92);
    white-space: nowrap;
}

.logo-big {
    font-size: clamp(48px, 6vw, 86px);
    font-weight: 900;
    letter-spacing: 0.02em;
    line-height: 1;
}

.portal-title {
    font-family: "Noto Sans JP","sans-serif" !important;
    font-size: clamp(24px, 3vw, 48px);
    font-weight: 800;
    line-height: 1.3;
}

.contact-number {
    font-size: clamp(44px, 6vw, 64px);
    font-weight: 900;
    letter-spacing: 0.01em;
    line-height: 1;
}

.divider-line {
    height: 1px;
    background: rgba(255,255,255,0.45);
}

.phone-icon {
    width: 54px;
    height: 54px;
    flex: 0 0 auto;
}

.mascot2 {
  position: absolute;
  bottom: 100%;
  right: 5%;
  transform: translateX(-50%);
  transform: translateY(50%);
  width:15%;
  z-index:-1;
}

.stone-logo {
    width: 72px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}
.sub-titles{
    background:#3380ff;
    padding: 1.2rem 0 0.5rem 0;
    color:white;
    font-family: 'CorpRounded', sans-serif; 
    font-weight:bold;
    font-size:1.8rem;
    text-align:center;
    border-radius: 30px;
    margin-bottom:50px;

}
.ex-sub-titles{
    font-family: 'noto sans jp', sans-serif !important;
    font-size:1.8rem !important;
    font-weight:bold !important;
    line-height: 2.2rem !important;
}
@media (max-width: 1024px) {
    .footer-wrap::before {
    height: 130px;
    }

    .mascot {
    width: 120px;
    right: 24px;
    top: 16px;
    }
}

@media (max-width: 768px) {
    .footer-wrap::before {
    height: 110px;
    clip-path: polygon(
        0 0,
        100% 0,
        100% 58%,
        78% 58%,
        70% 57%,
        62% 53%,
        54% 44%,
        44% 31%,
        34% 24%,
        24% 22%,
        0 22%
    );
    }

    .mascot {
    width: 92px;
    right: 14px;
    top: 10px;
    }
}


@media screen and (max-width: 478px) {
    .footer-wrap {
        background: url(../../images/common/footer-bg-sm.png) repeat-y;
        background-size: 100% auto;
    }
    .contact-number {
        font-size: clamp(40px, 6vw, 64px);
        font-weight: 900;
        letter-spacing: 0.01em;
        line-height: 1;
    }
    .phone-icon {
        width: 34px;
        height: 54px;
        flex: 0 0 auto;
    }
    .menu-title {
        font-size: 12px;
        font-weight: 800;
        line-height: 1.2;
        color: white;
        margin-bottom: 6px;
    }
    .menu-sub {
        font-size: 10px;
        font-weight: 700;
        line-height: 1.5;
        color: rgba(255,255,255,0.92);
        white-space: nowrap;
    }
    #sunday-layout{
        background:url(../../images/section-sunday-edition/sunday-edtion-sm.png) no-repeat center;
        background-size: 100% auto;
    }
    .mascot2 {
        width: 30%;
    }
}