/* Shared design from the approved project top page; no legacy-site styles. */

html {
    scroll-padding-top: 96px
}

section,
article,
[id] {
    scroll-margin-top: 12px
}

.header {
    transition: background-color .25s, box-shadow .25s;
    z-index: 50
}

.header .brand {
    transition: width .25s, padding .25s
}

.service-menu {
    position: relative;
    display: flex;
    align-items: center
}

.service-toggle {
    display: flex;
    align-items: center;
    gap: 7px;
    border: 0;
    padding: 0;
    background: none;
    color: inherit;
    font: inherit;
    letter-spacing: inherit;
    line-height: inherit;
    cursor: pointer;
    white-space: nowrap
}

.service-toggle:hover,
.service-toggle[aria-expanded=true] {
    color: var(--accent)
}

.service-chevron {
    display: block;
    width: 6px;
    height: 6px;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    transform: rotate(45deg);
    transition: transform .25s
}

.service-toggle[aria-expanded=true] .service-chevron {
    transform: translateY(3px) rotate(225deg)
}

.service-submenu[hidden] {
    display: none!important
}

.service-submenu {
    position: absolute;
    top: 100%;
    left: -22px;
    width: 220px;
    display: flex;
    flex-direction: column;
    padding: 14px 0;
    background: white;
    border: 1px solid #e9deef;
    border-radius: 8px;
    box-shadow: 0 12px 25px #633a781a;
    z-index: 60;
    animation: submenu-in .2s ease-out
}

.service-submenu::before {
    content: '';
    position: absolute;
    height: 16px;
    top: -16px;
    left: 0;
    right: 0
}

#navigation .service-submenu a {
    padding: 13px 22px;
    font-size: 14px;
    line-height: 1.8;
    white-space: normal;
    border: 0
}

#navigation .service-submenu a:hover {
    background: var(--pale);
    color: var(--purple)
}

.header.is-sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 1920px;
    margin-inline: auto;
    background: white;
    padding: 10px max(6%, calc((100% - 1200px)/2));
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 3px 20px #633a7814;
    animation: header-in .25s ease-out
}

.header.is-sticky .brand {
    width: 132px;
    padding: 0;
    flex: none
}

.header.is-sticky .header-right {
    flex-direction: row;
    align-items: center
}

.header.is-sticky .header-phone {
    display: none
}

.header.is-sticky #navigation {
    padding-top: 0;
    font-size: 14px;
    gap: 30px
}

.header.is-sticky .service-submenu {
    top: calc(100% + 15px)
}

.header.is-sticky .service-submenu::before {
    height: 20px;
    top: -20px
}

.hero-photo {
    top: 0
}

.faq .faq-answer>p {
    font-size: calc(16 * var(--u));
    line-height: 1.8;
    padding: calc(24 * var(--u)) calc(30 * var(--u));
    letter-spacing: .05em
}

.faq-accordion summary::after {
    content: ''!important;
    top: 50%!important;
    width: 12px;
    height: 12px;
    background: linear-gradient(var(--accent), var(--accent)) center/100% 1px no-repeat, linear-gradient(var(--accent), var(--accent)) center/1px 100% no-repeat;
    transform: translateY(-50%);
    transition: transform .3s ease, background-size .3s ease
}

.faq-accordion[data-expanded=true] summary::after {
    background-size: 100% 1px, 1px 0;
    transform: translateY(-50%) rotate(180deg)
}

.faq-accordion summary {
    margin-bottom: 0!important
}

.faq-accordion .faq-answer {
    display: flow-root
}

.sub-content .faq-accordion {
    margin: 18px 0;
    padding: 0;
    border: 0;
    border-radius: 5px;
    background: white
}

.sub-content .faq-accordion summary {
    background: white;
    list-style: none;
    position: relative;
    padding: 22px 55px 22px 26px;
    border: 0!important
}

.sub-content .faq-accordion summary h3 {
    margin: 0;
    padding: 0 0 0 30px;
    font-size: 17px;
    line-height: 1.8;
    letter-spacing: .05em
}

.sub-content .faq-accordion summary h3::before {
    top: 0;
    left: 0
}

.sub-content .faq-accordion summary::after {
    position: absolute;
    right: 24px;
    top: 22px;
    color: var(--accent)
}

