@charset "UTF-8";

/* Portfolio CSS
======================================== */

/* 全体設定 ///////////////////////// */
body {
  font-size: 16px;
  font-family: 'Montserrat', 'Noto+Sans+JP', sans-serif;
  color: #121212;
}

body {
  background: url('../images/brick.jpg') repeat;
  background-size: auto;
  background-position: top center;
  background-attachment: scroll;
}

/* section-title（共通） */
.section-title {
  display: inline-block;
  background: #000;
  color: #fff;
  padding: 10px 30px;
  font-weight: bold;
  font-size: 1.8rem;
  margin-bottom: 70px;
  margin-top: 90px;
}

/* read-more（共通） */
.read-more {
  display: inline-block;
  margin-top: 40px;
  background-color: #a2302d;
  color: white;
  padding: 10px 20px;
  font-weight: bold;
  font-size: 1.2rem;
  text-decoration: none;
  border-radius: 30px;
  margin-top: 20px;
}

/* ヘッダー ///////////////////////// */
.site-header {
  position: static;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 50px 60px 25px;
  background-color: rgba(0, 0, 0, 0.7);
  color: #fff;
  flex-wrap: wrap;
}

.logo img {
  height: 110px;
  width: auto;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
  flex-wrap: nowrawrap;
  /* ✅ 折り返さない */
}

.main-nav li {
  background-color: #121212;
  /* 黒いボックス風 */
  padding: 10px 20px;
  border-radius: 30px;
  transition: background-color 0.3s;
}

.main-nav li:hover {
  background-color: #c61f1f;
}

.main-nav li a {
  display: flex;
  flex-direction: column;
  text-align: center;
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
}

html {
  scroll-behavior: smooth;
}


.nav-main {
  font-weight: bold;
  font-size: 1.2rem;
  letter-spacing: 0.1em;
}

.nav-sub {
  font-size: 0.75rem;
  color: #fff;
}

.site-header {
  background-color: transparent;
  
}

/* ✅ レスポンシブ対応 */
@media screen and (max-width: 768px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
    position: static;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 10px;
    margin-top: 30px;
  }

  .main-nav li {
    width: 100%;
  }

  .main-nav li a {
    align-items: flex-start;
    text-align: left;
  }
}


/* ファーストビュー */
.fv {
  background-size: auto;
  padding: 20px 20px;
  position: relative;
}

/* 横並びのレイアウト */
.fv-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 150px;
  flex-wrap: wrap;
}

/* ドア画像 */
.door-image {
  height: 600px;
  width: auto;
  display: block;
  margin-top: 25px;
  filter: drop-shadow(0 0px 3px rgba(0, 0, 0, 1));
}

/* テキスト部分 */
.fv-text {
  text-align: center;
  margin-top: -130px;
}

.fv-title {
  font-size: 75px;
  color: #fff;
  font-weight: bold;
  margin: 0;
  letter-spacing: 0.03em;
  text-shadow: 0px 3px 6px rgba(0, 0, 0, 0.7);
  /* ✅ テキスト影 */
}

.fv-subtitle {
  font-size: 30px;
  font-weight: bold;
  margin-top: 15px;
  color: #fff;
  letter-spacing: 0.01em;
  line-height: 1.1em;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.6);
  /* ✅ サブタイトル影 */
}

/* レスポンシブ対応 */
@media screen and (min-width: 769px) and (max-width: 1050px) {
  .fv {
    margin-top: 140px;
  }

  .fv-text {
    margin-top: 0;
  }
}


@media screen and (max-width: 768px) {
  .fv-inner {
    flex-direction: column;
    gap: 30px;
    padding-top: 60px; 
  }

  .fv {
    margin-top: 0px; /* ✅ ここを追加 */
  }


  .fv-text {
    margin-top: 100px;
  }

  .fv-title {
    font-size: 60px;
  }

  .fv-subtitle {
    font-size: 30px;
  }

  .door-image {
    height: 400px;
  }
}


/* aboutセクション*/
.about-section {
  padding: 0px 20px;
  text-align: center;
  background: transparent;
}



.about-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 70px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.about-image img {
  max-width: 100%;
  height: auto;
  width: 500px;
  filter: drop-shadow(0 0px 3px rgba(0, 0, 0, 0.5));
}

.paper-wrapper {
  position: relative;
  width: 500px;
  filter: drop-shadow(0 0px 3px rgba(0, 0, 0, 0.5));

}

.paper-bg {
  width: 100%;
  height: auto;
  display: block;
}

