@charset "UTF-8";

*,
::before,
::after {
  box-sizing: border-box;
  border-style: solid;
  border-width: 0;
}
html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
  -webkit-tap-highlight-color: transparent; /* 3*/
      /* ルートのフォントサイズを10pxに設定しておく */
	font-size: 62.5%;
}
body {
font-size: 16px;
line-height: 1.8em;
text-align: left;}
main {
  position: relative;
  top: -5px;
}
main h1 {
  font-size: 3.5rem;
}
@media screen and (max-width: 767px) {
  main {
    padding-top: 90px;
  }
}
 a {
  display: inline-block;
  text-decoration: none;
  color: #333;
  position: relative;
  transition: 0.2s ease;
}

a:hover {
  color: #FF9100;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

svg {
  vertical-align: middle;
  transition: 0.5s ease;
}

h1, h2 {
  font-family: "MPLUSRounded1c", sans-serif;
  transform: rotateZ(0.03deg);
  line-height: 1.15;
}
.bgPink {
  background-color: #FF7F96;
}

.bgBlue {
  background-color: #5AB5E4;
}

.bgYellow {
  background-color: #F5A446;
}

.bgGray {
  background-color: #A3A196;
}

.bgOrange {
  background-color: #FF9100;
}

.bgLemon {
  background-color: #F8DD29;
}

/*黄色い下線をつけるクラス*/
.undLine {
  display: inline;
  background-image: linear-gradient(transparent 60%, #FFFEC4 0%);
}

/* CSS Document */
header {
  background-color: #ffffff;
  text-align: left;
  padding: 0;
}
header img {
  width: auto;
}
header .container {
  width: 100%;
  padding: 20px 70px 0;
}
header .topMenu {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
header .headerLogo {
  width: 400px;
}
header .textBox {
  text-align: right;
}
header .textBox p {
  font-family: "MPLUSRounded1c";
  font-size: 2.6rem;
  font-weight: bold;
  color: #A16B00;
  margin-bottom: 20px;
}
#header .textBox img {
  width: 60%;
}
header ul {
  display: table;
  width: 100%;
  margin: 30px auto 0;
  border-spacing: 3px 0;
}
header ul li {
  display: table-cell;
  width: 20%;
  vertical-align: middle;
  text-align: center;
  border-radius: 10px 10px 0 0;
  transform: translateY(15px);
  transition: 0.2s ease;
}
header ul a {
  display: block;
  width: 100%;
  padding: 15px 15px 25px 15px;
  color: #ffffff;
  font-family: "MPLUSRounded1c", sans-serif;
  font-weight: bold;
  font-size: 1.4rem;
  line-height: 1.5em;
color: #ffffff;
}
header ul a:visited {
color: #ffffff;
}
header ul a:hover {
  color: #ffffff;
}
header ul li:hover {
  transform: translateY(8px);
  transition: 0.2s ease;
}

/*SP幅の場合のみ表示されるヘッダーの中身*/
.onlySP {
  display: none;
  width: 100%;
  padding: 10px;
  background-color: #ffffff;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
}
.onlySP .headerLogo {
  width: 270px;;
}
.onlySP .spMenu {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/*アイコン2つ*/
#open, #close {
  cursor: pointer;
  user-select: none;
}

/*ハンバーガーアイコン押したら表示されるメニュー*/
#overlay {
  display: none;
  width: 100%;
  height: 100%;
  padding: 25px 10px;
  position: fixed;
  top: 0;
  left: 0;
  user-select: none;
  background: rgba(255, 255, 255, 0.95);
  z-index: 50;
  /*ホバー時の文字色をタブの背景色と合わせる*/
}
#overlay #close {
  /* バツのアイコンを右上に配置 */
  display: block;
  margin-right: 0;
  margin-left: auto;
}
#overlay ul {
  margin-top: 20px;
  display: initial;
}
#overlay li {
  display: initial;
  text-align: left;
}
#overlay a {
  display: inline-block;
  padding: 10px 15px;
  font-weight: bold;
  animation: fadein 1s;
  color: #222;
  font-size: 1.6rem;
}
#overlay a:visited {
  color: #222;
}
#overlay li:nth-child(1) a:hover {
  color: #FF7F96;
}
#overlay li:nth-child(2) a:hover {
  color: #5AB5E4;
}
#overlay li:nth-child(3) a:hover {
  color: #F5A446;
}
#overlay li:nth-child(4) a:hover {
  color: #A3A196;
}
#overlay li:nth-child(5) a:hover {
  color: #FF9100;
}
@keyframes fadein {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
#overlay .textBox {
  width: 90%;
  margin: 60px auto 0;
  text-align: left;
}
#overlay .textBox img {
  width: auto;
}
#overlay .textBox p {
  margin-bottom: 20px;
  font-family: "MPLUSRounded1c";
  font-size: 1.8rem;
  font-weight: bold;
  color: #A16B00;
  animation: fadein 1s;
}
#overlay .textBox a {
  display: block;
  padding: 0;
  text-align: center;
  animation: fadein 1s;
}

