@charset "utf-8";
/*
Template: jstork19
Theme Name: rizemi
Theme URI:http://open-cage.com/stork19/
Version: 1.3.0
Author: opencage
Author URI: https://open-cage.com/
*/

.wp-block-latest-posts__list.wp-block-latest-posts li {
    list-style: none;
    border-bottom: 1px solid #ddd;
    padding: 10px 0;
}

.wp-block-latest-posts__list.wp-block-latest-posts li {
    display: flex;
    flex-direction: row-reverse; 
    justify-content: flex-end;   
    align-items: center;         
    gap: 15px;                   
}


.wp-block-latest-posts__post-date {
    font-size: 0.9em;
    color: #666;
    min-width: 100px;
}


.wp-block-latest-posts__post-title {
    text-decoration: none;
    font-weight: bold;
    color: #333;
}


@media screen and (max-width: 480px) {
    .wp-block-latest-posts__list.wp-block-latest-posts li {
        flex-wrap: nowrap; 
    }
}

#modal-2-content ul{
	max-width:1000px;
	margin: 10px auto;
}

.stk_g_nav .gf {
	color:#4D9BF5;
}


.map-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    margin-bottom: 20px;
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    border: 0;
}

.tablepress .row-hover tr:hover td {
    background-color: transparent !important;
}

.tablepress,
.tablepress th,
.tablepress td {
    border: 1px solid #ffdbb7 !important;
    border-collapse: collapse !important;
	text-align:center !important;;
	vertical-align: middle !important;
}

.tablepress thead th {
    background-color: #ff9800 !important; 
    color: #ffffff !important;
    border: 1px solid #ffdbb7 !important;
}

.tablepress thead .sorting:after,
.tablepress thead .sorting_asc:after,
.tablepress thead .sorting_desc:after {
    color: #ffffff !important;
}

:where(.tablepress) :where(tbody.row-striping) > :nth-child(even),
:where(.tablepress) :where(tbody.row-striping) > :nth-child(odd),
.tablepress tbody td,
.tablepress tr td {
    background-color: transparent !important;
}

.tablepress.row-hover tbody tr:hover td {
    background-color: transparent !important;
}

.tablepress thead th {
    background-color: #ff9800 !important;
    color: #ffffff !important;
    border: 1px solid #ffdbb7 !important;
}

/* Contact Form 7 */
.wpcf7 p.zip-search-row{
    display: flex;
    align-items: center;
    gap: 0;
    flex-wrap: wrap;
}
.wpcf7 p.zip-search-row .wpcf7-form-control-wrap{
    flex: 1 1 200px;
    margin: 0;
    min-width: 0; /* flex?????????v?Z?????????? */
}
.wpcf7 p.zip-search-row .wpcf7-form-control-wrap input{
    width: 100% !important;
    display: block;
    margin: 0;
}
.wpcf7 p.zip-search-row .zip-search{
    flex: 0 0 auto;
    white-space: nowrap;
    margin-left: 12px; /* gap??????{?^??????????u?m?? */
}

/* Contact Form 7 (CF7) - form styling */
.wpcf7 form p {
    margin: 0 0 14px;
  }
  .wpcf7 form hr {
    border: 0;
    border-top: 1px solid #dcdcdc;
    margin: 22px 0;
  }
  .wpcf7 input[type="text"],
  .wpcf7 input[type="email"],
  .wpcf7 input[type="tel"],
  .wpcf7 textarea,
  .wpcf7 select {
    width: 100%;
    background: #f3f3f3;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    padding: 12px 14px;
    color: #333;
    box-sizing: border-box;
  }
  .wpcf7 textarea {
    min-height: 150px;
    resize: vertical;
  }
  /* checkbox / radio ???c?????? */
  .wpcf7 .wpcf7-checkbox .wpcf7-list-item,
  .wpcf7 .wpcf7-radio .wpcf7-list-item {
    display: block;
    margin: 8px 0;
  }
  /* ?????O?i???E???j????????????? */
  /* name-row ??t???????? flex ??m????????? */
  .wpcf7 p.name-row{
    display: flex;
    gap: 0;
    align-items: center;
    flex-wrap: wrap;
  }
  .wpcf7 p.name-row .wpcf7-form-control-wrap{
    flex: 1 1 160px;
    margin: 0;
  }
  .wpcf7 p.name-row input{
    width: 100% !important;
    display: block;
  }

  /* name-row ??2???i???j??????u??t???? */
  .wpcf7 p.name-row .wpcf7-form-control-wrap + .wpcf7-form-control-wrap{
    margin-left: 12px;
  }

  /* name-row ????? inline-block ????????w??b??????????????? */
  .wpcf7 p.name-row input[name="your_family_name"],
  .wpcf7 p.name-row input[name="your_first_name"]{
    display: block !important;
    width: 100% !important;
    margin-left: 0 !important;
  }

  .wpcf7 input[name="your_family_name"],
  .wpcf7 input[name="your_first_name"] {
    display: inline-block;
    width: calc(50% - 6px);
    vertical-align: top;
  }
  .wpcf7 input[name="your_first_name"] {
    margin-left: 12px; /* ?????p */
  }
  /* ?X???? + ?Z???????{?^???i?????c?????b?????????????????j */
  .wpcf7 .zip-search {
    margin-top: 10px;
    background: #00b4f1;
    color: #fff;
    border: 0;
    border-radius: 2px;
    padding: 12px 18px;
    cursor: pointer;
  }
  /* ???M?{?^?? */
  .wpcf7 input.wpcf7-submit,
  .wpcf7 input[type="submit"] {
    background: #00b4f1;
    color: #fff;
    border: 0;
    border-radius: 2px;
    padding: 16px 24px;
    width: 240px;
    display: block;
    margin: 18px auto 0;
    cursor: pointer;
  }
  /* ?t?H?[?J?X?? */
  .wpcf7 input:focus,
  .wpcf7 textarea:focus,
  .wpcf7 select:focus {
    outline: none;
    border-color: #bdbdbd;
  }

  .wpcf7 .cf7-row {
    border-bottom : 1px solid #CCC;
    padding : 10px 0;
  }

  .wpcf7 .cf7-row--full{
    border : none;
  }

  /* ????t?H?[???F?K???i?w?Z???E?d?b?E???[??????????j */
  .wpcf7 .cf7-note {
    font-size: 0.85em;
    color: #666;
    margin: 6px 0 0;
  }

  /* ????t?H?[???F?w????\????4??O???b?h */
  .wpcf7 .cf7-field--checkbox-grid .wpcf7-list-item {
    display: inline-block;
    width: calc(25% - 8px);
    margin: 4px 4px 4px 0;
    vertical-align: top;
  }

