@charset "utf-8"; /* main layout */ /*** modal ***/ .modal-overlay { margin: 0 auto; position: fixed; top: 0; right: 0; left: 0; z-index: 55; width: min(100%, var(--app-max-width)); height: 100dvh; max-height: 100vh; background: rgba(0, 0, 0, 0.52); } .modal-overlay[hidden] { display: none !important; } .modal { display: grid; place-items: center; margin: 0 auto; padding: 24px; position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 60; width: min(100%, var(--app-max-width)); } .modal[hidden] { display: none !important; } .modal__panel { display: flex; flex-direction: column; box-shadow: var(--shadow); overflow: hidden; width: 100%; max-width: 380px; max-height: calc(100dvh - 48px); background: var(--surface); border-radius: var(--radius-lg); } .modal__body { padding: 18px; overflow: auto; -webkit-overflow-scrolling: touch; } .modal-slider { overflow: hidden; border-radius: var(--radius-sm); } .modal-slider .swiper-slide { aspect-ratio: 1447 / 2048; background: #e9eef4; } .modal-slider .swiper-slide img { display: block; width: 100%; height: 100%; object-fit: cover; } .modal-controls { display: flex; justify-content: space-between; margin-top: 12px; } .modal-controls .group { display: flex; column-gap: 8px; } .modal-index { padding: 8px 10px; box-shadow: var(--shadow-sm); min-width: 58px; background: var(--surface); font-size: 1.44rem; text-align: center; border-radius: 999px; } .modal-prev, .modal-next { display: flex; align-items: center; justify-content: center; padding: 0; border: 0; box-shadow: var(--shadow-sm); width: 38px; height: 38px; background: var(--surface); cursor: pointer; border-radius: 50%; } .modal-toggle { display: flex; align-items: center; justify-content: center; padding: 0; border: 0; box-shadow: var(--shadow-sm); position: relative; width: 38px; height: 38px; background: var(--surface); cursor: pointer; border-radius: 50%; } .modal-toggle img { position: absolute; } .modal-toggle .icon-play { display: none; } .modal-toggle.is-paused .icon-play { display: block; } .modal-toggle.is-paused .icon-stop { display: none; } .modal-toggle:disabled { cursor: default; opacity: 0.45; } .modal__footer { display: flex; gap: 12px; align-items: center; justify-content: space-between; padding: 14px 18px; border-top: 1px solid #edf1f5; } .modal__dontshow { display: inline-flex; gap: 8px; align-items: center; font-size: 1.44rem; color: #333; } .modal__dontshow input { width: 18px; height: 18px; } .modal__button { flex-shrink: 0; padding: 10px 14px; border: 0; background: #111; font-size: 1.44rem; color: #fff; cursor: pointer; border-radius: 999px; } @media (max-height: 740px) { .modal { padding: 12px; } .modal__panel { max-height: calc(100dvh - 24px); } .modal__body { padding: 12px 12px 0; background: #fff; } .modal-controls { margin-top: 8px; padding-top: 8px; padding-bottom: 8px; position: sticky; bottom: 0; z-index: 2; isolation: isolate; background-color: #fff; margin-bottom: 0; } .modal-controls::before { position: absolute; top: -18px; left: 0; width: 100%; height: 18px; background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff); content: ""; pointer-events: none; } .modal-index { padding: 7px 10px; font-size: 1.32rem; } .modal-prev, .modal-next, .modal-toggle { width: 34px; height: 34px; } .modal__footer { padding: 10px 12px; } .modal__button { padding: 9px 12px; font-size: 1.32rem; } } /* main */ main {} .section { padding: 68px 24px 0; } .section.business { padding: 68px 0 0; } .section--soft { background: linear-gradient(180deg, rgba(255, 255, 255, 0.3), transparent); } .section-heading { margin-bottom: 24px; } .business .section-heading { margin-left: 24px; } .oil-price .section-heading { display: flex; align-items: center; justify-content: space-between; } .oil-price .section-heading .text-link { color: #4a5568; font-size: 1.6rem; font-weight: 500; line-height: 1.4; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; } .section-heading--row { display: flex; gap: 12px; align-items: center; justify-content: space-between; } .section-heading--sns { display: flex; gap: 12px; align-items: center; justify-content: space-between; } .section-heading h2 { margin: 0; font-size: 3.52rem; letter-spacing: -0.05em; } /* Hero Section */ .hero { padding: 0 14px; } .slide { overflow: hidden; position: relative; height: 600px; border-radius: 30px; } .hero-slide { background-color: #0b0b0b; } .slide__bg { position: absolute; width: 100%; height: 100%; inset: 0; object-fit: cover; } .hero-slide::before { position: absolute; z-index: 0; background: linear-gradient(rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.45)); content: ""; inset: 0; } .hero-slide .slide__bg { z-index: 0; } .hero-slide .slide__link { z-index: 1; } .slide__link { display: block; position: absolute; color: inherit; text-decoration: none; inset: 0; } .slide__link:focus-visible { outline: none; box-shadow: inset 0 0 0 3px var(--focus-ring-contrast), inset 0 0 0 6px var(--focus-ring); } .hero-copy { position: absolute; right: 30px; bottom: 80px; left: 30px; font-size: 2.8rem; font-weight: 500; line-height: 1.45; color: white; letter-spacing: -0.05em; } .hero-copy__text { white-space: pre-line; } .hero-copy p, .business-card__overlay p, .featured-news__body h3, .news-item h3, .notice-item h3, .video-card__body h4 { margin: 0; } /* Business Section */ .business-card { display: block; overflow: hidden; position: relative; min-height: 572px; border-radius: var(--radius-lg); } .business-card:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--focus-ring-contrast), 0 0 0 6px var(--focus-ring); } .business-card img { width: 100%; height: 572px; object-fit: cover; } .business-card__overlay { display: flex; gap: 18px; justify-content: flex-end; flex-direction: column; padding: 42px 34px; position: absolute; background: linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.62)); color: white; inset: 0; } .business-card__overlay h3 { margin: 0; font-size: 2.88rem; } .business-card__overlay p { line-height: 1.5; color: rgba(255, 255, 255, 0.9); } .business-card__link { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: white; color: #111; border-radius: 50%; } .business-card__link::before { content: ""; width: 12px; height: 12px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: translateX(-2px) rotate(45deg); } /* Press & Notice Section */ .featured-news, .news-item, .notice-item, .video-card, .popup-card { color: inherit; text-decoration: none; } .featured-news:focus-visible, .news-item:focus-visible, .notice-item:focus-visible, .video-card:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 4px; box-shadow: 0 0 0 2px var(--focus-ring-contrast); } .popup-card:focus-visible { outline: none; } .popup-card:focus-visible::after { box-shadow: inset 0 0 0 2px var(--focus-ring-contrast), inset 0 0 0 6px var(--focus-ring); position: absolute; content: ""; pointer-events: none; inset: 0; border-radius: inherit; } .featured-news, .notice-item, .video-card, .popup-card { display: block; } .popup-card { position: relative; } .featured-news img { width: 100%; height: 255px; object-fit: cover; } .featured-news__body h3 { margin-bottom: 6px; font-size: 2.048rem; line-height: 1.45; } .featured-news__body .data-date, .news-item .data-date, .notice-item .data-date, .video-card__body .data-date, .price-panel .data-date { font-size: 1.44rem; color: #777; } .news-list { margin: 40px 0; } [data-tab-group="notice-press"] .section-heading { align-items: flex-end; } [data-tab-group="notice-press"] .section-heading .tabs { gap: 8px; flex-wrap: nowrap; } [data-tab-group="notice-press"] .section-heading .tabs button { flex: none; min-width: 104px; padding: 10px 18px; border-radius: 999px; font-size: 1.52rem; } [data-tab-group="notice-press"] .price-panel[hidden], .notice-press-panel[hidden] { display: none; } .news-item { display: grid; gap: 20px; align-items: center; grid-template-columns: 176px 1fr; } .news-item img { width: 176px; height: 116px; object-fit: cover; border-radius: 10px; } .news-item h3, .video-card__body h4 { margin-bottom: 8px; font-size: 1.6rem; line-height: 1.45; } .notice-item h3 { margin-bottom: 8px; font-size: 1.92rem; font-weight: 500; line-height: 1.45; } .notice-list { margin-bottom: 40px; border-top: 2px solid #333; } .notice-item { padding: 22px 0; border-bottom: 1px solid #c1c2c4; } /* Small Mobile (<=390px) */ @media (max-width: 390px) { [data-tab-group="notice-press"] .section-heading { align-items: flex-start; } [data-tab-group="notice-press"] .section-heading .tabs { width: 100%; } [data-tab-group="notice-press"] .section-heading .tabs button { flex: 1; min-width: 0; } .news-item { grid-template-columns: 1fr; } .news-item img { width: 100%; height: 180px; } } /* SNS Section */ .sns-link { display: flex; align-items: center; justify-content: space-between; height: 85px; font-size: 1.76rem; font-weight: 600; } .subsection-head { margin: 25px 0; } .subsection-head a { display: flex; gap: 10px; align-items: center; } .subsection-head h3 { margin: 0; font-size: 2.24rem; font-weight: 500; } .subsection-head a { font-size: 1.92rem; } .video-card img { width: 100%; height: 200px; object-fit: cover; } .video-card__body h4 { font-size: 1.6rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .sns-icons { display: flex; gap: 4px; align-items: center; justify-content: center; margin: 20px 0 16px; } .section-heading--sns .sns-icons { flex-shrink: 0; justify-content: flex-end; margin: 0; } .sns-icons__item { display: inline-flex; width: 35px; height: 35px; align-items: center; justify-content: center; } .sns-icons__item img { display: block; width: 100%; height: auto; } /* Oil Price & Service Section */ .price-block+.price-block, .service-links { margin-top: 36px; } .price-block__head { margin-bottom: 18px; } .price-block__head h3 { margin: 0; font-size: 2.24rem; font-weight: 600; } .price-block__head a { font-size: 1.52rem; color: #222; } .price-card { padding: 16px; } .price-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 10px; margin-bottom: 16px; } .price-card__meta .price-title { margin: 0; text-align: left; } .price-card__meta .data-date { margin-left: auto; white-space: nowrap; } .tabs { display: flex; gap: 6px; flex-wrap: wrap; } .tabs button { flex-grow: 1; padding: 12px 14px; border: 0; background: var(--surface-soft); color: #222; cursor: pointer; border-radius: 10px; /* width: calc((100% - 12px) / 3); */ } .tabs button.is-active { background: #222; color: white; } .price-panel { padding: 28px 8px 12px; text-align: center; } .price-card .price-panel { display: none; } .price-card .price-panel.is-active { display: block; } .oil-price .price-panel.is-active { display: block; } .price-title { margin: 0 0 8px; font-size: 2.0rem; font-weight: 600; text-align: center; } .oil-price .price-panel .price-title { margin: 0; text-align: left; } .oil-price .price-panel .data-date { margin-left: auto; white-space: nowrap; } .price-value { display: flex; gap: 8px; align-items: baseline; justify-content: center; flex-wrap: wrap; } .oil-price .price-panel .price-value { width: 100%; } .price-value .price-number { font-size: 4.16rem; line-height: 1; } .price-value .price-unit { font-size: 1.68rem; } .price-value .price-change { font-style: normal; font-weight: 600; color: #012dee; } .price-value .price-change.is-up { color: #ef0042; } .service-link strong { display: block; font-size: 2.8rem; } .service-link strong span { color: #f60; } .service-link:last-child strong span { color: #177523; } .service-link p { margin: 0; line-height: 1.6; color: #444; } /* Popup Zone Section */ .popup-controls { display: flex; align-items: center; padding: 2px 6px; box-shadow: var(--shadow-sm); background: var(--surface); border-radius: 999px; } .popup-index { padding: 9px 10px; position: relative; min-width: 58px; background: transparent; font-size: 1.44rem; text-align: center; border-radius: 0; } .popup-controls a, .popup-controls button { display: flex; align-items: center; justify-content: center; padding: 0; border: 0; box-shadow: none; width: 38px; height: 38px; background: transparent; font-size: 1.92rem; cursor: pointer; border-radius: 999px; } .popup-toggle { position: relative; } .popup-toggle img { position: absolute; } .popup-toggle .icon-play { display: none; } .popup-toggle.is-paused .icon-play { display: block; } .popup-toggle.is-paused .icon-stop { display: none; } .popup-card img { display: block; width: 100%; height: auto; } /* Small Mobile (<=390px) */ @media (max-width: 390px) { .section-heading--row { align-items: flex-start; flex-direction: column; } } .related-sites { margin-top: 30px; overflow: visible; position: relative; } .related-sites[open] { z-index: 30; } .related-sites summary { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border: 1px solid #b7bdc7; box-shadow: none; background: var(--bg); font-size: 1.6rem; line-height: 1.4; list-style: none; cursor: pointer; border-radius: 10px; } .related-sites summary:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--focus-ring-contrast), inset 0 0 0 6px var(--focus-ring); } .related-sites[open] summary { background-color: var(--surface); } .related-sites summary::-webkit-details-marker { display: none; } .related-sites summary::after { display: block; width: 18px; height: 18px; background-image: url(/images/common/i-plus-toggle.svg); background-repeat: no-repeat; background-position: center center; content: ""; } .related-sites[open] summary::after { background-image: url(/images/common/i-minus-toggle.svg); } .related-sites__list_wrap { display: none; gap: 0; margin: 0; padding: 24px; padding-bottom: 80px; border: 1px solid #b7bdc7; box-shadow: var(--shadow-sm); position: absolute; right: 0; bottom: 0; left: 0; z-index: -1; background: #fff; border-radius: 10px; } .related-sites[open] .related-sites__list_wrap { display: block; } .related-sites__list { display: block; overflow: auto; max-height: min(60vh, 400px); list-style: none; } .related-sites__list li+li { margin-top: 24px; } .related-sites__list a { display: block; padding: 6px 8px; box-shadow: none; background: transparent; font-size: 1.6rem; font-weight: 500; line-height: 1.4; color: var(--text); border-radius: 8px; } .related-sites__list a.is-external { display: flex; gap: 8px; align-items: center; justify-content: space-between; } .related-sites__list a.is-external::after { flex: 0 0 auto; width: 24px; height: 24px; background: url(/images/common/i-blank.svg) no-repeat center/12px; content: ""; } .related-sites__list a:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--focus-ring-contrast), inset 0 0 0 6px var(--focus-ring); } .notice-press-card { padding: 0; background: transparent; } .notice-press-panel { padding: 0; text-align: left; } .notice-press-placeholder { display: block; background: #fff; } .notice-press-placeholder--featured { width: 100%; height: 255px; } .notice-press-placeholder--thumb { width: 176px; height: 116px; border-radius: 10px; }