/* overlayが表示されるクラス */
#overlay.active {
  display: block;
}
@media screen and (min-width: 768px) and (max-width: 1024px) {
  header .container {
    width: 100%;
    padding: 20px 30px 0;
  }
  header .headerLogo {
    width: 300px;
  }
  header .textBox {
    text-align: right;
  }
  header .textBox p {
    font-family: "MPLUSRounded1c";
    font-size: 2rem;
    margin-bottom: 10px;
  }
  header .textBox img {
    width: 250px;
  }
}
@media screen and (max-width: 767px) {
  header .container {
    display: none;
  }
  header .onlySP {
    display: block;
  }
  #side {
    /*
            top: 390px;
    */
  }
  #side a {
    padding: 20px 15px;
  }
}
footer {
  padding: 0;
  color: #222222;
  background-color: transparent;
font-size: 16px;
}
footer .container {
  padding: 30px 0;
}
footer .topArea {
  background-image: url("../../img/footer_bg.svg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
footer .topArea .footerLogo {
  width: 30%;
}
footer .topArea .flexBox {
  width: 90%;
  margin-top: 20px;
  display: flex;
  justify-content: flex-end;
  gap: 30px;
}
footer .topArea .info {
  width: 50%;
}
footer .topArea .info h1 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}
footer .topArea .info dl {
  display: table;
  width: 100%;
}
footer .topArea .info dl:nth-of-type(1),
footer .topArea .info dl:nth-of-type(2) {
  margin-bottom: 10px;
}
footer .topArea .info dt {
  display: table-cell;
  width: 30%;
  vertical-align: top;
}
footer .topArea .info dd {
  display: table-cell;
  width: 70%;
  vertical-align: top;
}
footer .topArea .footerMenu {
  font-weight: bold;
}
footer .topArea .telnum {
  text-decoration: underline;
}
footer .buttomArea {
  background-color: #7DBD5E;
}
footer .buttomArea .container {
  padding: 15px 0px;
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  font-size: 1.4rem;
}
footer .buttomArea ul {
  display: flex;
}
footer .buttomArea ul li {
  margin-right: 30px;
}
footer .buttomArea ul a {
  color: #ffffff;
}
footer .buttomArea ul a:hover {
  color: #A16B00;
}
footer .buttomArea p {
  font-weight: bold;
}
footer #telnum {
  text-decoration: underline;
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
  footer .topArea .container {
    padding-bottom: 20px;
  }
  footer .topArea .footerLogo {
    width: 40%;
  }
  footer .topArea .flexBox {
    width: 100%;
    margin: 0 auto;
  }
  footer .topArea .info dl {
    display: flex;
    flex-direction: column;
  }
  footer .topArea .info dt, footer .topArea .info dd {
    width: 100%;
  }
}
@media screen and (max-width: 767px) {
  #scrollTop {
    display: none;
  }
  footer .topArea .container {
    padding-bottom: 20px;
  }
  footer .topArea .footerLogo {
    width: 200px;
  }
  footer .topArea .flexBox {
    width: 100%;
    margin-top: 25px;
    flex-direction: column;
    gap: 0;
  }
  footer .topArea .info {
    width: 100%;
    margin-bottom: 20px;
  }
  footer .topArea .info dl {
    display: flex;
    flex-direction: column;
  }
  footer .topArea .info dt, footer .topArea .info dd {
    width: 100%;
  }
  footer .topArea .footerMenu {
    width: 100%;
  }
  footer .buttomArea .container {
    flex-direction: column;
  }
  footer .buttomArea ul {
    display: flex;
    margin-bottom: 10px;
  }
  footer .buttomArea ul li {
    margin-right: 30px;
  }
}
#scrollTop {
  position: fixed;
  right: 20px;
  bottom: 40px;
  font-size: 50px;
}
#page-top {
  display: none !important;
}
@media screen and (min-width: 768px) {
  .telnum {
    pointer-events: none;
  }
}
