@charset "utf-8";

.current {
    pointer-events: none;
}

/* ヘッダー */
#top-head {
    position: fixed;
    top: 0;
    width: 100%;
    line-height: 1;
    z-index: 10000;
    background-color: #ffffff;
    box-shadow: 1px 1px 0px 0px #666;
}

#top-head .inner {
    padding: 10px 20px;
}

#top-head .logo {
    display: inline-block;
    line-height: 1.3;
    color: #555;
    font-weight: 600;
    padding: 0 0 25px 10px;
    font-size: 20px;
}
#top-head .logo a{
    display: flex;
    height: 52px;
    flex-direction: column;
    justify-content: center;
}

#top-head .logo span {
    font-size: 13px;
}

#top-head .tel a {
    text-decoration: none;
    color: var(--color-blue);
    font-size: 16px;
    font-weight: 600;
}

#top-head .tel a::before {
    display: inline-block;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    font: var(--fa-font-solid);
    content: '\f879';
    padding-right: 5px;
}

#global-nav {
    display: block;
    margin-bottom: 10px;
}

#global-nav ul {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

#global-nav ul li a {
    padding: 10px 15px;
    color: var(--color-blue);
    font-weight: 600;
}

#global-nav ul li a.current,
#global-nav ul li a:hover {
    background-color: var(--color-blue);
    color: #fff;
    border-radius: 5px;
}

/* Toggle Button */
#nav-toggle {
    display: none;
    position: absolute;
    right: 12px;
    top: 14px;
    width: 34px;
    height: 36px;
    cursor: pointer;
    z-index: 101;
}

#nav-toggle div {
    position: relative;
}

#nav-toggle span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: #666;
    left: 0;
    -webkit-transition: .35s ease-in-out;
    -moz-transition: .35s ease-in-out;
    transition: .35s ease-in-out;
}

#nav-toggle span:nth-child(1) {
    top: 0;
}

#nav-toggle span:nth-child(2) {
    top: 11px;
}

#nav-toggle span:nth-child(3) {
    top: 22px;
}

@media screen and (max-width: 900px) {
    #top-head .inner {
        width: 100%;
        padding: 0 !important;
    }

    #top-head {
        top: 0;
        position: fixed;
        margin-top: 0;
        height: auto;
    }

    /* Fixed reset */
    #top-head.fixed {
        padding-top: 0;
        background: transparent;
    }

    #mobile-head {
        background: #fff;
        width: 100%;
        height: 60px;
        z-index: 999;
        position: relative;
        display: flex;
        align-items: center;
    }

    #top-head .logo{
        padding: 0 0 0 10px;
    }

    #global-nav {
        position: absolute;
        /* 開いてないときは画面外に配置 */
        top: -500px;
        background: var(--color-blue);
        width: 100%;
        text-align: center;
        padding: 20px 0;
        -webkit-transition: .5s ease-in-out;
        -moz-transition: .5s ease-in-out;
        transition: .5s ease-in-out;
        border-radius: 0 0 10px 10px;

    }

    #global-nav ul {
        flex-direction: column;
    }

    #global-nav ul li {
        float: none;
        position: static;
    }

    #top-head #global-nav ul li a,
    #top-head.fixed #global-nav ul li a {
        width: 100%;
        display: block;
        color: #fff;
        padding: 18px 0;
        font-size: 18px;
    }

    #nav-toggle {
        display: block;
    }

    /* #nav-toggle 切り替えアニメーション */
    .open #nav-toggle span:nth-child(1) {
        top: 11px;
        -webkit-transform: rotate(315deg);
        -moz-transform: rotate(315deg);
        transform: rotate(315deg);
    }

    .open #nav-toggle span:nth-child(2) {
        width: 0;
        left: 50%;
    }

    .open #nav-toggle span:nth-child(3) {
        top: 11px;
        -webkit-transform: rotate(-315deg);
        -moz-transform: rotate(-315deg);
        transform: rotate(-315deg);
    }

    /* #global-nav スライドアニメーション */
    .open #global-nav {
        /* #global-nav top + #mobile-head height */
        -moz-transform: translateY(556px);
        -webkit-transform: translateY(556px);
        transform: translateY(556px);
    }

    #global-nav ul li a.current,
    #global-nav ul li a:hover {
        background-color: transparent;
        color: #ef8200 !important;
    }

}

body .overlay {
    position: relative;
    overflow: hidden;
    /* スクロールを無効化 */
}

.overlay::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    /* 半透明の黒背景 */
    z-index: 9999;
}

