body {
  font-family: "Montserrat", "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  font-size: 15px;
  letter-spacing: .05em;
  color: #e6e6e6;
  background-color: #242226;

}

a {
  transition: opacity .3s;
  text-decoration: none;
  color: #1ca9e3;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
  border-style: none;
}



.pc-only {
  display: block;
}

.sp-only {
  display: none;
}

/*--------------------------------
 レイアウト
---------------------------------*/
.wrapper {
  padding-top: 73px;
}

.section {
  padding: 90px 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}


/*--------------------------------
 見出し
---------------------------------*/
.title {
  font-size: 34px;
  font-weight: bold;
  line-height: 1;
  margin-bottom: 40px;
  text-align: center;
  letter-spacing: .05em;
}

.lead {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 30px;
}

/*--------------------------------
ヘッダー
---------------------------------*/
.header {
  position: fixed;
  top: 0;
  z-index: 1;
  width: 100%;
  background-color: #fff;
  box-shadow: 0 5px 10px -6px rgba(0, 0, 0, .1);
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 40px;
}

.header-logo {
  font-size: 28px;
  font-weight: bold;
  line-height: 1.2;
  margin-right: 20px;
  letter-spacing: .05em;
}

.header-logo a {
  color: #333;
}

/* メニューを隠す */
.gnav {
  position: static;
  opacity: 1;
  visibility: visible;
  transform: none;
  box-shadow: none;
  width: auto;
  background: none;
}

/* 開いた状態 */
.gnav.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.gnav-list {
  display: flex;
  gap: 20px;
}

.gnav-item {
  padding: 10px 0;
}

.hamburger {
  width: 28px;
  display: flex;
  flex-direction: column;
  transform: translateZ(0);
  gap: 6px;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #fff;
}


/* ハンバーガー変形 */
.hamburger.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

.gnav-list {
  display: flex;
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.gnav-item:not(:last-child) {
  margin-right: 20px;
}

.gnav-item a {
  position: relative;
  font-size: 15px;
  font-weight: bold;
  display: inline-block;
  padding: 10px 0;
  transition: .3s;
  letter-spacing: .05em;
  color: #333;
}

.gnav-item a:after {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  content: "";
  transition: .3s;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  background-color: #333;
}

.gnav-item a:hover:after {
  width: 100%;
}

/*--------------------------------
 メインビジュアル
---------------------------------*/

.mv {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-direction: column;
  height: 100vh;
  text-align: center;
  background-image: url(../img/firstview\ \(w1600\).png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.mv-container {
  padding: 0 40px;
}

.mv-title {
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-size: 40px;
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 5px;
  letter-spacing: .1em;


}

.mv-text {
  font-size: 20px;
  line-height: 1.7;
  background: rgba(0, 0, 0, 0.55);
  padding: 20px 28px;
  border-radius: 12px;
  display: inline-block;
  margin-bottom: 60px;
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: bold;
  font-style: normal;
  color: #fff;
}

/*--------------------------------
 card
---------------------------------*/
.card-title {
  padding-top: 50px;
}

.featured-cards {
  max-width: 1100px;
  margin: 0 auto 80px;
  padding: 0 20px;
}

.featured-card {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 32px;
  align-items: center;
  margin-bottom: 60px;
}


.detail-link {
  font-size: 20px;
  color: #1ca9e3;
  text-decoration: none;
  color: #aaa;
  transition: color 0.2s ease;
}


.detail-link:hover {
  color: #1ca9e3;
}

.main-card .card-media {
  max-width: 340px;
}

.card-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 50px;
  justify-content: center;
}


.card-item {
  margin-bottom: 0;
  cursor: default;
}

.card-name {
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  line-height: 1.3;
  color: #e6e6e6;
  margin-top: 20px;
}

.card-img {
  width: 100%;
  aspect-ratio: 71.5 / 100;
  overflow: hidden;
  position: relative;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 71.5 / 100;
  object-fit: cover;
}

.card-text h3 {
  font-size: 30px;
  margin-bottom: 12px;
}

.card-text ul {
  margin: 0 0 16px;
  padding-left: 1.2em;
  color: #eee;
  font-size: 18px;
}

.card-text li {
  line-height: 1.8;

}

.card-info {
  font-size: 18px;
  margin-bottom: 15px;
  text-align: start;

}

.card-title {
  font-size: 30px;
}

.card-sub {
  max-width: 1000px;
  margin: 0 auto 15px;
  font-size: 18px;
  margin-bottom: 30px;
  text-align: center;

}


.related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 60px;
  align-items: stretch;
}

.related-grid>a {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.related-grid .card-img {
  width: 100%;
  aspect-ratio: 71.5 / 100;
  overflow: hidden;
  flex: 0 0 auto;
}

.related-grid .card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.related-grid .card-name {
  font-size: 20px;
  min-height: 3em;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.3;
}

.related-grid .card-link {
  font-size: 14px;
  text-align: center;
  color: #aaa;
  margin-top: 6px;
  opacity: 1;
  display: block;
}

.related-grid .detail-link {
  font-size: 14px;
}

.card-link {
  color: #1ca9e3;
}

.tag {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 11px;
  padding: 4px 6px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  border-radius: 4px;
}



/*--------------------------------
 Skill
---------------------------------*/

#skill .container {
  max-width: 900px;
}

.skill-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: -50px;
}

