/* スマホとPC共通で使用するスタイル */


  /* アラートダイアログ */

  #dialog_disp{
    position: fixed;
    top: 0;
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.7);
    animation-name: fadeIn1;
    animation-duration:1s;
    animation-fill-mode:forwards;
    opacity:0;
  }
  @keyframes fadeIn1{
    0% { opacity: 0; }
    50% { opacity: 1; }
    100% { opacity: 1; }
  }

  .dialog{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    width: 280px;
    height: 180px;
    background-color: white;
    border-radius: 10px;
    box-sizing: border-box;
    padding: 25px 20px 20px 20px;
    box-shadow: 0 0 3px 5px gray;
    animation-name: fadeIn2;
    animation-duration:1s;
    animation-fill-mode:forwards;
    opacity:0;
  }
  @keyframes fadeIn2{
    0% { opacity: 0; }
    20% { opacity: 0; }
    100% { opacity: 1; }
  }
  .dialog_p{
    font-size: 15px;
    line-height: 1.3;
  }
  #dialog_button{
    font-size: 14px;
    margin: 0 0px 0 auto;
    padding: 6px 20px;
    border-radius: 8px;
    background-color: orangered;
    border: 1.5px solid black;
  }



/* 画面幅が768px以下（スマホ向けなど）に適用されるスタイル */
@media screen and (max-width: 768px) {

  /* index.php */

    .index_body{
      color: #666666;
    }

    .index_main{
        width: 100%;
        height: auto;
    }

    .scroll_margin{
      width: 100%;
      height: 56px;
    }

    /* ヘッダースライダー */

      .img_slider_box {
          position: relative;
          width: 100%;
          height: 380px;
          overflow: hidden;
          background-color: #fff;
      }

      .slider_item {
          position: absolute;
          top: 0;
          left: 0;
          width: 100%;
          height: 100%;
          opacity: 0;
          z-index: 1;
          transition: opacity 1.5s ease-in-out;
          display: flex;
          justify-content: center;
          align-items: center;
      }

      /* 表示されているスライド */
      /* アクティブな方を上 */
      .slider_item.active {
          opacity: 1;
          z-index: 2;
      }

      /* 画像のズームアニメーション */
      .slider_img {
          position: absolute;
          top: 0;
          left: 0;
          width: 100%;
          height: 100%;
          object-fit: cover;
          transform: scale(1.05);
      }

      .slider_item.active .slider_img {
          animation: zoomUp 6s forwards;
      }
      @keyframes zoomUp {
          0% { transform: scale(1); }
          100% { transform: scale(1.05); }
      }

      /* 文字の中央出現アニメーション */
      .slider_text {
          z-index: 3;
          color: #fff;
          font-size: 24px;
          letter-spacing: 1px;
          line-height: 1.3;
          text-align: center;
          text-shadow: 2px 2px 16px rgb(0,0,0);
          opacity: 0;
          transition: opacity 1.0s ease-in-out; 
      }

      /* 画像表示から1秒後に0.8秒かけて出現 */
      .slider_item.active .slider_text {
          animation: fadeInUp 1s forwards 0.9s; 
      }

      /* 非アクティブ（activeが外れた）時、opacity を100のままにする */
      .slider_item:not(.active) .slider_text {
          opacity: 100;
      }

      @keyframes fadeInUp {
          0% {
              opacity: 0;
              transform: translateY(1px);
          }
          100% {
              opacity: 1;
              transform: translateY(0);
          }
      }

    /* アンカーリンク */

      .anchor_link_box{
        box-sizing: border-box;
        width: 100%;
        height: auto;
        padding: 20px;
        display: flex;
        flex-direction: column;
        justify-content: start;
        align-items: center;
      }

      .anchor_a{
        width: 100%;
        height: auto;
        cursor: pointer;
        margin-bottom: 6px;
      }

      .no_anchor_a{
        width: 100%;
        height: auto;
        cursor: pointer;
        margin-bottom: 6px;
      }

      /* 「aspect-ratio」によりwidthに対するheightを指定 */
      .anchor_img_div{
        display: block;
        width: 100%;
        aspect-ratio: 100 / 80; 
        overflow: hidden;
      }

      .anchor_img{
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transform: scale(1.1);
        transition: transform 0.3s ease, opacity 0.3s ease;
      }

      /* クリックされた時にJSで付与するクラス */
      /* 右に5pxスライド */
      .anchor_img.is_clicked {
        opacity: 0.6;
        transform: scale(1.1) translateX(5px);
      }

      /* ホバー時の演出（お好みで追加） */
      @media (hover: hover) {
        .anchor_a:hover .anchor_img {
          opacity: 0.8;
        }
      }

      .anchor_h2{
        font-size: 14px;
        text-align: center;
        color: #fff;
        line-height: 45px;
        background-color: #63bc3a;
        width: 100%;
        height: 45px;
        position: relative;
      }

    /* インフォメーション */

      .index_info{
        box-sizing: border-box;
        width: 100%;
        height: auto;
        padding: 20px;
        display: flex;
        flex-direction: column;
        justify-content: start;
        align-items: center;
      }

      .index_info_h1{
        font-family: serif;
        font-size: 24px;
        text-align: center;
        font-weight: bold;
        color: #3f992f;
      }

      .index_info_a{
        display: block;
        width: 200px;
        height: 45px;
        line-height: 45px;
        font-size: 14px;
        color: #fff;
        text-align: center;
        box-sizing: border-box;
        background-color: #63bc3a;
        margin: 0 auto;
      }

      .index_info_list_box{
        width: 100%;
        height: auto;
        margin: 20px auto;
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        align-items: center;
      }

      .index_info_card{
        box-sizing: border-box;
        background-color: #e5e5e5;
        width: 85%;
        height: 80px;
        margin: 6px auto;
        padding: 15px 0 15px 10px;
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        align-items: start;
      }

      .index_info_card_h{
        font-size: 14px;
        letter-spacing: 0.5px;
        color: black;
      }

      .index_info_card_date{
        font-size: 10px;
        letter-spacing: 0.5px;
        color: #666;
      }


    /* アバウト */

      .index_about{
        box-sizing: border-box;
        width: 100%;
        height: auto;
        padding: 20px;
        display: flex;
        flex-direction: column;
        justify-content: start;
        align-items: center;
      }

      .index_about_h1{
        font-family: serif;
        font-size: 24px;
        text-align: center;
        font-weight: bold;
        color: #3f992f;
      }

      .index_about_h2_div{
        width: 100%;
        margin-top: 12px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
      }

      .index_about_h2{
        font-size: 12px;
        color: #666666;
        margin-top: 5px;
      }

      .index_about_img_1{
        width: 100%;
        height: auto;
        margin-top: 40px;
      }

      .index_about_img_2{
        width: 100%;
        height: auto;
        margin-top: 40px;

      }

      .index_about_p{
        font-size: 12px;
        text-align: center;
        letter-spacing: 0.5px;
        line-height: 1.7;
        margin-top: 30px;
      }

      .index_about_p_span{
        font-size: 18px;
      }

    /* 家族ページ */

      .index_family{
        padding: 40px 0 10px;
        background-color: #f5f5f5;
      }

      .index_family_h1{
        font-family: serif;
        font-size: 24px;
        text-align: center;
        font-weight: bold;
        color: #3f992f;
      }

      .index_family_p_div{
        width: 100%;
        margin-top: 10px;
        margin-bottom: 25px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
      }

      .index_family_p{
        font-size: 12px;
        color: #666666;
        margin-top: 5px;
      }

      .index_family_a{
        display: block;
        margin: 0 auto;
        width: 200px;
        height: 45px;
        line-height: 45px;
        font-size: 14px;
        color: #fff;
        text-align: center;
        box-sizing: border-box;
        background-color: #63bc3a;
      }

      .index_family_list_box{
        box-sizing: border-box;
        width: 100%;
        min-height: 200px;
        margin-bottom: 25px;
        padding: 0 20px;
        position: relative;
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        align-items: center;
      }

      .index_tofamily_card_0 ,
      .index_tofamily_card_1{
        box-sizing: border-box;
        width: 45%;
        aspect-ratio: 100 / 120;
        background-color: #fff;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
      }

      .index_tofamily_card_2 ,
      .index_tofamily_card_3{
        display: none;
      }

      .index_tofamily_card_top{
        box-sizing: border-box;
        width: 100%;
        height: auto;
        padding: 10px 0 0 10px;
        display: flex;
        flex-direction: column;
        justify-content: start;
        align-items: start;
        overflow: scroll;
      }

      .index_tofamily_card_h{
        width: 100%;
        font-size: 14px;
        color: black;
        margin-bottom: 5px;
        white-space: nowrap;
      }

      .index_tofamily_card_date{
        width: 100%;
        margin: 0 0 10px 20px;
        font-size: 10px;
        letter-spacing: 0.5px;
        color: #666;
      }

      .index_tofamily_card_under{
        box-sizing: border-box;
        width: 100%;
        height: auto;
        padding: 30px;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
      }

      .index_tofamily_card_img{
        box-sizing: border-box;
        width: 100%;
        aspect-ratio: 100 / 100;
        object-fit: cover;
        object-position: center;
      }

      .index_family_no_login_div{
        position: absolute;
        top: 0;
        left: 0;
        box-sizing: border-box;
        width: 100%;
        height: 100%;
        background-color: rgba(0,0,0,0.5);
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
      }

      .index_family_no_login_span{
        font-size: 18px;
        text-align: center;
        letter-spacing: 1px;
        line-height: 1.3;
        color: #fff;
      }

      .index_family_no_post_div{
        position: absolute;
        top: 0;
        left: 0;
        box-sizing: border-box;
        width: 100%;
        height: 100%;
        background-color: #fff;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
      }

      .index_family_no_post_span{
        font-size: 18px;
        text-align: center;
        letter-spacing: 1px;
        line-height: 1.3;
      }


    /* アクセス */

      .index_access{
        box-sizing: border-box;
        width: 100%;
        height: auto;
        padding-top: 40px;
        display: flex;
        flex-direction: column;
        justify-content: start;
        align-items: center;
      }

      .index_access_h1{
        font-family: serif;
        font-size: 28px;
        text-align: center;
        font-weight: bold;
        color: #3f992f;
        margin-bottom: 5px;
      }

      .index_access_p{
        font-size: 12px;
        text-align: center;
        margin-bottom: 20px;
      }

      .index_access_item{
        box-sizing: border-box;
        width: 100%;
        height: 60px;
        padding: 0 20px;
        margin-bottom: 10px;
        display: flex;
        flex-direction: row;
        justify-content: start;
        align-items: center;
      }

      .index_access_item_left{
        box-sizing: border-box;
        width: 20%;
        height: auto;
        font-size: 14px;
      }

      .index_access_item_right{
        box-sizing: border-box;
        width: 80%;
        height: auto;
        font-size: 14px;
        letter-spacing: 0.5px;
        line-height: 1.2;
        white-space: nowrap;
        overflow: scroll;
      }

      .index_map{
        width: 100%;
        height: 600px;
        margin-bottom: 30px;
      }




  /* info.php */

    .info_body{
      width: 100%;
      height: auto;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      align-items: center;
    }

    .info_main{
      width: 100%;
      height: auto;
      flex-grow: 1;
      margin-bottom: 20px;
    }

    .info_header_img{
      width: 100%;
      height: 200px;
      object-fit: contain;
    }

    .info_h1{        
      font-family: serif;
      font-size: 24px;
      text-align: center;
      font-weight: bold;
      color: #3f992f;
      margin: 30px auto;
    }

    .info_no_data_p{
      font-size: 16px;
      text-align: center;
      letter-spacing: 1px;
      line-height: 1.2;
    }

    .info_yes_data_p{
      font-size: 16px;
      text-align: center;
      letter-spacing: 1px;
      margin-bottom: 10px;
    }

    .info_card_form{
      width: 100%;
      height: auto;
      margin: 20px auto;
      display: flex;
      flex-direction: column;
      flex-wrap: nowrap;
      justify-content: start;
      border-top: 1px solid rgba(100, 100, 100, 0.6);
      align-items: center;
    }

    .info_card_button{
      box-sizing: border-box;
      width: 100%;
      height: 120px;
      padding: 12px 20px;
      display: flex;
      flex-direction: row;
      align-items: center;
      border-bottom: 1px solid rgba(100, 100, 100, 0.6);
      background-color: #f0fff0;
    }

    .info_card_left{
      min-width: 100px;
      height: 80px;
      margin-right: 20px;
      background-color: #fff;
    }

    .info_card_img{
      width: 100%;
      height: 100%;
      background-position: center;
      background-repeat: no-repeat;
      background-size: contain;
    }

    .info_card_right{
      width: auto;
      height: 100%;
      overflow: scroll;
      color: black;
      text-align: start;
    }

    .info_card_h2{
      width: 100%;
      height: auto;
      font-size: 14px;
      margin-top: 5px;
      margin-bottom: 4px;
    }

    .info_card_date{
      width: 100%;
      height: auto;
      font-size: 10px;
      color: #666;
      margin-bottom: 6px;
    }

    .info_card_overview{
      width: 100%;
      height: auto;
      font-size: 12px;
      letter-spacing: 1px;
    }




  /* info_base.php */

    .info_item_body{
      width: 100%;
      height: auto;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      align-items: center;
    }

    .info_item_main{
      width: 85%;
      height: auto;
      margin: 30px auto;
      display: flex;
      flex-direction: column;
      justify-content: start;
      align-items: center;
    }

    .info_item_main_content{
      width: 100%;
      height: auto;
      display: flex;
      flex-direction: column;
      justify-content: start;
      align-items: center;
    }

    .info_item_post{
      width: 100%;
      height: auto;
    }

    .info_item_post_title{
      font-size: 24px;
      letter-spacing: 1px;
      margin-bottom: 8px;
    }

    .info_item_post_date{
      font-size: 12px;
      color: #666;
      margin-bottom: 20px;
    }

    .info_item_list{
      width: 100%;
      height: auto;
      margin-top: 50px;
    }

    .info_item_list_h{
      box-sizing: border-box;
      width: 100%;
      height: 50px;
      padding: 0px 12px;
      font-size: 16px;
      color: #fff;
      background-color: #63bc3a;
      border: none;
      display: flex;
      flex-direction: row;
      justify-content: space-between;
      align-items: center;
    }

    .info_item_list_h_right{
      color: #fff;
      text-decoration: underline;
    }

    .info_item_list_content{
      box-sizing: border-box;
      width: 100%;
      height: 50px;
      padding: 0px 5px;
      border-left: 1px solid rgba(100, 100, 100, 0.6);
      border-right: 1px solid rgba(100, 100, 100, 0.6);
      border-bottom: 1px solid rgba(100, 100, 100, 0.6);
      display: flex;
      flex-direction: row;
      justify-content: start;
      align-items: center;
      background-color: #fff;
    }

    .info_item_list_content_date{
      box-sizing: border-box;
      width: 60px;
      font-size: 8px;
      color: #666;
    }

    .info_item_list_content_title{
      box-sizing: border-box;
      width: auto;
      flex-grow: 1;
      font-size: 15px;
      color: black;
      overflow: scroll;
      white-space: nowrap;
      text-align: left;
    }

    .info_item_post_others{
      width: 90%;
      height: auto;
      display: flex;
      flex-direction: row;
      justify-content: center;
      align-items: center;
      border: 1px solid rgba(100, 100, 100, 0.6);
      margin: 50px auto 0;
    }

    .info_item_post_others_new{
      width: auto;
      height: 50px;
      text-align: center;
      color: black;
      background-color: #fff;
      border-right: 1px solid rgba(100, 100, 100, 0.6);
      flex-grow: 1;
    }

    .info_item_post_others_old{
      width: 50%;
      height: 50px;
      text-align: center;
      color: black;
      background-color: #fff;
    }





  /* tofamily.php */

    .tofamily_body{
      width: 100%;
      height: auto;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      align-items: center;
    }

    .tofamily_main{
      width: 100%;
      height: auto;
      flex-grow: 1;
      margin-bottom: 20px;
    }

    .tofamily_header_img{
      width: 100%;
      height: 200px;
      object-fit: cover;
    }

    .tofamily_h1{        
      font-family: serif;
      font-size: 24px;
      text-align: center;
      font-weight: bold;
      color: #3f992f;
      margin: 30px auto;
    }

    .tofamily_no_data_p{
      font-size: 16px;
      text-align: center;
      letter-spacing: 1px;
      line-height: 1.2;
    }

    .tofamily_yes_data_p{
      font-size: 16px;
      text-align: center;
      letter-spacing: 1px;
      margin-bottom: 10px;
    }

    .tofamily_card_form{
      width: 100%;
      height: auto;
      margin: 20px auto;
      display: flex;
      flex-direction: column;
      flex-wrap: nowrap;
      justify-content: start;
      border-top: 1px solid rgba(100, 100, 100, 0.6);
      align-items: center;
    }

    .tofamily_card_button{
      box-sizing: border-box;
      width: 100%;
      height: 120px;
      padding: 12px 20px;
      display: flex;
      flex-direction: row;
      align-items: center;
      border-bottom: 1px solid rgba(100, 100, 100, 0.6);
      background-color: #f0fff0;
    }

    .tofamily_card_left{
      min-width: 100px;
      height: 80px;
      margin-right: 20px;
      background-color: #fff;
    }

    .tofamily_card_img{
      width: 100%;
      height: 100%;
      background-position: center;
      background-repeat: no-repeat;
      background-size: contain;
    }

    .tofamily_card_right{
      width: auto;
      height: 100%;
      overflow: scroll;
      color: black;
      text-align: start;
    }

    .tofamily_card_h2{
      width: 100%;
      height: auto;
      font-size: 14px;
      margin-top: 5px;
      margin-bottom: 4px;
    }

    .tofamily_card_date{
      width: 100%;
      height: auto;
      font-size: 10px;
      color: #666;
      margin-bottom: 6px;
    }

    .tofamily_card_overview{
      width: 100%;
      height: auto;
      font-size: 12px;
      letter-spacing: 1px;
    }




  /* tofamily_base.php */

    .tofamily_item_body{
      width: 100%;
      height: auto;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      align-items: center;
    }

    .tofamily_item_main{
      width: 85%;
      height: auto;
      margin: 30px auto;
      display: flex;
      flex-direction: column;
      justify-content: start;
      align-items: center;
    }

    .tofamily_item_main_content{
      width: 100%;
      height: auto;
      display: flex;
      flex-direction: column;
      justify-content: start;
      align-items: center;
    }

    .tofamily_item_post{
      width: 100%;
      height: auto;
    }

    .tofamily_item_post_title{
      font-size: 24px;
      letter-spacing: 1px;
      margin-bottom: 8px;
    }

    .tofamily_item_post_date{
      font-size: 12px;
      color: #666;
      margin-bottom: 20px;
    }

    .tofamily_item_list{
      width: 100%;
      height: auto;
      margin-top: 50px;
    }

    .tofamily_item_list_h{
      box-sizing: border-box;
      width: 100%;
      height: 50px;
      padding: 0px 12px;
      font-size: 16px;
      color: #fff;
      background-color: #63bc3a;
      border: none;
      display: flex;
      flex-direction: row;
      justify-content: space-between;
      align-items: center;
    }

    .tofamily_item_list_h_right{
      color: #fff;
      text-decoration: underline;
    }

    .tofamily_item_list_content{
      box-sizing: border-box;
      width: 100%;
      height: 50px;
      padding: 0px 5px;
      border-left: 1px solid rgba(100, 100, 100, 0.6);
      border-right: 1px solid rgba(100, 100, 100, 0.6);
      border-bottom: 1px solid rgba(100, 100, 100, 0.6);
      display: flex;
      flex-direction: row;
      justify-content: start;
      align-items: center;
      background-color: #fff;
    }

    .tofamily_item_list_content_date{
      box-sizing: border-box;
      width: 60px;
      font-size: 8px;
      color: #666;
    }

    .tofamily_item_list_content_title{
      box-sizing: border-box;
      width: auto;
      flex-grow: 1;
      font-size: 15px;
      overflow: scroll;
      white-space: nowrap;
      text-align: left;
    }

    .tofamily_item_post_others{
      width: 90%;
      height: auto;
      display: flex;
      flex-direction: row;
      justify-content: center;
      align-items: center;
      border: 1px solid rgba(100, 100, 100, 0.6);
      margin: 50px auto 0;
    }

    .tofamily_item_post_others_new{
      width: auto;
      height: 50px;
      text-align: center;
      background-color: #fff;
      border-right: 1px solid rgba(100, 100, 100, 0.6);
      flex-grow: 1;
    }

    .tofamily_item_post_others_old{
      width: 50%;
      height: 50px;
      text-align: center;
      background-color: #fff;
    }




  /* pass_conf.php */

    .pass_conf_body{
      width: 100%;
      height: auto;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      align-items: center;
    }

    .pass_conf_main{
      width: 100%;
      height: auto;
      flex-grow: 1;
      margin-bottom: 20px;
    }

    .pass_conf_h1{        
      font-family: serif;
      font-size: 24px;
      text-align: center;
      font-weight: bold;
      color: #3f992f;
      margin: 100px auto 100px;
    }

    .pass_conf_form{
      width: 100%;
      height: 300px;
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      justify-content: start;
      align-items: center;
    }

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

    .pass_conf_pass{
      width: 50%;
      min-width: 200px;
      padding: 5px;
      font-size: 16px;
      margin-bottom: 40px;
      border: 1px solid black;
      border-radius: 3px;
    }

    .pass_conf_login{
      font-size: 16px;
      color: black;
      background-color: aquamarine;
      border: 1px solid black;
      border-radius: 3px;
      padding: 3px 30px;
      letter-spacing: 1px;
    }




  /* header.php */

    header{
        position: fixed;
        height: 56px;
        width: 100%;
        z-index: 100;
        background-color: #fff;
    }

    .header_div{
        height: 56px;
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .header_logo_a{
        height: 40px;
        width: auto;
        margin-left: 10px;
    }

    .header_logo_img{
        height: 40px;
        width: auto;
    }

    .header_logo_a_invert{
        display: none;
    }

    .header_logo_img_invert{
        display: none;
    }

    .header_insta_a{
        height: 35px;
        width: auto;
    }

    .header_insta_img{
        height: 35px;
        width: auto;
        opacity: 0.7;
    }

    .header_space{
      display: none;
    }

    /* ハンバーガーボタンの形 */
    .header_btn {
        display: block;
        position: relative;
        width: 56px;
        height: 56px;
        z-index: 1000;
        background: none;
        cursor: pointer;
        border: none;
    }

    .header_btn span {
        position: absolute;
        display: block;
        width: 18px;
        height: 2px;
        background-color: #333;
        transition: all 0.3s;
    }

    .header_btn span:nth-child(1) { 
      top: 22px; 
      left: 18px; 
    }
    .header_btn span:nth-child(2) { 
      top: 28px; 
      left: 18px; 
    }
    .header_btn span:nth-child(3) { 
      bottom: 20px; 
      left: 18px; 
    }

    /* ボタンがクリックされた時の「X」印への変化 */
    /* クリックされたら色を白へ */
    .header_btn.open span:nth-child(1) { 
      transform: translateY(6px) rotate(45deg); 
      background-color: #fff;
    }
    .header_btn.open span:nth-child(2) { 
      opacity: 0; 
    }
    .header_btn.open span:nth-child(3) { 
      transform: translateY(-6px) rotate(-45deg); 
      background-color: #fff;
    }

    /* メニュー本体（右からスライドイン） */
    .header_nav {
        display: block;
        position: fixed;
        top: 0;
        left: 120%;
        width: 100%;
        height: 100vh;
        background: #5ab23c;
        z-index: 999;
        padding-top: 56px;
        transition: left 0.2s ease;
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    }

    /* メニューが開いた状態 */
    .header_nav.open {
        left: 70px;
    }

    .header_nav_ul {
        flex-direction: column;
        align-items: center;
        border-top: 1px solid rgba(255, 255, 255, 0.4);
    }

    .header_nav_li {
        margin: 0;
        height: 56px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    }

    .header_nav_li_a {
        display: block;
        margin: 0;
        padding: 18px 20px;
        line-height: 1.6;
        overflow: hidden;
        text-decoration: none;
        color: #fff;
        font-size: 13px;
    }

    /* 背景オーバーレイ */
    .nav_overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 99;
    }

    .nav_overlay.open {
        display: block;
    }

    .header_base{
        width: 100%;
        height: 56px;
    }




  /* footer.php */

    footer{
      box-sizing: border-box;
      width: 100%;
      height: 330px;
      padding: 40px 20px;
      background-color: #f5f5f5;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
    }

    .index_contact_top{
      box-sizing: border-box;
      width: 100%;
      height: 50%;
      border: 1px solid #ddd;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      background-color: #fff;
    }

    .index_contact_top_p{
      font-size: 12px;
      margin-bottom: 15px;
    }

    .index_contact_top_tel{
      font-size: 20px;
      font-family: serif;
      color: #63bc3a;
    }

    .index_contact_top_tel_span{
      font-size: 35px;
      color: #63bc3a;
    }

    .index_contact_under{
      box-sizing: border-box;
      width: 100%;
      height: 50%;
      padding-top: 15px;
      border: 1px solid #ddd;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      background-color: #fff;
    }

    .footer_insta_a{
      margin: 0 auto;
      width: 200px;
      height: auto;
      color: #fff;
      box-sizing: border-box;
    }

    .footer_insta_img{
      width: 100%;
      height: auto;
    }




  /* ページネーション */

    .pagination_ul{
      box-sizing: border-box;
      width: 100%;
      margin: 0px auto;
      display: flex;
      justify-content: center;
      align-items: center;
    }

    .pagination_flex_li{
      box-sizing: border-box;
      width: 32px;
      height: 32px;
      border: none;
      display: flex;
      justify-content: center;
      align-items: center;
    }

    .pagination_flex_li a{
      box-sizing: border-box;
      width: 25px;
      height: 25px;
      text-align: center;
      border: 0.5px solid black;
      line-height: 1.2;
    }

    .pagination_first_a::before{
      content: "";
      display: inline-block;
      margin-right: 5px;
      border: 5px solid transparent;
      border-right: 10px solid black;
    }

    .pagination_skip_span{
      font-size: 18px;
      box-sizing: border-box;
      width: 25px;
      height: 25px;
      text-align: center;
      line-height: 1.2;
    }

    .pagination_number_a{
      font-size: 18px;
      border: 0.5px solid black;
      border-radius: 2px;
      color: black;
    }
    .pagination_number_a_now{
      font-size: 18px;
      border: 0.5px solid black;
      border-radius: 2px;
      color: white;
      background-color: #614d3f;
    }

    .pagination_last_a::after{
      content: "";
      display: inline-block;
      margin-left: 5px;
      border: 5px solid transparent;
      border-left: 10px solid black;
    }

}