/* header-img */
.header-img {
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: linear-gradient(180deg, #fffbda, #fff697);
    position: relative;
    min-height: 200px;
    flex-direction: column;
    margin-top: 120px;
}

.header-img p {
    font-size: 35px;
    font-weight: 600;
    color: var(--color-blue);
}

.header-img::before,
.header-img::after {
    position: absolute;
    content: "";
    background-size: contain;
    background-repeat: no-repeat;
    width: 175px;
    height: 175px;
}

.header-img::before {
    background-image: url(../img/header-left.webp);
    top: 0;
    left: 0;
}

.header-img::after {
    background-image: url(../img/header-right.webp);
    top: 0;
    right: 0;
}

.header-text {
    width: 75%;
    max-width: 700px;
    margin: 50px 0;
}

.squar-yellow {
    content: "";
    background-image: url(../img/squar-yellow.png);
    height: 20px;
    width: 100%;

}

.squar-yellow {
    margin-bottom: 50px;
}

@media screen and (max-width: 900px) {
    .header-img {
        margin-top: 60px !important;
    }

    .header-img p {
        font-size: 25px;
    }

    .header-text {
        max-width: 700px;
    }
}

@media screen and (max-width: 769px) {
    .header-img {
        align-items: flex-start;
        padding-left: 30px;
    }

    .header-img::before {
        display: none;
    }

    .header-text {
        margin: 30px 0;
    }
}

@media screen and (max-width: 600px) {
    .header-img {
        min-height: 150px;
    }

    .header-img::after {
        width: 125px;
    }

    .header-img p {
        font-size: 20px;
    }

}

/* ご要望 */
#index #top-request {
    margin-bottom: 100px;
}

#top-request p {
    text-align: center;
    margin-top: 30px;
    font-weight: 600;
    line-height: 1.7;
}

#top-request img.sp {
    padding: 0 10px;
}

@media screen and (max-width: 768px) {
    #top-request p {
        text-align: left;
    }
}

/* 電気の地産地消 */
#top-local {
    background-color: #fffcdb;
}

#top-local .inner {
    padding-top: 30px;
    padding-bottom: 30px;
}

@media screen and (max-width: 768px) {
    #top-local .inner {
        padding: 30px 0;
    }
}

/* 新着情報 */
#index #top-news.inner {
    max-width: 700px;
    margin-bottom: 120px;
    margin-top: 20px;
}

#index #top-news dl {
    border-bottom: dashed 2px #ccc;
    padding: 0 10px 10px 10px;
}


#top-news dl,
#news dl {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

#top-news dt,
#news dt {
    width: 6em;
}

.top-news__link {
    text-align: right;
    margin-top: 20px;
    padding-right: 30px;
}

.top-news__link a:hover {
    color: var(--color-blue);
}

@media screen and (max-width: 768px) {

    #top-news dt,
    #news dt,
    #top-news dd,
    #news dd {
        width: 100%;
    }

    #index #top-news.inner {
        margin-bottom: 80px;
    }
}

/* フッター */
footer {
    font-size: 18px;
}

footer .internal-link::after {
    color: #ffffff;
}

footer .footer-address {
    background-color: var(--color-blue);
    text-align: center;
    padding: 30px;
    color: #fff;
}

.footer-address p:first-of-type {
    font-weight: 600;
    margin-bottom: 10px;
}

.phone-mail {
    display: flex;
    gap: 0 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.phone-mail__mail {
    text-decoration: underline;
    text-underline-offset: 5px;
}

.top-policy {
    margin-top: 30px;
}

@media screen and (max-width: 768px) {
    footer {
        font-size: 15px;
    }
}

/* 下層ページ */
.lower main {
    margin-top: 120px;
}

.page-title {
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: linear-gradient(180deg, #fffbda, #fff697);
    min-height: 100px;
}

.page-title h2 {
    margin-bottom: 0;
}

/* お知らせ */
#news .inner:has(dl) {
    max-width: 700px;
    margin-bottom: 120px;
}

#news .inner:has(dl) dl {
    border-bottom: dashed 2px #ccc;
    padding: 0 10px 10px 10px;
}

/* 法人のお客様__エネルギーご提供の仕組み */
#workings {
    max-width: 1000px;
    margin-right: auto;
    margin-left: auto;
}

#workings {
    text-align: center;
}

#workings h2 {
    background: var(--color-blue);
    color: #fff;
    border-radius: 10px;
    display: inline-block;
    padding: 5px 10px;
}



#workings p {
    color: var(--color-blue);
    padding: 30px 20px;
    font-weight: 600;
    text-align: center;
    line-height: 1.7;
    margin-top: 20px;
    border-top: solid 2px var(--color-blue);
    border-bottom: solid 2px var(--color-blue);
}

@media screen and (max-width: 768px) {
    #workings {
        padding: 0;
    }

    #workings p {
        text-align: left;
    }

    #workings img {
        padding: 0px;
    }
}

