﻿:root {
    --color-company: #006fbc;
    --color-gray: #C0BFBB;
}
/* --------------------------------------------------
	フォントカラー
*/
a {
    color: #0058AD;
}
main {
    color:#444444
}
.header-ene, .header-ene a {
    color: #333333;
}
.footer-ene , .footer-ene  a {
    color: #FFFFFF;
}
.formTable a {
    color: #666666;
}
.text-gas_contact,
.errorTxt,
.wrap-warning {
	color: #ee0000;
}
.c-icon-blank, .input-notes {
    color: #999999;
}
input::placeholder {
    color: #9A9899;
    opacity: 1;
}
/* --------------------------------------------------
	背景色
*/
.m-area-note {
    background : #f6f6f6;
}
.wrap-warning {
    background: #FEEBEB;
}
.js-tgt_HelloOG.m-area-note {
    background: #f0f0f0;
}
.formTable [class$="-alert"] > p::before  {
    background: #ee0000;
}
.formTable .m-btn {
    background: linear-gradient(0deg, #ebebeb, white);
    border: solid 1px var(--color-gray);
}
.js-sendBtn.m-btn {
    background: #0070c0;
    color: #FFFFFF;
}
.bforeColor-blue:before,
.afColor-blue:after {
    background: #0085c9;
}
hr {
    background : var(--color-gray);
}
.footer-ene {
    background: #0050A3;
}
/* --------------------------------------------------
	フォントサイズ
*/
.js-tgt_HelloOG.m-area-note,
.c-text-title {
    font-size: 14px;
    line-height: 1.3;
}
.formTable th:not(.l-table_vertical th) {
    font-size: large;
}
.formTable .m-btn {
    font-size: 12px;
}
.footer-ene .m-footer_copyright {
    font-size: 11px;
}
@media screen and (min-width: 768px) {
    .area-caption {
        font-size: 18px;
    }
    a,
    .m-area-note,
    .c-text-title,
    .formTable th {
        font-size: 16px;
        line-height: inherit;
    }
    input::placeholder,
    .formTable .m-btn,
    .formTable th:not(.l-table_vertical th),
    .formTable .input-mark,
    .formTable .input-notes,
    .formTable .input-notes a,
    .area-caption small,
    .text-gas_contact,
    .m-footer, .m-footer a {
        font-size: 14px;
    }
    .footer-ene .m-footer_copyright {
        font-size: 12px;
    }
}


/* --------------------------------------------------
	layout
*/

main {
    margin-top: 3em;
    margin-bottom: 3em;
}
.l-wrap {
        display: grid;
    gap: 40px;
}
@media screen and (min-width: 768px) {
    .l-wrap {
        gap: 50px;
        padding: 45px 0;
    }
    .l-inner {
        gap: 50px;
    }
    .l-contents {
        gap: 30px;
    }
}

/* --------------------------------------------------
	ヘッダーフッター
*/

.header-ene * {
    line-height: 1;
}
.header-ene ul.c-lists-line > li {
	border-color: #b6bec4;
}

/* logo */
.header-ene .m-header-logo {
    margin-bottom: 4px;
}
.header-ene .m-header-logo::after {
    display: none;
}
@media screen and (min-width: 768px) {
    .header-ene .m-header-logo {
        margin-bottom: 0;
        padding-top: 11px;
        min-width: 165px;
    }
}

/* inner */
.header-ene .l-inner {
    padding: 0 20px;
}
.header-ene .l-inner::before {
    background: white;
    border-bottom: 1px solid #b6bec4;
    box-shadow: 0px 1px 6px rgba(0, 0, 0, .16);
}
@media screen and (min-width: 768px) {
    .header-ene {
        box-shadow: 0px 1px 6px rgba(0, 0, 0, .16);
    }
    .header-ene .l-inner {
        gap: 0;
        justify-content: space-between;
        min-width: 960px;
        height: 130px;
    }     
}

/* menu */
.header-ene .m-header-menu {
    padding: 89px 20px 30px;
    font-size: 16px;
    gap: 15px;
}
@media screen and (min-width: 768px) {
    .header-ene .m-header-menu {
        padding: 0;
        width: calc(100% - 202px);
        max-width: 995px;
    }
}
.header-ene .m-header-btn_menu {
    right: 22px;
    width: 25px;
}
.header-ene.is-open .m-header-btn_menu {
    right: 19px;
    width: 30px;
}
.header-ene .m-header-btn_menu > span,
.header-ene .m-header-btn_menu:before, 
.header-ene .m-header-btn_menu:after {
	background: var(--color-company);
}
/* グロナビ */
.header-ene .m-nav_global ul li {
    padding: 20px 0;
}
.header-ene .m-nav_global ul li.min a {
    position: relative;
    left: 0.3em;
    letter-spacing: .6em;
}
.header-ene .m-nav_global ul li a {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
	font-weight: bold;
}
.header-ene .m-nav_global ul li a:hover {
	text-decoration-color: transparent;
	color: var(--color-company);
}
@media screen and (min-width: 768px) {
    .header-ene .m-nav_global ul {
        flex-wrap: nowrap;
        justify-content: flex-end;
    }
    .header-ene .m-nav_global ul li {
        flex: 1;
        padding: 0 10px;
        height: 48px;
        width: 142px;
    }
    .header-ene .m-nav_global ul li.min {
        width: 73px;
    }
    .header-ene .m-nav_global ul li.mid {
        width: 126px;
    }
    .header-ene .m-nav_global ul li.max {
        min-width: 180px;
    }
    .header-ene .m-nav_global ul li a {
        justify-content: center;
        align-items: center;
        line-height: 1.375;
    }
}
@media screen and (min-width: 1200px) {
    .header-ene .m-nav_global ul li.min,
    .header-ene .m-nav_global ul li.mid {
        width: 142px;
    }
}
/* インフォナビ */
.header-ene .m-nav_info {
    gap: 23px;
}
.header-ene .m-nav_info > ul {
    gap: 16px;
}
.header-ene .m-nav_info > ul li,
.header-ene .m-nav_info > ul li a {
    font-size: 13px;
}
@media screen and (min-width: 768px) {
    .header-ene .m-nav_info {
        gap: 20px;
        margin-top: -5px;
    }
    .header-ene .m-nav_info > ul {
        gap: 20px;
    }
    .header-ene .m-nav_info > ul li,
    .header-ene .m-nav_info > ul li a {
        font-size: 14px;
    }
}
/* 検索窓 */
.header-ene .m-search {
    display: flex;
    align-items: center;
    padding: 13px 16px;
	border: 1px solid #b6bec4;
    border-radius: 5px;
}
.header-ene .m-search-label {
    margin-right: 5px;
}
.header-ene .m-search-input {
    padding: 0;
    transition: width .2s ease-out;
}
.header-ene .m-search-input::placeholder {
    opacity: 1;
}
@media screen and (min-width: 768px) {
    .header-ene .m-search {
        padding: 6px 16px 5px;
        background-color: #f4f4f4;
		border: none;
    }
    .header-ene .m-search-input {
        width: 27px;
    }
    .header-ene .m-search-input:focus {
		width: 100%;
	}
}
/* フッター */
.m-footer .l-inner {
	gap: 20px;
	padding: 30px 20px 20px;
}
@media screen and (min-width: 768px) {
    .m-footer .l-inner {
        padding: 40px 20px;
    }
}
.m-footer-menu {
    gap: 20px;
}
.m-footer-logo {
    max-width: 230px;
    margin: 0 auto;
}
.m-footer-logo img {
    width: 100%;
    height: auto;
}
@media screen and (min-width: 768px) {
    .m-footer-logo {
        max-width: fit-content;
    }
}

/* --------------------------------------------------
	ガス漏れ通報専用電話
*/

.link-gas_contact {
    position: relative;
    display: flex;
    gap: 1em;
    padding: 17px 40px 17px 17px;
    width: 100%;
    height: 100%;
    background: #e8ebef;
    color: inherit;
}
.link-gas_contact:hover {
	text-decoration-color: transparent;
	opacity: .5;
}
.link-gas_contact::before {
	content: url(/ssl/form/ene/img/icon_exclamation.png);
	vertical-align: middle;
}
.link-gas_contact::after {
	content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 10px;
    margin: auto;
    display: inline-block;
    width: 1em;
    height: 1em;
    background: var(--color-company);
    clip-path: var(--icon-border-triangle);
    aspect-ratio: 1;
}
.link-gas_contact .c-text-arrow_icLeft {
	font-weight: bold;
    padding-left: 0;
}
.link-gas_contact .c-text-arrow_icLeft::before {
	display: none;
}
@media screen and (min-width: 768px) {
    .l-grid_rows:has(.link-gas_contact) {
        grid-auto-columns: auto;
    }
	.link-gas_contact {
        align-items: center;
        gap: 40px;
		padding: 10px 20px;
	}
    .link-gas_contact .c-text-arrow_icLeft {
        padding-left: 13px;
    }
	.link-gas_contact .c-text-arrow_icLeft::before {
		display: inline-block;
	}
	.link-gas_contact::after {
		display: none;
	}
}
.area-gas_form {   
    display: table;
}
.link-gas_form {
    display: flex;
    align-items: center;
    gap: 1em;
    padding: 1em;
    width: 100%;
    height: 100%;
    background:  var(--color-company);
    border: solid 1px currentColor;
    color: #FFFFFF;
}
.link-gas_form:hover {
    background: #FFFFFF;
    color: var(--color-company);
    text-decoration-color: transparent;
}
.link-gas_form::after {
	content: "";
    display: inline-block;
	margin: 0 0 0 auto;
    width: 1em;
    height: 1em;
    background: currentColor;
    clip-path: var(--icon-border-triangle);
    aspect-ratio: 1;
}
.link-gas_form + .link-gas_form {
    margin-top: -1px;
}
@media screen and (min-width: 768px) {
    .area-gas_form {
        display: grid;
    }
    .link-gas_form + .link-gas_form {
        margin-top: 0;
    }
}
/* --------------------------------------------------
	FORM table
*/

form:has(#area-form-input) {
    padding: 10px;
    background: #d7d7d7;
}
#area-form-input.l-inner {
    padding: 14px 0px;
    background: white;
    border: solid 1px var(--color-gray);
}
#area-form-input {
    font-family: 'HiraKakuProN-W6','HelveticaNeue',sans-self;
}
#area-form-input .l-contents {
    gap: 13px;
    width: 100%;
}
#area-form-input .l-contents:has(.l-table_vertical) {
    padding: 0 2.9%;
}
@media screen and (min-width: 768px) {
    form:has(#area-form-input) {
        padding: 0;
        background: transparent;
    }
    #area-form-input {
        font-family: 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', Osaka, 'メイリオ', Meiryo, sans-serif;
    }
    #area-form-input.l-inner {
        padding: 40px;
    }
    #area-form-input .l-contents:has(.l-table_vertical) {
        padding: 0;
    }
}