/* 画面幅が769px以上（タブレット向けなど）に適用されるスタイル */
@media screen and (min-width: 769px) and (max-width: 1024px) {

  /* index.php */

    .index_body{
      color: #666666;
    }

    .index_main{
        width: 100%;
        height: auto;
    }

    .scroll_margin{
      width: 100%;
      height: 56px;
    }

    /* ヘッダースライダー */

      .img_slider_box {
          position: relative;
          width: 100%;
          height: 450px;
          overflow: hidden;
          background-color: #fff;
      }

      .slider_item {
          position: absolute;
          top: 0;
          left: 0;
          width: 100%;
          height: 100%;
          opacity: 0;
          z-index: 1;
          transition: opacity 1.5s ease-in-out;
          display: flex;
          justify-content: center;
          align-items: center;
      }

      /* 表示されているスライド */
      /* アクティブな方を上 */
      .slider_item.active {
          opacity: 1;
          z-index: 2;
      }

      /* 画像のズームアニメーション */
      .slider_img {
          position: absolute;
          top: 0;
          left: 0;
          width: 100%;
          height: 100%;
          object-fit: cover;
          transform: scale(1.05);
      }

      .slider_item.active .slider_img {
          animation: zoomUp 6s forwards;
      }
      @keyframes zoomUp {
          0% { transform: scale(1); }
          100% { transform: scale(1.05); }
      }

      /* 文字の中央出現アニメーション */
      .slider_text {
          z-index: 3;
          color: #fff;
          font-size: 24px;
          letter-spacing: 1px;
          line-height: 1.3;
          text-align: center;
          text-shadow: 2px 2px 16px rgb(0,0,0);
          opacity: 0;
          transition: opacity 1.0s ease-in-out; 
      }

      /* 画像表示から1秒後に0.8秒かけて出現 */
      .slider_item.active .slider_text {
          animation: fadeInUp 1s forwards 0.9s; 
      }

      /* 非アクティブ（activeが外れた）時、opacity を100のままにする */
      .slider_item:not(.active) .slider_text {
          opacity: 100;
      }

      @keyframes fadeInUp {
          0% {
              opacity: 0;
              transform: translateY(1px);
          }
          100% {
              opacity: 1;
              transform: translateY(0);
          }
      }

    /* アンカーリンク */

      .anchor_link_box{
        box-sizing: border-box;
        width: 100%;
        height: auto;
        padding: 20px;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
      }

      .anchor_a{
        width: 33.3%;
        height: auto;
        cursor: pointer;
        margin-right: 1px;
      }

      .no_anchor_a{
        width: 100%;
        height: auto;
        cursor: pointer;
        margin-bottom: 6px;
      }

      /* 「aspect-ratio」によりwidthに対するheightを指定 */
      .anchor_img_div{
        display: block;
        width: 100%;
        aspect-ratio: 100 / 80; 
        overflow: hidden;
      }

      .anchor_img{
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transform: scale(1.1);
        transition: transform 0.3s ease, opacity 0.3s ease;
      }

      /* クリックされた時にJSで付与するクラス */
      /* 右に5pxスライド */
      .anchor_img.is_clicked {
        opacity: 0.6;
        transform: scale(1.1) translateX(5px);
      }

      /* ホバー時の演出（お好みで追加） */
      @media (hover: hover) {
        .anchor_a:hover .anchor_img {
          opacity: 0.8;
        }
      }

      .anchor_h2{
        font-size: 14px;
        text-align: center;
        color: #fff;
        line-height: 45px;
        background-color: #63bc3a;
        width: 100%;
        height: 45px;
        position: relative;
      }

    /* インフォメーション */

      .index_info{
        box-sizing: border-box;
        width: 100%;
        height: auto;
        padding: 20px;
        display: flex;
        flex-direction: column;
        justify-content: start;
        align-items: center;
      }

      .index_info_h1{
        font-family: serif;
        font-size: 40px;
        text-align: center;
        font-weight: bold;
        color: #3f992f;
      }

      .index_info_a{
        display: block;
        width: 200px;
        height: 45px;
        line-height: 45px;
        font-size: 14px;
        color: #fff;
        text-align: center;
        box-sizing: border-box;
        background-color: #63bc3a;
        margin: 0 auto;
      }

      .index_info_list_box{
        width: 100%;
        height: auto;
        margin: 20px auto;
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        align-items: center;
      }

      .index_info_card{
        box-sizing: border-box;
        background-color: #e5e5e5;
        width: 85%;
        height: 80px;
        margin: 6px auto;
        padding: 15px 0 15px 10px;
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        align-items: start;
      }

      .index_info_card_h{
        font-size: 14px;
        letter-spacing: 0.5px;
        color: black;
      }

      .index_info_card_date{
        font-size: 10px;
        letter-spacing: 0.5px;
        color: #666;
      }


    /* アバウト */

      .index_about{
        box-sizing: border-box;
        width: 100%;
        height: auto;
        padding: 20px;
      }

      .index_about_h1{
        font-family: serif;
        font-size: 40px;
        text-align: center;
        color: #3f992f;
      }

      .index_about_h2_div{
        width: 100%;
        margin-top: 25px;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
      }

      .index_about_h2{
        font-size: 14px;
        color: #666666;
      }

      .index_about_img_1{
        width: 100%;
        height: auto;
        margin-top: 40px;
      }

      .index_about_img_2{
        width: 48%;
        aspect-ratio: 100 / 67;
        margin-top: 40px;
        object-fit: cover;
        object-position: center;
      }

      .index_about_p{
        width: 48%;
        aspect-ratio: 100 / 67;
        font-size: 1.3vw;
        text-align: center;
        letter-spacing: 0.5px;
        line-height: 1.7;
        margin-top: 40px;
        float: right;
      }

      .index_about_p_span{
        font-size: 2.3vw;
      }

    /* 家族ページ */

      .index_family{
        padding: 40px 0 10px;
        background-color: #f5f5f5;
      }

      .index_family_h1{
        font-family: serif;
        font-size: 40px;
        text-align: center;
        color: #3f992f;
      }

      .index_family_p_div{
        width: 100%;
        margin-top: 20px;
        margin-bottom: 40px;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
      }

      .index_family_p{
        font-size: 14px;
        color: #666666;
      }

      .index_family_a{
        display: block;
        margin: 0 auto;
        width: 180px;
        height: 45px;
        line-height: 45px;
        font-size: 16px;
        color: #fff;
        text-align: center;
        box-sizing: border-box;
        background-color: #63bc3a;
      }

      .index_family_list_box{
        box-sizing: border-box;
        width: 100%;
        min-height: 200px;
        margin-bottom: 40px;
        padding: 0 20px;
        position: relative;
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        align-items: center;
      }

      .index_tofamily_card_0 ,
      .index_tofamily_card_1 ,
      .index_tofamily_card_2{
        box-sizing: border-box;
        width: 30%;
        aspect-ratio: 100 / 120;
        background-color: #fff;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
      }

      .index_tofamily_card_3{
        display: none;
      }

      .index_tofamily_card_top{
        box-sizing: border-box;
        width: 100%;
        height: auto;
        padding: 10px 0 0 10px;
        display: flex;
        flex-direction: column;
        justify-content: start;
        align-items: start;
        overflow: scroll;
      }

      .index_tofamily_card_h{
        width: 100%;
        font-size: 14px;
        color: black;
        margin-bottom: 5px;
        white-space: nowrap;
      }

      .index_tofamily_card_date{
        width: 100%;
        margin: 0 0 10px 20px;
        font-size: 10px;
        letter-spacing: 0.5px;
        color: #666;
      }

      .index_tofamily_card_under{
        box-sizing: border-box;
        width: 100%;
        height: auto;
        padding: 30px;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
      }

      .index_tofamily_card_img{
        box-sizing: border-box;
        width: 100%;
        aspect-ratio: 100 / 100;
        object-fit: cover;
        object-position: center;
      }

      .index_family_no_login_div{
        position: absolute;
        top: 0;
        left: 0;
        box-sizing: border-box;
        width: 100%;
        height: 100%;
        background-color: rgba(0,0,0,0.5);
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
      }

      .index_family_no_login_span{
        font-size: 18px;
        text-align: center;
        letter-spacing: 1px;
        line-height: 1.3;
        color: #fff;
      }

      .index_family_no_post_div{
        position: absolute;
        top: 0;
        left: 0;
        box-sizing: border-box;
        width: 100%;
        height: 100%;
        background-color: #fff;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
      }

      .index_family_no_post_span{
        font-size: 18px;
        text-align: center;
        letter-spacing: 1px;
        line-height: 1.3;
      }


    /* アクセス */

      .index_access{
        box-sizing: border-box;
        width: 100%;
        height: auto;
        padding-top: 40px;
        display: flex;
        flex-direction: column;
        justify-content: start;
        align-items: center;
      }

      .index_access_h1{
        font-family: serif;
        font-size: 40px;
        text-align: center;
        font-weight: bold;
        color: #3f992f;
        margin-bottom: 5px;
      }

      .index_access_p{
        font-size: 14px;
        text-align: center;
        margin-bottom: 30px;
      }

      .index_access_item{
        box-sizing: border-box;
        width: 60%;
        height: 60px;
        padding: 0 20px;
        margin-bottom: 10px;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
      }

      .index_access_item_left{
        box-sizing: border-box;
        width: 30%;
        height: auto;
        font-size: 16px;
        text-align: center;
      }

      .index_access_item_right{
        box-sizing: border-box;
        width: 70%;
        height: auto;
        font-size: 16px;
        letter-spacing: 0.5px;
        line-height: 1.4;
        white-space: nowrap;
        overflow: scroll;
        text-align: center;
      }

      .index_map{
        width: 80%;
        height: 600px;
        margin: 20px auto;
      }




  /* info.php */

    .info_body{
      width: 100%;
      height: auto;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      align-items: center;
    }

    .info_main{
      width: 100%;
      height: auto;
      flex-grow: 1;
      margin-bottom: 20px;
    }

    .info_header_img{
      width: 100%;
      height: 350px;
      object-fit: contain;
    }

    .info_h1{        
      font-family: serif;
      font-size: 40px;
      text-align: center;
      font-weight: bold;
      color: #3f992f;
      margin: 30px auto;
    }

    .info_no_data_p{
      font-size: 16px;
      text-align: center;
      letter-spacing: 1px;
      line-height: 1.2;
    }

    .info_yes_data_p{
      font-size: 18px;
      text-align: center;
      letter-spacing: 1px;
      margin-bottom: 10px;
    }

    .info_card_form{
      width: 100%;
      height: auto;
      margin: 20px auto;
      display: flex;
      flex-direction: column;
      flex-wrap: nowrap;
      justify-content: start;
      border-top: 1px solid rgba(100, 100, 100, 0.6);
      align-items: center;
    }

    .info_card_button{
      box-sizing: border-box;
      width: 100%;
      height: 120px;
      padding: 12px 20px;
      display: flex;
      flex-direction: row;
      align-items: center;
      border-bottom: 1px solid rgba(100, 100, 100, 0.6);
      background-color: #f0fff0;
    }

    .info_card_left{
      min-width: 100px;
      height: 80px;
      margin-right: 20px;
      background-color: #fff;
    }

    .info_card_img{
      width: 100%;
      height: 100%;
      background-position: center;
      background-repeat: no-repeat;
      background-size: contain;
    }

    .info_card_right{
      width: auto;
      height: 100%;
      overflow: scroll;
      color: black;
      text-align: start;
    }

    .info_card_h2{
      width: 100%;
      height: auto;
      font-size: 14px;
      margin-top: 5px;
      margin-bottom: 4px;
    }

    .info_card_date{
      width: 100%;
      height: auto;
      font-size: 10px;
      color: #666;
      margin-bottom: 6px;
    }

    .info_card_overview{
      width: 100%;
      height: auto;
      font-size: 12px;
      letter-spacing: 1px;
    }




  /* info_base.php */

    .info_item_body{
      width: 100%;
      height: auto;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      align-items: center;
    }

    .info_item_main{
      width: 85%;
      height: auto;
      margin: 30px auto;
      display: flex;
      flex-direction: column;
      justify-content: start;
      align-items: center;
    }

    .info_item_main_content{
      width: 100%;
      height: auto;
      display: flex;
      flex-direction: column;
      justify-content: start;
      align-items: center;
    }

    .info_item_post{
      width: 100%;
      height: auto;
    }

    .info_item_post_title{
      font-size: 24px;
      letter-spacing: 1px;
      margin-bottom: 8px;
    }

    .info_item_post_date{
      font-size: 12px;
      color: #666;
      margin-bottom: 20px;
    }

    .info_item_list{
      width: 100%;
      height: auto;
      margin-top: 50px;
    }

    .info_item_list_h{
      box-sizing: border-box;
      width: 100%;
      height: 50px;
      padding: 0px 12px;
      font-size: 16px;
      color: #fff;
      background-color: #63bc3a;
      border: none;
      display: flex;
      flex-direction: row;
      justify-content: space-between;
      align-items: center;
    }

    .info_item_list_h_right{
      color: #fff;
      text-decoration: underline;
    }

    .info_item_list_content{
      box-sizing: border-box;
      width: 100%;
      height: 50px;
      padding: 0px 5px;
      border-left: 1px solid rgba(100, 100, 100, 0.6);
      border-right: 1px solid rgba(100, 100, 100, 0.6);
      border-bottom: 1px solid rgba(100, 100, 100, 0.6);
      display: flex;
      flex-direction: row;
      justify-content: start;
      align-items: center;
      background-color: #fff;
    }

    .info_item_list_content_date{
      box-sizing: border-box;
      width: 60px;
      font-size: 8px;
      color: #666;
    }

    .info_item_list_content_title{
      box-sizing: border-box;
      width: auto;
      flex-grow: 1;
      font-size: 15px;
      color: black;
      overflow: scroll;
      white-space: nowrap;
      text-align: left;
    }

    .info_item_post_others{
      width: 90%;
      height: auto;
      display: flex;
      flex-direction: row;
      justify-content: center;
      align-items: center;
      border: 1px solid rgba(100, 100, 100, 0.6);
      margin: 50px auto 0;
    }

    .info_item_post_others_new{
      width: auto;
      height: 50px;
      text-align: center;
      color: black;
      background-color: #fff;
      border-right: 1px solid rgba(100, 100, 100, 0.6);
      flex-grow: 1;
    }

    .info_item_post_others_old{
      width: 50%;
      height: 50px;
      text-align: center;
      color: black;
      background-color: #fff;
    }




  /* tofamily.php */

    .tofamily_body{
      width: 100%;
      height: auto;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      align-items: center;
    }

    .tofamily_main{
      width: 100%;
      height: auto;
      flex-grow: 1;
      margin-bottom: 20px;
    }

    .tofamily_header_img{
      width: 100%;
      height: 350px;
      object-fit: cover;
    }

    .tofamily_h1{        
      font-family: serif;
      font-size: 40px;
      text-align: center;
      font-weight: bold;
      color: #3f992f;
      margin: 30px auto;
    }

    .tofamily_no_data_p{
      font-size: 18px;
      text-align: center;
      letter-spacing: 1px;
      line-height: 1.2;
    }

    .tofamily_yes_data_p{
      font-size: 18px;
      text-align: center;
      letter-spacing: 1px;
      margin-bottom: 10px;
    }

    .tofamily_card_form{
      width: 100%;
      height: auto;
      margin: 20px auto;
      display: flex;
      flex-direction: column;
      flex-wrap: nowrap;
      justify-content: start;
      border-top: 1px solid rgba(100, 100, 100, 0.6);
      align-items: center;
    }

    .tofamily_card_button{
      box-sizing: border-box;
      width: 100%;
      height: 120px;
      padding: 12px 20px;
      display: flex;
      flex-direction: row;
      align-items: center;
      border-bottom: 1px solid rgba(100, 100, 100, 0.6);
      background-color: #f0fff0;
    }

    .tofamily_card_left{
      min-width: 100px;
      height: 80px;
      margin-right: 20px;
      background-color: #fff;
    }

    .tofamily_card_img{
      width: 100%;
      height: 100%;
      background-position: center;
      background-repeat: no-repeat;
      background-size: contain;
    }

    .tofamily_card_right{
      width: auto;
      height: 100%;
      overflow: scroll;
      color: black;
      text-align: start;
    }

    .tofamily_card_h2{
      width: 100%;
      height: auto;
      font-size: 14px;
      margin-top: 5px;
      margin-bottom: 4px;
    }

    .tofamily_card_date{
      width: 100%;
      height: auto;
      font-size: 10px;
      color: #666;
      margin-bottom: 6px;
    }

    .tofamily_card_overview{
      width: 100%;
      height: auto;
      font-size: 12px;
      letter-spacing: 1px;
    }




  /* tofamily_base.php */

    .tofamily_item_body{
      width: 100%;
      height: auto;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      align-items: center;
    }

    .tofamily_item_main{
      width: 85%;
      height: auto;
      margin: 30px auto;
      display: flex;
      flex-direction: column;
      justify-content: start;
      align-items: center;
    }

    .tofamily_item_main_content{
      width: 100%;
      height: auto;
      display: flex;
      flex-direction: column;
      justify-content: start;
      align-items: center;
    }

    .tofamily_item_post{
      width: 100%;
      height: auto;
    }

    .tofamily_item_post_title{
      font-size: 24px;
      letter-spacing: 1px;
      margin-bottom: 8px;
    }

    .tofamily_item_post_date{
      font-size: 12px;
      color: #666;
      margin-bottom: 20px;
    }

    .tofamily_item_list{
      width: 100%;
      height: auto;
      margin-top: 50px;
    }

    .tofamily_item_list_h{
      box-sizing: border-box;
      width: 100%;
      height: 50px;
      padding: 0px 12px;
      font-size: 16px;
      color: #fff;
      background-color: #63bc3a;
      border: none;
      display: flex;
      flex-direction: row;
      justify-content: space-between;
      align-items: center;
    }

    .tofamily_item_list_h_right{
      color: #fff;
      text-decoration: underline;
    }

    .tofamily_item_list_content{
      box-sizing: border-box;
      width: 100%;
      height: 50px;
      padding: 0px 5px;
      border-left: 1px solid rgba(100, 100, 100, 0.6);
      border-right: 1px solid rgba(100, 100, 100, 0.6);
      border-bottom: 1px solid rgba(100, 100, 100, 0.6);
      display: flex;
      flex-direction: row;
      justify-content: start;
      align-items: center;
      background-color: #fff;
    }

    .tofamily_item_list_content_date{
      box-sizing: border-box;
      width: 60px;
      font-size: 8px;
      color: #666;
    }

    .tofamily_item_list_content_title{
      box-sizing: border-box;
      width: auto;
      flex-grow: 1;
      font-size: 15px;
      overflow: scroll;
      white-space: nowrap;
      text-align: left;
    }

    .tofamily_item_post_others{
      width: 90%;
      height: auto;
      display: flex;
      flex-direction: row;
      justify-content: center;
      align-items: center;
      border: 1px solid rgba(100, 100, 100, 0.6);
      margin: 50px auto 0;
    }

    .tofamily_item_post_others_new{
      width: auto;
      height: 50px;
      text-align: center;
      background-color: #fff;
      border-right: 1px solid rgba(100, 100, 100, 0.6);
      flex-grow: 1;
    }

    .tofamily_item_post_others_old{
      width: 50%;
      height: 50px;
      text-align: center;
      background-color: #fff;
    }




  /* pass_conf.php */

    .pass_conf_body{
      width: 100%;
      height: auto;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      align-items: center;
    }

    .pass_conf_main{
      width: 100%;
      height: auto;
      flex-grow: 1;
      margin-bottom: 20px;
    }

    .pass_conf_h1{        
      font-family: serif;
      font-size: 24px;
      text-align: center;
      font-weight: bold;
      color: #3f992f;
      margin: 100px auto 100px;
    }

    .pass_conf_form{
      width: 100%;
      height: 300px;
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      justify-content: start;
      align-items: center;
    }

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

    .pass_conf_pass{
      width: 50%;
      min-width: 200px;
      padding: 5px;
      font-size: 16px;
      margin-bottom: 40px;
      border: 1px solid black;
      border-radius: 3px;
    }

    .pass_conf_login{
      font-size: 16px;
      color: black;
      background-color: aquamarine;
      border: 1px solid black;
      border-radius: 3px;
      padding: 3px 30px;
      letter-spacing: 1px;
    }




  /* header.php */

    header{
        position: fixed;
        height: 56px;
        width: 100%;
        z-index: 100;
        background-color: #fff;
    }

    .header_div{
        height: 56px;
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .header_logo_a{
        height: 40px;
        width: auto;
        margin-left: 10px;
    }

    .header_logo_img{
        height: 40px;
        width: auto;
    }

    .header_logo_a_invert{
        display: none;
    }

    .header_logo_img_invert{
        display: none;
    }

    .header_insta_a{
        height: 35px;
        width: auto;
        margin-right: 30px;
    }

    .header_insta_img{
        height: 35px;
        width: auto;
        opacity: 0.7;
    }

    .header_space{
      flex-grow: 1;
    }

    /* ハンバーガーボタンの形 */
    .header_btn {
        display: block;
        position: relative;
        width: 56px;
        height: 56px;
        z-index: 1000;
        background: none;
        cursor: pointer;
        border: none;
    }

    .header_btn span {
        position: absolute;
        display: block;
        width: 18px;
        height: 2px;
        background-color: #333;
        transition: all 0.3s;
    }

    .header_btn span:nth-child(1) { 
      top: 22px; 
      left: 18px; 
    }
    .header_btn span:nth-child(2) { 
      top: 28px; 
      left: 18px; 
    }
    .header_btn span:nth-child(3) { 
      bottom: 20px; 
      left: 18px; 
    }

    /* ボタンがクリックされた時の「X」印への変化 */
    /* クリックされたら色を白へ */
    .header_btn.open span:nth-child(1) { 
      transform: translateY(6px) rotate(45deg); 
      background-color: #fff;
    }
    .header_btn.open span:nth-child(2) { 
      opacity: 0; 
    }
    .header_btn.open span:nth-child(3) { 
      transform: translateY(-6px) rotate(-45deg); 
      background-color: #fff;
    }

    /* メニュー本体（右からスライドイン） */
    .header_nav {
        display: block;
        position: fixed;
        top: 0;
        left: 120%;
        width: 100%;
        height: 100vh;
        background: #5ab23c;
        z-index: 999;
        padding-top: 56px;
        transition: left 0.2s ease;
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    }

    /* メニューが開いた状態 */
    .header_nav.open {
        left: 70px;
    }

    .header_nav_ul {
        flex-direction: column;
        align-items: center;
        border-top: 1px solid rgba(255, 255, 255, 0.4);
    }

    .header_nav_li {
        margin: 0;
        height: 56px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    }

    .header_nav_li_a {
        display: block;
        margin: 0;
        padding: 18px 20px;
        line-height: 1.6;
        overflow: hidden;
        text-decoration: none;
        color: #fff;
        font-size: 13px;
    }

    /* 背景オーバーレイ */
    .nav_overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 99;
    }

    .nav_overlay.open {
        display: block;
    }

    .header_base{
        width: 100%;
        height: 56px;
    }




  /* footer.php */

    footer{
      box-sizing: border-box;
      width: 100%;
      height: 330px;
      padding: 40px 30px;
      background-color: #f5f5f5;
      display: flex;
      flex-direction: row;
      justify-content: center;
      align-items: center;
    }

    .index_contact_top{
      box-sizing: border-box;
      width: 50%;
      height: 50%;
      border: 1px solid #ddd;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      background-color: #fff;
    }

    .index_contact_top_p{
      font-size: 12px;
      margin-bottom: 15px;
    }

    .index_contact_top_tel{
      font-size: 20px;
      font-family: serif;
      color: #63bc3a;
    }

    .index_contact_top_tel_span{
      font-size: 35px;
      color: #63bc3a;
    }

    .index_contact_under{
      box-sizing: border-box;
      width: 50%;
      height: 50%;
      padding-top: 15px;
      border: 1px solid #ddd;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      background-color: #fff;
    }

    .footer_insta_a{
      margin: 0 auto;
      width: 200px;
      height: auto;
      color: #fff;
      box-sizing: border-box;
    }

    .footer_insta_img{
      width: 100%;
      height: auto;
    }




  /* ページネーション */

    .pagination_ul{
      box-sizing: border-box;
      width: 100%;
      margin: 0px auto;
      display: flex;
      justify-content: center;
      align-items: center;
    }

    .pagination_flex_li{
      box-sizing: border-box;
      width: 32px;
      height: 32px;
      border: none;
      display: flex;
      justify-content: center;
      align-items: center;
    }

    .pagination_flex_li a{
      box-sizing: border-box;
      width: 25px;
      height: 25px;
      text-align: center;
      border: 0.5px solid black;
      line-height: 1.2;
    }

    .pagination_first_a::before{
      content: "";
      display: inline-block;
      margin-right: 5px;
      border: 5px solid transparent;
      border-right: 10px solid black;
    }

    .pagination_skip_span{
      font-size: 18px;
      box-sizing: border-box;
      width: 25px;
      height: 25px;
      text-align: center;
      line-height: 1.2;
    }

    .pagination_number_a{
      font-size: 18px;
      border: 0.5px solid black;
      border-radius: 2px;
      color: black;
    }
    .pagination_number_a_now{
      font-size: 18px;
      border: 0.5px solid black;
      border-radius: 2px;
      color: white;
      background-color: #614d3f;
    }

    .pagination_last_a::after{
      content: "";
      display: inline-block;
      margin-left: 5px;
      border: 5px solid transparent;
      border-left: 10px solid black;
    }

  

}




