/*
Theme Name: Saibi niso
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://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&family=Noto+Serif+JP:wght@200..900&display=swap');
/* @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: #4e504b;
  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:  "Noto Sans JP", -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: #4e504b;
  text-decoration: none;
  letter-spacing: 0.1em;
}
p {
  color: #4e504b;
  font-size: 1.6rem;
  line-height: 1.7;
  font-weight: 300;
  letter-spacing: 0.13em;
}
a:hover, a:active {
  color: #FF67C3;
}
a.link {
  font-weight: bold;
  display: inline-block;
  padding: 8px 25px;
  border: 4px solid #ffdd5a;
  border-radius: 4px;
}
a.link:hover {
  border: 4px solid #FF67C3;
}
.sans {
  font-family: "Noto Sans JP", sans-serif;
}
.serif {
  font-family: "Noto Serif JP", serif;
}





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

--------------------------------------------------------------*/
#header {
  position: fixed;
  z-index: 10000;
  /* top: 0; */
  width: 100%;
  background: #fff;
}
#header::after {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 5px;
  background: #FF67C3;
  background: linear-gradient(90deg, rgba(255, 103, 195, 1) 0%, rgba(255, 221, 90, 1) 100%);
}
#header > div {
  display: flex;
  margin: 0 auto;
  padding: 17px 30px;
  /* max-width: 1200px; */
  width: 100%;
}
#header h1.title {
  width: 150px;
  margin-right: 2em;
}

#header nav {
  flex: 0 0 auto;
}
#header nav ul {
  display: flex;
}
#header nav ul li {
  flex: 0 0 auto;
  margin-right: 40px;
}
#header nav ul li a {
  color: #8b8b8b;
  font-size: 1.8rem;
  position: relative;
  transition: 0.3s;
}
#header nav ul li a:hover {
  color: #FF67C3;
}
#header nav ul li a:hover::after {
  display: block;
}

.main {
  padding-top: 70px !important;
}

footer {
  width: 100%;
  background-color: #5283cc;
}
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;
  width: 210px;
}
.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;
}




.news_list_wrap {
  display: flex;
  flex-wrap: wrap;
}
.news_list_wrap li {
  flex: 0 0 30%;
  width: 30%;
  margin: 0 5% 30px 0;
}
.news_list_wrap li:nth-child(3n) {
  margin-right: 0;
}
.news_list_wrap li .news-img {
  margin-bottom: 5px;
  width: 100%;
  height: 250px;
  overflow: hidden;
  background-color: #FF67C3;
}
.news_list_wrap li .news-img img {
  object-fit: cover;
  object-position: center center;
  vertical-align: bottom;
  transition: 0.3s;
}
.news_list_wrap li a .news-ttl {
  font-weight: bold;
  transition: 0.3s;
}
.news_list_wrap li a:hover .news-img img {
  opacity: 0.75;
}
.news_list_wrap li a:hover .news-ttl {
  color: #FF67C3;
}




/*--------------------------------------------------------------
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) {
}
@media screen and (max-width: 940px) {
}
@media screen and (max-width: 799px) {
  p {
    font-size: 3.6vw;
  }
  .only_pc {
    display: none !important;
  }
  .only_sp {
    display: block !important;
  }
.main {
  padding-top: 9vw !important;
}
#header > div {
  padding: 5px 5px 10px;
  align-items: end;
}
#header h1.title {
  width: 22%;
  margin-right: 3%;
}
#header nav ul li a {
  font-size: 2.5vw;
}
#header nav ul li {
  flex: 0 0 auto;
  margin-right: 10%;
}
footer > div {
  display: flex;
  align-items: flex-start;
  margin: 0 auto;
  padding: 20px 15px;
  max-width: 1200px;
  width: 100%;
  flex-direction: column;
}
.footer_address .footer_address-ttl {
  width: 20vw;
  margin-bottom: 12px;
}
.footer_address p {
  font-size: 2.5vw;
  margin-bottom: 12px;
}
.footer_widget {
  flex: 1 1 auto;
  margin-bottom: 12px;
}
footer .copyright small {
  color: #fff;
  font-weight: bold;
  font-size: 2.7vw;
  letter-spacing: 0;
}
.news_list_wrap {
  display: flex;
  flex-wrap: wrap;
  padding: 0 3px 0 10px;
}
.news_list_wrap li {
  flex: 0 0 48%;
  width: 48%;
  margin: 0 2% 30px 0;
}
.news_list_wrap li .news-img {
  margin-bottom: 5px;
  width: 100%;
  height: 40vw;
  overflow: hidden;
  background-color: #FF67C3;
}




}