.skill-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 48%;
  margin-bottom: 50px;
}

.skill-img {
  width: 60px;
  height: auto;
  margin-right: 20px;
}

.skill-body {
  flex: 1;
  padding-right: 20px;
  padding-left: 20px;

}

.skill-name {
  margin-bottom: 10px;
}

.skill-text {
  font-size: 16px;
  line-height: 1.8;
}

/*--------------------------------
 About
---------------------------------*/
.profile {
  display: flex;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 0 auto;
  background-color: #3a3432;
}

.profile-img {
  width: 40%;
  margin: 30px 0 0 30px;
}

.profile-img img {
  border-radius: 16px;
}


.profile-body {
  flex: 1;
  padding: 30px 50px 30px 0;
}

.profile-body p {
  font-size: 18px;
  line-height: 2.0;
}

.profile-body p:not(:last-child) {
  margin-bottom: 30px;

}

/*--------------------------------
 Contact
---------------------------------*/
.contact {
  text-align: center;
}

.contact-item:not(:last-child) {
  margin-right: 10px;
}

.contact-text {
  margin-top: 10px;
}

/*--------------------------------
 ページトップ
---------------------------------*/
.page-top {
  font-weight: bold;
  padding: 10px;
  cursor: pointer;
  text-align: center;
  background-color: #ca3c28;
}

.page-top .material-icons-outlined {
  vertical-align: bottom;
  color: #fff;
}

/*--------------------------------
 フッター
---------------------------------*/
.footer {
  padding: 30px;
  background-color: #a72413;
}

.copyright {
  font-size: 10px;
  text-align: center;
  color: #fff;
}

/*--------------------------------
 下層：cardページ
---------------------------------*/
.card {
  padding: 80px 0;
}

.card-layout {
  max-width: 1280px;
  margin: 0 auto;
}

.card-title {
  margin-bottom: 30px;
  text-align: center;
}

.card-body {
  max-width: 960px;
  margin: 0 auto;
  margin-bottom: 80px;
  display: flex;
  align-items: flex-start;
  gap: 40px;


}

.card-body h3 {
  position: relative;
  font-size: 20px;
  margin-bottom: 5px;
  padding-left: 1em;
}

.card-body h3:not(:first-child) {
  margin-top: 50px;
}

.card-body h3::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  content: "";
  border-radius: 3px;
  background-color: #e6e6e6;
}

.card-text {
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 30px;
  flex: 1;
}

.card-image {
  width: 100%;
  max-width: 400px;
  height: auto;
}

.home-link {
  text-align: center;
}

/* <!-- footer --> */
.footer {
  padding: 32px 0 24px;
  text-align: center;
}

.footer-nav {
  margin-bottom: 12px;
}

