@charset "UTF-8";

.school-title-vertical {
  position: absolute;
  top: 60%;
  right: 5%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: row-reverse;
  gap: 0;
  z-index: 10;
}

.school-title-vertical span {
  writing-mode: vertical-rl;
  -webkit-writing-mode: vertical-rl;
  text-orientation: upright;
  font-size: 3.4rem;
  letter-spacing: 0.1em;
  color: #595757;
  font-weight: bold;
}

.p-2col {
    width: 48%;
    max-width: 490px;
    float: left;
}

.p-2col:nth-child(even) {
    float: right;
}

.p-block {
    background: #E9F5DF;
    border-radius: 20px;
    padding: 30px;
}

.p-block span {
    display: block;
    text-align: center;
    font-size: 28px;
    font-size: 2.8rem;
    color: #6FBA2C;
    letter-spacing: 0.05em;
    margin-bottom: 30px;
}

.p-table-title {
    font-size: 18px;
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 1.0rem;
}

.p-table {
    width: 100%;
    border-bottom: dashed 1px #6FBA2C;
}

.p-table tr {
    border-top: dashed 1px #6FBA2C;
}


.p-table th {
    text-align: left;
    width: 95px;
    font-size: 1.8rem;
    vertical-align: middle;
    height: 80px;
}

.p-table td {
  font-size: 1.8rem;
  vertical-align: middle;
  text-align: left;
  letter-spacing: -0.02em;
  padding-left: 1.8rem;
}

.p-head {
    border-bottom: solid 0px #6FBA2C;
}

.p-category {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
  padding: 0;
  position: relative;
}

.p-category span {
    position: absolute;
    left: 0;
    top: 0;
    width: 123px;
}

/* アイコン画像サイズを統一 */
.p-category img {
  width: 100px;
  height: auto;
}

/* 見出しのスタイル */
.p-category .p-ttl {
  color: #595757;
  font-size: 2.0rem;
  margin: 0;
}

.p-detail {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 25px;
}

.p-detail dt {
  width: 72px;
  font-size: 2.4rem;
  color: #6FBA2C;
  font-weight: bold;
  margin: 0;
  margin-top: auto;
  margin-bottom: auto;  
}

.p-detail dd {
  font-size: 18px;
  font-size: 1.8rem;
  line-height: 1.8;
  flex: 1;
  margin: 0;
}

.p-img {
    overflow: hidden;
    border-radius: 20px;
}

.p-content {
    border-radius: 20px;
    background: #FFFEF2;;
    padding: 40px;
    margin-bottom: 40px;
}

.p-content-head {
    margin: 10px 0 40px;
    font-size: 28px;
    font-size: 2.8rem;
    color: #17A196;
    text-align: center;
    letter-spacing: 0.05em;
    line-height: 1;
}

/* PC用（デフォルト） */
.map-iframe {
  width: 900px;
  height: 600px;
  max-width: 100%;
  display: block;
  margin: 0 auto;
  border: 0;
}

/* スマホ用：画面幅が767px以下のとき */
@media screen and (max-width: 767px) {
  .map-iframe {
    width: 100%;
    height: 300px; /* お好みで変更可能 */
  }
}

.p-content-qahead {
    margin: 10px 0 40px;
    font-size: 28px;
    font-size: 2.8rem;
    color: #595757;
    text-align: center;
    letter-spacing: 0.05em;
    line-height: 1;
}

.p-flow {
  padding-left: 65px;
  position: relative;
}

.p-flow-list {
  position: relative;
  padding-left: 0;
}

.p-flow-list li {
    margin-bottom: 44px;
}

.p-flow-list li span {
    background: #FFFFFF;
    border-radius: 10px;
    display: block;
    min-height: 44px;
    max-width: 375px;
    width: 100%;
    text-align: left;
    font-size: 20px;
    font-size: 2rem;
    color: #6FBA2C;
    line-height: 1;
    padding-top: 12px;
    padding-bottom: 12px;
}

