/*全体*/
* {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  vertical-align: top;
}

html {
  scroll-behavior: smooth;
}
body {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 15px;
  color: #000;
  background-color: #fff;
  text-align: left;
  letter-spacing: 0.05rem;
  line-height: 1.6rem;
}

.grecaptcha-badge {
  visibility: hidden;
}
.mincho {
  font-family: "Noto Serif JP", serif;
}

ul {
  list-style-type: none;
}
li {
  padding-left: 1rem;
  position: relative;
}
li::before {
  content: "・";
  position: absolute;
  left: 0;
}

button {
  background-color: transparent;
  border: none;
  cursor: pointer;
  outline: none;
  padding: 0;
  appearance: none;
}
#container {
  width: 100%;
  height: 100%;
}

img {
  width: 100%;
  height: auto;
}

#content {
  padding-top: ;
  overflow-x: hidden;
}

.videothumb {
  width: 260px;
  height: auto;
  object-fit: contain;
}

.avoidclicks {
  pointer-events: none;
}

.flex {
  display: flex;
}
.flex.col {
  flex-direction: column;
}
.flex.gap {
  gap: 1rem;
}
.pc {
  display: block !important;
}
.pc.inline {
  display: inline-block !important;
}
.pc.flex {
  display: flex !important;
}
.smp,
.smp.inline,
.smp.flex {
  display: none !important;
}
@media screen and (max-width: 740px) {
  .pc,
  .pc.inline,
  .pc.flex {
    display: none !important;
  }
  .smp {
    display: block !important;
  }
  .smp.inline {
    display: inline-block !important;
  }
  .smp.flex {
    display: flex !important;
  }
}
.yoko_scroll {
  overflow-x: auto;
}
.mannaka_scroll {
  margin: 0 auto;
  overflow-x: auto;
  display: flex;
  justify-content: center;
  flex-direction: row;
}
/*なんども使いそうなやつ*/

.center {
  text-align: center;
}

p.right {
  text-align: right;
}
p.center {
  text-align: center;
}
.small {
  font-size: 12px;
  vertical-align: baseline;
  line-height: 1rem;
}

.verysmall {
  font-size: 9px;
  vertical-align: baseline;
  line-height: 0.8rem;
}

.big {
  font-size: 26px;
  vertical-align: baseline;
  line-height: 2rem;
}

.bold {
  font-weight: 600;
}

.fadein {
  transition: all 2.5s ease-out;
  transform: translateY(50px);
  opacity: 0;
}

.fadein.show {
  opacity: 1 !important;
  transform: translateY(0);
}
.green {
  color: #1eb39c;
}
/*リンク・ボタン系*/

a {
  display: inline-block;
  text-decoration: none;
  text-underline-offset: 4px;
  color: #1eb39c;
  transition: all 0.3s ease;
}
a .arrow {
  height: 20px;
  width: 50px;
  padding-left: 0.4rem;
}
a.noline {
  text-decoration: none;
}
a:hover {
  opacity: 0.7;
}
div.alignright {
  text-align: right;
  padding-top: 4px;
}
button,
a.button {
  padding: 0 10px;
  min-width: 180px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  background-color: #1eb39c;
  display: flex;
  color: #fff;
  gap: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 3px 3px rgb(0, 0, 0, 0.2);
  position: relative;
}
.btnwrap {
  margin: 1rem auto;
}
.btnwrap .button {
  width: 300px;
  margin: 0 auto;
}
.btnwrap .button img {
  width: 40px;
  position: absolute;
  right: 10px;
}
.button.white {
  background-color: #fff;
  color: #1eb39c;
}
.button:hover {
  opacity: 1;
  transform: scale(1.04);
}
.minilink {
  background-color: transparent;
  border: #1eb39c 1px solid;
  border-radius: 100px;
  padding: 2px 10px;
}
/*ヘッダー*/

header {
  width: 100%;
  height: 70px;
  background-color: #fff;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  box-shadow: 0 3px 3px rgb(0, 0, 0, 0.05);
}

