/* max-width 1000px
   height auto

   【スマホ切り替え】
   768px
*/

/*****************************************************************************
****************** 共通 ******************************************************
*****************************************************************************/
:root {
  --contents-width-pc: 1000px;
  --color-main: #007033;
  --color-main-sub: #e84729;
  --header-height-pc: 125px;
  --header-height-sp: 81px;
}
.zen-maru {
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 700;
  font-style: normal;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  /* 上部にオフセット値を付与(固定ヘッダー用) */
  scroll-padding-top: 150px;
}
@media (max-width: 767px) {
  html {
    scroll-padding-top: 105px; /* スマホ時のヘッダー高さ */
  }
}
body {
  -webkit-print-color-adjust: exact;
  font-family:
    "游ゴシック体", "Yu Gothic", YuGothic, "メイリオ", Meiryo, Osaka,
    "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}
body a,
body ::before,
body ::after,
body a img,
button {
  outline: none;
  text-decoration: none;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
}
body a {
  color: #000;
}
body *:focus {
  outline: none;
}
body img {
  width: 100%;
  height: auto;
  vertical-align: bottom;
}
body a:hover img {
  text-decoration: none;
  /*opacity: 0.7;
  filter: alpha(opacity=70);
  -ms-filter: "alpha(opacity=70)";*/
}
body p {
  text-align: justify;
  line-height: 160%;
}
ul,
li,
span {
  line-height: 160%;
}

/* html,bodyタグの設定 */
html,
body {
  width: 100%;
}

body .site {
  max-width: 100%;
  width: auto;
  overflow: hidden;
}

h2,
h3 {
  line-height: 160%;
}
@media screen and (max-width: 767px) {
}

/*****************************************************************************
****************** ヘッダー **************************************************
*****************************************************************************/
header {
  background-color: #fff;
  border-bottom: 1px solid #999;
  padding: 1rem 0;
  width: 100%;
  height: var(--header-height-pc);
  position: fixed;
  z-index: 2;
}
header #header {
  max-width: 1200px;
  width: auto;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: end;
}
header #header h1 {
  max-width: 200px;
  width: auto;
}
@media screen and (max-width: 820px) {
  header {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}
@media screen and (max-width: 767px) {
  header {
    height: var(--header-height-sp);
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }
  header #header h1 {
    max-width: 140px;
  }
}

/********* drawer調整 *********/
.drawer--right .drawer-nav ul.a-menu-list {
  order: 2;
  display: flex;
  justify-content: space-between;
  margin-top: 1rem;
}
.drawer--right .drawer-nav ul.a-menu-list a {
  color: var(--color-main);
}
.drawer--right .drawer-nav ul.a-menu-list a:hover {
  opacity: 0.7;
}
.drawer--right .drawer-nav ul.q-menu-list {
  display: flex;
  justify-content: right;
  gap: 1rem;
}
.drawer--right .drawer-nav ul.q-menu-list li a {
  color: #fff;
  border-radius: 30px;
  display: block;
  font-size: 18px;
  padding: 0.5rem 1rem;
}
.drawer--right .drawer-nav ul.q-menu-list li.q-store a {
  background-color: var(--color-main-sub);
}
.drawer--right .drawer-nav ul.q-menu-list li.q-citizen a {
  background-color: var(--color-main);
}
@media screen and (min-width: 768px) {
  .drawer--right .drawer-hamburger {
    display: none;
  }
  .drawer--right .drawer-nav {
    right: auto;
    position: relative;
    width: 82%;
    display: grid;
  }
  .drawer--right .drawer-nav ul.q-menu-list li a br {
    display: none;
  }
  .drawer--right .drawer-nav ul.q-menu-list li {
    line-height: normal;
  }
  .drawer--right .drawer-nav ul.q-menu-list li a {
    box-shadow: inset 0 0 0 1px transparent;
  }
  .drawer--right .drawer-nav ul.q-menu-list li a:hover {
    background-color: #fff;
  }
  .drawer--right .drawer-nav ul.q-menu-list li.q-store a {
    box-shadow: inset 0 0 0 1px var(--color-main-sub);
  }
  .drawer--right .drawer-nav ul.q-menu-list li.q-store a:hover {
    color: var(--color-main-sub);
  }
  .drawer--right .drawer-nav ul.q-menu-list li.q-citizen a {
    box-shadow: inset 0 0 0 1px var(--color-main);
  }
  .drawer--right .drawer-nav ul.q-menu-list li.q-citizen a:hover {
    color: var(--color-main);
  }
}
@media screen and (max-width: 767px) {
  .drawer--right .drawer-hamburger {
    position: relative;
  }
  .drawer-hamburger-icon,
  .drawer-hamburger-icon::after,
  .drawer-hamburger-icon::before {
    background-color: var(--color-main);
  }
  .drawer--right.drawer-open .drawer-hamburger {
    right: 0;
  }
  .drawer--right .drawer-nav {
    font-size: 18px;
    padding: 1rem 3rem;
    margin-top: var(--header-height-sp);
  }
  .drawer--right.drawer-open .drawer-nav {
    display: block;
    width: 100%;
  }
  .drawer--right .drawer-nav ul.a-menu-list,
  .drawer--right .drawer-nav ul.q-menu-list {
    display: block;
  }
  .drawer--right .drawer-nav ul.a-menu-list li {
    margin: 0.5rem 0;
  }
  .drawer--right .drawer-nav ul.q-menu-list li {
    margin-top: 1.5rem;
  }
  .drawer--right .drawer-nav ul.q-menu-list li a {
    width: fit-content;
  }
}

