body {
  background-color: #f8f7f2;
  color: #333;
  font-family: "Roboto", sans-serif;
  text-align: center;
  text-transform: uppercase;
}

/* 左右に固定で24px余白 */
.wrapper {
  margin: 10px 24px;
}

h2 {
  font-size: 2em;
  margin-top: ;
}

h3 {
  margin: 40px;
  font-size: 1.5em;
}

h4 {
  font-size: 1.3em;
  margin:16px;
}

h5{
  font-size: 1.2rem;
  margin: 16px;
}
p {
  line-height: 28px;
  letter-spacing: 0.05em;
}

/* ヘッダーのロゴ */
#header {
  /* background-color: pink; */
  margin: 50px;
  text-align: center;
}

#header .logo {
  /* background-color: pink; */
  text-align: center;
}

#header .logo img {
  /* background-color: pink; */
  width: 58px;
  height: auto;
}

#header .home-btn {
  position: fixed;
  top: 120px;
  right: 50px;
}

#header .circle {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: solid 1px #a7a4a4;
  left: 400px;
}

#header .circle a {
  font-size: 10px;
  color: #333;
  display: block;
  text-decoration: none;
  text-transform: uppercase;
  text-align: center;
  /* homebtnの押せる位置を広げた！ */
  line-height: 60px;
  transition: 0.3s ease-in-out;
}

#header .circle a:hover {
  color: #a7a4a4;
}
/* パンくず */
.breadcrumb {
  display: flex;
  margin-left: 10px;
  margin-bottom: 24px;
  font-size: 0.5em;
  gap: 8px;
  color: #666;
}