/* parts */
.area-caption {
    font-weight: bold;
}
.l-grid_rows:has(.m-btn) {
    text-align: center;
}
.icon-required {
    padding: .2em .4em .1em .4em;
    margin: 5px 0;
    color: #f27602;
    font-family: Meiryo, "メイリオ", "Hiragino Kaku Gothic ProN", "YuGothic", sans-serif;
    font-weight: bold;
    font-size: 12px;
}
.icon-required.is-complete {
    color: var(--color-gray);
}
.formTable th .icon-required {
    border: transparent;
}
@media screen and (min-width: 768px) {
    .area-caption {
        font-weight: normal;
    }   
    .icon-required {
        padding: .4em .4em .4em .45em;
        border-radius: 4px;
        border: solid 2px !important;
        font-size: 10px;
        letter-spacing: .15em;
    }
}

/* table */
.formTable tr,
.formTable th {
    border: none;
    padding: 20px 10px;
}
.formTable th {
    padding: 6px 10px;
	background: #e7ecf2;
    font-weight: bold;
}
.formTable tr.l-table_vertical,
.formTable tr.l-table_vertical th {
    border: solid 1px #AAAAAA;
}
.formTable .l-table_vertical th {
    padding: 4px 22px;
    background: #d7e5f5;
    font-weight: bold;
    color: #002f69;
}
.formTable .l-table_vertical td {
    padding: 23px 8px;
    border-top: solid 1px #AAAAAA;
}
@media screen and (min-width: 768px) {
    .formTable tr,
    .formTable th {
        border: solid 1px var(--color-gray);
    }
    .formTable th {
        width: 251px;
    }
    .formTable .l-table_vertical th {
        padding: 14px 28px;
    }
    .formTable td {
        padding: 22px 10px 22px 23px;
    }
    .formTable .l-table_vertical td {
        padding: 20px 30px;
        border: none;
    }
}