.sub-content .faq-accordion .faq-answer {
    padding: 0 26px 24px;
    border-top: 1px solid #eee5f2
}

.sub-content .faq-accordion .faq-answer p {
    margin: 20px 0 0;
    padding: 0;
    font-size: 15px;
    line-height: 2
}

.consultation-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    min-height: 64px;
    padding: 18px 30px;
    border-radius: 6px;
    background: var(--purple);
    color: #fff!important;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: .06em;
    text-decoration: none!important;
    box-shadow: 0 4px 12px #633a781a;
    transition: background-color .25s, transform .25s, box-shadow .25s
}

.consultation-button img {
    width: 29px;
    height: auto;
    filter: brightness(0) invert(1);
    flex: none
}

.consultation-button:hover {
    background: #80528f;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px #633a7825
}

.sub-content .sub-action {
    display: inline-flex;
    gap: 12px;
    color: var(--deep);
    font-size: 15px;
    line-height: 1.8;
    text-decoration: none!important;
    border-bottom: 1px solid var(--accent);
    border-radius: 0;
    background: none;
    padding: 0 0 5px
}

.sub-content .sub-action span {
    transition: transform .25s
}

.sub-content .sub-action:hover span {
    transform: translateX(5px)
}

.subpage .sub-main {
    padding-top: max(110px, calc(135 * var(--u)))
}

.sub-main .page-masthead {
    overflow: visible;
    isolation: isolate;
    min-height: 280px;
    padding: 55px 6% 58px;
    margin-bottom: 0
}

.masthead-inner {
    position: relative;
    width: min(1120px, 100%);
    min-height: 167px;
    display: flex;
    align-items: center;
    justify-content: center;
    /*padding-bottom: 40px;*/
    z-index: 3
}

.page-masthead h1 {
    max-width: 930px;
    font-size: clamp(27px, 2.1vw, 39px);
    text-wrap: balance
}

.sub-main .page-masthead .breadcrumbs {
    position: absolute;
    right: 0;
    bottom: 0;
    width: auto;
    max-width: 100%;
    margin: 0;
    padding: 5px 9px;
    font-size: 12px;
    background: #f4f3f9ed;
    border-radius: 4px;
    line-height: 1.8
}

.page-masthead .breadcrumbs ol {
    justify-content: flex-end
}

.page-masthead .page-flowers {
    inset: auto 0 0;
    width: 100%;
    max-width: none;
    transform: translateY(23%);
    z-index: 2;
    opacity: 1;
    pointer-events: none
}

.sub-content {
    position: relative;
    padding-top: 80px
}

.photo-slot {
    position: relative;
    aspect-ratio: 16/6;
    width: 100%;
    /*max-width: 780px;*/
    margin: 0 auto 65px;
    /*border: 1px dashed #c8b3d2;*/
    border-radius: 12px;
    background: linear-gradient(140deg, #f4f3f9, #f9f5fa);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 16px;
    overflow: hidden;
    color: #9b80a9
}

.photo-slot::after {
    content: attr(data-photo-label);
    font-size: 14px;
    letter-spacing: .1em;
    text-align: center;
    padding-inline: 20px
}

.photo-slot-mark {
    width: 48px;
    height: 36px;
    border: 1px solid #c6aed1;
    border-radius: 5px;
    position: relative
}

.photo-slot-mark::after {
    content: '';
    position: absolute;
    left: 11px;
    bottom: 3px;
    width: 23px;
    height: 23px;
    border-left: 1px solid #c6aed1;
    border-top: 1px solid #c6aed1;
    transform: rotate(45deg)
}

.photo-slot img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover
}

.photo-slot:has(img)::after,
.photo-slot:has(img) .photo-slot-mark {
    display: none
}

.sub-content .related ul {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px
}

.sub-content .related a {
    position: relative;
    display: grid;
    grid-template-columns: 62px 1fr 20px;
    gap: 20px;
    padding: 20px;
    /*min-height: 118px;*/
    border: 1px solid #e5d9eb;
    border-radius: 12px;
    background: white;
    box-shadow: 0 4px 18px #633a7808;
    text-decoration: none!important;
	 transition: background-color .35s ease, box-shadow .35s ease;
}

.sub-content .related a:hover {
    background: var(--pale);
    box-shadow: 0 8px 20px #633a7814
}

