@charset "utf-8";
html {
  font-size: 100%;
}
body {
  font-family: 'メイリオ','MyFont','Arial','sans-serif';
  line-height: 1.7;
  color: #ffffff;
  background: #ffffff;
  font-weight: bold;
}
a {
  text-decoration: none;
}
img {
  max-width: 100%;
}
header{
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
  padding: 1vw 3vw;
  position: absolute;
  z-index: 1;
  width: 100%;
}
h1 {
  text-shadow: 0px 0px 5px #000000;
  font-weight: bold;
}
h1 img{
  height: 70px;
}

nav ul{
  display: flex;
  font-size: 0.85rem;
  gap: 0.5rem;
}
nav li a{
  border-radius: 100px;
  padding: 0.2rem 1rem;
  font-weight: bold;
}
nav li a:hover{
  background: #ffffff;
  color: #333333;
}

h2{
  font-size: 3rem;
  text-align: center;
}
h3{
  font-size: 30px;
  border-bottom: 3px;
}
.hosoku{
  display: block;
  font-size: small;
}
#top{
  width: 100%;
  height: 100vh;
  position: absolute;
  right: 0px;
  top: 0px;
  display: flex;
  flex-flow: column;
  align-items: center;
  padding: 0 5vw;
  justify-content: center;
  text-align: center;
  background: url('./images/top.jpg') no-repeat center center / cover;
  z-index: 0;
  text-shadow: 0px 0px 5px #000000;
  font-weight: bold;
}
.top-msg{
  margin: 0;
  padding: 0;
  font-size: 5vw;
  line-height: 1.5;
  font-weight: 500;
}
.top-reset{
  position: relative;
  width: 100%;
  height: 100vh;
}
section{
  padding: 5vw;
}
.bk-1{
  background: #ffffff;
  color: #333333;
}
.bk-2{
  background: #26784b;
  color: #ffffff;
}
h3{
  display: inline-block;
  border-bottom: 3px solid #333333;
  margin: 2em 0em;
  font-size: 25px;
}
.bk-2 h3{
  border-bottom: 3px solid #ffffff;
}
.list-box{
  display:flex;
  justify-content:left;
  align-items: top;
  margin-bottom: 20px;
}
.list-box img{
  width: 300px;
  margin-right:20px;
  border-radius: 5px;
}
.list-box p{
  font-weight: bold;
}
.map{
  margin-top: 20px;
}

.spikes-white {
  position: relative;
  background: #ffffff;
  min-height: 100%
}
.spikes-white::after {
  content: '';
  position: absolute;
  right: 0;
  left: -0%;
  top: 100%;
  z-index: 10;
  display: block;
  height: 14px;
  background-size: 30px 30px;
  background-image: linear-gradient(135deg, #ffffff 25%, transparent 25%), linear-gradient(225deg, #ffffff 25%, transparent 25%);
  background-position: 0 0;
}

.spikes-green {
  position: relative;
  background: #26784b;
  min-height: 100%
}
.spikes-green::after {
  content: '';
  position: absolute;
  right: 0;
  left: -0%;
  top: 100%;
  z-index: 10;
  display: block;
  height: 14px;
  background-size: 30px 30px;
  background-image: linear-gradient(135deg, #26784b 25%, transparent 25%), linear-gradient(225deg, #26784b 25%, transparent 25%);
  background-position: 0 0;
}

.ceo-name{
  text-align: right;
  margin-top: 2em;
  margin-bottom: 2em;

}
.news {
  display: grid;
  grid-template-columns: auto 1fr;
}
.news dd {
  padding-bottom: 1rem;
  padding-left: 20px;
}

footer{
  min-height: 100px;
  text-align: center;
  padding: 50px 0 20px 0;
}
.footer-nav{
  display: flex;
  font-size: 0.85rem;
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.footer-nav li a{
  border-radius: 100px;
  padding: 0.2rem 1rem;
  font-weight: bold;
}
.footer-nav li a:hover{
  background: #ffffff;
  color: #333333;
}
.btn-tel{
  display: none;
}
.list-box-p {
  width: 100%;
  display: flex;
  justify-content:space-around;
}
.list-box-c {
  width: 300px;
  text-align: center;
  padding: 10px;
}
.list-box-c img {
  border-radius: 20px;
  margin: auto;
}
.gaikan{
  width: 100%;
}
@media screen and (max-width:767px) {
  header{
    flex-flow: column; 
  }
  header h1{
    margin-top: 20px;
  }
  header nav{
    margin-top: 20px;
  }
  h2{
    margin-top: 1em;
  }
  .top-msg{
    font-size: 30px;
  }
  .list-box{
    flex-flow: column;
  }
  .list-box img{
    width: 100%;
    margin-bottom: 20px;
    margin-right: 0px;
  }
  footer{
    padding-bottom: 70px;
  }
  .btn-tel{
    position: fixed;
    bottom: 0px;
    width: 100%;
    padding: 10px;
    display: block;
    color: white;
    font-weight: bold;
    text-align: center;
    background: #f75065;
    margin: auto;
    z-index: 20;
  }

  .btn-tel::after{
    content: "";
    background: url(images/tel.svg) no-repeat center;
    background-size: contain;
    width: 24px;
    height: 24px;
    position: absolute;
    top: calc(50% - 12px);
    left: 15px;
  }

  .list-box-p {
    width: 100%;
    display: flex;
    justify-content:space-around;
    flex-flow: column;
  }

  /* 子要素 */
  .list-box-c {
    width: 100%;
    text-align: center;
  }
}