/* table wrap */
@media screen and (min-width: 768px) {
    .formTable .input-wrapper > div {
        padding: 3px;
    }
    .formTable .input-wrapper,

	.formTable .nest-inputMark-wrapper {
		width: 420px;
	}
	.formTable .input-wrapper[class*="name"] {
		width: 150px;
	}
	.formTable .tel-wrapper {
		width: 104px;
	}
    .formTable .zip1-wrapper {
        width: 94px;
    }
    .formTable .zip2-wrapper {
        width: 134px;
    }
    .formTable .mail-wrapper {
        width: 359px;
    }
}
.select-wrapper::after {
    top: .5em;
    right: .5em;
    width: 1.2em;
    height: 1.2em;
    clip-path: var(--icon-border-triangle);
    transform: rotate(90deg);
}
.select-wrapper::before {
    right: 1px;
    width: calc(2.5em - 2px);
    height: calc(100% - 2px);
    background: linear-gradient(0deg, #ebebeb, white);
    border-left: solid 1px var(--color-gray);
    border-radius: 0 4px 4px 0;
}
@media screen and (min-width: 768px) {
	.formTable .select-wrapper,
    .formTable .calendar-wrapper {
		width: 160px;
	}
    .select-wrapper::before {
        background: transparent;
        border: none;
    }
    .select-wrapper::after {
        width: .5em;
        height: .5em;
    }
}
.formTable .l-table_vertical .line {
    display: grid;
    gap: 0;
    border-radius: .5em;
    border: solid 1px var(--color-gray);
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.4);
}
.formTable .l-table_vertical .check-wrapper {
    padding: 20px;
    width: 100%;
    border-bottom: solid 1px var(--color-gray);
    font-weight: bold;
}
.formTable .l-table_vertical .check-wrapper:last-of-type {
    border-bottom: none;
}
.formTable .check-wrapper label {
    display: flex;
}
@media screen and (min-width: 768px) {
    .formTable .input-frame, 
    .formTable .input-frame .line {
        gap: 10px 5px;
    }
    .formTable .l-table_vertical .input-frame:has(input:checked) {
        flex-wrap: nowrap;
        gap: 10px 20px;
    }
    .formTable .l-table_vertical .line {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px 10px;
        border: none;
        box-shadow: none;
    }
    .formTable .l-table_vertical .line:has(input:checked) {
        grid-template-columns: auto;
        width: auto;
    }
    .formTable .l-table_vertical .check-wrapper {
        padding: 0;
        border: none;
        font-weight: normal;
    }
    .formTable .check-wrapper label {
        align-items: center;
    }
}

