@charset "UTF-8";
html {
    font-size: 100%;
    scroll-behavior: smooth;
}
/* 基本設定 */
body {
  margin: 0;
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic Midium", "Cinzel Regular", sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fdf3f5;
}

h1, h2 {
  margin: 0 0 1rem;
  font-size: 60px;
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-weight: 100;
  font-style: normal;
}

h3 {
    font-family: "Cinzel", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: 3rem;
    color: #905f6b;
}

@media (max-width: 768px) {
  h3 {font-size: 2rem;
}
}

a {
  color: inherit;
  text-decoration: none;
}

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

p {
  font-size: clamp(10px, 5vw, 1.1rem);
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 300;
  font-style: normal;
}


/* レイアウト用 */
.container {
  margin: 0 auto;
  padding: 10px 20px;
}

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

/* Aboutページのヘッダー　*/
.page-about .header .container {
   background: #fdf3f5;
}

/* Flowページのヘッダー　*/
.page-flow .header .container {
   background: #905f6b;
}

/* Worksページのヘッダー　*/
.page-works .header .container {
   background: #f8f4ef;
}

/* Works1ページのヘッダー　*/
.page-works1 .header .container {
   background: #f8f4ef;
}

.header .container {
  display: flex;
  justify-content: space-between; /* ロゴ左、nav右 */
  align-items: center; /* 高さを中央に揃える */
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 40px;
  width: auto; /* 横幅は自動で調整（比率を保つ） */
}

/* ハンバーガーアイコンは最初は非表示 */
.hamburger {
  display: none;
  font-size: 30px;
  cursor: pointer;
  color: #905f6b;
}

/* メニューは最初は非表示に */
.main-nav {
  display: flex;
  gap: 36px;
  list-style: none;
  margin: 0;
  padding: 0;
}


  .main-nav a {
    color: #fff;
  }

  .main-nav.active {
    display: flex;
  }

.main-nav {
  display: flex;           /* 横並び */
  gap: 36px;               /* li同士の隙間 */
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: flex-end; /* 右寄せにする */
  flex: 1; /* ロゴとのスペースを確保する */
}


.main-nav a {
  color: #905f6b;
  font-weight: 500;
  transition: all 0.3s ease;
}

.main-nav a:hover {
   color:#fff
}

