/* Additional content styles matched to the original site */

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

#header>nav ul li a {
  padding: 0.72em 0.5em;
}

/* Partners Logo Slider */

#partners {
  background: #fafafa;
  padding: 1.2em 0 2.5em;
  overflow: hidden;
}

#partners>.container {
  padding-top: 1em !important;
  padding-bottom: 0 !important;
}

#partners header.major {
  margin-bottom: 0.8em;
}

.logo-ticker {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-top: 1.2em;
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.logo-ticker-track {
  display: -webkit-flex;
  display: flex;
  width: -webkit-max-content;
  width: max-content;
  -webkit-animation: logoTicker 32s linear infinite;
  animation: logoTicker 32s linear infinite;
  list-style: none;
  margin-bottom: 0;
  padding-left: 0;
}

@keyframes logoTicker {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@-webkit-keyframes logoTicker {
  0% {
    -webkit-transform: translateX(0);
  }

  100% {
    -webkit-transform: translateX(-50%);
  }
}

.logo-item {
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  gap: 0.6em;
  padding: 0.85em 1.8em;
  margin: 0 1.2em;
  background: #ffffff;
  border-radius: 6px;
  color: #444444;
  font-weight: bold;
  font-size: 1.02em;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.logo-item .icon {
  color: #f07800;
  font-size: 1.2em;
}

.source-note {
  color: #888;
  font-size: 0.7em;
  line-height: 1.7;
  margin: 2em 0 0;
  text-align: center;
}

.source-note a {
  border-bottom: 1px solid #bbb;
}

/* Electricity system */

#electricity {
  background: #fff;
}

#electricity>.container {
  padding-bottom: 3em !important;
}

.electricity-flow {
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: flex-start;
  align-items: flex-start;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  margin: 4.5em 0 3.5em;
  gap: 2.5rem;
  list-style: none;
  padding-left: 0;
}

.electricity-step {
  -webkit-flex: 1;
  flex: 1;
  text-align: center;
  padding: 0 0.4em;
}

.electricity-step .step-icon {
  width: 84px;
  height: 84px;
  margin: 0 auto 1.4em;
  background: #fff8f0;
  border-radius: 50%;
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: center;
  justify-content: center;
  color: #f2961f;
  font-size: 2.4em;
}

.electricity-step h3 {
  font-size: 1em;
  font-weight: bold;
  margin-bottom: 0.8em;
  line-height: 1.4;
  color: #333;
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: center;
  justify-content: center;
  white-space: nowrap;
}

.electricity-step h3 .step-num {
  display: -webkit-inline-flex;
  display: inline-flex;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: center;
  justify-content: center;
  background: #f07800;
  color: #ffffff;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 0.82em;
  font-weight: bold;
  margin-right: 0.5em;
  line-height: 1;
  -webkit-flex-shrink: 0;
  flex-shrink: 0;
}

.electricity-step p {
  font-size: 0.9em;
  line-height: 1.8;
  color: #666;
  margin-bottom: 0;
}

.electricity-arrow {
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: center;
  justify-content: center;
  color: #f07800;
  font-size: 1.6em;
  margin-top: 26px;
  opacity: 0.75;
}

.electricity-retailer {
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: flex-start;
  align-items: flex-start;
  gap: 1.2em;
  background: #f7f9fa;
  border: 1px solid #eef1f3;
  border-radius: 8px;
  padding: 1.8em 2.2em;
  margin: 0 0 3em;
  text-align: left;
}

.electricity-retailer .retailer-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #eef2f6;
  color: #4a5568;
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: center;
  justify-content: center;
  font-size: 1.25em;
  -webkit-flex-shrink: 0;
  flex-shrink: 0;
  margin-top: 0.1em;
}

.electricity-retailer .retailer-content {
  -webkit-flex: 1;
  flex: 1;
}

.electricity-retailer h3 {
  color: #2d3748;
  font-size: 1.08em;
  font-weight: bold;
  line-height: 1.5;
  margin: 0 0 0.4em;
}

.electricity-retailer p {
  color: #5a6578;
  font-size: 0.93em;
  line-height: 1.8;
  margin: 0;
}