/* 画面幅が1025px以上（PC向けなど）に適用されるスタイル */
@media screen and (min-width: 1025px) {

  /* index.php */

    .index_body{
      color: #666666;
    }

    .index_main{
        width: 100%;
        height: auto;
        position: relative;
        z-index: 5;
    }

    .scroll_margin{
      width: 100%;
      height: 0px;
    }

    /* ヘッダースライダー */

      .img_slider_box {
          position: relative;
          width: 100%;
          aspect-ratio: 100 / 57; 
          overflow: hidden;
          background-color: #fff;
      }

      .slider_item {
          position: absolute;
          top: 0;
          left: 0;
          width: 100%;
          height: 100%;
          opacity: 0;
          z-index: 1;
          transition: opacity 1.5s ease-in-out;
          display: flex;
          justify-content: center;
          align-items: center;
      }

      /* 表示されているスライド */
      /* アクティブな方を上 */
      .slider_item.active {
          opacity: 1;
          z-index: 2;
      }

      /* 画像のズームアニメーション */
      .slider_img {
          position: absolute;
          top: 0;
          left: 0;
          width: 100%;
          height: 100%;
          object-fit: cover;
          transform: scale(1.05);
      }

      .slider_item.active .slider_img {
          animation: zoomUp 6s forwards;
      }
      @keyframes zoomUp {
          0% { transform: scale(1); }
          100% { transform: scale(1.05); }
      }

      /* 文字の中央出現アニメーション */
      .slider_text {
          z-index: 3;
          color: #fff;
          font-size: 38px;
          letter-spacing: 1px;
          line-height: 1.3;
          text-align: center;
          text-shadow: 2px 2px 16px rgb(0,0,0);
          opacity: 0;
          transition: opacity 1.0s ease-in-out; 
      }

      /* 画像表示から1秒後に0.8秒かけて出現 */
      .slider_item.active .slider_text {
          animation: fadeInUp 1s forwards 0.9s; 
      }

      /* 非アクティブ（activeが外れた）時、opacity を100のままにする */
      .slider_item:not(.active) .slider_text {
          opacity: 100;
      }

      @keyframes fadeInUp {
          0% {
              opacity: 0;
              transform: translateY(1px);
          }
          100% {
              opacity: 1;
              transform: translateY(0);
          }
      }

    /* アンカーリンク */

      .anchor_link_box{
        box-sizing: border-box;
        position: relative;
        z-index: 6;
        width: 90%;
        height: auto;
        margin: -80px auto;
        padding: 30px;
        background-color: #fff;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
      }

      .anchor_a{
        width: 33.3%;
        height: auto;
        cursor: pointer;
        margin-right: 3px;
      }

      .no_anchor_a{
        width: 100%;
        height: auto;
        cursor: pointer;
        margin-bottom: 6px;
      }

      /* 「aspect-ratio」によりwidthに対するheightを指定 */
      .anchor_img_div{
        display: block;
        width: 100%;
        aspect-ratio: 100 / 80;
        overflow: hidden;
      }

      .anchor_img{
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transform: scale(1.1);
        transition: transform 0.3s ease, opacity 0.3s ease;
      }

      /* クリックされた時にJSで付与するクラス */
      /* 右に5pxスライド */
      .anchor_img.is_clicked {
        opacity: 0.6;
        transform: scale(1.1) translateX(5px);
      }

      /* ホバー時の演出（お好みで追加） */
      @media (hover: hover) {
        .anchor_a:hover .anchor_img {
          opacity: 0.8;
        }
      }

      .anchor_h2{
        font-size: 14px;
        text-align: center;
        color: #fff;
        line-height: 45px;
        background-color: #63bc3a;
        width: 100%;
        height: 45px;
        position: relative;
      }

    /* インフォメーション */

      .index_info{
        box-sizing: border-box;
        width: 100%;
        height: auto;
        padding: 20px;
        display: flex;
        flex-direction: column;
        justify-content: start;
        align-items: center;
        margin: 130px 0 80px;
      }

      .index_info_h1{
        font-family: serif;
        font-size: 40px;
        text-align: center;
        font-weight: bold;
        color: #3f992f;
        margin-bottom: 50px;
      }

      .index_info_a{
        display: block;
        width: 200px;
        height: 45px;
        line-height: 45px;
        font-size: 14px;
        color: #fff;
        text-align: center;
        box-sizing: border-box;
        background-color: #63bc3a;
        margin: 0 auto;
      }

      .index_info_list_box{
        box-sizing: border-box;
        width: 91%;
        height: auto;
        margin: 0 auto 60px;
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        align-items: center;
      }

      .index_info_card{
        box-sizing: border-box;
        background-color: #e5e5e5;
        width: 30%;
        height: 150px;
        margin: 6px auto;
        padding: 15px 0 15px 30px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: start;
      }

      .index_info_card_h{
        font-size: 15px;
        letter-spacing: 0.5px;
        color: black;
        margin-bottom: 6px;
      }

      .index_info_card_date{
        font-size: 12px;
        letter-spacing: 0.5px;
        color: #666;
        margin-top: 6px;
      }


    /* アバウト */

      .index_about{
        box-sizing: border-box;
        width: 85%;
        height: auto;
        margin: 0 auto 100px;
      }

      .index_about_h1{
        font-family: serif;
        font-size: 40px;
        text-align: center;
        color: #3f992f;
      }

      .index_about_h2_div{
        width: 100%;
        margin-top: 25px;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
      }

      .index_about_h2{
        font-size: 14px;
        color: #666666;
      }

      .index_about_img_1{
        width: 100%;
        height: auto;
        margin-top: 40px;
      }

      .index_about_img_2{
        width: 48%;
        aspect-ratio: 100 / 67;
        margin-top: 100px;
        object-fit: cover;
        object-position: center;
      }

      .index_about_p{
        width: 48%;
        aspect-ratio: 100 / 67;
        font-size: 1.2vw;
        text-align: center;
        letter-spacing: 0.5px;
        line-height: 1.7;
        margin-top: 100px;
        float: right;
      }

      .index_about_p_span{
        font-size: 1.9vw;
      }

    /* 家族ページ */

      .index_family{
        width: 100%;
        padding: 50px 0;
        background-color: #f5f5f5;
        margin: 0 auto 100px;
      }

      .index_family_h1{
        font-family: serif;
        font-size: 40px;
        text-align: center;
        color: #3f992f;
      }

      .index_family_p_div{
        width: 100%;
        margin-top: 20px;
        margin-bottom: 60px;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
      }

      .index_family_p{
        font-size: 14px;
        color: #666666;
      }

      .index_family_a{
        display: block;
        margin: 0 auto;
        width: 200px;
        height: 50px;
        line-height: 50px;
        font-size: 18px;
        color: #fff;
        text-align: center;
        box-sizing: border-box;
        background-color: #63bc3a;
      }

      .index_family_list_box{
        box-sizing: border-box;
        width: 88%;
        min-height: 200px;
        margin: 0 auto 40px;
        padding: 0 20px;
        position: relative;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
      }

      .index_tofamily_card_0 ,
      .index_tofamily_card_1 ,
      .index_tofamily_card_2 ,
      .index_tofamily_card_3{
        box-sizing: border-box;
        width: 23%;
        aspect-ratio: 100 / 120;
        background-color: #fff;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
      }

      .index_tofamily_card_top{
        box-sizing: border-box;
        width: 100%;
        height: auto;
        padding: 10px 0 0 10px;
        display: flex;
        flex-direction: column;
        justify-content: start;
        align-items: start;
        overflow: scroll;
      }

      .index_tofamily_card_h{
        width: 100%;
        font-size: 14px;
        color: black;
        margin-bottom: 5px;
        white-space: nowrap;
      }

      .index_tofamily_card_date{
        width: 100%;
        margin: 0 0 10px 20px;
        font-size: 10px;
        letter-spacing: 0.5px;
        color: #666;
      }

      .index_tofamily_card_under{
        box-sizing: border-box;
        width: 100%;
        height: auto;
        padding: 30px;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
      }

      .index_tofamily_card_img{
        box-sizing: border-box;
        width: 100%;
        aspect-ratio: 100 / 100;
        object-fit: cover;
        object-position: center;
      }

      .index_family_no_login_div{
        position: absolute;
        top: 0;
        left: 0;
        box-sizing: border-box;
        width: 100%;
        height: 100%;
        background-color: rgba(0,0,0,0.5);
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
      }

      .index_family_no_login_span{
        font-size: 18px;
        text-align: center;
        letter-spacing: 1px;
        line-height: 1.3;
        color: #fff;
      }

      .index_family_no_post_div{
        position: absolute;
        top: 0;
        left: 0;
        box-sizing: border-box;
        width: 100%;
        height: 100%;
        background-color: #fff;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
      }

      .index_family_no_post_span{
        font-size: 18px;
        text-align: center;
        letter-spacing: 1px;
        line-height: 1.3;
      }


    /* アクセス */

      .index_access{
        box-sizing: border-box;
        width: 100%;
        height: auto;
        padding-top: 40px;
        display: flex;
        flex-direction: column;
        justify-content: start;
        align-items: center;
      }

      .index_access_h1{
        font-family: serif;
        font-size: 40px;
        text-align: center;
        font-weight: bold;
        color: #3f992f;
        margin-bottom: 5px;
      }

      .index_access_p{
        font-size: 14px;
        text-align: center;
        margin-bottom: 30px;
      }

      .index_access_item{
        box-sizing: border-box;
        width: 60%;
        height: 60px;
        padding: 0 20px;
        margin-bottom: 10px;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
      }

      .index_access_item_left{
        box-sizing: border-box;
        width: 30%;
        height: auto;
        font-size: 16px;
        text-align: center;
      }

      .index_access_item_right{
        box-sizing: border-box;
        width: 70%;
        height: auto;
        font-size: 16px;
        letter-spacing: 0.5px;
        line-height: 1.4;
        white-space: nowrap;
        overflow: scroll;
        text-align: center;
      }

      .index_map{
        width: 80%;
        height: 600px;
        margin: 20px auto 60px;
      }




  /* info.php */

    .info_body{
      width: 100%;
      height: auto;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      align-items: center;
    }

    .info_main{
      width: 100%;
      height: auto;
      flex-grow: 1;
      margin-bottom: 20px;
    }

    .info_header_img{
      width: 100%;
      height: 350px;
      object-fit: contain;
    }

    .info_h1{        
      font-family: serif;
      font-size: 40px;
      text-align: center;
      font-weight: bold;
      color: #3f992f;
      margin: 0 auto 40px;
    }

    .info_no_data_p{
      font-size: 16px;
      text-align: center;
      letter-spacing: 1px;
      line-height: 1.2;
    }

    .info_yes_data_p{
      font-size: 20px;
      text-align: center;
      letter-spacing: 1px;
      margin-bottom: 50px;
    }

    .info_card_form{
      box-sizing: border-box;
      width: 80%;
      height: auto;
      margin: 20px auto;
      display: flex;
      flex-direction: row;
      flex-wrap: wrap;
      justify-content: start;
      align-items: center;
      border-top: 1px solid rgba(100, 100, 100, 0.6);
      border-left: 1px solid rgba(100, 100, 100, 0.6);
    }

    .info_card_button{
      box-sizing: border-box;
      width: 50%;
      height: 200px;
      padding: 30px 20px;
      display: flex;
      flex-direction: row;
      align-items: center;
      border-right: 1px solid rgba(100, 100, 100, 0.6);
      border-bottom: 1px solid rgba(100, 100, 100, 0.6);
      background-color: #f0fff0;
    }

    .info_card_left{
      min-width: 160px;
      height: 120px;
      margin-right: 20px;
      background-color: #fff;
    }

    .info_card_img{
      width: 100%;
      height: 100%;
      background-position: center;
      background-repeat: no-repeat;
      background-size: contain;
    }

    .info_card_right{
      width: auto;
      height: 100%;
      overflow: scroll;
      color: black;
      text-align: start;
    }

    .info_card_h2{
      width: 100%;
      height: auto;
      font-size: 18px;
      margin-top: 8px;
      margin-bottom: 6px;
    }

    .info_card_date{
      width: 100%;
      height: auto;
      font-size: 12px;
      color: #666;
      margin-bottom: 12px;
    }

    .info_card_overview{
      width: 100%;
      height: auto;
      font-size: 14px;
      letter-spacing: 1.5px;
      line-height: 1.2;
    }




  /* info_base.php */

    .info_item_body{
      width: 100%;
      height: auto;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      align-items: center;
    }

    .info_item_main{
      width: 85%;
      height: auto;
      margin: 30px auto;
      display: flex;
      flex-direction: column;
      justify-content: start;
      align-items: center;
    }

    .info_item_main_content{
      width: 100%;
      height: auto;
      display: flex;
      flex-direction: row;
      justify-content: center;
      align-items: flex-start;
      margin-bottom: 50px;
    }

    .info_item_post{
      width: auto;
      height: auto;
      flex-grow: 1;
    }

    .info_item_post_title{
      font-size: 24px;
      letter-spacing: 1px;
      margin-bottom: 8px;
    }

    .info_item_post_date{
      font-size: 12px;
      color: #666;
      margin-bottom: 20px;
    }

    .info_item_list{
      width: 400px;
      height: auto;
    }

    .info_item_list_h{
      box-sizing: border-box;
      width: 100%;
      height: 50px;
      padding: 0px 12px;
      font-size: 16px;
      color: #fff;
      background-color: #63bc3a;
      border: none;
      display: flex;
      flex-direction: row;
      justify-content: space-between;
      align-items: center;
    }

    .info_item_list_h_right{
      color: #fff;
      text-decoration: underline;
    }

    .info_item_list_content{
      box-sizing: border-box;
      width: 100%;
      height: 50px;
      padding: 0px 5px;
      border-left: 1px solid rgba(100, 100, 100, 0.6);
      border-right: 1px solid rgba(100, 100, 100, 0.6);
      border-bottom: 1px solid rgba(100, 100, 100, 0.6);
      display: flex;
      flex-direction: row;
      justify-content: start;
      align-items: center;
      background-color: #fff;
    }

    .info_item_list_content_date{
      box-sizing: border-box;
      width: 60px;
      font-size: 8px;
      color: #666;
    }

    .info_item_list_content_title{
      box-sizing: border-box;
      width: auto;
      flex-grow: 1;
      font-size: 15px;
      color: black;
      overflow: scroll;
      white-space: nowrap;
      text-align: left;
    }

    .info_item_post_others{
      width: 80%;
      height: auto;
      display: flex;
      flex-direction: row;
      justify-content: center;
      align-items: center;
      border: 1px solid rgba(100, 100, 100, 0.6);
      margin: 50px auto 0 0;
    }

    .info_item_post_others_new{
      width: auto;
      height: 50px;
      text-align: center;
      color: black;
      background-color: #fff;
      border-right: 1px solid rgba(100, 100, 100, 0.6);
      flex-grow: 1;
    }

    .info_item_post_others_old{
      width: 50%;
      height: 50px;
      text-align: center;
      color: black;
      background-color: #fff;
    }




  /* tofamily.php */

    .tofamily_body{
      width: 100%;
      height: auto;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      align-items: center;
    }

    .tofamily_main{
      width: 100%;
      height: auto;
      flex-grow: 1;
      margin-bottom: 20px;
    }

    .tofamily_header_img{
      width: 100%;
      height: 350px;
      object-fit: cover;
    }

    .tofamily_h1{        
      font-family: serif;
      font-size: 40px;
      text-align: center;
      font-weight: bold;
      color: #3f992f;
      margin: 50px auto 40px;
    }

    .tofamily_no_data_p{
      font-size: 18px;
      text-align: center;
      letter-spacing: 1px;
      line-height: 1.2;
    }

    .tofamily_yes_data_p{
      font-size: 20px;
      text-align: center;
      letter-spacing: 1px;
      margin-bottom: 50px;
    }

    .tofamily_card_form{
      box-sizing: border-box;
      width: 80%;
      height: auto;
      margin: 20px auto;
      display: flex;
      flex-direction: row;
      flex-wrap: wrap;
      justify-content: start;
      align-items: center;
      border-top: 1px solid rgba(100, 100, 100, 0.6);
      border-left: 1px solid rgba(100, 100, 100, 0.6);
    }

    .tofamily_card_button{
      box-sizing: border-box;
      width: 50%;
      height: 200px;
      padding: 30px 20px;
      display: flex;
      flex-direction: row;
      align-items: center;
      border-right: 1px solid rgba(100, 100, 100, 0.6);
      border-bottom: 1px solid rgba(100, 100, 100, 0.6);
      background-color: #f0fff0;
    }

    .tofamily_card_left{
      min-width: 160px;
      height: 120px;
      margin-right: 20px;
      background-color: #fff;
    }

    .tofamily_card_img{
      width: 100%;
      height: 100%;
      background-position: center;
      background-repeat: no-repeat;
      background-size: contain;
    }

    .tofamily_card_right{
      width: auto;
      height: 100%;
      overflow: scroll;
      color: black;
      text-align: start;
    }

    .tofamily_card_h2{
      width: 100%;
      height: auto;
      font-size: 18px;
      margin-top: 8px;
      margin-bottom: 6px;
    }

    .tofamily_card_date{
      width: 100%;
      height: auto;
      font-size: 12px;
      color: #666;
      margin-bottom: 12px;
    }

    .tofamily_card_overview{
      width: 100%;
      height: auto;
      font-size: 14px;
      letter-spacing: 1.5px;
      line-height: 1.2;
    }




  /* tofamily_base.php */

    .tofamily_item_body{
      width: 100%;
      height: auto;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      align-items: center;
    }

    .tofamily_item_main{
      width: 85%;
      height: auto;
      margin: 30px auto;
      display: flex;
      flex-direction: column;
      justify-content: start;
      align-items: center;
    }

    .tofamily_item_main_content{
      width: 100%;
      height: auto;
      display: flex;
      flex-direction: row;
      justify-content: center;
      align-items: flex-start;
      margin-bottom: 50px;
    }

    .tofamily_item_post{
      width: auto;
      height: auto;
      flex-grow: 1;
    }

    .tofamily_item_post_title{
      font-size: 24px;
      letter-spacing: 1px;
      margin-bottom: 8px;
    }

    .tofamily_item_post_date{
      font-size: 12px;
      color: #666;
      margin-bottom: 20px;
    }

    .tofamily_item_list{
      width: 400px;
      height: auto;
    }

    .tofamily_item_list_h{
      box-sizing: border-box;
      width: 100%;
      height: 50px;
      padding: 0px 12px;
      font-size: 16px;
      color: #fff;
      background-color: #63bc3a;
      border: none;
      display: flex;
      flex-direction: row;
      justify-content: space-between;
      align-items: center;
    }

    .tofamily_item_list_h_right{
      color: #fff;
      text-decoration: underline;
    }

    .tofamily_item_list_content{
      box-sizing: border-box;
      width: 100%;
      height: 50px;
      padding: 0px 5px;
      border-left: 1px solid rgba(100, 100, 100, 0.6);
      border-right: 1px solid rgba(100, 100, 100, 0.6);
      border-bottom: 1px solid rgba(100, 100, 100, 0.6);
      display: flex;
      flex-direction: row;
      justify-content: start;
      align-items: center;
      background-color: #fff;
    }

    .tofamily_item_list_content_date{
      box-sizing: border-box;
      width: 60px;
      font-size: 8px;
      color: #666;
    }

    .tofamily_item_list_content_title{
      box-sizing: border-box;
      width: auto;
      flex-grow: 1;
      font-size: 15px;
      overflow: scroll;
      white-space: nowrap;
      text-align: left;
    }

    .tofamily_item_post_others{
      width: 80%;
      height: auto;
      display: flex;
      flex-direction: row;
      justify-content: center;
      align-items: center;
      border: 1px solid rgba(100, 100, 100, 0.6);
      margin: 50px auto 0 0;
    }

    .tofamily_item_post_others_new{
      width: auto;
      height: 50px;
      text-align: center;
      background-color: #fff;
      border-right: 1px solid rgba(100, 100, 100, 0.6);
      flex-grow: 1;
    }

    .tofamily_item_post_others_old{
      width: 50%;
      height: 50px;
      text-align: center;
      background-color: #fff;
    }




  /* pass_conf.php */

    .pass_conf_body{
      width: 100%;
      height: auto;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      align-items: center;
    }

    .pass_conf_main{
      width: 100%;
      height: auto;
      flex-grow: 1;
      margin-bottom: 20px;
    }

    .pass_conf_h1{        
      font-family: serif;
      font-size: 24px;
      text-align: center;
      font-weight: bold;
      color: #3f992f;
      margin: 100px auto 100px;
    }

    .pass_conf_form{
      width: 100%;
      height: 300px;
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      justify-content: start;
      align-items: center;
    }

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

    .pass_conf_pass{
      width: 50%;
      min-width: 200px;
      padding: 5px;
      font-size: 16px;
      margin-bottom: 40px;
      border: 1px solid black;
      border-radius: 3px;
    }

    .pass_conf_login{
      font-size: 16px;
      color: black;
      background-color: aquamarine;
      border: 1px solid black;
      border-radius: 3px;
      padding: 3px 30px;
      letter-spacing: 1px;
    }




  /* header.php */

    header{
        width: 100%;
        height: 90px;
        background-color: #63bc3ab8;
    }

    .header_div{
        box-sizing: border-box;
        width: 100%;
        height: 90px;
        padding: 0 100px;
        display: flex;
        justify-content: space-around;
        align-items: center;
    }

    .header_logo_a{
        display: none;
    }

    .header_logo_img{
        display: none;
    }

    .header_logo_a_invert{
        height: 50px;
        width: auto;
    }

    .header_logo_img_invert{
        height: 50px;
        width: auto;
    }

    .header_insta_a{
        height: 40px;
        width: auto;
    }

    .header_insta_img{
        height: 40px;
        width: auto;
        opacity: 0.7;
    }

    .header_space{
      flex-grow: 1;
    }

    .header_btn {
        display: none;
    }

    .header_nav {
        display: block;
        width: auto;
        height: 90px;
    }

    .header_nav_ul {
        height: 100%;
        display: flex;
        flex-direction: row;
        justify-content: flex-end;
        align-items: center;
    }

    .header_nav_li {
        margin: 0;
        height: 90px;
        padding-left: 50px;
    }

    .header_nav_li_a {
        display: block;
        margin: 0;
        line-height: 90px;
        text-decoration: none;
        color: #fff;
        font-size: 15px;
    }

    /* 背景オーバーレイ */
    .nav_overlay {
        display: none;
    }

    .header_base{
      display: none;
    }




  /* footer.php */

    footer{
      box-sizing: border-box;
      width: 100%;
      height: 330px;
      padding: 40px 30px;
      background-color: #f5f5f5;
      display: flex;
      flex-direction: row;
      justify-content: center;
      align-items: center;
    }

    .index_contact_top{
      box-sizing: border-box;
      width: 50%;
      height: 50%;
      border: 1px solid #ddd;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      background-color: #fff;
    }

    .index_contact_top_p{
      font-size: 12px;
      margin-bottom: 15px;
    }

    .index_contact_top_tel{
      font-size: 20px;
      font-family: serif;
      color: #63bc3a;
    }

    .index_contact_top_tel_span{
      font-size: 35px;
      color: #63bc3a;
    }

    .index_contact_under{
      box-sizing: border-box;
      width: 50%;
      height: 50%;
      padding-top: 15px;
      border: 1px solid #ddd;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      background-color: #fff;
    }

    .footer_insta_a{
      margin: 0 auto;
      width: 200px;
      height: auto;
      color: #fff;
      box-sizing: border-box;
    }

    .footer_insta_img{
      width: 100%;
      height: auto;
    }




  /* ページネーション */

    .pagination_ul{
      box-sizing: border-box;
      width: 100%;
      margin: 0px auto;
      display: flex;
      justify-content: center;
      align-items: center;
    }

    .pagination_flex_li{
      box-sizing: border-box;
      width: 32px;
      height: 32px;
      border: none;
      display: flex;
      justify-content: center;
      align-items: center;
    }

    .pagination_flex_li a{
      box-sizing: border-box;
      width: 25px;
      height: 25px;
      text-align: center;
      border: 0.5px solid black;
      line-height: 1.2;
    }

    .pagination_first_a::before{
      content: "";
      display: inline-block;
      margin-right: 5px;
      border: 5px solid transparent;
      border-right: 10px solid black;
    }

    .pagination_skip_span{
      font-size: 18px;
      box-sizing: border-box;
      width: 25px;
      height: 25px;
      text-align: center;
      line-height: 1.2;
    }

    .pagination_number_a{
      font-size: 18px;
      border: 0.5px solid black;
      border-radius: 2px;
      color: black;
    }
    .pagination_number_a_now{
      font-size: 18px;
      border: 0.5px solid black;
      border-radius: 2px;
      color: white;
      background-color: #614d3f;
    }

    .pagination_last_a::after{
      content: "";
      display: inline-block;
      margin-left: 5px;
      border: 5px solid transparent;
      border-left: 10px solid black;
    }

  

}