/* form input */
td:has(.js-error-alert) input[type="text"],
td:has(.js-error-alert) input[type="number"],
td:has(.js-error-alert) textarea,
td:has(.js-error-alert) select {
    background: #fdece3;
}
.formTable input[type="text"],
.formTable input[type="number"],
.formTable textarea,
.formTable select {
    padding: 15px 5px;
    border-radius: 4px;
    border-width: 1px;
    border-color: #AAAAAA;
    color: #666666;
}
.formTable input[type="text"]:focus,
.formTable input[type="number"]:focus,
.formTable textarea:focus,
.formTable select:focus {
    border-color: #ee0000;;
}
@media screen and (min-width: 768px){
    td:has(.js-error-alert) input[type="text"],
    td:has(.js-error-alert) input[type="number"],
    td:has(.js-error-alert) textarea,
    td:has(.js-error-alert) select {
        background: #fff1e1;
    }
    .formTable input[type="text"],
    .formTable input[type="number"],
    .formTable textarea,
    .formTable select {
        padding: 7px 10px;
        border-width: 2px;
        border-color: var(--color-gray);
    }
    .formTable input[type="text"],
    .formTable input[type="number"],
    .formTable select {
        height: 36.5px;
    }
}

.formTable input[type="radio"],
.formTable input[type="checkbox"] {
    margin-right: 10px;
    width: 1.25rem;
    height: 1.25rem;
    background: #fafafa;
}
.formTable input[type="radio"]::after,
.formTable input[type="checkbox"]::after {
    border: 1px solid #cacece;
}
.formTable input[type="radio"]::before,
.formTable input[type="checkbox"]::before {
    padding: 6px;
    background: #f16c00;
}
@media screen and (min-width: 768px) {
    .formTable input[type="radio"],
    .formTable input[type="checkbox"] {
        width: 1rem;
        height: 1rem;
    }
    .formTable input[type="radio"]::after,
    .formTable input[type="checkbox"]::after {
        border-color: currentColor;
    }
    .formTable input[type="radio"]::before,
    .formTable input[type="checkbox"]::before {
        content: '';
        padding: 5px;
        background: currentColor;
    }
}

