/* 見学の流れ・アクセス。スマホ版、PC版。 */

/* 全数値は元のraw宣言。QA未合格の外部候補。 */

@media(max-width:1023px) {
  .sp-flow .sp-heading {
    position:absolute;
    top:42px;
    left:36px;
    text-align:left;
    padding-top:26px;
    margin:0;
  }
}

@media(max-width:1023px) {
  .sp-flow .sp-heading>.script {
    left:-15px;
    font-size:40px;
  }
}

@media(max-width:1023px) {
  .sp-flow .sp-heading h2 {
    font-size:39px;
  }
}

@media(max-width:1023px) {
  .sp-flow-steps {
    position:absolute;
    top:145px;
    left:17px;
    width:225px;
  }
}

@media(max-width:1023px) {
  .sp-flow-steps li {
    display:grid;
    grid-template-columns:51px minmax(0,1fr);
    gap:10px;
    position:relative;
    padding-bottom:18px;
    min-height:110px;
  }
}

@media(max-width:1023px) {
  .sp-flow-steps li:nth-child(2) {
    min-height:135px;
  }
}

@media(max-width:1023px) {
  .sp-flow-steps li:last-child {
    padding-bottom:0;
  }
}

@media(max-width:1023px) {
  .sp-flow-steps li:not(:last-child)::before {
    content:"";
    position:absolute;
    left:25px;
    top:51px;
    bottom:0;
    border-left:1px dashed var(--c-camel);
  }
}

@media(max-width:1023px) {
  .sp-flow-steps h3 {
    font-size:19px;
    line-height:1.3;
  }
}

@media(max-width:1023px) {
  .sp-flow-steps p {
    font:500 14px/1.5 "Noto Sans JP",sans-serif;
    margin-top:5px;
  }
}

@media(max-width:1023px) {
  .sp-flow-cloud {
    position:absolute;
    color:var(--c-terracotta);
    font-size:18px;
  }
}

@media(max-width:1023px) {
  .sp-flow-steps li:last-child h3 {
    width:260px;
  }
}

@media(max-width:1023px) {
  .sp-flow-cloud::after {
    right:auto;
    left:-24px;
    top:-18px;
    bottom:auto;
    transform:rotate(160deg);
  }
}

@media(max-width:1023px) {
  .sp-flow-bottom-leaf {
    top:450px;
    left:-72px;
    width:110px;
    height:130px!important; /* 理由: 通常宣言の詳細度/順序を打ち消す: .m2-frame img / 同時適用するimportant宣言との元の勝者を維持: .m2-leaves */
    transform:rotate(180deg);
  }
}

@media(max-width:1023px) {
  .sp-access {
    min-height:600px;
    padding:25px 15px 20px;
  }
}

@media(max-width:1023px) {
  .sp-access .sp-heading {
    height:72px;
    margin:0;
    padding-top:27px;
  }
}

@media(max-width:1023px) {
  .sp-access .sp-heading>.script {
    font-size:36px;
  }
}

@media(max-width:1023px) {
  .sp-access .sp-heading h3 {
    font-size:30px;
    white-space:nowrap;
  }
}

@media(max-width:1023px) {
  .sp-access-cards {
    display:grid;
    gap:10px;
  }
}

@media(max-width:1023px) {
  .sp-access-card {
    height:152px;
    display:grid;
    grid-template-columns:46% minmax(0,1fr);
    gap:8px;
    padding:8px;
    align-items:center;
  }
}

@media(max-width:1023px) {
  .sp-access-visual {
    height:130px;
    position:relative;
    background:url('../assets/deco/watercolor-sky-trees-mobile.webp') center/contain no-repeat;
  }
}

@media(max-width:1023px) {
  .sp-access-visual>img {
    width:100%;
    height:130px;
    object-fit:contain;
  }
}

@media(max-width:1023px) {
  .sp-access-visual>.sp-badge {
    width:42px;
    height:42px;
    top:0;
    left:0;
  }
}

@media(max-width:1023px) {
  .sp-access-copy h4 {
    font-size:14px;
    padding-bottom:4px;
    border-bottom:1px solid var(--c-camel);
    margin-bottom:4px;
  }
}

@media(max-width:1023px) {
  .sp-access-copy p {
    font-size:12px;
    line-height:1.4;
  }
}

@media(max-width:1023px) {
  .sp-access-copy p .sp-num {
    font-size:16px;
  }
}

@media(max-width:1023px) {
  .sp-access-card:nth-child(2) h4 {
    font-size:20px;
  }
}

@media(max-width:1023px) {
  .sp-access-pair {
    display:flex;
    gap:0;
    align-items:flex-end;
  }
}