.breadcrumb a {
  color: #666;
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb span {
  color: #666;
  display: inline-block;
  vertical-align: middle; /* or baselineでもOK */
  position: relative;
}

.breadcrumb .ja {
  top: -2px;
  /* 上に少し持ち上げる */
}

.breadcrumb a::after {
  content: "";
  margin-left: 8px;
}
.breadcrumb a:last-of-type::after {
  content: ""; /* 最後は矢印消す */
}

/* ここからメイン */

.works {
  padding: 0 24px;
}

.works .discription {
  text-transform: capitalize;
}

.left {
  text-align: left;
}
.small {
  font-size: 0.7rem;
  color: #5f5f5f;
  text-transform: capitalize;
}
.big {
  font-size: 1.3rem;
  font-weight: 300;
}
.head {
  text-transform: capitalize;
}
.border {
  border-bottom: 1px solid #d1d0d0;
}

.works-img img {
  margin: 24px;
  width: 200px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  box-shadow: 3px 5px 10px -8px #333;
}

.color-chart img {
  width: 200px;
}

.works .message p {
  letter-spacing: 0;
}

footer {
  margin-top: 30px;
  background-color: #333;
  padding: 0.8rem;
}

footer p {
  margin: 0;
  font-size: 0.6rem;
  font-weight: 100;
  text-align: center;
}

footer p a {
  transition: all 0.4s ease-in-out;
  text-decoration: none;
  color: #f8f5f2;
}

footer p a:hover {
  color: #c9c9c9;
}

/* バーガースポット */

.burger-title {
  /* background-color: pink; */
  margin: 40px 0 0;
}
.title-add {
  /* background-color: pink; */
  font-size: 0.8em;
}

/* 夜カフェバナー、マイロゴ*/

.yorucafe-before {
  margin: 30px 0;
  position: relative;
  border-radius: 30px;
}
.yorucafe-before {
  background-color: rgba(33, 33, 33, 0.1);
  padding: 20px;
}

.yorucafe-before .before {
  width: 20%;
  text-align: center;
  color: #333;
  background-color: #f8f7f2;
  font-size: 10px;
  border: 1px solid #333;
  border-radius: 30px;
  position: absolute;
  top: 10px;
  left: 45px;
  z-index: 20;
}
.yorucafe-before img {
  max-width: 40%;
  z-index: 10;
}

.works .lunel-img img {
  width: 30%;
}

.lunel-matter {
  font-size: 0.8rem;
  text-align: center;
}

.lunel-matter h4 {
  margin: 20px 0;
}

.lunel-bc {
  padding: 10px;
  border-bottom: dotted 5px #d1d0d0;
}

.lunel-bc img {
  margin: 10px;
  width: 70%;
}

.lunel-matter2 {
  padding: 1rem;
  display: flex;
  gap: 10px;
  border-bottom: dotted 5px #d1d0d0;
  line-height: 100px;
}

.lunel-matter2-img {
  width: 30%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lunel-matter2-img img {
  width: 100%;
}
.lunel-matter2-discription {
  width: 70%;
  align-items: center;
  justify-content: center;
  display: flex;
  flex-direction: column;
}
.lunel-matter2-discription p {
  line-height: 1.2rem;
}

.lunel-matter2-discription a {
  text-decoration: none;
  border-bottom: solid 1px #333;
  line-height: 2rem;
  color: #333;
  transition: all 0.8s ease-in-out;
}
.lunel-matter2-discription a:hover {
  color: #5f5f5f;
}

/* 蛍光マーカー */
.highlight-yellow {
  background: linear-gradient(transparent 50%, #fff390 50%);
}
.highlight-lightblue {
  background: linear-gradient(transparent 50%, #90eeff 50%);
}
.highlight-pink {
  background: linear-gradient(transparent 50%, #ffcaeb 50%);
}
.highlight-green {
  background: linear-gradient(transparent 50%, #cdff90 50%);
}
.highlight-brown {
  background: linear-gradient(transparent 50%, #a18165 50%);
}
.highlight-beige {
  background: linear-gradient(transparent 50%, #feedcd 50%);
}

/* MY-PORTFOLIO */
.about-ai {
  text-transform: capitalize;
  margin: 0 auto;
  font-size: 0.9rem;
  margin-top: 30px;
  padding: 10px;
  background-color: rgba(33, 33, 33, 0.1);
  border-radius: 30px;
}

.about-ai .kodawari {
  background-color: pink;
  text-align: left;
}

.about-ai p {
  letter-spacing: 0.1em;
}

.about-ai .under-line {
  text-decoration: underline;
}

/* stellabase */
.about-stellabase p {
  font-weight: bold;
  margin-bottom: 1em;
}
.about-stellabase .left {
  font-weight: normal;
}

.stellasite-btn {
  margin: 24px 0;
  font-size: 0.8em;
  display: inline-block; /* ← これ忘れずに！ */
  color: #333;
  padding: 1em 0.5em;
  border-radius: 30px;
  text-align: center;
  border: 1px solid #333;
  width: 80%;
  text-decoration: none;
  transition: 0.3s ease-in-out;
}

.stellasite-btn:hover {
  color: #a7a4a4;
}

.stellasite-btn-wrap > .stellasite-btn {
  margin: 10px 0 0;
}

.text-add {
  color: #5f5f5f;
  font-size: 0.8em;
}

.works-about2 h4 {
  
  text-align: center;
  padding: 50px 0 30px;
  border-top: 5px dotted #d1d0d0;
}

.works-about2 .about2-discription {
  margin-bottom: 20px;
  padding: 0 0 20px;
}
.works-about2 .about2-discription p {
  text-transform: capitalize;
}


.works-about2 .about2-discription img {
  width: 100%;
  height: 80%;
}

.works-about2 .arrow {
  width: 5px;
  height: 50px;
  margin: 10px auto;
  border-left: 1px solid #333;
}

.works-about2 .step {
  margin: 0 auto;
  width: 80px;
  height: 80px;
  border: 1px solid #333;
  font-size: 1rem;
  font-weight: 300;
  display: flex;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.works-about2 .flow-discription {
  margin-top: 20px;
}


.flow-discription.border{
  border: none;
}

.works-about2 .hansei h4{
 font-size: 1rem;
 padding: 24px 0 0;
}
.works-about2 .hansei .left{
  margin-bottom: 1rem;
  font-size: .8rem;
  padding-bottom: 10px;
}
.carousel {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 30px auto;
  overflow: hidden;
}

.carousel-inner {
  display: flex;
  transition: transform 0.5s ease;
}

.slide {
  min-width: 100%;
}

.slide img {
  width: 100%;          /* 横幅はカルーセルいっぱい */
}


/* 矢印 */
.prev, .next {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.3 );
  border: none;
  border-radius: 50%;
  font-size: .6rem;
  cursor: pointer;
  padding: 7px 9px;
  color: #707070;
}
.prev { left: 5px; }
.next { right: 5px; }

/* インジケーター */
.indicators {
  text-align: center;
  margin: 10px 0 14px;
}
.dot {
  font-size: 1.5rem;
  color: #707070;
  cursor: pointer;
  margin: 0 5px;
}
.dot.active {
  color: pink;
}

@media screen and (width>=700px) {
  h2 {
    font-size: 56px;
  }

.burger-title{
  margin-top: 60px;
}

  h3 {
    font-size: 38px;
  }

  h4{
      margin: 50px 0 16px;
  }

  #header {
    /* background-color: pink; */
    margin: 0;
  }

  #header .logo {
    display: flex;
    justify-content: flex-start;
  }

  #header .logo img {
    /* background-color: lightblue; */
    width: 140px;
    height: auto;
  }

  #header .circle {
    width: 90px;
    height: 90px;
    border: solid 1px #a7a4a4;
  }

  #header .circle a {
    font-size: 16px;
  }

  .breadcrumb {
    font-size: 0.8em;
  }

  main {
    margin-top: -50px;
  }

  .title-ja {
    font-size: 1.2em;
  }

  .title-add {
    /* background-color: pink; */
    margin-bottom: 50px;
  }

  .pc {
    display: flex;
    gap: 100px;
  }

  .yorucafe-before {
    margin: 50px 0;
  }
  .yorucafe-before .before {
    font-size: 16px;
    left: 80px;
  }
  .works img {
    width: 500px;
  }

  .about-ai {
    text-transform: capitalize;
    margin: 0 auto;
    width: 50%;
    font-size: 0.9rem;
    margin-top: 30px;
    padding: 10px;
    background-color: rgba(33, 33, 33, 0.1);
    border-radius: 30px;
  }

  .about-ai .kodawari {
    background-color: pink;
    text-align: left;
  }

  .about-ai p {
    letter-spacing: 0.1em;
  }

  .about-ai .under-line {
    text-decoration: underline;
  }

  .stellasite-btn {
    width: 50%;
  }

  .lunel-matter {
    font-size: 1rem;
  }

  .lunel-bc-discription {
    margin: 50px;
    text-align: center;
  }

  .lunel-matter2 {
    padding: 20px;
  }

  .works-about2 {
    text-align: left;
  }

  .works-about2 .flow-item {
    margin: 0 100px;
    gap: 10px;
  }

  .works-about2 .flow-item .border {
    width: 80%;
  }

  .works-about2 .flow-discription {
    display: flex;
    align-items: center;
    margin: 0;
  }
  .works-about2 .arrow {
    margin: 0 187px 0;
  }

  .works-about2 .step {
    width: 120px;
    height: 120px;

    margin: 0 30px 0;
    flex-shrink: 0;
  }
  .works-about2 .hansei h4{
 font-size: 1.2rem;
}
.works-about2 .hansei .left{
  font-size: .9rem;
}

.works-carousel {
  gap: 15px;
  }

.carousel {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 50px auto;  /* 画像の中央を基準に */
}

.slide{
  width: 100%;
}
.slide img{
  object-fit: contain;    /* 画像をトリミングして枠に合わせる */
}
.indicators {
  text-align: center;
margin-bottom: 0;
}

.prev, .next {
  top: 44%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #707070;
 background-color: rgba(128, 128, 128, 0.1); 
}
}