@charset "UTF-8";

:root {
  --themeColor: #603916;
  --themeColorHover: #854d1c;
  --sub-color: #ee8d64;
  --h1-bgc: #fcf8ed;
  --btnColor: #f15c27;
  --btnColor-h: #d44815;
  --accentColor: #ff3b3b;
  --accentColor2: #fff000;

  --trans: 0.1s ease-in-out;
}

section.topspace * {
  box-sizing: border-box;
}
section.topspace a {
  transition: var(--trans);
}

/* 冬のエコライフキャンペーンとは */
section.bgcOrange {
  position: relative;
  margin-top: 3.5rem;
  margin-bottom: 6rem;
  padding-top: 2rem;
  padding-bottom: 5rem;
  background-color: var(--h1-bgc);
}
section.bgcOrange > div {
  width: min(70%, 900px);
  margin: 0 auto;
}
.bgcOrange::before,
.bgcOrange::after {
  position: absolute;
  content: "";
  left: 0;
  width: 100%;
  height: 20px;
  background-image: url(../event/lightdown/triangle.svg);
  background-repeat: repeat-x;
}
.bgcOrange::before {
  top: -1.15rem;
}
.bgcOrange::after {
  bottom: -1.15rem;
  rotate: 180deg;
}

h2.idea_title {
  padding-bottom: 14px;
  border-bottom: solid 5px var(--sub-color);
  line-height: 1.5;
  font-size: 26px;
  color: var(--themeColor);
}
h2.idea_title + p {
  margin: 0 0.25em;
  font-size: 17px;
  text-align: justify;
}
h2.idea_title + p sub {
  vertical-align: 0;
  font-size: 0.7em;
}
.point {
  width: fit-content;
  margin: 0 auto;
  margin-top: 3rem;
  line-height: 1.3;
  font-size: 1.75rem;
  font-weight: bold;
  text-align: center;
  color: var(--accentColor);
  cursor: default;
}
.point .underline {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0 1rem;
  border-bottom: solid 0.5rem var(--accentColor2);
}
.point .big {
  display: inline-block;
  margin: 0 0.2rem;
  vertical-align: -0.1rem;
  font-size: 2.5rem;
}
.point .small {
  font-weight: normal;
  font-size: 1.5rem;
}
.point-intro {
  width: 100%;
  margin: 0 auto;
  margin-top: 1.5rem;
  font-size: 1.2rem;
}

/* リンクボタン */
.linkBtn img {
  width: 70%;
}
.linkBtn p {
  margin: 0;
  margin-top: 1rem;
  font-size: 1.25rem;
}
.linkBtn a {
  display: block;
  width: 19rem;
  height: 100%;
  padding: 1rem;
  border-radius: 0.5rem;
  line-height: 1;
  font-size: 1.5rem;
  text-align: center;
  color: #fff;
  background-color: var(--btnColor);
  transition: var(--trans);
}
.linkBtn .date {
  display: inline-block;
  margin-top: 0.2rem;
  line-height: 1.3;
  text-align: center !important;
}
@media screen and (min-width: 680px) {
  .linkBtn a.hover:hover {
    background-color: var(--btnColor-h);
  }
}
p:has(small.date) {
  line-height: 1;
}
small.date {
  font-size: 1rem;
}

/* ==== SP ==== */
@media screen and (max-width: 679px) {
  /* 冬のエコライフキャンペーンとは */
  section.bgcOrange > div {
    width: calc(100% - 20px);
    margin: 0 auto;
  }
  .bgcOrange::before,
  .bgcOrange::after {
    height: 17.5px;
  }
  .bgcOrange::before {
    top: -1.1rem;
  }
  .bgcOrange::after {
    bottom: -1.1rem;
  }

  h2.idea_title {
    margin-bottom: 30px;
    padding-bottom: 10px;
    font-size: 20px;
    border-bottom: dotted 6px var(--sub-color);
  }
  h2.idea_title + p {
    width: calc(100% - 10px);
    margin: 0 auto;
    line-height: 1.5;
    font-size: 16px;
    text-align: left;
  }
  .point {
    margin-top: 2.5rem;
    line-height: 1.3;
    font-size: 1.5rem;
  }
  .point .underline {
    border-bottom: none;
  }
  .point .underline-sp {
    display: inline-block;
    margin-bottom: 0.5rem;
    border-bottom: solid 0.5rem var(--accentColor2);
  }
  .point .small {
    font-size: 1.2rem;
  }
  .point-intro {
    width: 100%;
    margin-top: 1rem;
    line-height: 1.5;
    font-size: 1rem;
    text-align: left;
  }

  /* リンクボタン */
  .linkBtn > div:has(+ div) {
    margin-bottom: 0.75rem;
  }
  .linkBtn img {
    width: 25%;
  }
  .linkBtn p {
    margin: 0;
    font-size: 1.25rem;
    text-align: center;
  }
  .linkBtn a {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: calc(100% - 20px);
    height: auto;
    margin: 0 auto;
    padding: 0.5rem 1rem;
  }
  p:has(small.date) {
    line-height: 1.2;
  }
}