.about-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 5px;
  width: 80%;
  font-weight: bold;
  font-size: 1.;
  line-height: 1.6;
  color: #121212;
  text-align: left;
}

.about-text h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}



@media screen and (max-width: 768px) {
  .about-inner {
    flex-direction: column;
    align-items: center;
  }

  .paper-wrapper {
    width: 90%;
  }

  .about-text {
    font-size: 0.95rem;
  }
}

/* worksセクション*/
.works-section {
  padding: 80px 20px;
  text-align: center;
}

.works-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 60px 40px;
  /* 縦60px、横40pxの間隔 */
  max-width: 1400px;
  margin: 0 auto;
  margin-top: 40px;
}

.work-item {
  width: 300px;
  display: flex;
  flex-direction: column;
  /* ← 中身を縦並びに */
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;

}

.work-item:hover {
  transform: scale(1.03);
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.4);
}

.work-item img {
  width: 100%;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
  border-radius: 8px;
}

.work-meta {
  margin-top: 10px;
}

.work-genre {
  display: inline-block;
  font-size: 0.75rem;
  background-color: #4e2e1e;
  color: #fff;
  font-weight: bold;
  padding: 4px 10px;
  margin-bottom: 4px;
}

.work-title {
  font-size: 1rem;
  font-weight: bold;
  color: #fff;
  text-shadow: 0px 3px 6px rgba(0, 0, 0, 0.7);

}

@media screen and (max-width: 768px) {
  .works-gallery {
    flex-direction: column;
    align-items: center;
  }

  .work-item {
    width: 90%;
  }
}

/* serviceセクション*/
.service-section {
  padding: 0px 20px;
  text-align: center;
  background: transparent;
}

.section-title {
  display: inline-block;
  background: #000;
  color: #fff;
  padding: 10px 30px;
  font-weight: bold;
  font-size: 1.25rem;
  margin-bottom: 60px;
}

.service-wrapper {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1200px;
  margin: 30px auto 60px;
  margin-bottom: 30px;

}

.service-box {
  background-color: #fff;
  border: 15px solid #0f3b1e;
  padding: 30px;
  width: 500px;
  box-sizing: border-box;
  text-align: left;
}

.service-title {
  background-color: #8d2c2a;
  color: #fff;
  font-weight: bold;
  padding: 10px 15px;
  margin-bottom: 20px;
  font-size: 1.3rem;
  text-align: center;
}

.service-box h3 {
  font-size: 1.1rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
}

.service-box p {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.service-tags span {
  background-color: #0f3b1e;
  color: white;
  padding: 6px 12px;
  font-size: 0.85rem;
  font-weight: bold;
}

/* ===== contactセクション ===== */
.contact-section {
  padding: 100px 20px;
  background: transparent;
  text-align: center;
  /* 以下を追加して縦並びにする */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
  /* 各パーツの間隔を取る */
  margin-bottom: -40px;
}

.contact-description-box {
  display: inline-block;
  background-color: #fff;
  padding: 40px 60px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 40px;
}

.contact-description {
  font-size: 1rem;
  font-weight: bold;
  line-height: 1.8;
  color: #121212;
  margin: 0;
  margin-bottom: 20px;
}

.contact-button {
  display: inline-block;
  background-color: #cf2923;
  color: #fff;
  padding: 16px 36px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.5rem;
  border-radius: 30px;
  transition: 0.3s;
}

.contact-button:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}

/* ===== footerセクション ===== */
.footer-section {
  text-align: center;
  padding: 0px 20px;
  background: transparent;
}

.footer-inner {
  display: flex;
  justify-content: center;
  /* ← 中央揃えに修正 */
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin: 0 auto 40px auto;
  transform: translateX(30px);
}

.footer-icons {
  display: flex;
  justify-content: center;
  flex: 1;
}


.footer-icons img,
.back-top-icon img {
  width: 60px;
  height: auto;
  transition: opacity 0.3s;
}

.footer-icons img:hover,
.back-top-icon img:hover {
  opacity: 0.7;
}

.back-top-icon {
  margin-left: auto;
}

.copyright {
  text-align: center;
  font-size: 0.75rem;
  color: #121212;
  margin-bottom: 50px;
}


/* ========== Aboutページ専用スタイル ========== */

.about-page {
  padding: 80px 20px;
  color: #121212;
  background: url('../about/images/background.jpg') no-repeat center center fixed;
  background-size: cover;
  min-height: 100vh;
}

/* パンくずリスト */
.breadcrumb {
  font-size: 0.85rem;
  padding: 20px 20px 0;
  color: #fff;
}