@media(max-width:1023px) {
  .sp-access-pair>div {
    position:relative;
    flex:0 0 56%;
    margin-right:-12%;
  }
}

@media(max-width:1023px) {
  .sp-access-pair img {
    height:105px;
    width:100%;
    object-fit:contain;
  }
}

@media(max-width:1023px) {
  .sp-access-pair .sp-badge {
    width:32px;
    height:32px;
    left:0;
    top:-15px;
  }
}

@media(max-width:1023px) {
  .sp-access-pair .sp-badge b {
    font-size:17px;
  }
}

@media(max-width:1023px) {
  .sp-access-ribbon {
    margin:10px auto 0!important; /* 理由: 通常宣言の詳細度/順序を打ち消す: .m2-frame p */
    font-size:16px;
    white-space:nowrap;
  }
}

@media(max-width:1023px) {
  .sp-access .sp-cta {
    margin-top:8px;
  }
}

@media(max-width:1023px) {
  .sp-access-pair .sp-badge span {
    font-size:12px;
  }
}

@media(max-width:374px) {
  .sp-access-copy h4 {
    font-size:13px;
  }
}

@media(max-width:1023px) {
  [data-artwork="callout-flow-visit-only"] {
    width:148px;
    height:90px;
  }
}

@media(max-width:1023px) {
  .sp-access-ribbon[data-ornament] {
    max-width:calc(100% - 16px);
  }
}

@media(max-width:1023px) {
  .sp-flow .sp-heading>[data-ornament="english-flow"] {
    top:-25px;
    --orn-w:160px!important; /* 理由: 元inline切り抜き値より優先する既存装飾寸法 */
    --orn-h:58px!important; /* 理由: 元inline切り抜き値より優先する既存装飾寸法 */
    width:160px;
    height:58px;
  }
}

@media(max-width:1023px) {
  .sp-access .sp-heading>[data-ornament="english-access"] {
    top:-20px;
    left:26%;
    --orn-w:110px!important; /* 理由: 元inline切り抜き値より優先する既存装飾寸法 */
    --orn-h:42px!important; /* 理由: 元inline切り抜き値より優先する既存装飾寸法 */
    width:110px;
    height:42px;
  }
}

@media(max-width:1023px) {
  .sp-flow {
    padding:0;
    height:825px;
    min-height:825px;
  }
}

@media(max-width:1023px) {
  .sp-flow-steps li:nth-child(2) p {
    font-size:13px;
    line-height:1.55;
    letter-spacing:-.04em;
  }
}

@media(max-width:1023px) {
  .sp-flow-photo {
    position:absolute;
    transform:rotate(2deg);
    left:24px;
    right:auto;
    top:545px;
    width:145px;
    height:253px;
  }
}

@media(max-width:1023px) {
  .sp-flow-cloud[data-artwork] {
    right:21px;
    top:645px;
  }
}