#headerwrap {
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0 auto;
  max-width: 1100px;
}
.rightmenu {
  gap: 1rem;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
}
#logoimage img {
  width: 240px;
  height: auto;
  margin: 0 1rem;
}
.pcnavi,
.smpnavi {
  gap: 2rem;
}
.pcnavi a,
.smpnavi a {
  text-decoration: none;
  color: #000;
  font-weight: 600;
}
.buttonwrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  height: 100%;
}
.headerbtn {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 200px;
  background-color: #1eb39c;
  color: #fff;
}
.headerbtn img {
  width: 26px;
  margin-left: 0.8rem;
}
#top {
  height: 70px;
  width: 100%;
}
@media screen and (max-width: 740px) {
  #top {
    height: 50px;
  }
}
@media screen and (max-width: 400px) {
  .headerbtn {
    width: 170px;
  }
}

.smpmenu {
  display: none;
}
.contactbtn,
.chatbtn {
  position: fixed;
  right: -4px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  text-orientation: upright;
  writing-mode: vertical-lr;
  padding: 2rem 0;
  padding-right: 4px;
  transition: all 0.3s ease;
  z-index: 300;
  gap: 1rem;
  cursor: pointer;
}
.contactbtn:hover,
.chatbtn:hover {
  right: 0;
  opacity: 1;
}
.contactbtn {
  bottom: 40px;
  background-color: #1eb39c;
  color: #fff;
}
.chatbtn {
  bottom: 40px;
  background-color: #000;
  color: #fff;
  display: none; /*仮*/
}
.contactbtn img,
.chatbtn img {
  width: 28px;
  height: auto;
}
@media screen and (max-width: 740px) {
  header {
    height: 50px;
  }
  #logoimage img {
    width: 180px;
  }
  .pcnavi {
    display: none;
  }
  .contactbtn {
    display: none;
  }
  .smpmenu {
    background-color: #fbf8f0;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    display: flex;
    z-index: 400;
    justify-content: space-between;
    align-items: center;
  }
  #menubtn {
    width: 50px;
    height: 50px;
    position: relative;
    cursor: pointer;
  }
  #menubtn span {
    content: "";
    width: 16px;
    background-color: #000;
    height: 2px;
    position: absolute;
    top: 16px;
    left: 18px;
  }
  #menubtn span::before {
    content: "";
    width: 16px;
    background-color: #000;
    height: 2px;
    position: absolute;
    top: 6px;
    left: 0;
  }
  #menubtn span::after {
    content: "";
    width: 16px;
    background-color: #000;
    height: 2px;
    position: absolute;
    top: 12px;
    left: 0;
  }
  #menubtn.open span {
    transform: rotate(45deg);
    width: 22px;
    top: 22px;
    left: 14px;
  }
  #menubtn.open span::before {
    display: none;
  }
  #menubtn.open span::after {
    transform: rotate(270deg);
    width: 22px;
    top: 0;
    left: 0;
  }
  .menu_contact {
    height: 100%;
    width: 200px;
    background-color: #1eb39c;
    padding: 0 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 10px;
    line-height: 10px;
    flex-direction: column;
    gap: 4px;
    font-weight: 500;
  }
  .menu_contact span {
    background-color: #fff;
    display: inline-block;
    color: #1eb39c;
    border-radius: 2px;
    padding: 4px 6px;
    font-size: 8px;
    line-height: 8px;
  }
  #chat-btn {
    height: 54px;
    display: flex;
    right: 0;
    bottom: 140px;
    gap: 3px;
    text-orientation: mixed;
    writing-mode: horizontal-tb;
    flex-direction: column;
    padding-right: 0;
    font-size: 11px;
    line-height: 11px;
    display: none; /*仮*/
  }
  #chat-btn img {
    width: 20px;
    height: 20px;
  }
  #chat-btn .smp {
    display: none;
  }
}
@media screen and (max-width: 490px) {
  .menu_contact {
    width: 120px;
  }
}
@media screen and (max-width: 400px) {
  .menu_contact {
    width: 100px;
  }
}

/*フッター*/