/* PC: CF7??u???x???? / ????E?v???C?A?E?g */
@media screen and (min-width: 768px) {
  .wpcf7 .cf7-row {
    display: grid;
    grid-template-columns: 240px 1fr;
    column-gap: 20px;
    row-gap: 18px;
    align-items: start;
  }

  .wpcf7 .cf7-label {
    padding-top: 10px;
    font-weight: 600;
    line-height: 1.4;
  }

  .wpcf7 .cf7-field {
    min-width: 0;
  }

  /* ?m?F?????E???M?{?^?????A?s?S???L???? */
  .wpcf7 .cf7-row--full {
    grid-column: 1 / -1;
  }

  /* CF7?t?B?[???h????p????????]????}???? */
  .wpcf7 .cf7-field p {
    margin: 0;
  }

  /* PC?????????Y??????????? */
  .wpcf7 p.zip-search-row,
  .wpcf7 p.name-row{
    flex-wrap: nowrap;
  }

  /* PC: ??(??)???(?E)???u???L???? */
  .wpcf7 p.name-row .wpcf7-form-control-wrap + .wpcf7-form-control-wrap{
    margin-left: 24px !important;
  }

  /* PC: ???E??????????Z?? */
  .wpcf7 p.name-row .wpcf7-form-control-wrap{
    flex: 0 0 150px !important;
    max-width: 150px !important;
    margin-right : 10px;
  }

  /* PC: name-row ????????s?v??}?[?W?????c?????????? */
  .wpcf7 p.name-row input[name="your_family_name"],
  .wpcf7 p.name-row input[name="your_first_name"]{
    margin-left: 0 !important;
    display: block !important;
    width: 100% !important;
  }

  /* PC: ?Z???????{?^??????????????????????? */
  .wpcf7 p.zip-search-row .zip-search{
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-3px);
    margin-top: 0 !important;
  }

  /* PC: ?X???????????Z???i?E?????????L??????????j */
  .wpcf7 p.zip-search-row .wpcf7-form-control-wrap{
    flex: 0 0 220px !important;
    max-width: 220px;
  }

  /* PC: ?s???{????Z???N?g??Z?? */
  .wpcf7 #address-pref{
    max-width: 280px;
  }

  /* PC: ?d?b??????????Z?? */
  .wpcf7 input[name="your_phone"]{
    width: 220px !important;
    max-width: 220px !important;
    margin: 0 !important;
  }

  /* PC: 学年セレクトを短く */
  .wpcf7 select[name="child_grade"]{
    width: 220px !important;
    max-width: 220px !important;
    margin: 0 !important;
  }

  /* PC: 応募フォーム - 年齢を短く */
  .wpcf7 input[name="age"]{
    width: 80px !important;
    max-width: 80px !important;
    margin: 0 !important;
  }

  /* PC: 応募フォーム - 現在の職業・学年を短く */
  .wpcf7 select[name="occupation"]{
    width: 220px !important;
    max-width: 220px !important;
    margin: 0 !important;
  }

  /* PC: 応募フォーム - 電話番号を短く */
  .wpcf7 input[name="applicant_phone"]{
    width: 220px !important;
    max-width: 220px !important;
    margin: 0 !important;
  }
}

/* SP: 応募フォーム - 指導可能科目を2列に */
@media screen and (max-width: 767px) {
  .wpcf7 .cf7-field--checkbox-grid .wpcf7-list-item {
    width: 50%;
  }
}
