body {
  font-family: "Montserrat","Helvetica Neue",Arial,"Hiragino Kaku Gothic ProN","Hiragino Sans",Meiryo,sans-serif;
  font-size: 15px;
  letter-spacing: .05em;
  color: #fff;
}

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: 0px;
  background-color: #fff;
}

.section {
  padding: 90px 0;
}

.section:nth-of-type(even) {
  background-color: rgb(220, 219, 219);
}

.container {
  max-width: 1340px;
  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;
  color: rgb(68, 68, 68);
}

.lead {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 30px;
  color: rgb(68, 68, 68);
}

.mv-title{
  color: rgb(68, 68, 68);
}

.mv-subtitle{
  color: rgb(71, 70, 70);
}
/*--------------------------------
ヘッダー
---------------------------------*/

.header {
  position: fixed;
  top: 0;
  z-index: 1;
  width: 100%;
  background-color: #4c4c4c;
  box-shadow: 0 5px 10px -6px #000000;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
}

.header-logo {
  font-size: 20px;
  font-weight: bold;
  line-height: 1.2;
  margin-right: 20px;
  letter-spacing: .05em;
}

.header-logo a {
  color: #fff;
}

.gnav-list {
  display: flex;
  justify-content: space-between;
  list-style: none;
}

.gnav-item:not(:last-child) {
  margin-right: 20px;
}

.gnav-item a {
  position: relative;
  font-size: 13px;
  font-weight: bold;
  display: inline-block;
  padding: 5px 0;
  transition: .3s;
  letter-spacing: .05em;
  color: #fff;
}
.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: #5b5a5a;
}

.gnav-item a:hover:after {
  width: 100%;
}

/*--------------------------------
 メインビジュアル
---------------------------------*/
.mv {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  background-image: url("../img/landscape/DSCF5022.JPG");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  text-align: center;
}

.mv-container {
  position: relative;
  z-index: 1; /* スライドより前面に出す */
  text-align: center;
  color: #fff;
  text-shadow: 0 0 10px rgba(256,256,256,0.6);
  padding: 0 40px;
}

.mv-title {
  font-size: 60px;
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 5px;
  letter-spacing: .1em;
}

.mv-title2 {
  align-items: center;
  color: rgb(68, 68, 68);
  font-size: 60px;
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 5px;
  letter-spacing: .1em;
  padding: 5px;
  background-color: rgba(255, 255, 255, 0.5);
}
.mv-subtitle {
  font-size: 20px;
  font-weight: bold;
  line-height: 1;
  margin-bottom: 40px;
  letter-spacing: .08em;
}

.mv-text {
  font-size: 16px;
  line-height: 1.8;
}


/*--------------------------------
 メインビジュアル-風景
---------------------------------*/
.mv-landscape{
  margin-top: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 30vh;
  text-align: center;
  background-image: url("../img/landscape/DSCF5018.JPG"); /* ここに画像ファイルのパスを入れる */
  background-size: cover; /* 画像がコンテナ全体を覆うように */
  background-position: center; /* 画像が中央に配置されるように */
  background-repeat: no-repeat; /* 画像が繰り返し表示されないように */
 }

/*--------------------------------
 Works
---------------------------------*/
.works-list {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: -40px;
}

.works-item {
  width: 31.74603%;
  margin-right: 1.58730%;
  margin-bottom: 40px;
  color: #fff;
}

.works-item:hover {
  opacity: .9;
}

.works-item:nth-of-type(3n) {
  margin-right: 0;
}

.works-img img {
  border: 1px solid #e6e6e6;
}

.works-name {
  font-size: 12px;
  font-weight: bold;
  margin-top: 8px;
}

.works-info {
  text-align: center;
  font-size: 15px;
  margin-top: 5px;
  color: #000000;
}