.electricity-quality {
  background: #fff8f2;
  border: none;
  border-radius: 8px;
  padding: 2.2em 2.5em;
  margin: 0;
  text-align: left;
}

.electricity-quality .quality-ttl {
  color: #f07800;
  font-size: 1.15em;
  font-weight: bold;
  margin-bottom: 1.5em;
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: flex-start;
  justify-content: flex-start;
  gap: 0.4em;
}

.electricity-quality .quality-ttl .icon {
  font-size: 1.4em;
  color: #f07800;
  margin-right: 0.2em;
}

.electricity-quality .quality-ttl .icon:before {
  content: "\f0eb" !important;
  font-family: FontAwesome !important;
  font-style: normal;
  font-weight: normal;
}

.electricity-quality .quality-features {
  display: -webkit-flex;
  display: flex;
  gap: 5rem;
  text-align: left;
}

.electricity-quality .quality-item {
  -webkit-flex: 1;
  flex: 1;
  background: transparent;
  padding: 0;
  border: none;
  box-shadow: none;
}

.electricity-quality .quality-item h4 {
  color: #333333;
  font-size: 1.05em;
  font-weight: bold;
  margin-bottom: 0.6em;
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  gap: 0.4em;
}

.electricity-quality .quality-item h4 .icon {
  color: #f07800;
}

.electricity-quality .quality-item p {
  color: #666666;
  font-size: 0.9em;
  line-height: 1.8;
  margin-bottom: 0;
}

/* FAQ */

.faq-list {
  border-top: 1px solid #eee;
  margin-top: 3em;
}

.faq-item {
  border-bottom: 1px solid #eee;
  transition: background-color 0.2s ease;
}

.faq-item.open {
  background: #fffcf8;
}

.faq-question {
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  border: 0;
  color: #333;
  cursor: pointer;
  font-family: inherit;
  font-weight: bold;
  font-size: 1.02em;
  line-height: inherit;
  margin: 0;
  padding: 1.2em 3em 1.2em 0.5em;
  position: relative;
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  text-align: left;
  width: 100%;
}

.faq-question:focus-visible {
  outline: 2px solid #f07800;
  outline-offset: 2px;
}

.faq-question .faq-icon-q {
  background: #fff2e5;
  color: #f07800;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: -webkit-inline-flex;
  display: inline-flex;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.85em;
  margin-right: 0.8em;
  -webkit-flex-shrink: 0;
  flex-shrink: 0;
}

.faq-question .faq-toggle-btn {
  position: absolute;
  right: 1.2em;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
}

.faq-question .faq-toggle-btn::before,
.faq-question .faq-toggle-btn::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background-color: #f07800;
  border-radius: 1px;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.faq-question .faq-toggle-btn::before {
  width: 14px;
  height: 2px;
}

.faq-question .faq-toggle-btn::after {
  width: 2px;
  height: 14px;
}

.faq-item.open .faq-question .faq-toggle-btn::after {
  display: none;
}

.faq-item.open .faq-question .faq-toggle-btn::before {
  background-color: #d96600;
}

.faq-answer {
  display: none;
}

.faq-answer-inner {
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: flex-start;
  align-items: flex-start;
  padding: 0.2em 1.5em 1.5em 0.5em;
}

.faq-answer .faq-icon-a {
  background: #f07800;
  color: #ffffff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: -webkit-inline-flex;
  display: inline-flex;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.85em;
  margin-right: 0.8em;
  -webkit-flex-shrink: 0;
  flex-shrink: 0;
  margin-top: 0.15em;
}

.faq-answer p {
  font-size: 0.92em;
  line-height: 1.85;
  color: #555;
  margin: 0;
  -webkit-flex: 1;
  flex: 1;
}

.faq-contact {
  margin-top: 4.5em;
}

.faq-contact-inner {
  background: #f07800;
  border-radius: 8px;
  padding: 3.5em 2.5em 3.2em;
  width: 100%;
  margin: 0 auto;
  color: #ffffff;
  box-shadow: none !important;
}