.footer-nav-list {
  display: flex;
  justify-content: center;
  gap: 24px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-nav-list a {
  font-size: 14px;
  color: #aaa;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-nav-list a:hover {
  color: #1ca9e3;
}

/* <!-- /footer --> */



/*media Queries 767
----------------------------------------------------*/
@media screen and (max-width: 767px) {
  body {
    font-size: 14px;
  }

  .pc-only {
    display: none;
  }

  .sp-only {
    display: block;
  }

  /* 見出し */
  .title {
    font-size: 26px;
    margin-bottom: 20px;
  }

  .lead {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
  }

  /* レイアウト */
  .wrapper {
    padding-top: 57px;
  }

  .section {
    padding: 60px 0;
  }

  .container {
    padding: 0 20px;
  }

  /* ヘッダー */
  .header .container {
    padding: 15px;
  }

  .header-logo {
    font-size: 18px;
    margin: 0;
  }

  .gnav {
    position: absolute;
    top: 60px;
    right: 0;
    width: 180px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: 0.3s ease;
  }

  .gnav-list {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .gnav.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .gnav-item {
    margin: 0;
    padding: 0;
    overflow: hidden;
  }

  .gnav-item:not(:last-child) {
    margin-right: 10px;
  }

  .gnav-item a {
    font-size: 15px;
    flex-wrap: nowrap;
    display: block;
    width: 100%;
    padding: 20px 22px;
    box-sizing: border-box;
    border-radius: 8px;
  }

  .gnav-item a:hover {
    background: #916060;
  }

  .gnav-item a:after {
    display: none;
  }

  .hamburger {
    display: block;
    width: 30px;
    cursor: pointer;
  }

  .hamburger span {
    display: block;
    height: 3px;
    margin: 6px 0;
    background: #333;
    transition: 0.3s;
  }

  /*  メインビジュアル */
  .mv {
    height: 75vh;
    background-image: url(../img/firstview\ \(w767\).png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }

  .mv-container {
    padding: 0 20px;
  }

  .mv-title {
    font-size: 30px;
  }

  .mv-subtitle {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .mv-text {
    font-size: 16px;
    line-height: 1.7;
    padding: 14px 18px;
    margin-bottom: 30px;

  }

  /* card */
  .featured-card {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .related-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .main-card .card-media,
  .sub-card .card-media {
    max-width: 100%;
  }

  .card-name {
    min-height: 2.4em;
  }

  .card-info {
    margin-top: 3px;
  }

  .card-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
  }

  .card-item {
    margin-right: 0;
    margin-bottom: 30px;
  }

  .card-media img {
    margin-left: 40px;
    width: 80%;
  }

  .detail-link {
    color: #1ca9e3;
    text-decoration: underline;
  }

  /* Skill */
  .skill-list {
    display: block;
    margin-bottom: 0;
  }

  .skill-item {
    width: 100%;
    margin-bottom: 35px;
  }

  .skill-item:last-child {
    margin-bottom: 0;
  }

  .skill-name {
    margin-bottom: 5px;
  }

  .skill-text {
    font-size: 15px;
    line-height: 1.7;
  }

  /* About */
  .profile {
    display: block;
  }

  .profile-img {
    width: 150px;
    margin: 0 auto;
    padding-bottom: 25px;
    padding-top: 25px;
  }

  .profile-body h2 {
    padding-left: 20px;
  }

  .profile-body p {
    font-size: 14px;
    line-height: 1.7;
    padding-left: 20px;
  }

  .profile-body p:not(:last-child) {
    margin-bottom: 20px;
  }

  /* フッター */
  .footer {
    padding: 20px;
  }

  /* 下層ページ */
  .card {
    padding: 50px;
  }

  .card-body {
    flex-direction: column;
    align-items: center;
  }

  .card-text h3 {
    font-size: 22px;
    padding-left: .8em;
    text-align: center;
  }

  .card-text h3:not(:first-child) {
    margin-top: 30px;
  }

  .card-text {
    width: 100%;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 20px;
    padding-left: 1em;

  }

  .related-grid .card-name {
    height: 3.6em;
    overflow: hidden;
  }

  .related-grid .card-link {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .footer-nav-list a {
    color: #1ca9e3;
  }
}

@media screen and (max-width: 1024px) {
  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}