/*****************************************************************************
****************** メイン ****************************************************
*****************************************************************************/
main {
  padding-top: var(--header-height-pc);
}
@media screen and (max-width: 767px) {
  main {
    padding-top: var(--header-height-sp);
  }
}

/* お知らせ部分 */
.news-wrapper {
  padding: 3rem 0;
}
.news-wrapper .news-inner {
  max-width: var(--contents-width-pc);
  width: auto;
  margin: 0 auto;
  background-color: #f2f2f2;
  border: 2px solid #cccccc;
  border-radius: 20px;
  padding: 1rem 2rem;
  padding-right: 1rem;
}
.news-wrapper .news-inner h3 {
  color: #0071bc;
  font-size: 20px;
  display: flex;
  justify-content: left;
  align-items: center;
  margin-bottom: 0.5rem;
}
.news-wrapper .news-inner h3::before {
  content: "";
  display: inline-block;
  width: 47px;
  height: 33px;
  background-image: url(../img/top/img-news-icon.webp);
  background-repeat: no-repeat;
  background-size: contain;
  margin-right: 1rem;
}
.news-wrapper .news-inner-item {
  display: flex;
  justify-content: space-between;
  align-items: end;
}
.news-wrapper .news-inner-item ul {
  font-size: 18px;
}
.news-wrapper .news-inner-item ul a {
  display: flex;
}
.news-wrapper .news-inner-item ul a:hover {
  opacity: 0.7;
}
.news-wrapper .news-inner-item ul a time {
  margin-right: 1rem;
}
.news-wrapper .news-inner-item a.more {
  color: #fff;
  background-color: #006837;
  border-radius: 10px;
  font-size: 20px;
  display: flex;
  justify-content: center;
  padding: 1rem;
  text-align: center;
}
.news-wrapper .news-inner-item a.more::after {
  content: "";
  display: inline-block;
  width: 19px;
  height: 20px;
  background-image: url(../img/top/img-arrow.svg);
  background-repeat: no-repeat;
  background-size: contain;
  margin-left: 0.7rem;
}
.news-wrapper .news-inner-item a.more:hover {
  opacity: 0.7;
}
@media screen and (max-width: 820px) {
  .news-wrapper {
    margin: 0 1rem;
  }
}
@media screen and (max-width: 767px) {
  .news-wrapper {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
  .news-wrapper .news-inner {
    padding: 0.5rem;
  }
  .news-wrapper .news-inner h3 {
    font-size: 14px;
  }
  .news-wrapper .news-inner h3::before {
    width: 25px;
    height: 18px;
    margin-right: 0.3rem;
  }
  .news-wrapper .news-inner-item {
    display: block;
  }
  .news-wrapper .news-inner-item ul {
    font-size: 14px;
    flex-basis: calc(100% - 100px);
  }
  .news-wrapper .news-inner-item a.more {
    color: #006837;
    background-color: transparent;
    border-radius: 0;
    font-size: 14px;
    padding: 0;
    width: fit-content;
    margin-left: auto;
    margin-top: 1rem;
  }
  .news-wrapper .news-inner-item a.more::after {
    width: 12px;
    height: 13px;
    background-image: none;
    background-color: var(--color-main);
    -webkit-mask-image: url(../img/top/img-arrow.svg);
    mask-image: url(../img/top/img-arrow.svg);
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    margin-left: 0.3rem;
  }
}

/*****************************************************************************
****************** フッター **************************************************
*****************************************************************************/
footer {
  color: #fff;
  background-color: var(--color-main);
  padding: 3rem 0;
}
footer .f-inner {
  display: grid;
  grid-template-columns: 273px 1fr;
  gap: 4rem;
  align-items: end;
  max-width: var(--contents-width-pc);
  width: auto;
  margin: 0 auto;
}
footer .logo {
}
footer ul li {
  font-size: 14px;
}
footer ul li:first-of-type {
  font-size: 30px;
  font-weight: bold;
}
footer ul li:nth-of-type(2) span.con {
  font-size: 18px;
  font-weight: bold;
}
footer ul li a {
  color: #fff;
}
@media screen and (min-width: 768px) {
  footer ul li:first-of-type br {
    display: none;
  }
  footer ul li span.box:not(:first-of-type) {
    padding-left: 1em;
  }
}
@media screen and (max-width: 820px) {
  footer {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}
@media screen and (max-width: 767px) {
  footer {
    padding: 2rem;
  }
  footer .f-inner {
    display: block;
  }
  footer .logo {
    max-width: 243px;
    width: auto;
    margin: 0 auto;
  }
  footer ul li {
    text-align: center;
    padding-top: 1rem;
  }
  footer ul li span.box {
    display: block;
  }
  footer ul li:first-of-type {
    font-size: 24px;
  }
}

/*****************************************************************************
****************** パソコン、スマホ版表示・非表示 *******************************
*****************************************************************************/
@media screen and (min-width: 768px) {
  .type-pc {
    display: none;
  }
}
@media screen and (max-width: 767px) {
  .type-sp {
    display: none;
  }
}

/* telリンク調整 */
@media (min-width: 768px) {
  a[href^="tel:"] {
    pointer-events: none;
  }
}
