/*
Theme Name: family garage
developer: T.Mikami
*/


/*--------------------------------------------------------------
Normalize
Styles based on Normalize v5.0.0 @link https://github.com/necolas/normalize.css
--------------------------------------------------------------*/
html{font-family:sans-serif;line-height:1.15;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;overflow-x:hidden}body{margin:0}*{box-sizing:border-box}article,aside,footer,header,nav,section{display:block}h1{font-size:2em;margin:0.67em 0}figcaption,figure,main{display:block}figure{margin:1em 0}hr{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent;-webkit-text-decoration-skip:objects}a:active,a:hover{outline-width:0}abbr[title]{border-bottom:1px #767676 dotted;text-decoration:none}b,strong{font-weight:inherit}b,strong{font-weight:700}code,kbd,samp{font-family:monospace,monospace;font-size:1em}dfn{font-style:italic}mark{background-color:#eee;color:#222}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}audio,video{display:inline-block}audio:not([controls]){display:none;height:0}img{vertical-align:bottom;border-style:none}svg:not(:root){overflow:hidden}button,input,optgroup,select,textarea{font-family:sans-serif;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}button,html [type="button"],[type="reset"],[type="submit"]{-webkit-appearance:button}button::-moz-focus-inner,[type="button"]::-moz-focus-inner,[type="reset"]::-moz-focus-inner,[type="submit"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type="button"]:-moz-focusring,[type="reset"]:-moz-focusring,[type="submit"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{border:1px solid #bbb;margin:0 2px;padding:0.35em 0.625em 0.75em}legend{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{display:inline-block;vertical-align:baseline}textarea{overflow:auto}[type="checkbox"],[type="radio"]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:0}[type="number"]::-webkit-inner-spin-button,[type="number"]::-webkit-outer-spin-button{height:auto}[type="search"]{-webkit-appearance:textfield;outline-offset:-2px}[type="search"]::-webkit-search-cancel-button,[type="search"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details,menu{display:block}summary{display:list-item}canvas{display:inline-block}template{display:none}[hidden]{display:none}ul{list-style-type:none}h1,h2,h3,p,ul{margin:0;padding:0}a{transition:0.3s}a:hover,a:active{opacity:0.8}

/*--------------------------------------------------------------
typography
--------------------------------------------------------------*/
/* Windows */
@font-face {
  font-family: YuGothicM;
  font-weight: normal;
  src: local('YuGothic-Medium'),
    /* Mediumを明示的に指定 */
    local('Yu Gothic Medium'),
    /* Chrome用 */
    local('YuGothic-Regular');
  /* Windows8.1ではMediumがないのでRegularを指定 */
}
@font-face {
  font-family: YuGothicM;
  font-weight: bold;
  src: local('YoGothic-Bold'),
    /* Boldはそのまま */
    local('Yu Gothic');
  /* Chrome用 */
}
/* @import url('https://indestructibletype.com/fonts/Jost.css'); */
/* @import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700&display=swap'); */
html {
  font-size: 10px;
  width: 100%;
  height: 100%;
}
body {
  color: #393939;
  font-size: 10px;
  line-height: 2;
  /* font-family: 'Jost', 'Noto Sans JP', -apple-system, blinkMacSystemFont, 'Helvetica Neue', 'Segoe UI', YuGothicM, YuGothic, Meiryo, sans-serif; */
  font-family: -apple-system, blinkMacSystemFont, 'Helvetica Neue', 'Segoe UI', YuGothicM, YuGothic, Meiryo, sans-serif;
  -webkit-font-feature-settings: "pkna";
  font-feature-settings: "pkna";
  -webkit-font-smoothing: antialiased;
  width: 100%;
  height: 100%;
}


.only_pc {
  display: block !important;
}
.only_sp {
  display: none !important;
}
.anchor {
  position: relative;
  top: -170px;
  display: block;
}
img, svg {
  width: 100%;
  height: auto;
  vertical-align: bottom;
}
h1, h2, h3, h4, h5, h6,
a, li, div {
  color: #3e3e3e;
  text-decoration: none;
  letter-spacing: 0.1em;
}
p {
  color: #3e3e3e;
  font-size: 1.6rem;
  line-height: 1.7;
  font-weight: 300;
  letter-spacing: 0.13em;
}







/*--------------------------------------------------------------

--------------------------------------------------------------*/
#header {
  position: fixed;
  z-index: 10000;
  /* top: 0; */
  width: 100%;
  background: #fff;
}
#header > div {
  display: flex;
  margin: 0 auto;
  padding: 30px 15px;
  max-width: 1200px;
  width: 100%;
}
#header .header_ttl {
  flex: 0 0 auto;
  position: relative;
  margin-right: 45px;
  padding-left: 70px;
}
#header .header_ttl::before {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: 0;
  margin-top: -30px;
  width: 60px;
  height: 60px;
  background-image: url(images/logo.svg);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center center;
}
#header .header_ttl .title {
  font-size: 1.5rem;
  line-height: 1.7;
}
#header .header_ttl .title_sub {
  font-size: 1.1rem;
  line-height: 1.5;
  font-weight: bold;
}
#header nav {
  flex: 0 0 auto;
}
#header nav ul {
  display: flex;
}
#header nav ul li {
  flex: 0 0 auto;
  margin-right: 60px;
}
#header nav ul li a {
  color: #8b8b8b;
  font-size: 1.8rem;
  position: relative;
  transition: none;
}
#header nav ul li a::after {
  content: "";
  display: none;
  position: absolute;
  left: 0;
  bottom: -1em;
  width: 100%;
  height: 2px;
  background-color: #3e3e3e;
}
#header nav ul li a:hover {
  color: #3e3e3e;
}
#header nav ul li a:hover::after {
  display: block;
}