/* 緑の枠（時刻表示）に白丸＋点線を内包 */
.p-flow-list li span.p-flow-color {
  position: relative;
  padding-left: 48px;
  background: #E9F5DF;
  color: #17A196;;
  border-radius: 10px;
}

/* 白丸の表示 */
.p-flow-list li span.p-flow-color::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  background-color: #17A196;
  border-radius: 50%;
  z-index: 2;
}

.p-flow-list li dl {
    font-size: 0;
}

.p-flow-list li dt {
    display: inline-block;
    width: 48%;
    vertical-align: middle;
}

.p-flow-list li dd {
    padding-left: 2%;
    width: 50%;
    font-size: 16px;
    font-size: 1.6rem;
    display: inline-block;
    vertical-align: middle;
    line-height: 1.8;
}

.p-flow-vertical {
  position: absolute;
  -webkit-writing-mode: vertical-rl;
  -ms-writing-mode: tb-rl;
  -o-writing-mode: vertical-rl;
  writing-mode: vertical-rl;
  font-size: 20px;
  font-size: 2rem;
  color: #6FBA2C;
  left: 0;
  top: 0;
  height: 100%;
  text-align: center;
}

.p-flow-list::before {
  content: "";
  position: absolute;
  top: 70px;       /* 最初の白丸の中心に合わせて調整済みだと思います */
  height: calc(96% - 58px);  /* ← bottom: 0; をやめて、長さを明示的に調整！ */
  left: 24px;
  width: 2px;
  border-left: 2px dashed;
    
  /* ✅ 点線をborder-imageで制御 */
  border-image: repeating-linear-gradient(
    to bottom,
    #17A196 0,
    #17A196 4px,     /* 線の長さ */
    transparent 4px,
    transparent 12px /* 隙間の幅（4px線 + 8px空白 = 14px） */
  ) 1;    
    
  z-index: 2;
}

.p-flow-vertical01 {
    height: 65px;
    top: 50%;
    margin-top: -32px;
}

.p-flow-vertical01:before {
    height: 44px;
    top: 8px;
}

/* 最後のステップだけ点線を非表示（白丸は残す） */
.p-flow-list li:last-child span.p-flow-color::after {
    display: none;
}

/* QAアコーディオン */
.qa-item {
  border-top: 1px dashed #6FBA2C;
}

.qa-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 15px;
  font-size: 1.8rem;
  font-weight: bold;
  color: #595757;
  cursor: pointer;
  position: relative;
}

.qa-question::after {
  content: "＋";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  transition: transform 0.3s;
}

.qa-item.open .qa-question::after {
  content: "－";
}

.qa-answer {
  display: none;
  padding: 15px;
  background: #f8f8f8;
  border-top: 1px solid #ccc;
  font-size: 1.6rem;
  line-height: 1.6;
}

.qa-item.open .qa-answer {
  display: block;
}

.facility-subttl {
    text-align: center;
    margin-top: 20px;
    padding-bottom: 30px;
    font-size: 2.8rem;
    line-height: 1;
    letter-spacing: 0.05em;
}

/*----------------------園からのお知らせ---------------------*/
.facility-news{
  margin-bottom: 80px;    
}

.p-link {
  text-align: right;
  margin-top: 20px;
}

