/* PCのスタイル */
@media screen and (min-width: 751px) {
  /* ページ固有スタイル */
  body {
    width:  100%;
  }
  .home #header_slider {
    height: auto !important;
  }
  .home #header_slider .item {
    height: auto !important;
  }
  #index_video {
    width: 100% !important;
    height: auto!important;
    position: static;
    transform: none !important;
  }
  .m-imgLink figure {
    overflow: hidden;
  }
  .m-imgLink img {
    transition: transform 0.75s ease;
  }
  .m-imgLink:hover img {
    transform: scale(1.05);
  }
  .m-img-size-pc {
    width:  100%;
  }
  .m-img-size-SP {
    display: none;
    width:  100%;
  }
  .l-img-size {
    width:  100%;
    height: 430px;
    object-fit: cover;
    background-size: cover;
  }
  body.layout_type3 #main_col {
    width: 1000px;
  }
}

/* SPのスタイル */
@media screen and (max-width: 750px) {
  .home #header_slider {
    height: calc(1000 / 750 * 100vw) !important;
  }
  #index_video_inner {
    padding-top: calc(1000 / 750 * 100vw);
  }
  .m-img-size .wp-block-cover__image-background {
    background-position: center right !important;
    background-position: right 20% bottom 20%;
  }
  .m-img-size-PC {
    display: none;
    width:  100%;
  }
  .m-img-size-SP {
    width:  100%;
  }
  .l-img-size {
    width:  100%;
    min-height:  0px;
    height: 400px;
    background-size: cover;
  }
}

/* その他のブレークポイント */
@media screen and (max-width:1251px) {
  body.layout_type3 #main_col {
    max-width: inherit;
    width: auto !important;
  }
}

/* グロナビ */
@media screen and (min-width:1252px) {
  #global_menu  ul  li {
    position: static;
  }
  #global_menu  ul  li  a {
    position: static;
  }
  #global_menu ul ul {
    border-bottom: solid 1px #f2f2f2;
    display: none;
    opacity: 0;
    pointer-events: none;
    width: 100vw;
    position: absolute;
    top: 80px;
    z-index: 500;
    left: 50%;
    margin: auto;
    background: #f2f2f2;
    -webkit-transition: all .7s cubic-bezier(.22,1,.36,1) 0s;
    transition: all .7s cubic-bezier(.22,1,.36,1) 0s;
    transform: translateX(-50%);
    pointer-events: initial;
  }
  .header_fix_mobile #global_menu ul ul {
    top: 80px;
  }
  #global_menu ul ul.active {
    display: flex;
    opacity: 1;
  }
  #global_menu ul ul li {
    overflow: hidden;
    width: 100%;
  }
  #global_menu ul ul li:not(:first-child) {
    border-left: solid 1px #f2f2f2;
  }
  #global_menu ul ul a {
    background: #fff;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 0;
  }
  .menu-image-title-after.menu-image-title {
    background: #fff;
    display: block;
    padding: 10px;
    text-align: left;
    position: relative;
    z-index: 1;
    height: 100%;
  }
  #global_menu ul ul a:hover .menu-image-title-after.menu-image-title {
    color: #fff;
    background: #01176f;
  }
  .menu-image-title-after.menu-image-not-hovered img {
    height: auto;
    padding-right: 0;
    position: relative;
    transition: transform 0.75s ease;
    width: 100%;
    z-index: 0;
  }
  #global_menu ul ul a:hover img {
    transform: scale(1.2);
  }
}
@media screen and (max-width:1251px) {
  .menu-image-title-after.menu-image-title {
    padding-left: 0;
  }
  .menu-image-title-after.menu-image-not-hovered img {
    display: none;
  }
}

/* 番号リスト */
.m-numList .wp-block-columns {
  height: 100%;
  margin-bottom: 0;
}
.m-numList .wp-block-cover {
  align-items: flex-start;
  min-height: 0;
  padding: 40px;
}
.post_content .m-numList p {
  margin-bottom: 30px;
}
@media screen and (min-width: 751px) {
  .m-numList .wp-block-cover {
    height: 100%;
  }
}
@media (min-width:600px) and (max-width:750px) {
  .m-numList.wp-block-columns {
    display: flex;
    margin-bottom: 1.75em;
    box-sizing: border-box;
  }
  .m-numList .wp-block-column {
    margin-left: 0 !important;
  }
  .m-numList .wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column:not(:first-child) {
    margin-left: var(--wp--style--block-gap,2em);
  }
}
@media screen and (max-width:750px) {
  .m-numList.wp-block-columns {
    display: block;
    margin-bottom: 10px;
  }
  .m-numList .wp-block-columns {
    display: block;
    margin-bottom: 10px;
  }
  .m-numList .wp-block-column + .wp-block-column {
    margin-top: 10px;
  }
  .m-numList .wp-block-cover {
    padding: calc(30 / 750 * 100vw) calc(50 / 750 * 100vw);
  }
  .m-numList .wp-block-cover__inner-container {
    align-items: center;
    display: flex;
  }
  .m-numList .wp-block-cover__inner-container p:nth-child(1) {
    flex: 0 0 auto;
    font-size: 15px !important;
    width: calc(54 / 750 * 100vw);
  }
  .m-numList .wp-block-cover__inner-container p:nth-child(2) {
    flex: 1 1 auto;
    font-size: 15px !important;
  }
  .m-numList .wp-block-cover__inner-container p:nth-child(3) {
    flex: 0 0 auto;
    margin-left: calc(80 / 750 * 100vw);
    width: calc(340 / 750 * 100vw);
  }
  .post_content .m-numList p {
    text-align: left;
    margin-bottom: 0;
  }
}


/*スマホ横並び維持*/
.ath-colfix{
flex-wrap:nowrap;
}
@media (max-width: 599px){
.ath-colfix .wp-block-column{
padding: 0px 3px 0px;
}
}

/* フッターのスタイル */
.footer_sub_menu {
  align-items: center;
  background-color: #000;
  display: flex;
  justify-content: center;
  padding-top: 30px;
}
.footer_sub_menu li {
  color: #fff;
  font-size: 14px;
  padding: 0 16px;
}
.footer_sub_menu li + li {
  border-left: solid 1px #fff;
}
.footer_sub_menu a {
  color: #fff;
}
.footer_sub_menu a:hover {
  color: #fff !important;
  text-decoration: underline;
}
#copyright {
  line-height: 1;
  height: auto;
  padding-top: 10px;
  padding-bottom: 30px;
}
@media screen and (max-width:750px) {
  .footer_sub_menu li {
    font-size: 12px;
    padding: 0 14px;
  }
}

/* リキャプチャの追従 */
.grecaptcha-badge { visibility: hidden; }

/* 20231115 WPコアバージョンアップによる表示崩れの調整用 */
.wp-block-columns {
    margin-bottom: 1.75em;
}

/* 202508 TCDテーマバージョンアップによる表示崩れの調整用 */
.wp-block-image .aligncenter {
  display: table;
}

.post_content h1.has-background, 
.post_content h2.has-background, 
.post_content h3.has-background, 
.post_content h4.has-background, 
.post_content h5.has-background, 
.post_content h6.has-background{
  padding: 1.25em 2.375em;
}