.page-about .main-nav a:hover {
   color: #d8a7b1;
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .main-nav {
    display: none;
    flex-direction: column;
    background-image: linear-gradient(to bottom, #905f6b, #d8a7b1);
    padding: 20px;
    position: absolute;
    right: 20px;
    top: 60px;
    border-radius: 5px;
    width: 200px;
    text-align: left;
  }

  .main-nav a {
    color: #fff;
  }
  
  .main-nav a:hover {
    color: #d8a7b1;
  }
  }

   .main-nav.active {
    display: flex;
  }

.clearfix::after {
  content: "";
  display: block;
  clear: both;
}

/* Flowページ　*/
 /* ハンバーガーアイコンは最初は非表示 */
.flow-hamburger {
  display: none;
  font-size: 30px;
  cursor: pointer;
  color: #000;
}

/* メニューは最初は非表示に */
.flow-main-nav {
  display: flex;
  gap: 36px;
  list-style: none;
  margin: 0;
  padding: 0;
}


  .flow-main-nav a {
    color: #fff;
  }

  .flow-main-nav .active {
    display: flex;
  }

.flow-main-nav {
  display: flex;           /* 横並び */
  gap: 36px;               /* li同士の隙間 */
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: flex-end; /* 右寄せにする */
  flex: 1; /* ロゴとのスペースを確保する */
}


.flow-main-nav a {
  color: #000;
  font-weight: 500;
  transition: all 0.3s ease;
}

.flow-main-nav a:hover {
   color:#fff
}

@media (max-width: 768px) {
  .flow-hamburger {
    display: block;
  }

  .flow-main-nav {
    display: none;
    flex-direction: column;
    background-image: linear-gradient(to bottom, #905f6b, #d8a7b1);
    padding: 20px;
    position: absolute;
    right: 20px;
    top: 60px;
    border-radius: 5px;
    width: 200px;
    text-align: left;
  }

  .flow-main-nav a {
    color: #fff;
  }
  
  .flow-main-nav a:hover {
    color: #d8a7b1;
  }
  }

   .flow-main-nav.active {
    display: flex;
  }

.clearfix::after {
  content: "";
  display: block;
  clear: both;
}



/* Worksページ　*/
 /* ハンバーガーアイコンは最初は非表示 */
.works-hamburger {
  display: none;
  font-size: 30px;
  cursor: pointer;
  color: #000;
}

/* メニューは最初は非表示に */
.works-main-nav {
  display: flex;
  gap: 36px;
  list-style: none;
  margin: 0;
  padding: 0;
}


  .works-main-nav a {
    color: #fff;
  }

  .works-main-nav .active {
    display: flex;
  }

.works-main-nav {
  display: flex;           /* 横並び */
  gap: 36px;               /* li同士の隙間 */
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: flex-end; /* 右寄せにする */
  flex: 1; /* ロゴとのスペースを確保する */
}


.works-main-nav a {
  color: #000;
  font-weight: 500;
  transition: all 0.3s ease;
}

.works-main-nav a:hover {
   color: #999;
}

@media (max-width: 768px) {
  .works-hamburger {
    display: block;
  }

  .works-main-nav {
    display: none;
    flex-direction: column;
    background-image: linear-gradient(to bottom, #905f6b, #d8a7b1);
    padding: 20px;
    position: absolute;
    right: 20px;
    top: 60px;
    border-radius: 5px;
    width: 200px;
    text-align: left;
  }

  .works-main-nav a {
    color: #fff;
  }
  
  .works-main-nav a:hover {
    color: #d8a7b1;
  }
  }

   .works-main-nav.active {
    display: flex;
  }

.clearfix::after {
  content: "";
  display: block;
  clear: both;
}





/* Aboutページ　ホバー色の変更　*/
.page-about .flow-main-nav a:hover {
   color: #d8a7b1;
}




/* ヒーローセクション */
.hero {
  background-image:
   url(../images/haikei.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  color: #fff;
  min-height: 300px;
}

.hero-inner {
  text-align: center;
}

.hero-inner h3 {
  color: #fff;
}

.hero img {
 margin: 0 auto;
 max-height: 800px;
}

.btn-group {
  text-align: center;
  margin-top: -4rem;
  padding-bottom: 2rem;
}

.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: 30px;
  font-weight: bold;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  margin: 10px 10px;
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-dark {
  background: #905f6b;
  color: #fff;
  width: 120px;
  text-align: center;
}

.btn-dark:hover {
  background: #c17b87;
}

.btn-light {
  background: #fff;
  color: #905f6b;
  border: 2px solid #905f6b;
  width: 120px;
  text-align: center;
}

.btn-light:hover {
  background: #f5f5f5;
}

/* About */
.about {
  background-color: #f8f4ef;
  padding: 2rem 0;
}

.about-flex {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap; /* レスポンシブ対応 */
  align-items: center;
  gap: 1rem;
  margin: 5% 10%;
}

.about-text {
  flex: 1;
}

.about-container {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center; /* 中央揃えのカギ */

}

@media (max-width: 768px) {
  .profile-img {
    max-width: 100%;
    height: auto;
    display: block;
    max-width: 200px;
    margin: 0 auto;
}
}

.skills span {
  display: inline-block;
  background: #fff;
  border-radius: 20px;
  padding: 6px 12px;
  margin: 6px 6px 0 0;
  font-size: 0.85rem;
  border: 1px solid #fff;
}

.about-btn {
    margin: 1rem;
}

/* Works */
.works {
  background: #f1d9db;
  text-align: center;
  padding: 2%;
}

.works-grid {
  display: flex;
  justify-content: space-around;
  flex-wrap: nowrap;
  gap: 2%;
  margin-bottom: 2rem;
}

.work-item {
  border-radius: 10%;
  padding: 5px;
}

.item-p {
  font-size: 1.1rem;
}

@media (max-width: 768px) {
  .item-p {
    font-size: 0.8rem;
  }
}

/* Flow */
.flow {
  background: #f8f5f5;
  text-align: center;
  padding: 0.5rem;
}

.flow-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.icon {
  margin: 0 auto 15px;
  padding-top: 15px;
  width: 80%;
}

.step-a { background-color: #e2b1be; }
.step-b { background-color: #c17b87; }
.step-c { background-color: #a0546a; }
.step-d { background-color: #8c3b4f; }

.flow-steps p {
  margin-top: 0.5rem;
  font-size: 1.1rem;
  color: #fff;
}

.arrow {
  margin: -1px;
  width: 20px;
}

@media (max-width: 768px) {
  .arrow {
    display: none;
  }
  .flow-steps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}


/* Aboutページ　*/
.about-page {
  padding: 1rem 1rem;
}

.watashi {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap; /* レスポンシブ対応 */
  align-items: center;
  text-align: center;
  gap: 1rem;
  margin: 5% 15%;
}

.watashi img {
   max-width: 300px;
   display: inline-block;
}

.watashi p {
  color: #905f6b;
  font-size: 1rem;
  margin-top: -3rem;
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-weight: 100;
  text-align: center;
}

.about-section {
  margin-top: -3rem;
  padding: 0 20%;
}

@media (max-width: 768px) {
 .about-section {
  margin-top: 0;
  padding: 0 5%;
}
}

.about-h p {
  font-size: 28px;
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-weight: 100;
  color: #905f6b;
}

.about-p p {
  font-size: 0.8rem;
  font-family: "Gothic A1", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.skills-section {
  margin: 100px 0;
  padding: 0 10%;
  display: flex;
  flex-direction: column; 
  gap: 60px;
}

.skill-block {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.circle-1 {
  width: 120px;
  height: 120px;
  background-color: #905f6b;
  border-radius: 50%;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 500;
  font-size: 1rem;
}

.circle-2 {
  width: 120px;
  height: 120px;
  background-color: #d8a7b1;
  border-radius: 50%;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 500;
  font-size: 1rem;
}

.skill-list {
  width: 70%;
}

.skill-list span {
  display: inline-block;
  background: #fff;
  border-radius: 20px;
  padding: 6px 12px;
  margin: 6px 6px 0 0;
  font-size: 0.85rem;
  border: 1px solid #fff;
}

@media (max-width: 768px) {
  .skill-block {
    flex-direction: column;
    align-items: center; /* ← ブロック内の要素を中央に */
    text-align: center;
  }

  .circle {
    margin-bottom: 10px;
  }

  .skill-list {
    justify-content: center;
  }
}

/* Flowページ　*/
.flow-page {
  background-color: #905f6b;
  color: #fff;
  padding: 60px 20px;
  text-align: center;
}

.flow-page h3 {
  color: #fff;
  margin-top: 0;
}

.flow-page .subtitle {
  font-size: 1rem;
  margin-top: -3rem;
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-weight: 100;
}

.flow-page h4 {
  color: #905f6b;
  font-size: 28px;
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-weight: 100;
}

.flow-page .description {
  margin-top: 1rem;
  font-size: 0.95rem;
  line-height: 1.8;
}

.flow-step {
  margin-top: 3rem;
}

.step {
  background: #fff;
  color: #4d2c33;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 10%;
  margin: 0 auto 2rem;
  min-height: 260px;
  border-radius: 20px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  flex-wrap: wrap;
  gap: 20px;
}

.step-left {
  max-width: 70%;
}

.step-right {
  max-width: 30%;
}

@media (max-width: 850px) {
  .step {
    flex-direction: column;
    text-align: center;
  }

  .step-left {
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
  }

  .step-right {
    width: 100%;
    text-align: center;
    margin-top: 20px;
  }

  .step-right img {
    width: 60%;
    display: block;
    margin: 0 auto;
  }
}

.step-left {
  flex: 1;
  min-width: 250px;
  text-align: left;
}

.step-number {
  font-size: 1.5rem;
  color: #874c5c;
  font-weight: bold;
}

.step-title {
  font-size: 1.2rem;
  margin: 0.5rem 0;
  color: #874c5c;
}

.step-text {
  font-size: 0.95rem;
  line-height: 1.8;

}

.step-right img {
  width: 140px;
  height: auto;
  margin-left: 30px;
}


/* レスポンシブ */
@media (max-width: 768px) {
  .step {
    flex-direction: column;
    text-align: left;
  }

  .step-right img {
    margin: 20px auto 0;
  }

  .step-left {
    text-align: left;
  }

  .flow h2,
  .flow .subtitle,
  .flow .description {
    text-align: center;
  }
}

/* Worksページ　*/
/* WORKSセクション全体 */
.page-works {
  background-color: #f8f4ef;
  text-align: center;
}

.works-title {
  color: #333333
}

/* グリッドレイアウト */
.works-grids {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(345px, 1fr));
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
  padding-bottom: 6rem;
}

/* 各カード */
.work-card {
  padding: 20px;
}

.work-card a:hover img {
  transition: transform 0.3s ease;
  transform: scale(0.95);
}

.work-card a {
  cursor: pointer;
}

.work-title {
  font-size: 1.1rem;
  margin: 15px 0 10px;
  color: #333;
  font-weight: bold;
}

/* タグ */
.work-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.work-tags span {
  background-color: #fff;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  color: #555;
}


/* Works1ページ */
.page-works1 {
  font-family: 'Noto Sans JP', sans-serif;
  background: #f8f4ef;;
  color: #333;
  line-height: 1.7;
}

.works1-page h2 {
  color: #333;
  height: 2rem;
  font-size: 36px;
  text-align: center;
}

.works1-page img {
  display: block;
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
}

.description {
  text-align: center;
  padding: 0 2rem;
  margin: -2rem auto 2.5rem;
}

.info-boxes {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem 2rem;
  max-width: 900px;
  margin: 0 auto;  /* セクションを中央に配置*/
}

.box {
  display: flex;
  gap: 2rem;
  background: #253d42;
  border-radius: 20px;
  color: #fff;
  padding: 1rem 5%;
  text-align: left;
}

.label {
  width: 100px;
  flex-shrink: 0;
}

.contents {
  flex: 1;
}

.contents p {
 font-weight: 300;
}

.contents li {
   font-weight: 300;
}


@media (max-width: 768px) {
  .box {
    display: flex;
    flex-direction: column;
    gap: 0;
}
}

.mockups {
  display: flex;
  justify-content: center; /* 中央寄せ*/
  align-items: flex-start;
  gap: 1.5rem;
  margin: 2rem auto;
  max-width: 900px;
}

.mockups img {
  width: 30%;
  height: auto;
}

@media (max-width: 768px) {
  .mockups {
    display: flex;
    flex-direction: column;
  }

  .mockups img {
    width: 80%;
  }
}


/* Contact */
.contact {
  background: #f6e9eb;
  text-align: center;
  padding: 2rem;
}

.contact-info {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: nowrap;
  color: #905f6b;
}

.contact-info p {
  font-family: "Roboto Flex", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.contact-info img {
  width: 160px;
  height: 160px;
  object-fit: contain;
  display: block;
}

.line {
  width: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.mail {
  width: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .line {
    width: 40%;
  }
   .mail {
    width: 40%;
  }
  .contact-info p {
    font-size: small;
  }
}


.line img:hover {
  filter: brightness(0) saturate(100%) invert(54%) sepia(64%) saturate(267%) hue-rotate(300deg) brightness(90%) contrast(81%);
  transition: all 0.3s ease;
}

.mail img:hover {
  filter: brightness(0) saturate(100%) invert(54%) sepia(64%) saturate(267%) hue-rotate(300deg) brightness(90%) contrast(81%);
  transition: all 0.3s ease;
}

.contact-note {
  font-size: 0.9rem;
  color: #333;
}

/* フッター */
.footer {
  background: #b3b3b3;
  color: #fff;
  text-align: center;
  font-size: 0.85rem;
  padding: 10px 20px;
}


.footer a:hover {
  color: #905f6b;
}

.footer-nav {
  list-style: none;
  padding: 0;
  margin-bottom: 10px;
  display: flex;
  justify-content: center;
  gap: 20px;
}


.footer-nav li a {
  color: #fff;
}

.copy {
  text-align: center;
}

@media (max-width: 768px) {
  .footer-nav {
    flex-direction: column;
    gap: 10px;
  }
}

/* レスポンシブ */
@media (max-width: 768px) {
  .main-nav {
    float: none;
    text-align: center;
    margin-top: 10px;
  }

  .main-nav li {
    display: block;
    margin: 10px 0;
  }


  .about-flex {
    flex-direction: column;
  }


  .work-item,
  .step {
    width: 80%;
  }
}

@media (max-width: 768px) {
  .watashi {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .watashi img {
    max-width: 60%;
  }
}