.faq-contact h3 {
  color: #ffffff;
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 0.6em;
  line-height: 1.5;
}

.faq-contact p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1em;
  line-height: 1.8;
  margin-bottom: 2em;
}

.faq-contact-btn,
.faq-contact-btn:link,
.faq-contact-btn:visited {
  background: #ffffff !important;
  color: #d96600 !important;
  font-weight: bold;
  font-size: 1.05em;
  padding: 0.85em 2.5em;
  height: auto;
  line-height: 1.4;
  border-radius: 4px !important;
  border: none !important;
  box-shadow: none !important;
  transition: opacity 0.2s ease;
  display: -webkit-inline-flex;
  display: inline-flex;
  -webkit-align-items: center;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  text-decoration: none !important;
  box-sizing: border-box;
}

.faq-contact-btn *,
.faq-contact-btn span {
  color: #d96600 !important;
}

.faq-contact-btn:hover,
.faq-contact-btn:active {
  background: #ffffff !important;
  color: #d96600 !important;
  opacity: 0.85 !important;
  transform: none !important;
  box-shadow: none !important;
  text-decoration: none !important;
}

.faq-contact-btn:hover *,
.faq-contact-btn:hover span {
  color: #d96600 !important;
}

#privacy-consent {
  float: none;
  height: 1px;
  margin: 0;
  opacity: 0;
  outline: 0;
  position: absolute;
  width: 1px;
}

#privacy-consent+.privacy-check {
  cursor: pointer;
  display: inline-block;
  margin: 0 0 2.25em;
}

#privacy-consent:checked+.privacy-check::before {
  background: #f07800;
  border-color: #f07800;
}

#privacy-consent:focus+.privacy-check::before {
  border-color: #f07800;
  box-shadow: 0 0 0 2px rgba(240, 120, 0, 0.2);
}

#contact button.button {
  font-family: inherit;
  font-size: 100%;
}

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

  /* SP用ロゴスライダー一画面表示数拡大 */
  #partners {
    padding: 2.2em 0 1.8em;
  }

  .logo-ticker {
    margin-top: 0.8em;
    mask-image: linear-gradient(to right, transparent 0%, black 4%, black 96%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 4%, black 96%, transparent 100%);
  }

  .logo-item {
    padding: 0.55em 0.9em;
    margin: 0 0.4em;
    font-size: 0.86em;
    gap: 0.4em;
    border-radius: 4px;
  }

  .logo-item .icon {
    font-size: 1.1em;
  }

  .electricity-flow {
    -webkit-flex-direction: column;
    flex-direction: column;
    -webkit-align-items: center;
    align-items: center;
    margin: 2em 0 2.2em;
    gap: 0;
  }

  .electricity-step {
    width: 100%;
    max-width: 400px;
    margin-bottom: 0.8em;
    padding: 0;
  }

  .electricity-step .step-icon {
    width: 68px;
    height: 68px;
    font-size: 2em;
    margin: 0 auto 0.8em;
  }

  .electricity-step h3 {
    margin-bottom: 0.5em;
    white-space: normal;
  }

  .electricity-arrow {
    transform: rotate(90deg);
    margin: 0.2em 0 1em;
    font-size: 1.5em;
  }

  .electricity-retailer {
    -webkit-flex-direction: row;
    flex-direction: row;
    -webkit-align-items: flex-start;
    align-items: flex-start;
    gap: 0.8em;
    padding: 1.4em 1.2em;
    margin-bottom: 2em;
  }

  .electricity-retailer .retailer-icon {
    width: 36px;
    height: 36px;
    font-size: 1.1em;
    -webkit-flex-shrink: 0;
    flex-shrink: 0;
    margin-top: 0.1em;
  }

  .electricity-retailer h3 {
    font-size: 0.98em;
    line-height: 1.5;
    margin-bottom: 0.4em;
  }

  .electricity-retailer p {
    font-size: 0.88em;
    line-height: 1.75;
  }

  .electricity-quality {
    padding: 1.8em 1.4em;
  }

  .electricity-quality .quality-ttl {
    font-size: 1.08em;
    -webkit-flex-direction: row;
    flex-direction: row;
    -webkit-justify-content: flex-start;
    justify-content: flex-start;
    text-align: left;
    gap: 0.4em;
  }

  .electricity-quality .quality-features {
    -webkit-flex-direction: column;
    flex-direction: column;
    gap: 1.2rem;
  }

  .faq-question {
    font-size: 0.9em;
    line-height: 1.6;
  }

  .faq-answer {
    padding-left: 0.5em;
    padding-right: 0.5em;
  }

  .source-note {
    text-align: left;
  }

  .faq-contact {
    margin-top: 3em;
  }

  .faq-contact-inner {
    padding: 2em 1.2em;
    border-radius: 6px;
  }

  .faq-contact h3 {
    font-size: 1.2em;
    line-height: 1.45;
    margin-bottom: 0.5em;
  }

  .faq-contact p {
    font-size: 0.92em;
    line-height: 1.7;
    margin-bottom: 1.5em;
  }

  .faq-contact-btn,
  .faq-contact-btn:link,
  .faq-contact-btn:visited {
    width: 100%;
    max-width: 320px;
    height: auto !important;
    min-height: 3.2em;
    line-height: 1.4 !important;
    padding: 0.8em 1em !important;
    font-size: 0.95em;
    box-sizing: border-box;
    display: -webkit-inline-flex;
    display: inline-flex;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
    text-align: center;
    word-break: break-word;
    white-space: normal !important;
  }
}

