@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Libre+Bodoni:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700&family=Noto+Serif+JP:wght@200;300;400;500;600;700;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Kiwi+Maru:wght@300;400;500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Yusei+Magic&display=swap');



html {
  width: 100%;
}

body {
  font-size: 14px;
  background-color: #efeeee;
  font-family: 'Noto Serif JP', serif;
  line-height: 1.2em;
  background-image: url(https://nishiazabu-mogura.com/images/background.jpeg);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Libre Bodoni', 'Noto Serif JP', serif;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  color: #242424;
}

a {
  color: #0083e8;
}

p {
  font-size: 14px;
  line-height: 1.8em;
  font-family: 'Noto Serif JP', serif;
}

#contents {
  min-height: 100vh;
}

.responsive-nav a {
  color: #454545 !important;
  font-size: 14px !important;
}

#footer {
  margin-top: auto;
  background-color: #1b2538;
}

.footer-widget-area {
  font-size: 12px;
  padding: 0px 0 25px;
}

.copyright {
  background-color: #212121;
  color: #f4f4f4;
  font-size: 12px;
  padding: 15px 0 15px 0;
}

.fa-phone-alt {
  transform: scaleX(-1);
}

.related-posts .entry-meta {
  margin-bottom: 10px;
}

@media screen and (min-width: 740px) {
  footer {
    margin-bottom: 0px;
  }
}

.header {
  z-index: 9999;
  position: fixed;
  width: 100%;
  background-image: url(https://kubinade.com/images/header-bg-scaled.jpg);
}

.header.change-color {
  opacity: .8;
  transition: 0.3s;
}

.site-branding {
  padding: 10px 0;
}

.header__content {
  height: 55px;
}

.site-branding__heading {
  text-align: left;
}

.site-branding__heading img {
  width: 60px;
  margin-left: 5%;
}

@media screen and (min-width: 740px) {
  .site-branding__heading img {
    width: 100px;
    margin-left: 5%;
  }
}

#container #contents {
  min-height: 100vh;
  margin-top: 0px !important;
}





/*box*/
.mainbox {
  width: 100%;
}

.s-mainbox {
  width: 100%;
  padding-top: 60px;
  padding-bottom: 80px;
}

.subbox {
  width: 100%;
  margin: 0 auto;
  display: block;
}

.s-mainbox img {
  width: 100%;
}

@media screen and (min-width: 740px) {
  .subbox {
    width: 60%;
  }
}

/* icon */
.icon {
  width: 30%;
  display: flex;
  justify-content: space-between;
  margin: 20px 0 10px 0;
}

.icon a :hover {
  opacity: 0.7;
}

.icon img {
  width: 50px;
  filter: brightness(0) saturate(100%) invert(19%) sepia(2%) saturate(6%) hue-rotate(315deg) brightness(96%) contrast(94%);
}

@media screen and (min-width: 740px) {
  .icon {
    width: 120px;
  }
}

/* top */