.breadcrumb a {
  color: #fff;
  text-decoration: underline;
}

/* 見出し */
.section-title-box {
  width: 250px;
  background-color: #133261;
  border: 3px solid #fff;
  margin: 0 auto 60px;
  position: relative;
  text-align: center;
  padding: 30px 0px;
}

.section-title-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: #fff;
  font-weight: bold;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
  white-space: nowrap;
}

/* 自分の部屋っぽいレイアウト */
.about-room {
  display: flex;
  flex-direction: column;
  /* ← 横並びから縦並びに変更 */
  align-items: center;
  /* ← 中央揃え */
  gap: 40px;
  /* ← 丸とテキストの間の余白 */
  max-width: 1200px;
  margin: 0 auto;
}

.profile-circle {
  width: 350px;
  height: 350px;
  border-radius: 50%;
  overflow: hidden; /* これで円からはみ出す部分を隠す */
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.profile-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 写真が伸びずにキレイに中央表示される */
  display: block;
}

.about-description {
  max-width: 600px;
  background: rgba(255, 255, 255, 0.85);
  padding: 30px;
  border-radius: 10px;
  font-size: 1rem;
  line-height: 1.8;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.about-description h2 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  font-weight: bold;
  text-align: center;
}

.about-description p:empty {
  height: 1em;
}

/* レスポンシブ */
@media screen and (max-width: 768px) {
  .about-room {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .about-description {
    padding: 20px;
    font-size: 0.95rem;
  }

  .profile-circle {
    width: 200px;
    height: 200px;
  }
}


/* ========== Works detail-1 ========== */
.detail-page {
  background: url('../works/images/red_bacground.jpg') repeat;
  color: #121212;
  padding-bottom: 80px;
  font-family: sans-serif;
}

.breadcrumb {
  font-size: 0.85rem;
  padding: 20px;
  color: #fff;
}

.breadcrumb a {
  color: #fff;
  text-decoration: underline;
}

.section-title-box {
  width: 250px;
  background-color: #122e91;
  border: 3px solid #fff;
  margin: 0 auto 60px;
  position: relative;
  text-align: center;
  padding: 30px 0;
}

.section-title-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: #fff;
  font-weight: bold;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
  white-space: nowrap;
}

.work-display {
  position: relative;
  width: 800px;
  margin: 0 auto;
  text-align: center;
}

.frame-image {
  width: 100%;
  display: block;
}

.work-description {
  max-width: 700px;
  margin: 60px auto 40px;
  background: rgba(255, 255, 255, 0.95);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  font-size: 1rem;
  line-height: 1.8;
}

.work-description h3 {
  font-size: 1.2rem;
  font-weight: bold;
  margin-top: 20px;
  color: #4e2e1e;
}

.work-description p {
  margin-top: 5px;
}

.work-gallery {
  max-width: 1000px;
  margin: 40px auto;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  padding: 20px;
}

.work-gallery img {
  max-width: 100%;
  height: auto;
  display: block;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.work-caption {
  display: flex;
  justify-content: center;
  margin-top: 60px;
  padding: 0 20px;
}

.caption-box {
  background-color: #fff;
  padding: 40px 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  max-width: 700px;
  font-size: 1rem;
  line-height: 1.8;
  color: #121212;
}

.caption-category-wrapper {
  text-align: center;
}

.caption-category {
  display: inline-block;
  background-color: #d88c1e;
  color: #fff;
  padding: 4px 12px;
  font-size: 0.85rem;
  font-weight: bold;
  border-radius: 15px;
  margin-bottom: 10px;
}

.caption-title {
  font-size: 1.4rem;
  margin: 10px 0 30px;
  border-bottom: 1px solid #ccc;
  padding-bottom: 10px;
  text-align: center;
}


.caption-box h3 {
  font-size: 1rem;
  margin-top: 20px;
  font-weight: bold;
}

.caption-box p {
  margin: 8px 0 12px;
}

.btn_link {
  display: inline-block;
  background-color: #d88c1e;
  color: #fff;
  padding: 4px 12px;
  font-size: 1.0rem;
  font-weight: bold;
  border-radius: 15px;
  margin-bottom: 10px;
}

@media screen and (max-width: 768px) {
  .work-display {
    width: 90%;
  }

  .lp-image {
    top: 12%;
    left: 10%;
    width: 80%;
    height: 76%;
  }

  .work-description {
    padding: 20px;
    font-size: 0.95rem;
  }

  .work-gallery {
    flex-direction: column;
    align-items: center;
  }
}