/*
Theme Name: smd
Author: smd
Description: Minimal WordPress theme.
Version: 1.0.0
Text Domain: smd
*/

@charset "utf-8";

html,
body,
div,
span,
section,
nav,
header,
footer,
aside,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
li,
a,
img {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  vertical-align: baseline;
}

body {
  background: #fff;
  color: #5f6165;
  font-size: 16px;
  line-height: 2;
  font-family: "Yu Gothic", "YuGothic", sans-serif;
  -webkit-text-size-adjust: 100%;
  padding-top: var(--wp-site-header-height, 90px);
}

ul {
  list-style: none;
}

img {
  vertical-align: middle;
}

a {
  color: #5f6165;
  text-decoration: none;
}

p {
  padding-bottom: 1.2em;
}

h1,
h2,
h3,
h4,
h5,
h6,
ul,
ol,
li,
dl,
dt,
dd,
p {
  margin: 0;
  padding: 0;
  font-size: 1em;
}

@media all and (min-width: 600px) {
  a[href^="tel:"] {
    pointer-events: none;
    color: inherit;
  }
}

/* Utility */
.wf1 {
  font-family: "Noto Sans JP", sans-serif;
}

.wf2 {
  font-family: "Shippori Mincho", serif;
}

.dn {
  display: none;
}

.flx {
  display: flex;
}

.clf::after {
  content: "";
  clear: both;
  display: block;
}

.fwb {
  font-weight: 700;
}

.wbc {
  color: #fff;
}

.wbg {
  background-color: #fff;
}

.tac {
  text-align: center;
}

.arrow::before {
  content: ">";
  display: inline;
  padding-right: 5px;
  font-size: 16px;
  font-family: monospace;
  font-weight: 700;
  line-height: 16px;
}

/* Theme colors used by header/footer */
.bbc {
  color: #7d7d7d;
}

.bg {
  background-color: #7d7d7d;
}

.sbg {
  background-color: #8a8a8a;
}

.bc {
  color: #000;
}

.bc2 {
  color: #444;
}

.tlb {
  color: #5f6165;
}

.icon svg,
.telicon svg {
  fill: #7d7d7d;
}

#pagetop circle {
  fill: #7d7d7d;
}

/* Header */
#mainHeader {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  min-height: 90px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}

#header {
  max-width: 1280px;
}

#logo {
  display: block;
  width: 250px;
  max-width: 75%;
  padding: 15px;
}

#logo img {
  display: block;
  width: 100%;
  height: auto;
  mix-blend-mode: multiply;
}

#headBtns {
  position: absolute;
  top: 50%;
  right: 100px;
  display: flex;
  width: calc(100% - 130px - 260px);
  min-height: 40px;
  transform: translate(0, -50%);
  justify-content: flex-end;
}

#headBtns ul {
  margin: 0;
  padding: 0;
}

#headBtns a {
  color: #000;
}

#headBtns .icon {
  float: left;
  width: 24px;
  height: 24px;
  margin-right: 6px;
  position: relative;
}

#headBtns .icon svg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.spbtn {
  position: absolute;
  width: 60px;
  height: 60px;
  top: 50%;
  right: 30px;
  z-index: 10000;
  border-radius: 30px;
  transform: translate(0, -50%);
}

.spbtn .menu-button {
  position: absolute;
  inset: 0;
  z-index: 10000;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.spbtn .menu-button span {
  position: absolute;
  left: 15px;
  right: 15px;
  display: block;
  height: 2px;
  transition: all 0.1s ease-in-out;
}

.spbtn .menu-button span.tbn {
  top: 35%;
}

.spbtn .menu-button span.mbn {
  top: 50%;
}

.spbtn .menu-button span.bbn {
  top: 65%;
}

.spbtn .menu-button.active {
  background: none;
}

.spbtn .menu-button.active span.tbn {
  top: 50%;
  transform: rotate(45deg);
}

.spbtn .menu-button.active span.mbn {
  display: none;
}

.spbtn .menu-button.active span.bbn {
  top: 50%;
  transform: rotate(-45deg);
}

#navi {
  display: none;
  position: absolute;
  right: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  overflow: auto;
  background-color: #fff;
}

#navi .inner {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  max-width: 1440px;
  padding: 30px;
  margin: 0 auto;
  box-sizing: border-box;
  color: #333;
}