.topimg {
  width: 100%;
  padding-top: 100vh;
  overflow: hidden;
  margin: 0 auto;
  background-image: url(https://kubinade.com/images/img004.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 65% 0%;
  position: relative;
}

.toptext {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
}

.toptext img {
  width: 50%;
  height: auto;
  position: absolute;
  top: 35%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.toptext h2 {
  width: 100%;
  text-align: center;
  color: #ffffff;
  text-shadow: 0px 0px 5px #808080;
  font-size: 4vw;
  font-weight: normal;
  position: absolute;
  top: 85%;
}

.toptext p {
  width: 100%;
  text-align: center;
  color: #CCCCCC;
  text-shadow: 0px 0px 5px #808080;
  font-size: 4vw;
  font-weight: normal;
  margin: 30px 0 0 0;
}



@media screen and (min-width: 740px) {
  .toptext img {
  width: 20%;
  left: 45%;
}
.toptext h2 {
  font-size: 2vw;
  top: 90%;
}
}

.title {
  margin: 0 auto;
  font-size: 36px;
  font-weight: 300;
  line-height: 1.0em;
  -moz-user-select: -moz-none;
  -ms-user-select: none;
  -webkit-user-select: none;
  user-select: none;
  position: relative;
  margin-bottom: 10px;
}
.title h2 {
  font-size: 36px;
  letter-spacing: .5px;
  color: #454545;
  padding: 0 10px 20px 10px;
  line-height: 50px;
  text-align: center;
}
.title span {
  display: block;
  font-size: 18px;
  margin-top: 0;
  font-weight: 400;
  letter-spacing: 1.5px;
  color: #aaa;
  text-align: center;
}
.title p {
  width: 100%;
  padding: 0 10px 0 10px;
  margin: 0 0 20px 0;
  text-align: left;
}
.subP_title {
  padding: 40px 0 30px 0;
  background-color: #454545;
}
.subP_title h2 {
  font-size: 36px;
  letter-spacing: .5px;
  color: #aaaaaa;
  line-height: 33px;
  text-align: center;
  margin: 0 0 0 0;
}
@media screen and (min-width: 740px) {
  .title h2 {
    font-size: 36px;
    text-align: center;
  }

  .title span {
    font-size: 18px;
    text-align: center;
  }

  .title p {
    width: 50%;
    padding: 0 10px 0 10px;
    margin: 0 auto;
    text-align: left;
  }

  .subP_title {
    padding: 140px 0 30px 0;
    background-color: #454545;
  }
}

/* banner */
.banner{
  width: 90%;
  margin: 0 auto;
}
.banner img{
  width: 100%;
  transition:0.3s;
}
.banner :hover{
  opacity:0.5;
	transition:0.3s;
  display: block;
}

/* top */
.box {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}
.box .text{
  padding: 0 10px 0 10px;
  width: 100%;
}
.box .img{
  width: 100%;
  height: 50%;
  margin: 50px 0 0 0;
}
.img img{
  width: 100%;
  object-fit: cover;
  aspect-ratio: 16/9;
}
.img2{
}
.box .text h3{
  text-align: center;
  font-size: 20px;
}

@media screen and (min-width: 740px) {
  .box {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}
.box .text{
  padding: 0 10px 0 10px;
}
.box .img{
  width: 50%;
}
.img img{
  width: 100%;
}
.box {
  width: 100%;
  flex-wrap: nowrap;
}
.box:nth-child(even) {
  flex-direction: row-reverse;
}
.box .text{
}
.box .img{
  width: 100%;
  height: 50%;
  margin: 0px 0 0 0;
}
.img img{
  aspect-ratio: 1/1;
}
.box .text h3{
  text-align: left;
  font-size: 30px;
}
}

/* フォーム */
.cp_iptxt {
	position: relative;
	width: 80%;
	margin: 40px auto;
}
.cp_iptxt input[type='text'],
.cp_iptxt input[type='date'],
.cp_iptxt input[type='time'],
.cp_iptxt textarea
 {
	font: 15px/24px sans-serif;
	box-sizing: border-box;
	width: 100%;
	letter-spacing: 1px;
	padding-left: 5.5em;
  -webkit-transition: all 0.1s ease-out;
  transition: all 0.1s ease-out;
}
.cp_iptxt input[type='text']:focus,
.cp_iptxt input[type='date']:focus,
.cp_iptxt input[type='time']:focus,
.cp_iptxt textarea:focus
 {
	outline: none;
  padding-left: 10px;
  -webkit-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
  -webkit-transition-delay: 0.2s;
  transition-delay: 0.2s;
}
.ef {
	padding: 4px 0;
	border: 0;
	border-bottom: 1px solid #1b2538;
	background-color: transparent;
}
.ef ~ .focus_line {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0;
	height: 2px;
	transition: 0.4s;
	background-color: #da3c41;
}
.ef:focus ~ .focus_line,
.cp_iptxt.ef ~ .focus_line {
	width: 100%;
	transition: 0.4s;
}
.ef ~ label {
	position: absolute;
	z-index: -1;
	top: 4px;
	left: 0;
	width: 100%;
	transition: 0.3s;
	letter-spacing: 0.5px;
	color: #aaaaaa;
}
.ef:focus ~ label, 
.cp_iptxt.ef ~ label {
	font-size: 12px;
	top: -16px;
	transition: 0.3s;
	color: #da3c41;
}
.submit {
  display: flex;
  justify-content: space-between;
  padding-top: 20px;
  width: 80%;
  margin: 0 auto;
}
.submit p {
  font-size: 10px;
  line-height: 2em;
  margin: 3px 2px;
  text-align: left;
}
.check{
  cursor: pointer;
}
.cp_iptxt select {
  height: 30px;
  padding: 0 30px 0 5.5em;
  position: relative;
  width: 100%;
  z-index: 0;
}
/*----------------*/
/* news */
/*----------------*/
.news_list {
  margin: 80px auto;
  font-size: 14px;
  word-break: break-all;
  overflow: hidden;
  width: 90%;
  margin-top: 0px;
}

.news_list a {
  padding: 20px 0;
  display: block;
  text-decoration: none;
  box-shadow: none;
  transition:0.3s;
}

.news_list a:hover {
  background-color: #dcdcdc;
  text-decoration: none;
  box-shadow: none;
  transition:0.3s;
}

.news_list hr {
  margin: 0;
  padding: 0;
  color: #808080;
  height: 0.1px;
}

.news_list .add_New {
  font-size: 74%;
  color: #212121;
  background-color: #ebff00;
  border-radius: 3px;
  margin-right: 10px;
  padding: 5px 5px 6px 5px;
  line-height: 1.5;
  white-space: nowrap;
}

.news_list .cat {
  font-size: 74%;
  padding: 1px 5px;
  margin-left: 5px;
  vertical-align: middle;
  color: var(--textw);
  background-color: #808080;
  border-radius: 3px;
}

.news_list dl {
  margin: 0 0;
  padding: 0 0;
  border: 0;
}

.news_list .ndate {
  width: 130px;
  margin: 0 0 10px 20px;
  padding: 0;
  border: 0;
  color: #808080;
  font-size: 12px;
  font-weight: bold;
  white-space: nowrap;
}
.news_date{
  color: #ff4f58;
}
.news_list .ncat {
  width: 80px;
  margin: 0;
  padding: 0;
  border: 0;
  color: Gray;
  font-weight: normal;
  white-space: nowrap;
}

.news_list .dtit {
  overflow: hidden;
  color: Gray;
  display: flex;
  vertical-align: middle;
  margin-left: 20px;
}

.news_title {
  width: 100%;
  color: #333;
  margin-top: 0px;
  white-space: nowrap;
}

@media screen and (min-width: 740px) {
  .news_list {
    width: 40%;
  }
}