.formTable .m-btn {
    padding: .5em 1em;
    margin: .25em;
    border-radius: 4px;
}
.formTable .search-address {
    display: block;
    margin: 0 0 0 auto;
}
.js-sendBtn {
    padding: .5em;
    font-size: 1.5em;
}
.l-grid_rows:has(.js-sendBtn.m-btn) {
    width: 95%;
    margin: 0 auto;
}
@media screen and (min-width: 768px) {
    .formTable .search-address {
        margin: 0;
    }
    .l-grid_rows:has(.js-sendBtn.m-btn) {
        width: 100%;
    }
}

.m-area-note,
.area-caption {
    width: 95%;
    margin: 0 auto;
}
.m-area-note {
    margin: 0 auto 15px;
    padding: 15px;
}
@media screen and (min-width: 768px) {
    .area-caption {
        width: 100%;
    }
    .m-area-note {
        margin: 0 auto 15px;
        padding: 15px;
        width: 100%;
    }
}
.m-area-note.wrap-warning ul {
    padding: 1em;
}
.m-area-note.wrap-warning ul > li::before {
    content: '・';
}
.js-tgt_HelloOG.m-area-note {
    margin-top: 12px;
    padding: 15px 25px 20px 25px;
    width: 100%;
    max-width: none;
    border-radius: 10px;
}
.js-tgt_HelloOG.m-area-note .c-text-title {
    margin-bottom: 15px;
}
.js-tgt_HelloOG.m-area-note ul {
    display: grid;
    gap: .5em;
    font-weight: bold;
}
.js-tgt_HelloOG.m-area-note .c-text-arrow_icLeft::before {
    width: 5px;
    height: 8px;
}
dl.m-area-note dt {
    font-weight: bold;
    margin-bottom: 5px;
}  
dl.m-area-note dd, dl.m-area-note dd > * {
    line-height: 1.8;
} 
@media screen and (min-width: 768px) {
    .m-area-note {
        max-width: 780px;
        width: 100%;
    }
    .js-tgt_HelloOG.m-area-note ul {
        grid-template-columns: repeat(2, 1fr);
        font-weight: normal;
    }
}

/* --------------------------------------------------
	完了ページ
*/

.comp-maintxt > dt{
	font-size: 21px;
	color: #0070bc;
	font-weight: normal;
}
@media screen and (min-width: 768px) {
	.comp-maintxt > dt{
		text-align: center;
	}
	.comp-maintxt > dd{
		text-align: center;
	}
	.comp-txt{
		text-align: center;
	}
	.comp-btn{
		width: 400px;
		margin: 0 auto;
	}
}