.related-icon {
    display: grid;
    place-items: center;
    width: 62px;
    height: 62px;
    background: var(--pale);
    border-radius: 14px;
    position: relative
}

.related-icon:empty::before {
    content: '';
    width: 28px;
    height: 28px;
    border: 1px dashed #c2a8ce;
    border-radius: 7px
}

.related-icon img,
.related-icon svg {
    display: block;
    width: 38px;
    height: 38px;
    object-fit: contain
}

.related-label {
    line-height: 1.8;
    font-weight: 700
}

.shared-cta {
    position: relative;
    background: var(--pale);
    width: 100%;
    border-block: 1px solid #ece4f0;
    margin: 0;
    isolation: isolate
}

.shared-cta .cta-inner {
    position: relative;
    z-index: 2;
    width: min(1040px, 88%);
    margin: auto;
    padding: 50px 0px;
    text-align: center;
    letter-spacing: .04em;
    font-size: 16px;
    line-height: 1.95
}

.shared-cta h2 {
    font-family: var(--serif);
    font-size: 27px;
    line-height: 1.8;
    font-weight: 600;
    letter-spacing: .08em;
    margin: 0 0 25px;
    color: #292929;
    text-wrap: balance
}

.shared-cta p {
    margin: 0 0 22px
}

.shared-cta p:last-child {
    margin-bottom: 0
}

.shared-cta .phone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 36px;
    font-weight: 700;
    letter-spacing: .07em;
    line-height: 1.7;
    color: var(--purple)
}

.shared-cta .phone::before {
    content: '';
    width: 32px;
    height: 25px;
    background: url('assets/52153.svg') center / contain no-repeat
}

.shared-cta .sub-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    min-height: 52px;
    border: 0;
    border-radius: 5px;
    padding: 13px 24px;
    background: var(--purple);
    color: white!important;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    transition: background-color .25s, transform .25s
}

.shared-cta .sub-action:hover {
    background: #80528f;
    transform: translateY(-2px)
}

.cta-flowers {
    position: absolute;
    pointer-events: none;
    z-index: 1;
    max-width: 24%;
    width: 330px;
    height: auto
}

.cta-flowers-left {
    left: 0;
    bottom: -90px
}

.cta-flowers-right {
    right: 0;
    top: -95px
}

.sub-content-after-cta {
    padding-top: 0;
    padding-bottom: 110px
}

.sub-content-after-cta .related {
    padding-top: 64px;
    margin-top: 0
}

@keyframes header-in {
    from {
        transform: translateY(-10px);
        opacity: .8
    }
    to {
        transform: translateY(0);
        opacity: 1
    }
}

@keyframes submenu-in {
    from {
        transform: translateY(-4px);
        opacity: 0
    }
    to {
        transform: translateY(0);
        opacity: 1
    }
}

@media(max-width:1000px) {
    .header.is-sticky {
        height: 60px;
        padding: 8px 6%
    }
    .header.is-sticky .brand {
        width: 112px
    }
    .header.is-sticky .header-right {
        gap: 0
    }
    .header.is-sticky .menu-toggle {
        width: 40px;
        height: 40px
    }
    .header.is-sticky #navigation {
        font-size: 15px;
        padding: 15px 6% 25px;
        gap: 0
    }
    .header.is-sticky .service-submenu {
        top: auto
    }
    #navigation .service-menu {
        display: block
    }
    .service-toggle {
        width: 100%;
        padding: 14px 8px;
        border-bottom: 1px solid #eee6f1;
        justify-content: space-between
    }
    .service-chevron {
        margin-right: 8px
    }
    #navigation .service-submenu {
        position: static;
        width: 100%;
        padding: 6px 8px 9px;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        background: var(--pale)
    }
    #navigation .service-submenu::before {
        display: none
    }
    #navigation .service-submenu a {
        padding: 12px 18px;
        font-size: 14px
    }
    .hero {
        padding-top: 0
    }
    .hero-photo {
        top: 0;
        height: 100%
    }
    .faq .faq-answer>p {
        font-size: 13px;
        line-height: 1.9;
        padding: 18px
    }
    .subpage .sub-main {
        padding-top: 90px
    }
    .sub-main .page-masthead {
        padding: 35px 6% 35px;
        min-height: 245px
    }
    .masthead-inner {
        min-height: 175px;
        padding-bottom: 58px
    }
    .page-masthead h1 {
        font-size: 28px;
        max-width: 680px
    }
    .sub-main .page-masthead .breadcrumbs {
        font-size: 11px;
        bottom: 0
    }
    .page-masthead .page-flowers {
        width: 130%;
        left: -15%;
        bottom: 0;
        transform: translateY(30%)
    }
    .sub-content {
        padding-top: 65px
    }
    .photo-slot {
        margin-bottom: 45px
    }
    .shared-cta .cta-inner {
        padding: 60px 28px;
        font-size: 15px
    }
    .shared-cta h2 {
        font-size: 24px
    }
    .cta-flowers {
        max-width: 22%;
        width: 150px
    }
    .cta-flowers-left {
        bottom: -40px
    }
    .cta-flowers-right {
        top: -40px
    }
    .sub-content .related a {
        grid-template-columns: 52px 1fr 16px;
        gap: 15px;
        padding: 22px;
        min-height: 110px
    }
    .related-icon {
        width: 52px;
        height: 52px;
        border-radius: 12px
    }
    .related-label {
        font-size: 14px
    }
    .sub-content-after-cta {
        padding-top: 0;
        padding-bottom: 90px
    }
}