.navi {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  overflow: auto;
}

.navi > div {
  min-width: 100%;
  margin-bottom: 40px;
}

.navi .smn {
  margin-bottom: 10px;
  border-bottom: 1px solid #333;
  font-size: 1.125em;
}

.navi ul {
  font-size: 0.9375em;
  text-indent: 0.5em;
}

.infoBox {
  width: 100%;
}

.infoBox .btn li {
  min-width: 100%;
  margin-bottom: 20px;
}

.infoBox .btn li a {
  position: relative;
  display: block;
  padding: 20px;
  border-radius: 3px;
  box-sizing: border-box;
  font-size: 1.5em;
  line-height: 40px;
}

.infoBox .tel {
  font-size: 2em;
}

#navi .snsBox {
  padding: 30px 0 0;
}

#navi .snsBox ul {
  display: flex;
  gap: 15px;
}

#navi .snsBox li {
  width: 40px;
}

#navi .snsBox a {
  display: block;
  padding: 0;
  margin: 0;
  border: none;
}

#navi .snsBox img {
  display: block;
  width: 100%;
  height: auto;
}

@media all and (min-width: 600px) {
  #logo {
    width: 260px;
  }

  #headBtns ul {
    display: flex;
    gap: 1px;
  }

  #headBtns li a {
    display: block;
    width: 100%;
    height: 100%;
    padding: 10px 15px;
    font-size: 1.1875em;
    line-height: 20px;
    box-sizing: border-box;
  }

  .navi {
    gap: 4%;
  }

  .navi > div {
    min-width: 48%;
    margin-bottom: 20px;
  }

  .navi .smn,
  .navi li a {
    white-space: nowrap;
  }

  .infoBox .btn li {
    min-width: 48%;
  }
}

@media screen and (min-width: 600px) and (max-width: 999px) {
  .infoBox .btn ul {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    gap: 2%;
  }

  .infoBox .btn li a {
    white-space: nowrap;
  }
}

@media screen and (max-width: 999px) {
  #headBtns,
  .spbtn {
    right: 15px;
  }

  #headBtns .btn01,
  #headBtns .btn02,
  #headBtns .btn03,
  #headBtns .btn04,
  #headBtns .btn05 {
    display: none;
  }
}

@media screen and (max-width: 599px) {
  #headBtns {
    border: none;
    background: transparent;
  }

  #headBtns .tel01,
  #headBtns .tel02 {
    display: none;
  }

  .navi div ul {
    display: flex;
    flex-wrap: wrap;
  }

  .navi div ul li {
    margin: 0 20px 0 0;
  }
}

@media screen and (min-width: 800px) {
  .navi {
    gap: 5%;
  }

  .navi > div {
    min-width: 30%;
  }

  .infoBox .btn li {
    min-width: 31%;
  }
}

@media screen and (min-width: 1000px) {
  #navi .inner {
    flex-wrap: nowrap;
    padding: 15px;
  }

  .navi {
    width: 65%;
    gap: 4%;
    padding: 15px;
    box-sizing: border-box;
  }

  .navi > div {
    min-width: 48%;
  }

  .infoBox {
    width: 35%;
    padding: 15px;
    box-sizing: border-box;
  }

  .infoBox .btn li {
    width: 100%;
  }

  .navi li .snsBox a {
    width: 40px;
    height: 40px;
    padding: 0;
    margin: 0;
    background: transparent;
  }
}

@media screen and (min-width: 1200px) {
  .navi {
    gap: 5%;
  }

  .navi > div {
    min-width: 30%;
  }

  .navi .smn {
    font-size: 1.25em;
  }

  .infoBox .tel {
    font-size: 2.5em;
  }

  .navi ul {
    font-size: 1em;
  }
}

@media screen and (min-width: 1440px) {
  .navi {
    gap: 3%;
  }

  .navi > div {
    min-width: 22%;
  }
}

/* Footer */
footer {
  position: relative;
  min-width: 320px;
  z-index: 3;
}

#companyInfo {
  padding: 20px 15px;
  font-size: 0.9375em;
  overflow: hidden;
}

#companyInfo .otherLink {
  display: none;
}

#copyBox {
  padding: 10px 15px 90px;
}

#copyBox .inner {
  font-size: 0.8125em;
}

footer .snsBox ul {
  flex-wrap: wrap;
  justify-content: center;
}

