/*汎用クラス*/
.frex{
  display: flex;
}

.is-center{
  align-items: center;
}

.is-between {
  justify-content: space-between;
}

.mark-ol{
  background:linear-gradient(transparent 60%, rgb(240, 166, 70) 0%);
}

.mark-red{
  background:linear-gradient(transparent 60%, rgb(240, 70, 70) 0%);
}

.mark-yl{
  background:linear-gradient(transparent 80%, rgb(218, 233, 10) 0%);
}

.mark-bold {
  font-weight: bold;
}

.strong-yl{
  color: #e45656;
  font-size: 1.5em;
  /* text-shadow: 3px 3px 3px  #000000; */
}

.center-btn{
  text-align: center;
}

.center{
  text-align: center;
}

html {
  scroll-behavior: smooth;
}

/* スクロール関係 */
.scroll-container {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  width: 100%;
  height: 100px;
}

.scroll-wrapper {
  display: flex;
  position: absolute;
  white-space: nowrap;
}

.scroll-text {
  font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
  font-size: 6em;
  font-weight: bold;
  padding-right: 30px; /* テキスト間のスペース */
  color: #fff;
}

.scroll-text:nth-child(1){
    text-shadow: 1px 1px 0 #e65d91,1px -1px 0 #e65d91,-1px 1px 0 #e65d91,-1px -1px 0 #e65d91;}
.scroll-text:nth-child(2){
    text-shadow: 1px 1px 0 #e77c52,1px -1px 0 #e77c52,-1px 1px 0 #e77c52,-1px -1px 0 #e77c52;}
.scroll-text:nth-child(3){
    text-shadow: 1px 1px 0 #5798ec,1px -1px 0 #5798ec,-1px 1px 0 #5798ec,-1px -1px 0 #5798ec;}
.scroll-text:nth-child(4){
    text-shadow: 1px 1px 0 #57eca1,1px -1px 0 #57eca1,-1px 1px 0 #57eca1,-1px -1px 0 #57eca1;}

body{
  max-width: 1200px;
  margin: 40px auto;
  font-family: Arial, Helvetica, sans-serif;
  /* test */
  /* height: 12000px; */
}

h1{
  font-size: 2em;
  font-weight: bold;
  padding: 10px;
}

h2{
  font-size: 1.5em;
  font-weight: bold;
}

h3{
  font-size: 1em;
  font-weight: bold;
}

p {
  font-size: large;
  /* font-weight: bold; */
  padding: 10px;
}

/*エンド*/


/*アクションボタン*/
.action-btn a{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 58px;
  width: 300px;
  height: 58px;
  margin: 30px  auto 50px auto;
  color: #565656;
  font-size: 18px;
  font-weight: bold;
  border-radius: 10px;
  outline: solid 1px;
  text-align: center;
  background-color: #fff;
  transition-timing-function: ease-in;
  transition-duration: 0.4s;
}

.action-btn a i {
  margin-right: 10px; /* アイコンとテキストの間隔 */
  font-size: 20px;
}

.action-btn a:hover{
  color: #fff;
  background-color: #565656;
}

.btn-item{
  display: flex;
  justify-content: center;
  gap: 30px;
}

@media (max-width: 768px){
  .btn-item{
    flex-direction: column;
    justify-content: center;
    gap: 10px;
  }
}



.action-btn-sec a{
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 58px;
  width: 300px;
  height: 58px;
  margin: 30px  auto 50px auto;
  color: #565656;
  font-size: 18px;
  font-weight: bold;
  border-radius: 10px;
  outline: solid 1px;
  text-align: center;
  background-color: #fff;
  transition-timing-function: ease-in;
  transition-duration: 0.4s;
}

.action-btn-sec a i {
  margin-right: 10px; /* アイコンとテキストの間隔 */
  font-size: 20px;
}

.action-btn-sec a:hover{
  color: #fff;
  background-color: #565656;
}


/*シミュレーターボタン*/


/*アクションボタン*/
.sim-btn a{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 58px;
  width: 350px;
  height: 58px;
  margin: 10px  auto 10px auto;
  color: #ffffff;
  font-size: 18px;
  font-weight: bold;
  border-radius: 10px;
  outline: solid 1px;
  text-align: center;
  background-color: #32c8ee;
  transition-timing-function: ease-in;
  transition-duration: 0.4s;
}

.sim-btn a i {
  margin-right: 8px;
}


.sim-btn a:hover{
  color: #565656;
  background-color: #ffffff;
}

.sim-item{
  display: flex;
  justify-content: center;
  gap: 10px;
}


/*ボタン エンド*/

/*===========
header
=============*/

header .inner{
  height: 60px;
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
  background-color: rgb(255, 255, 255);
  
  position: fixed;  /* ← 画面上部に固定 */
  top: 0;  /* ← 上部からの距離 */
  left: 0;
  right: 0;
  z-index: 1000;  /* 他の要素の上に表示 */
  /* box-shadow: 0px 5px 0px 0px rgba(0, 0, 0, 0.1);  影をつけて視認性UP */
}

.main-logo{
  margin-right: auto;
}

.main-logo img{
  width: 150px;
}


/*===========
header end
=============*/


/*===========
main
=============*/

.main-block{
  width: 95%;
  margin: auto;
}

.merit{
  margin: 10px 0;
  /* background-color: #333; */
  text-align: center;
  padding: 10px 0;
}

.merit h1{
  font-size: 3em;
  font-weight: bold;
  color: #000000;
  padding: 10px 0 0 0;
  border-bottom: 4px solid #000;
  display: inline-block;
}

.merit h2{
  font-size: 3em;
  margin-top: 50px;
  font-weight: bold;
  color: #e45656;
}

.merit p{
  font-size: 1.5em;
  font-weight: bold;
  color: #000000;
}

/*480px以下の変更*/
@media (max-width: 480px) {
  .merit h1{
    font-size: 1.7em;
  }
  .merit h2{
    font-size: 2em;
  }
}

.movie-production{
  color: #000000;
  text-align: center;
}

.movie-production h4{
  font-size: 2em;
  font-weight: bold;
  margin: 60px 0 10px 0;
}
.movie-edit{
  color: #000000;
  text-align: center;
  margin-top: 30px;
}

.movie-edit h4{
  font-size: 2em;
  font-weight: bold;
  margin: 60px 0 10px 0;
}

.title{
  width: 100%;
  font-size: 2em;
  font-weight: bold;
  text-align: center;
  color: #fff;
  background: #e75190;
  margin-top: 100px;
  padding: 15px 0;
  border-radius: 30px;
  z-index: 5;
}

.word-area {
  margin: 30px 0;
  text-align: center;
}

.word-area h1 {
  color: #ec5757;
}

.word-area p {
  margin-top: 20px;
  font-size: x-large;
  text-align: left;
}

@media (max-width: 480px) {
  .word-area h1 {
    font-size: 1.5em;
  }
  .word-area h2 {
    font-size: 0.9em;
  }
  .word-area p {
    font-size: medium;
  }
}


/* ボックスレイアウト */
.box-container {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.box-container h1 {
  font-size: 25px;
  border-bottom: none;
  padding: 10px 0;
  text-shadow: 0 0 15px #fff;
  /* background:linear-gradient(transparent 80%, rgb(224, 163, 92) 0%); */
}
.box-container p {
  font-size: 16px;
  text-align: left;
  padding: 10px 0;
}

.m-box {
  width: calc(50% - 10px);
  max-width: 450px;
  min-height: 380px;
  margin: auto;
  padding: 20px;
  text-align: center;
  border-radius: 10px;
}

.m-box:nth-child(1) {
  background-image: url("https://editstation.jp/test/img/num01.png");
  background-position: center;
  background-color: #f18484; }
.m-box:nth-child(2) {
  background-image: url("https://editstation.jp/test/img/num02.png");
  background-position: center;
  background-color: #84f1f1; }
.m-box:nth-child(3) {
  background-image: url("https://editstation.jp/test/img/num03.png");
  background-position: center;
  background-color: #a7f184; }
.m-box:nth-child(4) {
  background-image: url("https://editstation.jp/test/img/num04.png");
  background-position: center;
  background-color: #d884f1; }

.m-box img {
  width: 80%;
  margin: auto;
  padding: 10px 0;
}

/*480px以下のメリットボックス*/
@media (max-width: 480px) {
  .m-box {
    width: 100%;
  }
}



/* 様々な媒体に対応css */
.container {
  max-width: 900px;
  margin: 50px auto;
  padding: 30px;
  background: rgb(240, 240, 240);
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
}
.section-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
}
.description {
  font-size: 16px;
  font-weight: bold;
  color: #555;
  margin-bottom: 25px;
}
.features {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  text-align: left;
}
.feature-column {
  width: 30%;
  /* margin-bottom: 15px; */
}
@media (max-width: 768px) {
  .features {
      justify-content: space-between;
      gap: 0;
  }
  .feature-column {
      width: 48%;
  }
}
@media (max-width: 480px) {
  .section-title {
    font-size: 20px;
  }
  .description {
    font-size: 12px;
  }
  .feature-column {
      width: 50%;
  }
}
.feature-column ul {
  list-style: none;
  padding: 0;
}
.feature-column li {
  font-size: 16px;
  padding: 5px 0;
}
.feature-column li::before {
  content: "✔";
  color: #28a745;
  margin-right: 8px;
}
.feature-footer-text {
  font-size: 14px;
  color: #777;
  margin-top: 20px;
}
.feature-button {
  display: inline-block;
  padding: 10px 20px;
  background: #6c63ff;
  color: white;
  border-radius: 6px;
  text-decoration: none;
  margin-top: 15px;
}


/*プラン*/
.plan{
  width: 95%;
  margin: 50px auto;
  padding-top: 30px;
  text-align: center;
  position: relative;
  /* background-color: #63e8ff; */
}

.plan-tab {
  max-width: 900px;
  margin: auto;
}

.tabs {
  display: flex;
  justify-content: left;
  /* gap: 20px; */
  margin-top: 20px;
  position: relative;
  font-weight: bold;
}
.tab {
  padding: 10px 20px;
  cursor: pointer;
  background: rgb(255, 255, 255);
  border-radius: 5px 5px 0 0;
  border:solid #000;
  border-width: 1px 1px 0 1px;
  position: relative;
}
.tab.active {
  background: rgb(247, 205, 128);
  color: white;
  border:solid #000;
  border-width: 1px 1px 0 1px;
}

.bubble {
  position: absolute;
  top: -60px;
  left: 15px;
  padding: 10px;
  transform: translateX(-15%);
  border: 2px solid #000000;
  border-radius: 8px;
  background-color: #ffffff;
  text-align: left;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: #000000;
  white-space: nowrap;
  z-index: 999;
  
}
.bubble::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  border-style: solid;
  border-width: 20px 10px 0 10px;
  border-color: #000000 transparent transparent;
  translate: -50% 100%;
}
.bubble::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  border-style: solid;
  border-width: 15.5px 7.8px 0 7.8px;
  border-color: #ffffff transparent transparent;
  translate: -50% 100%;
}
.tab-content {
  display: none;
  border: 1px solid #000;
}
.tab-content.active {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
.plan-box {
  box-sizing: content-box;
  width: calc((100% - 10px) / 3);
  padding: 10px 10px 0 10px;
}

.plan-box:nth-child(1) { max-width: 25%; }
.plan-box:nth-child(2) { max-width: 30%; }
.plan-box:nth-child(3) { max-width: 30%; }

.plan-box picture {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: auto;
}

.plan-box picture img {
  max-width: 100%;
  height: auto;
  object-fit: contain; /* 画像の縦横比を維持して収める */
}

.plan-box-tx{
  width: 100%;
  padding: 0 10px;
  font-size: x-large;
  font-weight: bold;
}



.list {
  list-style: none;
  padding: 0;
}
.list li {
  padding: 5px 0;
  border-bottom: 1px dashed gray;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.icon {
  min-width: 20px;
  min-height: 20px;
}


/* プラン768px */
@media (max-width: 768px) {
  .plan-box {
    box-sizing: content-box;
    width: 80%;
    margin: auto;
    padding: 10px 10px 0 10px;
  }
  .plan-box:nth-child(1) { max-width: 100%; }
  .plan-box:nth-child(2) { max-width: 100%; }
  .plan-box:nth-child(3) { max-width: 100%; }

  .plan-box-tx{
    width: 100%;
    padding: 0 10px;
    font-size: large;
    font-weight: bold;
  }
}

/* プラン 480px */
@media (max-width: 480px) {
}



/*サンプル*/
.sample {
  max-width: 900px;
  display: flex;
  flex-direction: column; /* ← 縦並びに変更 */
  text-align: left;
  gap: 10px; /* 間隔 */
}

.sample-container,
.sample-container-full {
  width: 100%;
  padding: 10px;
  box-sizing: border-box;
}

.sample-text {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
  background: #f9f9f9;
  border: 1px solid #333;
  border-radius: 8px;
  margin-top: 10px;
  box-sizing: border-box;
  padding: 0 15px; /* 上下のpaddingなし */
  pointer-events: none; /* 中身に触れられないようにする */
  position: relative;
}

.sample-text.open {
  padding: 10px 15px;
  pointer-events: auto;
}

.sample-text-content {
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.sample-text.open .sample-text-content {
  visibility: visible;
  opacity: 1;
}

.st-text {
  font-size: 1.3em;
}

.sample-text ul {
  display: flex;
  flex-wrap: wrap;
  padding-left: 0;
  list-style: none;
  margin: 20px 0 0 0;
}

.sample-text li {
  width: calc(100% / 2); /* 2つ横並び */
  box-sizing: border-box;
  padding: 5px 10px;
  font-size: medium;
}

.sample-box {
  min-width: 200px;
  justify-content: center;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  padding: 10px 15px;
  color: rgb(247, 205, 128);
  font-weight: bold;
  border-radius: 5px;
  border: 1px solid rgb(247, 205, 128);
  transition: background 0.3s;
}

.sample-box .icon {
  margin-right: 3px;
  transition: transform 0.3s ease;
}

.sample-box.active .icon {
  transform: rotate(180deg);
}



.sample-box:hover {
  color: #fff;
  background: rgb(247, 205, 128);
}

.sample-mix {
  margin: 20px 0 0;
  display: flex;
  align-items: center;
  gap: 15px; /* ← sample-boxとテキストの間隔 */
  flex-wrap: wrap; /* モバイルで折り返すように */
}

.sample-label {
  font-size: 16px;
  color: #555;
}



@media (max-width: 768px) {
  .sample {
    flex-direction: column;
  }
  .sample-mix {
    flex-direction: column;
    align-items: flex-start;
  }
  .sample-text li {
      width: 100%;
  }
}

@media (max-width: 640px) {
  .sample-text li {
    width: calc(100% / 1); /* 1つ横並び */
    box-sizing: border-box;
    padding: 5px 10px;
    font-size: large;
  }
}




/*広告要素*/
.pr-container{
  max-width: 950px;
  padding: 5px;
  border: 6px solid #e7a428;
  text-align: center;
}

.pr-box-container {
  display: flex;
  flex-direction: row;
}

.pr-box h1{
  font-size: 2.5em;
}

.pr-box1 {
  width: 70%;
  max-width: 700px;
}

.pr-box2 img{
  width: 100%;
}

.responsive-text {
  font-size: 2.3vw; /* ビューポートの幅に応じたフォントサイズ */
  white-space: nowrap; /* 必ず1行にする */
  overflow: hidden; /* はみ出しを防ぐ */
  text-overflow: ellipsis; /* はみ出た場合に「…」を表示 */
}
.responsive-text-p {
  color: #000;
  font-size: 1em; /* ビューポートの幅に応じたフォントサイズ */
  overflow: hidden; /* はみ出しを防ぐ */
  text-overflow: ellipsis; /* はみ出た場合に「…」を表示 */
}

/* 480px以下で縦並び */
@media (max-width: 480px) {
  .pr-box-container {
    display: flex;
    flex-direction: column;
  }
  .pr-box1 {
    width: 100%;
  }
  .mark-yl{
    font-size: 0.7em;
  }
}


.pr-point ul{
  /* display: flex;; */
  margin: 10px auto;
}

.pr-point li{
  color: #ffffff;
  font-weight: bold;
  padding: 5px 10px;
  margin: 0 10px;
  display: inline-block;
  background-color: #63a1ff;
  border-radius: 10px;
  list-style: none;
}

/*CG・イラスト*/
.cg-ill{
  color: #000000;
  text-align: center;
  margin-top: 30px;
}

.example{
  max-width: 1100px;
  margin: 20px auto;
}

.ex-container {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.ex-box {
  width: calc(50% - 10px);
  max-width: 500px;
  min-height: 300px;
  margin: auto;
  background: #f4f4f4;
  padding: 20px;
  text-align: center;
  border-radius: 10px;
}

/*レスポンシブ 480px以下*/
@media (max-width: 480px) {
  .ex-box {
    width: calc(100% - 10px);
    max-width: 500px;
    min-height: 300px;
    margin: auto;
    background: #f4f4f4;
    padding: 20px;
    text-align: center;
    border-radius: 10px;
  }
}



.tab-container-box{
  width: 100%;
  height: 500px;
  background-color: #e45656;
}



/*納品までの流れ*/
.flow {
  margin: 10px auto;

  display: flex;
  justify-content: center;
}
.flow-container {
  display: grid;
  gap: 15px;
  width: 100%;
}
.flow-box {
  padding: 10px;
  text-align: center;
  font-weight: bold;
  border-radius: 10px;
  border: solid 1px #000;
}

.flow-box h1 {
  font-size: xx-large;
  padding: 10px 0;
}

.flow-box img {
  width: 100%;
  padding: 10px;
}

.flow-title {
  text-align: center;
  font-size: x-large;
  padding: 5px 10px;
  color: #000;
  border-bottom: 1px dotted #000;
}

.flow-box p {
  text-align: left;
}

/* Default: 2 rows, 4 boxes per row */
.flow-container {
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, auto);
}

/* 768px 以下: 3 rows, 3 boxes per row */
@media (max-width: 768px) {
  .flow-container {
      grid-template-columns: repeat(3, 1fr);
      grid-template-rows: repeat(3, auto);
  }
}

/* 480px 以下: 4 rows, 2 boxes per row */
@media (max-width: 480px) {
  .flow-container {
      grid-template-columns: repeat(2, 1fr);
      grid-template-rows: repeat(4, auto);
  }
}


/*   エディステとは  */


.edst-ex {
  width: 95%;
  margin: 20px;
  /* background-color: #57eca1; */
}

.edst-ex ul {
  margin: 20px 0px 50px 20px;
}

.edst-ex li {
  list-style-type: disc;
  margin: 0 0 10px 20px;
}

.staff h1 {
  color: #ec5757;
  text-align: center;
}

.staff {
  margin: 20px auto;
}

.staff-contents {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.staff-box {
  width: calc(50% - 10px);
  max-width: 500px;
  min-height: 800px;
  margin: auto;
  /* background: #f4f4f4; */
  padding: 20px;
  text-align: left;
  border-radius: 10px;
}

.staff-box:nth-child(1) { background-color: rgb(151, 240, 185); }
.staff-box:nth-child(2) { background-color: rgb(240, 151, 192); }
.staff-box:nth-child(3) { background-color: rgb(151, 234, 240); }

.staff-box img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 30px;
}

/* 768px以下*/
@media (max-width: 768px) {
  .staff-box {
    width: calc(100% - 10px);
    max-width: 100%;
    min-height: auto;
    margin: auto;
    /* background: #f4f4f4; */
    padding: 20px;
    text-align: left;
    border-radius: 10px;
  }
}


/*===========
main end
=============*/

/* footer =================================================*/

.footer {
  color: #fff;
  background-color: #333;
  padding: 1em;
  text-align: center;
}

/* footer end =================================================*/