@media (min-width:1024px) {
  .pc-access-visual::before {
    content:"";
    position:absolute;
    inset:-5% 0 0;
    z-index:-1;
    background:url("../assets/deco/watercolor-sky-trees.webp") center/100% 100% no-repeat;
    -webkit-mask-image:radial-gradient(ellipse 65% 62% at 50% 50%,#000 68%,transparent 100%);
    mask-image:radial-gradient(ellipse 65% 62% at 50% 50%,#000 68%,transparent 100%);
    pointer-events:none;
  }
}

@media (min-width:1024px) {
  .pc-flow-leaves {
    position:absolute;
    width:180px;
    z-index:-1;
    pointer-events:none;
  }
}

@media (min-width:1024px) {
  .pc-flow-heading {
    position:absolute;
    left:40px;
    right:40px;
    text-align:center;
    top:40px;
  }
}

@media (min-width:1024px) {
  .pc-flow-heading h2 {
    font-size:44px;
    font-weight:900;
    line-height:1.3;
  }
}

@media (min-width:1024px) {
  .pc-flow-steps {
    position:absolute;
    top:170px;
    left:40px;
    right:40px;
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:40px;
    text-align:center;
  }
}

@media (min-width:1024px) {
  .pc-flow-steps::before {
    content:"";
    position:absolute;
    left:16%;
    right:16%;
    top:28px;
    border-top:2px dotted var(--c-camel);
    z-index:-1;
  }
}

@media (min-width:1024px) {
  .pc-flow-steps>li {
    min-width:0;
    position:relative;
  }
}

@media (min-width:1024px) {
  .pc-flow-number {
    display:flex;
    align-items:center;
    justify-content:center;
    width:56px;
    height:56px;
    border-radius:50%;
    background:var(--c-dusty-blue);
    color:white;
    font-size:42px;
    line-height:1;
  }
}

@media (min-width:1024px) {
  .pc-flow-icon {
    display:flex;
    align-items:center;
    justify-content:center;
    width:44px;
    height:44px;
    border:1px solid #DCCCB5;
    border-radius:50%;
    color:var(--c-dusty-blue);
    background:var(--c-ivory);
  }
}

@media (min-width:1024px) {
  .pc-flow-icon>.icon {
    width:31px;
    height:31px;
  }
}

@media (min-width:1024px) {
  .pc-flow-steps h3 {
    font-size:20px;
    font-weight:900;
    line-height:1.4;
    white-space:nowrap;
  }
}

@media (min-width:1024px) {
  .pc-flow-steps li>p {
    font-family:"Noto Sans JP",sans-serif;
    font-size:15px;
    font-weight:500;
    line-height:1.65;
    margin:10px auto 0;
    max-width:390px;
  }
}

@media (min-width:1024px) {
  .pc-flow-cloud {
    position:absolute;
    top:83px;
    right:28px;
    width:171px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-family:"Klee One",serif;
    font-size:20px;
    font-weight:600;
    line-height:1.35;
    text-align:center;
  }
}

@media (min-width:1024px) {
  .pc-access-heading {
    position:absolute;
    left:40px;
    right:40px;
    text-align:center;
    top:385px;
    padding-top:35px;
  }
}

@media (min-width:1024px) {
  .pc-access-heading h3 {
    font-size:40px;
    font-weight:900;
    line-height:1.3;
  }
}

@media (min-width:1024px) {
  .pc-access-heading>.script {
    font-size:56px;
  }
}

@media (min-width:1024px) {
  .pc-access-cards {
    position:absolute;
    top:500px;
    left:40px;
    right:40px;
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:24px;
  }
}

@media (min-width:1024px) {
  .pc-access-card {
    height:190px;
    display:grid;
    grid-template-columns:43% minmax(0,1fr);
    align-items:center;
    padding:13px 16px 13px 7px;
    gap:6px;
    border-radius:2px;
  }
}

@media (min-width:1024px) {
  .pc-access-card::after {
    content:"";
    position:absolute;
    top:-10px;
    right:25%;
    width:64px;
    height:23px;
    background:rgba(235,220,195,.88);
    transform:rotate(4deg);
    pointer-events:none;
    z-index:3;
  }
}

@media (min-width:1024px) {
  .pc-access-clip {
    position:absolute;
    z-index:4;
    background:url("../assets/deco/paperclip.svg") center/contain no-repeat;
    transform:rotate(11deg);
    pointer-events:none;
    right:10px;
    top:-16px;
    width:34px;
    height:64px;
  }
}

@media (min-width:1024px) {
  .pc-access-visual {
    position:relative;
    height:164px;
    isolation:isolate;
  }
}

@media (min-width:1024px) {
  .pc-access-visual>img {
    width:100%;
    height:164px;
    object-fit:contain;
    object-position:center bottom;
  }
}

@media (min-width:1024px) {
  .pc-access-visual>.pc-badge {
    position:absolute;
    top:-3px;
    left:5px;
    width:56px;
    height:56px;
    z-index:2;
  }
}

@media (min-width:1024px) {
  .pc-access-visual>.pc-badge>.script {
    font-size:18px;
  }
}

@media (min-width:1024px) {
  .pc-access-visual>.pc-badge>.pc-num {
    font-size:27px;
  }
}

@media (min-width:1024px) {
  .pc-access-visual--pair {
    display:flex;
    align-items:flex-end;
    gap:2px;
  }
}

@media (min-width:1024px) {
  .pc-access-visual--pair>div {
    position:relative;
    width:50%;
    height:100%;
    display:flex;
    align-items:flex-end;
  }
}

@media (min-width:1024px) {
  .pc-access-visual--pair>div>img {
    width:100%;
    height:auto;
    max-height:132px;
    object-fit:contain;
    object-position:center bottom;
  }
}

@media (min-width:1024px) {
  .pc-access-visual--pair .pc-badge {
    position:absolute;
    top:3px;
    left:3px;
    width:48px;
    height:48px;
    z-index:2;
  }
}

@media (min-width:1024px) {
  .pc-access-visual--pair .pc-badge>.script {
    font-size:16px;
  }
}

@media (min-width:1024px) {
  .pc-access-visual--pair .pc-badge>.pc-num {
    font-size:24px;
  }
}

@media (min-width:1024px) {
  .pc-access-copy {
    position:relative;
    z-index:1;
    align-self:center;
  }
}

@media (min-width:1024px) {
  .pc-access-copy h4 {
    font-size:clamp(17px,1.52778vw,22px);
    font-weight:900;
    line-height:1.35;
    padding-bottom:6px;
    border-bottom:1px solid var(--c-camel);
    margin-bottom:5px;
  }
}

@media (min-width:1024px) {
  .pc-access-copy>p {
    font-family:"Noto Sans JP",sans-serif;
    font-size:15px;
    font-weight:500;
    line-height:1.6;
  }
}

@media (min-width:1024px) {
  .pc-access-map {
    display:flex;
    justify-content:center;
    align-items:center;
    gap:8px;
    min-height:40px;
    border:1.5px solid var(--c-dusty-blue);
    border-radius:24px;
    background:var(--c-ivory);
    text-decoration:none;
    font-size:16px;
    font-weight:700;
    line-height:1.3;
    margin-top:7px;
  }
}

@media (min-width:1024px) {
  .pc-access-map>.icon {
    width:22px;
    height:22px;
  }
}

@media (min-width:1024px) {
  .pc-access-ribbon {
    position:absolute;
    left:50%;
    transform:translateX(-50%);
    width:560px;
    font-family:"Zen Maru Gothic",sans-serif;
    font-size:20px;
    font-weight:900;
    text-align:center;
    line-height:1.3;
  }
}

@media (min-width:1024px) {
  .pc-flow-leaves--top {
    top:-15px;
    left:-40px;
    transform:rotate(8deg);
  }
}

@media (min-width:1024px) {
  .pc-flow-leaves--bottom {
    bottom:12px;
    right:-45px;
    transform:rotate(180deg);
  }
}

@media (min-width:1024px) and (max-width:1199px) {
  .pc-flow-steps {
    gap:24px;
  }
}

@media (min-width:1024px) and (max-width:1199px) {
  .pc-flow-steps h3 {
    font-size:18px;
  }
}

@media (min-width:1024px) and (max-width:1199px) {
  .pc-flow-steps li>p {
    font-size:14px;
  }
}

@media (min-width:1024px) and (max-width:1199px) {
  .pc-flow-cloud {
    right:10px;
    width:150px;
    font-size:18px;
  }
}

@media (min-width:1024px) and (max-width:1199px) {
  .pc-access-card {
    grid-template-columns:35% minmax(0,1fr);
    padding-right:12px;
  }
}

@media (min-width:1024px) and (max-width:1199px) {
  .pc-access-copy>p {
    font-size:13px;
  }
}

@media (min-width:1024px) and (max-width:1199px) {
  .pc-access-map {
    font-size:14px;
    gap:4px;
  }
}

@media (min-width:1024px) and (max-width:1199px) {
  .pc-access-visual--pair .pc-badge {
    width:40px;
    height:40px;
  }
}

@media (min-width:1024px) and (max-width:1199px) {
  .pc-access-visual--pair .pc-badge>.script {
    font-size:13px;
  }
}

@media (min-width:1024px) and (max-width:1199px) {
  .pc-access-visual--pair .pc-badge>.pc-num {
    font-size:20px;
  }
}

@media(min-width:1024px) {
  .pc-flow-heading>[data-pc-ornament] {
    left:50%;
    transform:translateX(-125%);
    top:-24px;
    --pc-word-w:220px;
    --pc-word-h:78px;
  }
}

@media(min-width:1024px) {
  .pc-access-heading>[data-pc-ornament] {
    left:50%;
    transform:translateX(-50%);
    top:-33px;
    --pc-word-w:160px;
    --pc-word-h:65px;
  }
}

@media (min-width:1024px) {
  .pc-flow-symbols {
    display:flex;
    justify-content:center;
    align-items:center;
    gap:9px;
    width:120px;
    margin:0 auto 20px;
    background:transparent;
  }
}

@media(min-width:1024px) {
  .pc-access-ribbon[data-pc-ornament] {
    top:715px;
    height:91px!important; /* 理由: 同時適用するimportant宣言との元の勝者を維持: [data-pc-ornament-kind="ribbon"] */
  }
}

@media(min-width:1024px) {
  .pc-access-ribbon .deco-pc-ornament-ink {
    width:100%;
    height:auto;
    aspect-ratio:var(--pc-ink-ratio);
  }
}

@media (min-width:1024px) {
  .pc-flow-cta {
    position:absolute;
    left:50%;
    transform:translateX(-50%);
    width:800px;
    max-width:calc(100% - 160px);
    top:826px;
  }
}