footer .snsBox li {
  margin: 0 0 10px 15px;
}

footer .snsBox li:first-child {
  margin-left: 0;
}

footer .snsBox a {
  display: block;
  width: 30px;
  height: 30px;
  border-radius: 17px;
  border: 2px solid #fff;
  transition: 0.3s;
}

footer .snsBox a:hover {
  opacity: 0.7;
  background: #000;
}

footer .snsBox img {
  display: block;
  width: 100%;
  height: auto;
}

#footer_link {
  position: fixed;
  z-index: 80;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 0;
  min-height: 85px;
  box-sizing: border-box;
}

#footer_link .inner {
  position: relative;
  max-width: 1280px;
  min-height: 50px;
  margin: 0 auto;
}

#footer_link .telInfo {
  display: none;
}

#footer_link ul {
  display: flex;
  width: 100%;
  box-sizing: border-box;
}

#footer_link li {
  display: block;
  width: 25%;
  box-sizing: border-box;
  border-left: 1px solid #fff;
}

#footer_link li:first-child {
  border: none;
}

#footer_link li a {
  display: block;
  line-height: 20px;
  padding: 22px 0;
  text-align: center;
  text-decoration: none;
}

#pageTop {
  position: fixed;
  right: 15px;
  bottom: 100px;
  z-index: 3;
  width: 40px;
  height: 40px;
  cursor: pointer;
}

#pageTop a,
#pageTop svg {
  display: block;
  width: 100%;
  height: 100%;
}

@media all and (max-width: 599px) {
  #footer_link li {
    flex: 25%;
  }

  #footer_link li a {
    position: relative;
    font-size: 0.8125em;
    height: 100%;
    padding: 18px 0;
    line-height: 1.2;
  }

  #copyBox .separator {
    display: none;
  }
}

@media all and (min-width: 600px) {
  #companyInfo br.sp {
    display: none;
  }

  #copyBox br {
    display: none;
  }

  #footer_link {
    padding: 17px 10px 18px;
  }

  #footer_link ul {
    justify-content: center;
  }

  #footer_link li a {
    padding: 10px 0;
    margin: 0 5px;
    height: auto;
    font-size: 1.0625em;
    line-height: 30px;
  }

  #footer_link li#f_tel {
    display: none;
  }

  #pageTop {
    bottom: 100px;
    width: 60px;
    height: 60px;
  }
}

@media all and (min-width: 800px) {
  #footer_link {
    padding: 10px 15px;
  }

  #footer_link .inner {
    margin-top: 10px;
  }

  #footer_link .telInfo {
    float: left;
    display: block;
    margin-top: 10px;
  }

  #footer_link .telInfo .fd01 .telicon {
    display: block;
    float: left;
    width: 30px;
    height: 30px;
  }

  #footer_link .telInfo .fd01 span {
    padding-left: 5px;
    font-size: 1.6875em;
    line-height: 30px;
  }

  #footer_link .telInfo .fd02 {
    display: none;
  }

  #footer_link ul {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translate(0, -50%);
    justify-content: flex-end;
    width: 530px;
  }
}

@media all and (min-width: 1000px) {
  #companyInfo br.tb {
    display: none;
  }

  #companyInfo .otherLink {
    float: left;
    display: block;
  }

  #companyInfo .otherLink a {
    display: inline-block;
    font-size: 0.9375em;
    line-height: 16px;
  }

  footer .snsBox {
    float: right;
  }

  footer .snsBox ul {
    max-width: 900px;
    justify-content: flex-end;
  }

  footer .snsBox a {
    width: 40px;
    height: 40px;
    border-radius: 22px;
  }

  #footer_link .inner {
    margin-top: 0;
  }

  #footer_link .telInfo {
    margin: 0;
  }

  #footer_link .telInfo .fd02 {
    display: block;
    font-size: 0.875em;
    white-space: nowrap;
  }

  #footer_link a:hover {
    opacity: 0.7;
  }
}

@media all and (min-width: 1300px) {
  #companyInfo {
    max-width: 1280px;
    margin: 0 auto;
    padding: 20px 0;
  }

  #copyBox .inner {
    max-width: 1280px;
    margin: 0 auto;
  }

  #footer_link {
    padding: 10px 0;
  }
}

@media all and (min-width: 1500px) {
  #pageTop {
    bottom: 15px;
  }
}