@media(max-width:650px) {
    .sub-main .page-masthead {
        min-height: 230px;
        padding: 28px 6% 30px
    }
    .masthead-inner {
        min-height: 172px;
        padding-bottom: 53px
    }
    .page-masthead h1 {
        font-size: 24px;
        letter-spacing: .07em;
        max-width: 96%
    }
    .page-masthead .page-flowers {
        width: 110%;
        left: -5%;
		bottom: 10px;
        transform: translateY(35%)
    }
    .sub-main .page-masthead .breadcrumbs {
        font-size: 10px;
        max-width: 100%;
        letter-spacing: .02em
    }
    .breadcrumbs ol {
        gap: 5px 8px
    }
    .breadcrumbs li+li::before {
        margin-right: 8px
    }
    .consultation-button {
        width: 100%;
        font-size: 16px;
        padding: 17px 16px;
        gap: 12px;
        min-height: 60px;
        letter-spacing: .02em
    }
    .consultation-button img {
        width: 25px
    }
    .sub-content .sub-action {
        font-size: 14px;
        gap: 10px;
        max-width: 100%;
        text-align: left;
        white-space: normal
    }
    .sub-action span {
        flex: none
    }
    .sub-content .faq-accordion summary {
        padding: 19px 42px 19px 16px
    }
    .sub-content .faq-accordion summary h3 {
        font-size: 15px;
        padding-left: 27px;
        letter-spacing: .03em
    }
    .sub-content .faq-accordion summary::after {
        top: 19px;
        right: 16px
    }
    .sub-content .faq-accordion .faq-answer {
        padding: 0 17px 20px
    }
    .sub-content .faq-accordion .faq-answer p {
        font-size: 14px;
        margin-top: 18px
    }
    .photo-slot {
        aspect-ratio: 4/3;
        margin-bottom: 40px;
        gap: 12px
    }
    .photo-slot::after {
        font-size: 12px
    }
    .photo-slot-mark {
        transform: scale(.85)
    }
    .sub-content .related ul {
        grid-template-columns: 1fr;
        gap: 16px
    }
    .sub-content .related a {
        padding: 21px;
        min-height: 100px
    }
    .shared-cta .cta-inner {
        padding: 60px 15px;
        font-size: 14px
    }
    .shared-cta h2 {
        font-size: 22px;
        letter-spacing: .06em
    }
    .shared-cta .phone {
        font-size: 28px;
        gap: 8px;
        letter-spacing: .04em
    }
    .shared-cta .phone::before {
        width: 25px;
        height: 22px
    }
    .shared-cta .sub-action {
        font-size: 13px;
        padding: 13px 17px;
        gap: 12px;
        width: 100%;
        line-height: 1.9;
        text-align: left
    }
    .cta-flowers {
        max-width: 50%;
        width: 180px
    }
}

@media(prefers-reduced-motion:reduce) {
    .header,
    .header .brand,
    .service-chevron,
    .faq-accordion summary::after {
        transition: none
    }
    .header.is-sticky,
    .service-submenu {
        animation: none
    }
}

