*,
*::before,
*::after {
  box-sizing: border-box;
}
html, body {
  overflow-x: hidden;
}


html {
  font-size: 18px;
}
body {
  margin: 0;
  font-family: 'Hiragino Kaku', 'Gothic ProN', 'Noto Sans JP', 'Yu Gothic', 'sans-serif',;
  color: #222;
  background-image: url(../images/back/tidorigara2.png);
  line-height: 1.7;
  padding-top: 90px;
}

h1{
  padding-right: 10px;
  line-height: clamp(2.4rem, 6vw, 6.5rem) ;
  font-size: clamp(1.5rem, 5vw, 5rem);
  transform: translateX(80px);
}


 p, h2, h3,h4,h5,li{
  margin: 0;
    line-height:1.7;

}


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



/* ===== ファーストビュー ===== */
.hero {
  margin-top: -90px;
  padding-top: 0;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
      min-height: 90vh;
    justify-content: center;
        background: none;
  overflow: visible;
           z-index: 0;
         position: relative;
        }
.hero > * {
  position: relative;
  z-index: 1;
}
.hero::before{
  content:"";
  position:absolute;
  inset:0;
  background-image: url('https://pa-tu.work/storage/img/posts/651682bc9fa7e.jpg');
  background-size: cover;
  background-position: center;
  clip-path: polygon(100% 0, 100% 50%, 0% 85%, 0 100%, 0 0);
  z-index: 0;
}

/* うっすら黒フィルター */
.hero::after{
  content:"";
  position:absolute;
  inset:0;
  background: rgba(0,0,0,0.35); /* 0.3〜0.45で調整 */
  clip-path: polygon(100% 0, 100% 50%, 0% 85%, 0 100%, 0 0); /* 同じ形にする */
  z-index: 1;
}
.container {
    position: relative;
    gap: 1rem;
  width: 100%;
    z-index: 0;
    margin-top: 20px;
padding-top: 70px;
padding-left: 50px;
}



.hero h2 {
  font-size: clamp(2rem, 5vw, 4rem) ;
  font-weight:lighter;
  line-height: clamp(2.4rem, 5vw, 5.5rem) ;
  margin-top: 0px;
  padding-top: 10px;
}

.comment {
  text-align: center;
  font-size: 12px;
  color: #2a2a2a;
   padding-top:  10px;
      opacity: 0;
  animation: fadeIn 0.5s ease-out forwards; 

}
.accent {
  color: #ffb347; /* くすみオレンジ */
  font-weight: 700;
}
.introduce{
  z-index: 1;
  position: relative;
  margin-top: 150px;
  padding-top: 60px;
  text-align: center;
}

.introduce3 {
  font-size:clamp(1rem, 4vw, 1.5rem) ;
  margin: 0.5rem 0;
padding: 0;
  animation: fadeIn 0.5s ease-out forwards;
        opacity: 0;
  animation-delay: 0.5s;
}
.catchphrase{
margin: 0 auto;
    height: auto;
  text-align: center;
}

.catchphrase-container{
  margin:0 0 60px 0;
}

.catchphrase h2{
  font-size: 16px;
  color: #555555;
  margin-bottom: 10px;
}

.dope-container{
  display: inline-block;
  padding: 1.2rem;
  border-radius:12px;
  background: rgba(255,255,255,0.8);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

#top-catch{
  font-size: 1.2rem;
  display: inline;
  padding-bottom: 7px;
    background-image: linear-gradient(90deg, #b2d5de 0 20%, #dedede 20%);
    background-repeat: no-repeat;
    background-size: 100% 10%;
    background-position: bottom;
    color: #323232;
    font-weight: bold;
}




/* ===== メモ風デザイン ===== */
.note-list {
  margin: 20px auto;
 list-style: none;
  padding: 30px;
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* ← スマホ2列 */
  gap: 16px;
  justify-content: center;
    animation: 
    yura 4s ease-in-out infinite;
animation-delay:2.4s;
}

.notes h2{
  position: relative;
  display: inline-block;
  text-align: center;
    font-size: 1.2rem;
    padding: 10px 50px;
    margin-top: 60px;
  }
 .notes h2::before,
 .notes h2::after{
  content: '';
  position: absolute;
  top: 50%;
  display: inline-block;
  width: 40px;
  height: 1px;
  background-color: black;
}

 .notes h2::before{
  left:0;
}
 .notes h2::after{
  right: 0;
}
.note {
  width: 180px;
  padding: 20px;
  font-size: 0.9rem;
  line-height: 1.4;
  box-shadow:
    0 6px 12px rgba(0,0,0,0.15),
    0 2px 4px rgba(0,0,0,0.08);
  border-radius: 3px;
  transform: translateY(-10px) rotate(-2deg);
 
}
#note1{
   background: rgba(10, 45, 91, 0.55); 
 color:#ffffff;
  transform: rotate(-3deg)

}

#note2 {
 background: rgba(51, 88, 153, 0.55); 
 color:#ffffff; 
 transform:
  rotate(-1deg);

}
#note3 {
 background: rgba(64, 55, 145, 0.55); 
 color:#ffffff; 
 transform: rotate(1deg); 
}

#note4 {
 background:rgba(60, 60, 98, 0.55);
 color:#ffffff; 
 transform: rotate(3deg); 
}
@media (hover: hover) {
  .note {
    animation: none;
  }
}

.scroll-down {
opacity:50%;
  width: 30px;
  height: 30px;
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.9rem;
  color: #333;
  text-align: center;
}