/*--------------------------------
 About
---------------------------------*/
.profile {
  display: flex;
  flex-wrap: wrap;
  max-width: 800px;
  margin: 0 auto;
}
.profile-img {
  width: 30%;
  margin-right: 90px;
  border-radius: 50%;
  margin-top: 18px;
}
.profile-img img {
  border-radius: 50%;
}
.profile-body {
  flex: 1;
}

.profile-body p {
  font-size: 15px;
  line-height: 1.8;
}

.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;
}

/* 画面中央に配置 */
.icon-container {
  display: flex;
  justify-content: center;     /* 横方向の中央揃え */
  align-items: center;         /* 縦方向の中央揃え */
  gap: 40px;                   /* アイコン間の余白 */
  font-size: 32px;             /* アイコンサイズ */
}

/* リンクの見た目 */
.icon-container a {
  color: #333;
  transition: color 0.3s;
  text-decoration: none;
}

/* ホバーで色変更 */
.icon-container a:hover {
  color: #007bff;  /* お好みで変更可能 */
}

/*--------------------------------
 ページトップ
---------------------------------*/
.page-top {
  font-weight: bold;
  padding: 10px;
  cursor: pointer;
  text-align: center;
  background-color: #4c4c4c;
}

.page-top .material-icons-outlined {
  vertical-align: bottom;
  color: #fff;
}

/*--------------------------------
 フッター
---------------------------------*/
.footer {
  padding: 30px;
  background-color: #333;
}

.copyright {
  font-size: 10px;
  text-align: center;
  color: #797979;
}

/*--------------------------------
 下層：Worksページ
---------------------------------*/
.article {
  padding: 80px 0;
}

.article-container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 20px;
}

.article-title {
  margin-bottom: 30px;
  text-align: center;
}

.article-body {
  max-width: 720px;
  margin: 0 auto;
  margin-bottom: 80px;
}

.article-body h3 {
  position: relative;
  font-size: 18px;
  margin-bottom: 5px;
  padding-left: 1em;
}

.article-body h3:not(:first-child) {
  margin-top: 50px;
}

.article-body h3::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  content: "";
  border-radius: 3px;
  background-color: #333;
}

.article-body p {
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 30px;
}

.home-link {
  text-align: center;
}



/*--------------------------------
モーダル
---------------------------------*/
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  opacity: 0;  /* 初期状態でモーダル非表示 */
  transition: opacity 0.5s ease-in-out; /* モーダル表示時のスムーズなフェードイン */
}

.modal.show {
  display: flex;
  opacity: 1;  /* モーダル表示時に完全に不透明に */
}

.modal-content {
  max-width: 90%;
  max-height: 80%;
  object-fit: contain;
  transform: scale(0); /* 初期状態では画像は拡大されていない */
  transition: transform 1s ease-in-out; /* 1秒かけてスローモーションで拡大 */
}

.modal.show .modal-content {
  transform: scale(1); /* モーダルが表示されるときに画像が拡大される */
}

#caption {
  color: white;
  text-align: center;
  margin-top: 1em;
  font-size: 1.2em;
 
}

/*モーダルの矢印*/
.modal .prev,
.modal .next {
  position: absolute;
  top: 50%;
  font-size: 5vw;
  color: white;
  cursor: pointer;
  user-select: none;
  transform: translateY(-50%);
  z-index: 1001;
  padding: 40px 60px;    /* 上下は20px、左右は40px（必要に応じて調整） */
  /* 背景を透明にして範囲を見えなく */
  background-color: transparent;
}

.modal .prev {
  left: 20px;
}

.modal .next {
  right: 20px;
}

/*画像のフェード*/
.modal-content {
  opacity: 0;
  transition: opacity 0.4s ease;
  max-width: 90%;
  max-height: 90%;
  display: block;
}
.modal-content.show {
  opacity: 1;
}


/* クロスボタン */
.close {
  position: absolute;
  top: 20px;
  right: 40px;
  color: transparent;
  font-size: 55px;
  cursor: pointer;
}

.close::after{
  height: 0.5px;
}

/* ギャラリー */
.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;  /* 固定で3列表示 */
  gap: 2em;
  padding: 2em;
}