@media print {
    .header.is-sticky {
        display: none
    }
    .photo-slot {
        display: none
    }
    .shared-cta {
        break-inside: avoid
    }
    .cta-flowers {
        display: none
    }
}
/* Responsive repair 2026-11-05: desktop declarations remain unchanged. */
@media (max-width: 1000px) {
    /* Expanded services must remain reachable on short/landscape screens. */
    .header #navigation {
        max-height: calc(100vh - 90px);
        max-height: calc(100dvh - 90px);
        overflow-y: auto;
        overscroll-behavior: contain;
        padding-bottom: max(25px, env(safe-area-inset-bottom));
    }
    .header.is-sticky #navigation {
        max-height: calc(100vh - 60px);
        max-height: calc(100dvh - 60px);
    }
    .header .brand, .header .menu-toggle {
        flex-shrink: 0;
    }
    dialog {
        max-height: calc(100vh - 32px);
        max-height: calc(100dvh - 32px);
        overflow-y: auto;
        overscroll-behavior: contain;
    }
    .floating-phone {
        bottom: max(12px, env(safe-area-inset-bottom));
        right: max(12px, env(safe-area-inset-right));
    }
}
@media (max-width: 767px) {
    .tengokuya-urgent-banner__text {
        font-size: 13px;
    }
    .tengokuya-urgent-banner__image {
        width: clamp(44px, 14vw, 70px);
    }
}
@media (max-width: 767px) {
  .tengokuya-urgent-banner {
    width: calc(100% - 32px);
    margin-inline: auto;
  }
}
/* PCでは改行しない */
.sp-only {
  display: none;
}

/* スマホだけ改行する */
@media (max-width: 767px) {
  .sp-only {
    display: inline;
  }
.intro-flowers {
        width: 110%;
        max-width: none;
        left: -5%;
        top: 300px;
        opacity: .65;
    }
	.intro .heading {
        font-size: 24px;
        letter-spacing: .07em;
    }
	    .intro p {
        font-size: 16px;
        line-height: 2.1;
        margin-top: 22px;
    }
	
  .sub-main .page-masthead {
    min-height: 140px;
    padding: 20px 6%;
  }

  .sub-main .page-masthead .masthead-inner {
    min-height: 100px;
    padding-bottom: 0;
  }
}
@media (max-width: 767px) {
  body {
    padding-bottom: calc(56px + env(safe-area-inset-bottom, 0px));
  }

  .floating-phone {
    position: fixed;
    inset: auto 0 0;
    width: 100%;
    height: calc(56px + env(safe-area-inset-bottom, 0px));
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 0 12px env(safe-area-inset-bottom, 0px);
    border-radius: 0;
    white-space: nowrap;
    box-shadow: 0 -2px 12px #633a782b;
  }

  .floating-phone span {
    font-size: 12px;
    letter-spacing: 0;
  }

  .floating-phone strong {
    font-size: 20px;
    letter-spacing: 0;
  }
}

/* プライバシーポリシー */
#privacy-dialog {
  width: min(90%, 800px);
  max-height: 85vh;
  max-height: 85dvh;
  overflow-y: auto;
  padding: 50px;
  box-sizing: border-box;
  line-height: 1.9;
  overscroll-behavior: contain;
}

#privacy-dialog h2 {
  margin-bottom: 30px;
}

#privacy-dialog h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 35px 0 12px;
}

#privacy-dialog p {
  margin-bottom: 15px;
}

#privacy-dialog ul {
  margin: 15px 0 20px;
  padding-left: 1.5em;
  list-style: disc;
}

#privacy-dialog li {
  margin-bottom: 6px;
}

#privacy-dialog .dialog-close {
  position: sticky;
  top: 0;
  display: block;
  margin: -30px -30px 0 auto;
  z-index: 2;
  cursor: pointer;
}

/* スマートフォン */
@media (max-width: 767px) {
  #privacy-dialog {
    width: 94%;
    padding: 30px 22px;
    font-size: 14px;
  }

  #privacy-dialog h2 {
    font-size: 22px;
    margin-bottom: 25px;
  }

  #privacy-dialog h3 {
    font-size: 16px;
    margin-top: 28px;
  }

  #privacy-dialog .dialog-close {
    margin: -15px -8px 0 auto;
  }
}