.p-link a {
  display: inline-block;
  background-color: #595757;
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 1.6rem;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.p-link a:hover {
  background-color: #444444;
}

@media screen and (max-width: 1300px) {
  .p-block span {
    font-size: 2.2rem;
  }

  .p-block {
      padding: 20px;
  }
    
.p-table-title {
    font-size: 1.6rem;
    text-align: center;        
}    

  .p-table th {
      font-size: 1.6rem;
      height: 60px;
  }

  .p-table td {
      font-size: 1.6rem;
  }

  .p-category span {
      width: 100px;
  }

  .p-ttl {
      font-size: 2.0rem;
  }

  .p-content {
    padding: 30px;
  }

  .p-content-head {
      font-size: 2.5rem;
      margin: 0 auto 30px;
  }

  .p-flow-list li dd {
      font-size: 1.4rem;
  }

  .p-flow-list li {
      margin-bottom: 30px;
  }

  .p-flow-list li span {
      font-size: 1.8rem;
  }


  .p-detail dt {
      font-size: 2rem;
  }

  .p-detail dd {
      font-size: 1.8rem;
  }

}


@media screen and (max-width: 1080px){

  .p-flow-list li span {
    max-width: inherit;
    width: 44%;
    font-size: 1.6rem;
    min-height: inherit;
  }

  .p-flow-list li dt {
      width: 44%;
  }

  .p-flow-list li dt span {
      width: 100%;
  }

  .p-flow-list li dd {
      padding-left: 5%;
  }

  .p-flow-vertical {
      font-size: 1.6rem;
  }

  .p-flow {
      padding-left: 40px;
  }

  .p-flow-vertical:before {
      right: -20px;
  }

}


@media screen and (max-width: 767px) {
  .school-title-vertical span {
    font-size: 2rem;
  }
    
  .p-2col {
    width: 100%;
    max-width: inherit;
    float: inherit;
  }

  .p-block {
    margin-top: 40px;
    padding: 20px;
  }

  .p-block span {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }

  .p-table-title {
    font-size: 1.3rem;
    text-align: center;
  }

  .p-table th {
    font-size: 1.3rem;
    height: 50px;
    width: 55px;
  }

  .p-table td {
    font-size: 1.3rem;
  }

  .p-category span {
    display: block;
    position: inherit;
    width: 112px;
    margin: 0 auto 10px;
  }

  .p-category {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center; /* ✅ 中央揃えにする */
    gap: 12px; /* 画像とテキストの間隔 */
    text-align: center; /* h3内のテキストも中央揃え */
  }

  .p-category img {
    width: 80px; /* 必要に応じてサイズ調整 */
    height: auto;
    margin-bottom: 0;
  }

  .p-ttl {
    font-size: 1.8rem;
    margin: 0;
  }

  .p-img {
    border-radius: 10px;
    margin-bottom: 20px;
  }
    
  .p-detail {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 25px;
  }
 
  .p-detail dt {
    width: 52px;      
    font-size: 1.7rem;
    padding-bottom: 5px;
    margin-top: auto;
    margin-bottom: auto;      
  }    
    
  .p-detail dd {
    font-size: 1.4rem;
  }

  .p-content {
    padding: 20px;
  }

  .p-content-head {
    margin: 25px 0;
    font-size: 2rem;
  }
    
.p-content-qahead {
    margin: 25px 0;
    font-size: 2rem;
}    

  .p-flow {
    padding: 0;
  }

  .p-flow-list li dt {
    display: block;
    width: 100%;
  }

  .p-flow-list li dd {
    padding-top: 20px;
    padding-bottom: 0;
    padding-left: 36px;
    padding-right: 12px;
    display: block;
    width: 100%;
    font-size: 1.4rem;
  }

  .p-flow-list li span {
    font-size: 1.5rem;
    min-height: inherit;
    width: 100%;
  }

  .p-flow-vertical {
    writing-mode: inherit;
    position: inherit;
    left: inherit;
    top: inherit;
    height: auto;
    display: block;
    padding-bottom: 20px;
    font-size: 1.5rem;
  }

  .p-flow-vertical:before {
    width: 100%;
    height: 10px;
    border-bottom: none;
    right: 0;
    bottom: 3px;
    top: inherit;
    border-right: solid 2px #6FBA2C;
    border-radius: 7px 7px 0 0;
  }

  .p-flow-vertical01 {
    margin-top: 10px;
  }
    
.qa-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 15px;
  font-size: 1.4rem;
  font-weight: bold;
  color: #595757;
  cursor: pointer;
  position: relative;
}

.qa-question::after {
  font-size: 1.4rem;
}

.qa-answer {
  font-size: 1.4rem;
  line-height: 1.8rem;
}    

.facility-subttl {
    font-size: 2.0rem;
}    
    
.facility-news{
  margin-bottom: 100px;    
}

.p-link a {
  padding: 8px 18px;
  font-size: 1.4rem;
}    
    
}