footer {
  width: 100%;
  height: 450px;
  background-color: #242424;
  display: flex;
  flex-direction: column;
}
.f_middle {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  padding: 64px;
  height: 100%;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
}
.f_middle .left img {
  width: 260px;
  margin-top: -10px;
}
.f_middle .right {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.sign_inbtn {
  height: 40px;
  color: #fff;
  border: 1px #1eb39c solid;
  border-radius: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 200px;
  margin: 10px auto;
  margin-right: 0;
}
.sign_inbtn:hover {
  background-color: #1eb39c;
  color: #000;
  opacity: 1;
}
.menubox {
  display: flex;
  flex-direction: row;
  gap: 2rem;
}
.menu {
  display: flex;
  flex-direction: column;
  gap: 1rem 2rem;
  align-items: flex-start;
  flex-wrap: wrap;
  height: 200px;
}
.menu a {
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 14px;
}
.menu a img {
  padding-bottom: 2px;
  width: 1rem;
}
.snsicon {
  width: auto;
  height: 20px;
}
.f_bottom {
  color: #9f9f9f;
  font-size: 12px;
  text-align: right;
  max-width: 1100px;
  margin: 0 auto;
}

.bottom_btnwrap {
  width: 100%;
  background-color: #f7f7f7;
  justify-content: center;
  padding: 40px;
  align-items: center;
}
.bottom_btnwrap .textarea {
  gap: 1rem;
  flex-direction: column;
}
.imgarea img {
  width: 120px;
}
@media screen and (max-width: 740px) {
  footer {
    position: fixed;
    height: calc(100vh - 100px);
    bottom: 50px;
    left: 0;
    display: none;
  }
  footer.open {
    display: block;
    z-index: 300;
  }
  .menubox {
    flex-direction: column;
  }
  .f_middle {
    flex-direction: column;
    padding: 2rem 1rem;
    gap: 1rem;
  }
  .f_middle .right,
  .f_middle .left {
    align-items: center;
    justify-content: center;
    width: 100%;
    display: flex;
  }
  .sign_inbtn {
    margin: 0 auto;
  }
  .menu {
    flex-wrap: wrap;
    height: calc(100% - 200px);
  }
}

/*セクション*/
section {
  width: 100%;
  padding: 40px 0;
}
section.white {
  background-color: #fff;
}
.content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem;
}

.badge {
  font-size: 13px;
  border: 1px solid #000;
  border-radius: 100px;
  padding: 2px 10px;
  line-height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wp-block-code {
  background-color: #333;
  color: #fbf8f0;
  padding: 1rem;
  text-align: left;
}

@media screen and (max-width: 750px) {
  section {
    padding: 40px 0;
  }
}

/*サブページ共通*/

main {
  padding-bottom: 50px;
}
h2 {
  font-size: 26px;
  margin: 1rem auto;
  text-align: center;
}
h2.sub {
  margin: 8rem auto 1rem;
  text-align: center;
  margin-bottom: 40px;
  margin: 40px auto;
}
h2.sub span {
  font-size: 14px;
  font-weight: 300;
  display: block;
  line-height: 14px;
  margin-bottom: 1rem;
}
h3 {
  font-size: 20px;
}
.titleheader.sub {
  margin: 0 auto 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: #f0f0f0;
  height: 200px;
}
.sectcontent.wid {
  width: 100%;
  padding: 0 1rem;
  margin: 0 auto;
  max-width: 1000px;
}
@media screen and (max-width: 740px) {
  h2.sub {
    padding-top: 1rem;
    margin: 0 auto 1rem;
  }
}

/*分けるまででもなさそうなもの*/
.newsitem {
  margin-bottom: 2rem;
}
.newsbadge {
  background-color: #000;
  color: #fff;
  font-size: 12px;
  line-height: 1rem;
  display: inline-block;
  border-radius: 100px;
  padding: 2px 8px;
  margin-top: 2px;
}
.otherbadge {
  color: #000;
  border: 1px solid #000;
  font-size: 12px;
  line-height: 1rem;
  display: inline-block;
  border-radius: 100px;
  padding: 2px 8px;
  margin-top: 2px;
}
.date {
  font-size: 12px;
  color: #9f9f9f;
}
