/*
Theme Name: Bjork Child
Template: bjork
*/


@import url('https://fonts.googleapis.com/css?family=Noto+Sans+JP');
html { scroll-behavior: smooth;}
body {
     font-family:"Yu Gothic", "游ゴシック", YuGothic, "游ゴシック体",
    Arial,
    "Hiragino Kaku Gothic ProN",
    "Hiragino Sans",
    Meiryo,
    sans-serif;;
}
a {
    transition : all 0.5s ease 0s !important;
}
h1.wp-block-site-title.has-heading-3-font-size{
    margin-bottom: -1rem;
}
a:hover{
    text-decoration: none !important;
    opacity: 0.6;
}
.site-sidebar .wp-block-group p{
    margin-bottom: -1.5rem;
}
.wp-block-navigation__container li {
    font-size: 1rem !important;
    font-weight: bold;
    margin-bottom: 1rem;
}
td.has-text-align-center {
    border-right: 0;
    border-left: 0;
        padding: 1rem;
}
h2.wp-block-heading {
    color: #fff;
    line-height: 1.3;
}
table.has-fixed-layout {
    font-size: 0.9rem;
}
h6{
    line-height: 1.5;
}

/* 初期：スマホ用カバーは非表示（PC用は触らない） */
.cover-sp {
  display: none;
}

/* スマホ（767px以下）：PC用を消して、スマホ用を表示 */
@media screen and (max-width: 767px) {
  .cover-pc {
    display: none;
  }
  .cover-sp {
    display: flex; /* ここが重要：block だと中のテキスト位置が崩れやすい */
  }
  .is-style-regular {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .is-style-regular table {
    min-width: 560px; /* 4列にちょうどいい */
    width: 100%;
    border-collapse: collapse;
 
}
}
@media screen and (max-width:897px) {

h1.wp-block-site-title.has-heading-5-font-size{
    margin-bottom: -20px;
}
.wp-block-group .wp-block-group p{
margin-bottom: -20px;
}
.wp-block-group.is-nowrap.is-layout-flex.wp-container-core-group-is-layout-6c531013.wp-block-group-is-layout-flex {
    width: 100%;
    justify-content: space-between;
}
}