/* よくある質問について */
#qa tr {
    display: block;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: dashed 2px #ccc;
}

#qa th,
#qa td {
    display: block;
    width: 100%;
    padding: 5px 0;
    padding-left: 40px;
    text-indent: -40px;
}

#qa th {
    font-weight: 600;
    color: var(--color-blue);
}

#qa .question,
#qa .answer {
    border-radius: 50px;
    padding: 5px;
    color: #ffffff;
    margin-right: 10px;
    font-weight: 400;
}

#qa .question {
    background: var(--color-blue);
}

#qa .answer {
    background: #ef8200;
}

.squar-blue {
    content: "";
    background-image: url(../img/squar-blue.png);
    height: 20px;
    width: 100%;
    position: relative;
}

/* こんな時もご相談ください */
#qa__case {
    background: #fffcdb;
    margin-bottom: 0;
    padding-bottom: 40px;
    padding-top: 40px;

}

#qa #qa__case {
    padding-left: 0;
    padding-right: 0;
    margin-bottom: 70px;
}

.case__list-box {
    display: flex;
    justify-content: center;
    align-items: center;
}

.case__list-box span {
    font-weight: 600;
    color: var(--color-blue);
    font-size: 18px;
    line-height: 1.3;
}

.case__list-box ul {
    position: relative;
    padding: 20px 30px;
    border-radius: 8px;
    margin-left: 30px;
    border: 2px solid;
    border-image: linear-gradient(to right, #0062b1 20px, transparent 20px) 1;
    font-weight: 600;
}

.case__list-box ul::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    border-top: 10px solid transparent;
    border-right: 10px solid #0062b1;
    border-bottom: 10px solid transparent;
}

.case__list-box ul::after {
    content: '';
    position: absolute;
    left: -7px;
    top: 50%;
    transform: translateY(-50%);
    border-top: 10px solid transparent;
    border-right: 10px solid #fffcdb;
    border-bottom: 10px solid transparent;
}

.case__list-box ul li {
    padding-left: 1.5em;
    text-indent: -1.5em;
    line-height: 1.5;
    margin-bottom: 10px;
}

.case__list-box ul li::before {
    display: inline-block;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    font: var(--fa-font-regular);
    content: '\f14a';
    width: 1.5em;
    /* アイコンの幅を固定 */
    text-align: center;
    /* アイコンを中央揃え */
}

#qa .map {
    margin-top: 50px;
}

@media screen and (max-width: 768px) {
    .case__list-box span {
        writing-mode: vertical-rl;
    }
}

/* プライバシーポリシー */
#policy section {
    margin-bottom: 100px;
}

#policy h4 {
    margin-bottom: 10px;
}

.annotation {
    font-size: 12px;
    padding-left: 5px;
}

#policy section p {
    line-height: 1.8;
}

#policy ul {
    line-height: 1.8 !important;
}

#policy .pl-1 {
    padding-left: 1em;
}

#policy section a.external-link {
    color: var(--color-blue);
    background: linear-gradient(to right,
            var(--color-blue) 0 calc(100% - 7px - 1em),
            transparent calc(100% - 7px - 1em),
            transparent 100%);
    background-repeat: no-repeat;
    background-size: 100% 1px;
    background-position: 0 100%;
    padding-right: 5px;
}

#kyodo div {
    margin-bottom: 30px;
}

.kyodo__company {
    line-height: 2;
}

@media screen and (max-width: 768px) {
    #policy .tal-r {
        font-size: 14px;
    }
}

/* 会社概要 ・ お問い合わせ */

#purpose-box {
    position: relative;
    padding: 0px;
    margin: 0px;
    width: 100%;
    aspect-ratio: 1/.6;
    font-size: 1.5vw;
    list-style: none;
    margin-bottom: 50px;
}

#purpose-box .purpose {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 55%;
    height: 55%;
    border-radius: 50%;
    padding: 0 60px;

}

#purpose-box .purpose h4 {
    margin-bottom: 15px;
    font-size: 22px;
    color: #ffffff;

}

#purpose-box .purpose p {
    width: 80%;
    font-size: 16px;
    font-weight: 600;
}

#purpose-box .purpose:nth-of-type(1) {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: rgb(0 98 177 / 39%)
}

#purpose-box .purpose:nth-of-type(2) {
    bottom: 0;
    left: 0;
    background: rgb(137 199 146 / 82%)
}

#purpose-box .purpose:nth-of-type(3) {
    bottom: 0;
    right: 0;
    background: #ef820078;
}

@media screen and (max-width: 850px) {
    #purpose-box .purpose h4 {
        margin-bottom: 10px;
    }
}