footer {
  width: 100%;
  background-color: #008ba8;
}
footer > div {
  display: flex;
  align-items: flex-end;
  margin: 0 auto;
  padding: 20px 15px;
  max-width: 1200px;
  width: 100%;
}
.footer_address {
  flex: 0 0 auto;
  line-height: 1.3;
  margin-right: 35px;
}
.footer_address p {
  color: #fff;
  font-size: 1.5rem;
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: 0;
}
.footer_address .footer_address-ttl {
  font-size: 2.3rem;
  line-height: 1.5;
  font-weight: bold;
  font-family: serif;
  letter-spacing: 0.2em;
}
.footer_widget {
  flex: 1 1 auto;
}
.footer_widget ul {
  display: flex;
}
.footer_widget ul li {
  flex: 0 0 40px;
  margin-right: 15px;
}
.footer_widget ul li img {
  width: 100%;
}
footer .copyright {
  flex: 0 0 auto;
  line-height: 1.3;
}
footer .copyright small {
  color: #fff;
  font-weight: bold;
  font-size: 1.4rem;
  letter-spacing: 0;
}




/*--------------------------------------------------------------
Media Queries
--------------------------------------------------------------*/
@media screen and (max-width: 1160px) {
}
@media screen and (max-width: 1173px) {
}
@media screen and (max-width: 1123px) {
}
@media screen and (max-width: 980px) {
  footer > div {
    flex-wrap: wrap;
  }
  .footer_address {
    flex: 0 0 100%;
    margin-right: 0;
    margin-bottom: 20px;
  }
  .footer_widget {
    flex: 0 0 100%;
    margin-bottom: 15px;
  }
  footer .copyright {
    flex: 0 0 100%;
  }
}
@media screen and (max-width: 940px) {
}
@media screen and (max-width: 799px) {
  .anchor {
    top: -20px;
  }
  .only_pc {
    display: none !important;
  }
  .only_sp {
    display: block !important;
  }
  .txt {
    font-size: 3.6vw;
  }
  p {
    font-size: 3.6vw;
    line-height: 1.;
    letter-spacing: 0.05em;
  }
  #header {
    position: static;
    width: 100%;
    background: #fff;
  }
  #header > div {
    flex-wrap: wrap;
    padding: 20px 7vw 15px;
  }
  #header .header_ttl {
    flex: 0 0 100%;
    margin-right: 0;
    margin-bottom: 15px;
    padding-left: 55px;
  }
  #header .header_ttl::before {
    margin-top: -23px;
    width: 46px;
    height: 46px;
  }
  #header nav {
    width: 100%;
  }
  #header nav ul {
    width: 100%;
  }
  #header nav ul li {
    flex: 0 0 auto;
    margin-right: 10vw;
  }
  #header nav ul li a {
    color: #3e3e3e;
    font-size: 4.5vw;
  }
  #header nav ul li a:hover::after {
    display: none;
  }
  footer {
    padding-bottom: 23vw;
  }
  .footer_address .footer_address-ttl {
      font-size: 4.5vw;
  }
  .footer_address {
      margin-bottom: 15px;
  }
  .footer_widget ul li {
      flex: 0 0 35px;
  }
  .footer_address p {
      font-size: 3.2vw;
  }
  footer .copyright small {
      font-weight: 400;
      font-size: 3vw;
  }
}

