@charset "utf-8";

.link-list.ol {
  height: 100dvh;
}

@media (min-width:1000px) {

  .link-list.ol{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    place-items: center;
    width: 50%;
    height: 30dvh;
    margin: 0 auto 20dvh auto;
  }
  
}

.main-inner.fp>h3 {
  margin-top: calc(var(--margin-l)*2);
}


/* サービス内容 */

.service-wrapper {
  display: flex;
  flex-direction: column;
  width: 80%;
  margin: 0 auto;
  gap: var(--margin-m);
}

@media (min-width:1000px) {

  .service-wrapper{
    flex-direction: row;
    justify-content: space-between;
  }
  
}

/* 制作の流れ */

.flow-wrapper {
  display: flex;
  align-items: center;
  position: relative;
  overflow-x: auto;
  /* 横方向だけスクロールを許可 */
  overflow-y: hidden;
  padding-left: calc(100dvw*0.1);
  height: 195px;
  scrollbar-width: 0;
  scrollbar-color: var(--color-light);
}

@media (min-width:1000px) {

  .flow-wrapper{
    overflow-y: auto;
    height: auto;
    padding-left: 0;
  }
  
}

.flow-wrapper::-webkit-scrollbar {
  height: 0;
  /* 横スクロールバーの高さを0にする */
  /* または display:none; でもOK */
}

/* FLOW-list */

.flow-list {
  display: flex;
  flex-direction: row;
  gap: 63px;
  min-width: 1275px;
}

@media (min-width:1000px) {

  .flow-list{
    flex-direction: column;
    min-width: auto;
    margin: 0 auto;
    width: 50%;
  }
  
}

.flow-list-item {
  width: 200px;
  height: 150px;
}

.flow-list-item:last-child {
  padding-right: calc(100dvw*0.1);
}

@media (min-width:1000px) {

  .flow-list-item:last-child{
    padding-right: 0;
  }

  .flow-list-item:nth-child(even){
    align-self: flex-end;
  }
  
}

.flow-list-title-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  color: var(--color-accent);
  padding-top: var(--margin-xs);
  padding-bottom: var(--margin-xs);


}

.flow-list-title-step {
  display: flex;
  flex-direction: column;
  line-height: var(--fs-m);
}

.step-num {
  font-size: var(--fs-xl);
}

.step {
  font-size: var(--fs-m);
}

/* FLOW-SVG */
.flow-svg-sp {
  position: absolute;
  top: 0;
  width: 1275px;
  min-width: 1275px;
  height: 195px;
}

.flow-svg-pc {
  display: none;
}

.flow-path-sp,
.flow-path-pc {
  stroke: var(--color-accent);
}

@media (min-width:1000px) {

  .flow-svg-sp{
    display: none;
  }

  .flow-svg-pc{
    display: block;
    position: absolute;
    top: 0;
    right: 50%;
    transform: translateX(-50%);
  }
  
}

/* 料金目安 */
.fp-section-wrapper>p {
  width: 80%;
  margin: 0 auto;
  margin-bottom: var(--margin-m);
}

.fp-section-wrapper>p>a{
  display: inline-block;
  color: var(--color-accent);
  font-size: var(--fs-m);
  padding-right: 3px;
}

/* アコーディオン */

.acc-list {
  display: flex;
  flex-direction: column;
  gap: var(--margin-m);
  width: 80%;
  margin: 0 auto;
}

@media (min-width:1000px) {

  .acc-list{
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;  /* ★これを追加 */
    gap: auto;

  }
  
}

.acc-item {
  background-color: var(--color-acc-bg);
  border-radius: 5px;
  border: 1px solid var(--color-accent);
}

@media (min-width:1000px) {

  .acc-item{
    width: 33%;
  }
  
}



.acc-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: var(--margin-xs);
  width: 100%;
  padding: var(--margin-m);
  cursor: pointer;
}

.acc-title {
  font-size: var(--fs-m);
  color: var(--color-accent);
}

.acc-date {
  font-size: var(--fs-xs);
}

.acc-detail {
  overflow: hidden;
}

@media (min-width:1000px) {

  .acc-detail{
    width: 80%;
  }
  
}

.acc-detail>.section-wrapper:first-child {
  margin-top: var(--margin-m);
}

.acc-detail>p {
  margin-top: var(--margin-m);
}

/* アコーディオンの中身は hidden のときは絶対表示しない */
.acc-detail[hidden] {
  display: none !important;
  height: 0;
  margin-top: 0;
  padding-top: 0;
}

.section-list.price>li:last-child {
  font-weight: var(--font-weight-b);
  color: var(--color-accent);
}

@media (min-width:1000px) {

  .acc-detail{
    margin-bottom: var(--margin-m);
  }
  
}


/* キャンセルポリシー */

.cansel-list {
  display: flex;
  flex-direction: column;
  gap: var(--margin-xs);
  width: 80%;
  margin: 0 auto;
}

.cansel-list-item{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: var(--margin-m);
}

/* アコーディオン内レイアウト調整（Safari 対策も兼ねて） */
.acc-detail .section-wrapper {
  align-items: flex-start;      /* 子要素を縦方向に引き伸ばさない */
}

/* 線だけはこれまで通り縦いっぱいに伸ばしたい */
.acc-detail .section-wrapper .section-liner {
  align-self: stretch;
}