.news li p a {
  color: #333333;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.news li p a:hover {
  color: #f07800;
}

/* Contact completion page */

.thanks-page {
  background: #f7f7f7;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: column;
  flex-direction: column;
  min-height: 100vh;
}

.thanks-main {
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-flex: 1;
  flex: 1;
  padding: 3em 1.5em;
}

.thanks-card {
  background: #ffffff;
  border-top: 4px solid #f07800;
  border-radius: 6px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
  max-width: 720px;
  padding: 3.5em 3em;
  text-align: center;
  width: 100%;
}

.thanks-logo {
  border: 0;
  display: inline-block;
  margin-bottom: 2.5em;
}

.thanks-logo img {
  display: block;
  height: auto;
  max-width: 280px;
  width: 100%;
}

.thanks-icon {
  background: #fff4e9;
  border-radius: 50%;
  color: #f07800;
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: center;
  justify-content: center;
  font-size: 1.8em;
  height: 72px;
  margin: 0 auto 1.2em;
  width: 72px;
}

.thanks-card h1 {
  color: #333333;
  font-size: 1.65em;
  line-height: 1.5;
  margin-bottom: 1em;
  text-wrap: balance;
}

.thanks-title-line {
  display: inline;
}

.thanks-card p {
  line-height: 1.8;
  margin-bottom: 0.5em;
}

.thanks-card .button {
  margin-top: 2em;
}

.thanks-footer {
  color: #888888;
  font-size: 0.72em;
  padding: 0 1.5em 2em;
  text-align: center;
}

.thanks-footer p {
  margin: 0;
}

@media screen and (max-width: 736px) {
  .thanks-main {
    -webkit-align-items: flex-start;
    align-items: flex-start;
    padding: 1em;
  }

  .thanks-card {
    padding: 2em 1em;
  }

  .thanks-logo {
    margin-bottom: 1.5em;
  }

  .thanks-logo img {
    max-width: 200px;
  }

  .thanks-icon {
    font-size: 1.4em;
    height: 60px;
    margin-bottom: 1em;
    width: 60px;
  }

  .thanks-card h1 {
    font-size: 1.2em;
    line-height: 1.6;
    margin-bottom: 0.8em;
  }

  .thanks-title-line {
    display: block;
  }

  .thanks-card p {
    font-size: 1em;
    line-height: 1.75;
  }

  .thanks-card .button {
    display: -webkit-inline-flex;
    display: inline-flex;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
    height: auto;
    line-height: 1.5;
    margin: 1.5em auto 0;
    max-width: 280px;
    min-height: 48px;
    padding: 0.75em 1em;
    white-space: normal;
    width: 100%;
  }
}