.photo {
  position: relative;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  overflow: hidden;
  cursor: pointer;
}

.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease; /* 画像の拡大アニメーション */
}

.gallery-image:hover {
  transform: scale(1.1); /* マウスオーバー時に拡大 */
}

.photo p {
  margin-top: 0.5em;
  font-size: 1.1em;
}

footer {
  background-color: #333;
  color: white;
  padding: 1em;
}

/* タップの青を消す */
.gallery-image {
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
}
.photo {
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
}
.modal .prev,
.modal .next {
  -webkit-tap-highlight-color: transparent;
}
.works-item{
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
}

/*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 {
    text-align: center;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
  }

  /* レイアウト */
  .wrapper {
    padding-top: 58px;
  }

  .section {
    padding: 60px 0;
  }

  .container {
    padding: 0 20px;
  }

  /* ヘッダー */
  .header .container {
    padding: 18px;
  }

  .header-logo {
    font-size: 15px;
    margin-right: 15px;
  }

  .gnav-item:not(:last-child) {
    margin-right: 10px;
  }

  .gnav-item a {
    font-size: 10px;
  }

  .gnav-item a:after {
    display: none;
  }

  /*  メインビジュアル */
  .mv {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  text-align: center;
  background-image: url("../img/landscape/DSCF5022.JPG"); /* ここに画像ファイルのパスを入れる */
  background-size: cover; /* 画像がコンテナ全体を覆うように */
  background-position: center; /* 画像が中央に配置されるように */
  background-repeat: no-repeat; /* 画像が繰り返し表示されないように */
  }

  .mv-container {
  padding: 0 40px;
  }



  .mv-title {
    font-size: 30px;
  }
  .mv-title2 {
    font-size: 30px;
  }
  .mv-subtitle {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .mv-text {
    font-size: 14px;
    line-height: 1.7;
  }

  /*  メインビジュアル-風景 */
  .mv-landscape{
    margin-top: 0px;
    height: 18vh;
  }
  /* Works */
  .works-name {
    font-size: 12px;
  }

  .works-info {
    margin-top: 3px;
  }

  .works-list {
    justify-content: space-between;
  }

  .works-item {
    flex: 0 0 48%;
    margin-right: 0;
    margin-bottom: 30px;
  }

  /* About */
  .profile {
    display: block;
  }
  .profile-img {
    width: 150px;
    margin: 0 auto;
    margin-bottom: 25px;
  }

  .profile-body p {
    font-size: 14px;
    line-height: 1.7;
  }

  .profile-body p:not(:last-child) {
    margin-bottom: 20px;
  }

  /* フッター */
  .footer {
    padding: 20px;
  }

  /* 下層ページ */
  .article {
    padding: 50px 0;
  }

  .article-body h3 {
    font-size: 16px;
    padding-left: .8em;
  }

  .article-body h3:not(:first-child) {
    margin-top: 30px;
  }

  .article-body p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
  }


  /* ギャラリー */
  .gallery {
  grid-template-columns: 1fr 1fr;  /* 固定で3列表示 */
  }
 
  /* クロスボタン */
  .close {
  position: absolute;
  top: 150px;
  right: 20px;
  color: transparent;
  font-size: 55px;
  cursor: pointer;
  }
  /*モーダルの矢印*/
  .modal .prev,
  .modal .next {
  position: absolute;
  top: 50%;
  font-size: 5vw;
  color: rgba(255, 255, 255, 0.5) ;
  cursor: pointer;
  user-select: none;
  transform: translateY(-50%);
  z-index: 1001;
  margin-left: 0px;
  margin-right: 0px;
  margin-top: 0px;
  margin-bottom: 0px;
  padding: 30vw 2vw;    /* 上下は20px、左右は40px（必要に応じて調整） */
  /* 背景を透明にして範囲を見えなく */
  background-color:transparent;
  -webkit-tap-highlight-color: transparent;
  }


}