.make {
  padding: 20px;
  text-align: center;
margin: 30px auto;

}

.make h2{
    text-align: left;
  color: #3c3c3c;
  font-size: 1.7rem;
  margin: 40px;
  font-weight: 500;
  text-transform: uppercase;
  position: relative;
  font-weight: 600;
}
.make h2::before{
    white-space: nowrap;
    position: absolute;
    top: -50px;
    left:-30px;
    color: #faf29b;
    font-size: 3rem;
    text-transform: uppercase;
    content: 'KANGAE';
    z-index: -1;
}

.make h3{
  font-size: 20px;
  margin-bottom: 20px;
}

.make-lead {
  font-size: 1rem;
  font-weight: 500;
  color: #555;
  margin-bottom: 40px;
}

.make-cards {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr; /* スマホ1列 */
  gap: 20px;
}

.make-card {
  background: rgba(255,255,255,0.8);
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.make-card h4 {
  font-size: 1.1rem;
  margin-bottom: 12px;
}
.make-card h4:first-letter {
  font-size: 2em;
  color: #7172ac;
}
.make-card p {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.6;
}

.make-card:nth-child(odd) {
  transform: rotate(-0.5deg);
}
.make-card:nth-child(even) {
  transform: rotate(0.5deg);
}


.do{
  background-image: url(../images/back/shell.jpg);
  background-position: left;
    position: relative;
    width: 100%;
    box-sizing: border-box;
    z-index: 0;
    padding: 1.7rem;
  
}
.do h3{
    font-size: 1.3rem;
  font-weight: 800;
line-height: 1.5;
  display: inline-block;
    position: relative;
    padding: 30px 20px;
    border-radius: 5px;
    border: 3px solid #333;
    color: #333;
    text-align: center;
      word-break: keep-all;
 
}


.do h3:before {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    height: 3px;
    width: 20px;
    background-color: #fff;
    content: "";
}

.do h3:after {
    position: absolute;
    top: 95%;
    left: 50%;
    transform: translateX(-50%);
    height: 20px;
    width: 2px;
    background-color: #333;
    content: "";
}

.dolist{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;

}

  .conteiner9-content {
    background: rgba(255,255,255,0.8);
    border-radius: 16px;
    padding: 28px 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 480px;
    width: 100%;
  flex: 1 1 420px;
  max-width: 480px;
  margin: 0;

    justify-content: center;
    word-wrap: break-word;
    border: 2px solid rgba(255, 255, 255, .3);
    background-clip: border-box;
    border: 1px solid #000000;
    border-radius: 0.5rem;
    backdrop-filter: blur(13px);
    -webkit-backdrop-filter: blur(13px);
    transition: .5s;
}

.conteiner9 h4{
 position: relative;
 display: flex;
 justify-content: center;
 align-items: center;
 flex-direction : column;
 margin-bottom: 2em;
}

.conteiner9 h4::before{
 content: '';
 position: absolute;
 display: inline-block;
 width: 1px;
 height: 20px;
 bottom: -30px;
 left: 50%;
 -webkit-transform: translateX(-50%);
 transform: translateX(-50%);
 background-color:currentColor !important;
 top:unset;
 border: unset;
 margin-left: unset;
 margin-right:unset;
}
.conteiner9-content:hover {
    box-shadow: 0 8px 5px 0 #646464;
}

.do h2{
    text-align: left;
  color: #3c3c3c;
  font-size: 1.7rem;
  margin: 40px;
  font-weight: 500;
  text-transform: uppercase;
  position: relative;
  font-weight: 600;
}
.do h2::before{
    white-space: nowrap;
    position: absolute;
    top: -50px;
    left:-30px;
    color: #faf29b;
    font-size: 3rem;
    text-transform: uppercase;
    content: 'DEKIRUKOTO';
    z-index: -1;
}

.do h3{
  font-size: 20px;
}

.do ul{
  font-size: 0.8rem;
}

.works {
  padding: 100px 20px;
  background: #f8f6f2;
}

.works-container {
  max-width: 1200px;
  margin: 0 auto;
}

.works h2{
    text-align: left;
  color: #3c3c3c;
  font-size: 1.7rem;
  margin: 40px;
  font-weight: 500;
  text-transform: uppercase;
  position: relative;
  font-weight: 600;
}
.works h2::before{
    white-space: nowrap;
    position: absolute;
    top: -50px;
    left:-30px;
    color: #faf29b;
    font-size: 3rem;
    text-transform: uppercase;
    content: 'DEKIRUKOTO';
    z-index: -1;
}


.works-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 50px;
  max-width: 1100px;
  margin: 20px auto 50px;
}
.works-image-wrap {
  position: relative;
  display: inline-block;
    padding: 20px auto;

}

.works-image-wrap img {
  width: 520px;
  max-width: 100%;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.pc-shot img {
  width: 100%;
  max-width: 520px;
  border-radius: 10px;
}

.sp-shot {
  position: absolute;
  right: -10px;
  bottom:-30px;
}

.sp-shot img {
  width: 150px;
}
.works-text {
  flex: 1;
  min-width: 280px;
}

.works-category {
  font-size: 14px;
  color: #999;
  margin-bottom: 10px;
}

.works-name {
  font-size: 26px;
  margin-bottom: 20px;
}

.works-description {
  line-height: 1.8;
  margin-bottom: 25px;
}

.works-btn {
  display: inline-block;
  padding: 12px 26px;
  background: #222;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  transition: 0.3s;
}

.works-btn:hover {
  background: #444;
}

