body {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 2;
  color: #333333;
  background-color: #f0f0f0;
}

img {
  max-width: 100%;
}

/* header */
header {
  width: 100%;
  height: 75px;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  padding: 0 40px;
}

h1 {
  font-size: 35px;
  font-weight: 700;
  /* margin-left: 40px; */
}

nav ul {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.3;
  display: flex;
  padding-left: 80px;
  gap: 40px;
}

nav ul li a:hover {
  opacity: 0.5;
}

/* kv */
.kv {
  background-image: url(../img/kv/kv.png);
  width: 100%;
  background-repeat: no-repeat;
  background-size: cover;
  height: 48vw;
  margin-bottom: 120px;
  display: flex;
  justify-content: flex-end;
  align-items: end;
  padding-right: 38px;
  padding-bottom: 40px;
}

.blo {
  background-color: #00000091;
  width: 399px;
  /* height: 161px; */
  padding: 20px;
  /* margin: auto 38px 40px auto; */
  color: #ffffff;
}

.exp {
  font-size: 20px;
  line-height: 0.9;
  margin-bottom: 12px;
}

.sentence {
  font-size: 16px;
}

/* NEWS */
.container {
  max-width: 1140px;
  padding: 0 20px;
  margin: 0 auto 120px;
  /* background-color: red; */
  /* position: relative; */
}

.main section:not(:first-of-type) .container {
  height: 400px;
}

h2 {
  font-size: 30px;
  font-weight: 700;
  line-height: 0.9;
  margin-bottom: 20px;
}

p.heading {
  font-size: 14px;
  line-height: 0.9;
}

.border {
  width: 75px;
  height: 40px;
  border-bottom: 1px solid #707070;
  margin-bottom: 40px;
}

p.day {
  font-size: 14px;
  line-height: 0.9;
  margin-top: 5px;
  margin-bottom: 16px;
}

.s-news {
  width: 62px;
  height: 24px;
  background-color: #333333;
  color: #ffffff;
  font-size: 14px;
  /* line-height: 24px; */
  margin-left: 14px;
  padding: 0 10px;
}

p.s-ttl {
  font-size: 16px;
  line-height: 0.9;
}

div.group {
  /* background-color: aqua; */
  display: flex;
  justify-content: space-between;
  /* gap:40px */
}

.diary {
  width: calc((100% - 80px) / 3);
  height: 60px;
  /* background-color: pink; */
  padding-bottom: 20px;
}

.diary:not(:first-child) {
  padding-left: 40px;
  border-left: solid 1px #707070;
}

.diary:not(:last-child) {
  margin-right: 105px;
  /* padding-right: 40px;
  border-right: solid 1px #707070; */
}

/* About */
.about {
  display: flex;
  justify-content: space-between;
  /* position: absolute;
  right: 20px;
  top: 0; */
}

.messenger,
.studio {
  max-width: 55%;
  height: auto;
}

.message {
  max-width: 440px;
}

/* Studio */
.studio-sec {
  /* position: absolute;
  width: 440px;
  right: 20px;
  top: 0; */
  display: flex;
  justify-content: space-between;
  flex-direction: row-reverse;
}

/* Company */
.s-head {
  width: 55%;
  padding: 100px 8% 100px 6%;
  background-color: #ffffff;
}

.mess {
  max-width: 455px;
}

.company-sec {
  /* position: absolute;
  right: 20px;
  bottom: 47px; */
  display: flex;
  flex-wrap: wrap;
  /* justify-content: center; */
  align-items: center;
}

.company {
  width: 50%;
  height: auto;
  margin-left: -5%;
  /* margin-top: 55px;
  margin-bottom: 47px; */
}

footer {
  width: 100%;
  height: 100px;
  background-color: #ffffff;
  text-align: center;
}

.footer {
  line-height: 100px;
}

/* ↓スマホ版のコーディング */
@media screen and (max-width: 900px) {
  /* header */

  header {
    height: 80px;
    padding: 0 20px;
    display: block;
  }

  h1 {
    line-height: 1;
    margin-bottom: 20px;
  }

  nav ul {
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    padding-left: 0px;
    gap: 16px;
  }

  /* kv */
  .main section:not(:first-of-type) .container {
    height: auto;
  }

  /* .main section:last-of-type .container {
    height: 632px;
  } */

  .kv {
    background-image: url(../img/kv\ -\ コピー.png);
    width: 100%;
    height: 650px;
    padding: 0 0 20px 0;
    background-position: center;
    margin-bottom: 80px;
    display: flex;
    justify-content: center;
  }

  .blo {
    max-width: 335px;
    height: 195px;
    padding: 20px;
    margin: 0 20px;
  }
  .exp {
    margin-bottom: 20px;
  }

  /* News */

  .group,
  .about,
  .studio-sec,
  .company-sec 
  {
    flex-wrap: wrap;
    justify-content: center;
  }

  .diary {
    width: 900px;
  }

  .diary:not(:first-child) {
    padding-left: 0px;
    border-left: none;
  }

  .diary:not(:last-child) {
    margin-right: 0;
  }

  .diary:not(:last-of-type) {
    margin-bottom: 40px;
  }

  .container {
    margin-bottom: 80px;
  }

  .messenger,
  .studio {
    max-width: 100%;
    height: auto;
  }

  /* about */
  .about-sec,
  .studio-sec {
    margin-bottom: 0px;
  }

  .message,
  .s-heading {
    max-width: 335px;
    margin-bottom: 40px;
  }
Studio
  /*   */
  .studio-sec {
    flex-direction: row;
    margin-left: 20px;

    /* flex-direction:column; */
  }

   /* company */
   .s-head{
     /* width: 100%; */
     padding: 80px 20px;
    
  }


  .company {
    width: 100%;
    height: auto;
    margin-left: 0;
    text-align: center;
  }
  /* .company img{width:100%;;} */
}
