/* =============================================
   既存スタイル（変更なし）
============================================= */

.works-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 160px 50px 0 50px;
}

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

h1 {
  margin: 0;
}

.works {
  max-width: 1200px;
  text-align: center;
  margin: 0 auto;
  padding-top: 200px;
}

.hero-banner img {
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
  padding-bottom: 40px;
}

@media screen and (max-width: 430px) {
  .hero-banner img {
    max-width: 360px;
    width: 100%;
  }
}

.works-description {
  max-width: 1600px;
  margin: 0 auto;
  font-family: 'Zen Kaku Gothic Antique';
  padding: 0 35px;
}

.works-meta {
  margin: 0 auto 1.5rem;
  border-bottom: 1px solid #707070;
  padding-bottom: 1.5rem;
}

.works-meta p {
  font-family: 'Cormorant';
  padding: 0 35px;
  font-size: 17px;
}

.works-meta small {
  display: block;
  margin-top: 0.3rem;
  font-family: 'Cormorant';
}

.works_button {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 320px;
  margin: 40px auto;
  padding: .9em 2em;
  border: 1px solid #2F2F2F;
  border-radius: 34px;
  background-color: #ffffff;
  font-size: 1em;
  font-family: 'Zen Kaku Gothic Antique';
  transition: background-color 0.6s ease;
  cursor: pointer;
}

a .works_button {
  color: #2F2F2F;
  transition: color 0.6s ease;
  text-decoration: none;
  display: flex;
  align-items: center;
}

.works_button:hover {
  background-color: #2F2F2F;
  color: #fff;
}

.works_button::after {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  margin-left: 10px;
  border-top: 2px solid #2F2F2F;
  border-right: 2px solid #2F2F2F;
  transform: rotate(45deg);
  transition: border-color 0.6s ease;
}

.works_button:hover::after {
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
}

.btn-wrap {
  text-align: center;
  margin: 0 auto 160px auto;
}

@media screen and (max-width: 430px) {
  .btn-wrap {
    margin-bottom: 80px;
  }
}

.arrow-link-underline {
  position: relative;
  display: inline-block;
  padding: 0 2em .6em .5em;
  text-decoration: none;
  color: #2F2F2F;
}

.arrow-link-underline::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 10px;
  border-bottom: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: skewX(50deg) translateX(0);
  transition: transform .3s ease;
}

.arrow-link-underline:hover::before,
.arrow-link-underline:focus-visible::before {
  transform: skewX(50deg) translateX(10%);
}

.pc-only { display: block; }
.sp-only { display: none; }

@media screen and (max-width: 430px) {
  .works-container {
    margin:140px 35px 80px 35px;
    padding: 0;
  }

  .works_button {
    margin: 40px 35px;
    max-width: 280px;
    width: 100%;
  }

  .works {
    margin-top: 180px;
    padding-top: 0;
  }

  .eng_works {
    font-size: 68px;
    text-align: center;
    margin-bottom: 20px;
    padding-top: 0;
  }

  .pc-only { display: none; }
  .sp-only { display: block; }
}


/* =============================================
   追記：My Role / Work Flow / パスワードセクション
============================================= */

/* BREADCRUMB */
.breadcrumb {
  font-size: 0.72rem;
  color: #888;
  font-family: 'Zen Kaku Gothic Antique', sans-serif;
  font-weight: 400;
  margin-bottom: 1.5rem;
}

/* INTRO */
.intro {
  font-family: 'Zen Kaku Gothic Antique', sans-serif;
  font-size: 0.88rem;
  line-height: 2;
  color: #1a1a1a;
  margin-bottom: 3rem;
}

/* SECTION */
.section {
  padding: 0;
  margin-bottom: 1.5rem;
}

.section--flow-header {
  margin-top: 2.5rem;
}

.section-title {
  font-family: 'Cormorant', Georgia, serif;
  font-size: 1.7rem;
  font-weight: 400;
  color: #1a1a1a;
  margin-bottom: 0.75rem;
}

.section-divider {
  height: 1px;
  background: #ddd;
  margin-bottom: 1.5rem;
}

/* ROLE GRID */
.role-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.role-card {
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 1rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.role-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  color: #1a1a1a;
}

.role-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.role-name {
  font-size: 0.88rem;
  font-weight: 500;
  color: #1a1a1a;
  margin-bottom: 0.15rem;
  font-family: 'Zen Kaku Gothic Antique', sans-serif;
}

.role-sub {
  font-size: 0.7rem;
  color: #888;
  font-family: 'Zen Kaku Gothic Antique', sans-serif;
}

@media screen and (max-width: 430px) {
  .role-grid {
    grid-template-columns: 1fr;
  }
}

/* WORK FLOW */
.flow-section {
  margin-bottom: 3rem;
}

.flow-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 160px;
}

.flow-circle {
 /*width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 1.5px solid #b8a898;*/
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.flow-circle-name {
  font-family: 'Cormorant', Georgia, serif;
  font-size: 1.25rem;
  font-style: italic;
  font-weight: 400;
  color: #c4aa90;
  line-height: 1;
}

.flow-arrow {
  font-size: 2rem;
  color: #888;
  align-self: center;
  margin: 0 2rem;
  padding-bottom: 2rem;
}

.flow-caption {
  margin-top: 0.85rem;
  text-align: center;
  font-family: 'Zen Kaku Gothic Antique', sans-serif;
  font-size: 0.7rem;
  color: #888;
  line-height: 1.8;
}

@media screen and (max-width: 430px) {
  .flow-steps {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .flow-arrow {
    transform: rotate(90deg);
    padding-bottom: 0;
    margin: 0;
  }
}

/* PASSWORD SECTION */
.pw-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 3rem 3.5rem;
  margin-bottom: 140px;
  background-image: url(../img/pdf_bg.png);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  padding: auto 120px;
  border-radius: 13px;
}

@media screen and (max-width: 430px) {
.pw-section {
  margin-bottom: 0px;
}
}


.pw-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(100, 110, 120, 0.65);
}

.pw-text {
  position: relative;
  z-index: 1;
  color: #fff;
  font-family: 'Zen Kaku Gothic Antique', sans-serif;
}

.pw-text p {
  font-size: 0.78rem;
  line-height: 1.9;
  color: #fff;
}

.pw-btn {
  position: relative;
  z-index: 1;
  display: inline-block;
  border: 1.5px solid #fff;
  border-radius: 999px;
  padding: 0.8rem 2rem;
  color: #fff;
  font-family: 'Zen Kaku Gothic Antique', sans-serif;
  font-size: 0.8rem;
  text-decoration: none;
  white-space: nowrap;
  background: transparent;
  transition: background 0.2s;
}

.pw-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

@media screen and (max-width: 430px) {
  .pw-section {
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem 1.5rem;
  }
}