@media screen and (max-width: 768px) {
    #purpose-box {
        position: initial;
        aspect-ratio: initial;
    }

    #purpose-box .purpose {
        position: initial;
        width: 100%;
        margin-bottom: 30px;
        border-radius: 10px;
        padding: 10px 20px 20px 20px;
        height: auto;
    }

    #purpose-box .purpose:nth-of-type(1) {
        transform: none;
    }

    #purpose-box .purpose h4 {
        font-size: 18px;
    }

    #purpose-box .purpose p {
        font-weight: 400;
    }
}


#overview table,
#inquiry table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0px 20px;
}

#overview table tr,
#inquiry table tr {
    border-bottom: dashed 2px #ccc;
    display: block;
}

#overview table th,
#inquiry table th {
    width: 6em;
    font-weight: 600;
}

.map iframe {
    width: 100%;
    aspect-ratio: 16/9;
}

@media screen and (max-width: 900px) {
    .lower main {
        margin-top: 60px;
    }
}

@media screen and (max-width: 768px) {
    #overview table {
        border-spacing: 0px 10px;
    }

    #overview table th {
        display: block;
        padding-top: 20px;
        font-weight: 600;
    }

    .map iframe {
        aspect-ratio: 1/1;
    }

    #inquiry table th {
        display: block;
        padding-top: 20px;
        font-weight: 600;
    }
}

/* news-250331 */
#news-250331 .header-img p {
    font-size: 20px;
    margin-bottom: 40px;
}

#news-250331 .squar-yellow {
    margin-bottom: 50px;
}

#news-250331 .squar-blue::before {
    content: "";
    background-color: #fffcdb;
    height: 20px;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

@media screen and (max-width: 500px) {
    #news-250331 .header-img p {
        font-size: 16px;
    }
}

/* お知らせ個別ページ */
.inner:has(#news-content) {
    max-width: 900px;
}

.news-content__title {
    margin-bottom: 5px !important;
    padding-bottom: 5px;
    border-bottom: dashed 2px #ccc;
    color: var(--color-blue);
    text-align: left;
}

.news-content__date {
    color: var(--color-blue);
    margin-bottom: 30px;
    font-size: 13px;
    font-weight: 600;
}
#news-content h2 {
    margin-bottom: 20px;
}
#news-content h3{
    margin-bottom: 15px;
}
#news-content h4 {
    margin-bottom: 10px;
}

#news-content p,
#news-content table {
    margin-bottom: 30px;
}

#news-content table {
    border-collapse: collapse;
    width: 100%;
}

#news-content th,
#news-content td {
    border: solid 1px #000;
    padding: 7px;
}

.tolist {
    border-top: dashed 2px #ccc;
    text-align: center;
    margin: 50px auto;
    padding-top: 50px;
}

.wp-block-image img {
    max-width: 100%;
    height: auto;
    margin-bottom: 30px;
}
figure.alignleft{
    text-align: left;
}
figure.aligncenter {
    text-align: center;
}

figure.alignright{
    text-align: right;
}

#news-content a {
    text-decoration: underline !important;
    text-underline-offset: 3px;
    color: var(--color-blue);
}

/* cms化の際に追加 */
.news__link dd {
    position: relative;
}

.news__link dd::after {
    font: var(--fa-font-solid);
    font-size: 16px;
    content: "\f054";
    margin-left: 7px;
    color: var(--color-blue);
    display: inline-block;
    position: absolute;
    width: 1em;
    bottom: 5px;
}

/* ページャー */
.wp-pagenavi {
    clear: both;
    padding-top: 20px;
    text-align: center;
    margin-bottom: 50px;
    font-weight: 600;
}

.wp-pagenavi a,
.wp-pagenavi span {
    text-decoration: none;
    padding: 10px 20px !important;
    margin: 10px;
    display: inline-block;
    background-color: #FFFFFF;
    border-radius: 10px;
}

.wp-pagenavi span.current,
.wp-pagenavi a:hover {
    font-weight: bold;
    color: #FFFFFF;
    background-color: var(--color-blue);
    border-color: var(--color-blue) !important;
}

@media screen and (max-width: 768px) {

    .wp-pagenavi a,
    .wp-pagenavi span {
        padding: 5px 15px !important;
        margin: 10px 5px;
    }
}

/* Android端末向けの指定 */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
    #top-head .logo,#top-head .tel a,#global-nav ul li a,.header-img p,#top-request p,.footer-address p:first-of-type,#workings p,#qa th,.case__list-box span,.case__list-box ul,#purpose-box .purpose p,#overview table th,#inquiry table th,#overview table th,#inquiry table th,.news-content__date,.wp-pagenavi {
        font-weight: 700;
    }
}