@charset "utf-8";

/*
Theme Name: Ayumu Theme
Author: ayumu
Version: 1.0
*/

body {
  margin: 0;
    font-family: 'Shippori Mincho', serif;
  color: #222;
  background: #fff;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  /* background: rgba(0,0,0,0.25); */
  z-index: 2;
}

img {
  max-width: 100%;
  height: auto;
}

.hero {
  position: relative;
  width: 100%;
  height: 720px;
  overflow: hidden;
}

.hero-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  color: #000 !important;
  text-align: center;
  font-size: 42px;
  line-height: 1.6;
  font-weight: normal;
  margin: 0;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}


.nav {
  position: fixed!important;
  top: 60px;
  right: 60px;
  z-index: 999;
}
.hero-title::before,
.hero-title::after {
  content: "";
  display: block;
  width: 180px;
  height: 1px;
  background: #000;
  margin: 0 auto 24px;
}

.hero-title::after {
  margin: 24px auto 0;
}


.nav a {
  display: block;
  margin-bottom: 20px;
  color: #000;
  text-decoration: none;
}

.section {
  max-width: 1100px;
  margin: 120px auto;
  padding: 0 40px;
}

.profile {
  display: flex;
  gap: 70px;
  align-items: center;
}

.profile-img {
  width: 480px;
}

.profile-text {
  flex: 1;
}

.profile-text h2,
.news h2,
.works h2 {
  font-size: 32px;
  font-weight: normal;
  margin-bottom: 40px;
}

.profile-text p {
  line-height: 2.2;
  font-size: 15px;
}
.news h2 {
  font-size: 36px;
  font-weight: normal;
  margin-bottom: 80px;
}

.news {
  max-width: 1180px;
  margin: 140px auto;
  padding: 0 40px;
}


.news-item {
  padding: 0 0px;
  border-right: 1px solid #aaa;
}
.news-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}


.news-link:first-child {
  padding-left: 0;
}
.news-item:last-child {
  padding-right: 0;
  border-right: none;
}

.news-item img {
  width: 300px;
  height: 240px;
  object-fit: cover;
  display: block;
}


.news-item time {
  display: block;
  font-size: 15px;
  margin-bottom: 14px;
}

.news-item p {
  font-size: 15px;
  line-height: 1.8;
}
.news-link {
  display: block;
  color: inherit;
  text-decoration: none;
  padding: 0 40px;
  position: relative;
}
.news-link:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 0px!important;
  height: 100%;
  background: #666;
}
.news .news-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.news .news-link {
  display: block;
  color: #222;
  text-decoration: none;
  padding: 0 58px;
  border-right: 1px solid #333;
}

.news .news-link:first-child {
  padding-left: 0;
}

.news .news-link:last-child {
  padding-right: 0;
  border-right: none;
}

.news .news-item img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  display: block;
  margin-bottom: 26px;
}

.news .news-item time {
  display: block;
  font-size: 15px;
  margin-bottom: 14px;
}

.news .news-item p {
  font-size: 15px;
  line-height: 1.8;
  margin: 0;
}
.works-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 45px;
}

.more {
  text-align: right;
  margin-top: 60px;
}

.more a {
  color: #222;
  text-decoration: none;
}

.circle {
  display: inline-flex;
  width: 70px;
  height: 70px;
  border: 1px solid #999;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
}

@media (max-width: 768px) {
  .hero {
    height: 560px;
  }

  .nav {
    top: 30px;
    right: 30px;
  }

  .profile {
    display: block;
  }

  .profile-img {
    width: 100%;
    margin-bottom: 40px;
  }

  .news-list {
    display: block;
  }

  .news-item {
    width: 100%;
    border-right: none;
    margin-bottom: 40px;
  }

  .works-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}





.single-news-page {
  background: #fff;
  padding: 100px 0 140px;
}

.single-news {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
}

.single-news-title {
  text-align: center;
  font-size: 36px;
  font-weight: normal;
  margin: 0 0 90px;
}

.single-news-img {
  max-width: 820px;
  margin: 0 auto 90px;
}

.single-news-img img {
  width: 100%;
  height: auto;
  display: block;
}

.single-news-date {
  display: block;
  font-size: 14px;
  margin-bottom: 22px;
}

.single-news-content {
  font-size: 15px;
  line-height: 2.4;
  letter-spacing: 0.04em;
}

body {
  background: #fff !important;
}