@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;600&family=Noto+Serif+JP:wght@500&display=swap");

:root {
  --color-text: #333333;
  --color-tex-rgb: rgb(51, 51, 51);

  --color-primary: #bb051d;
  --color-primary-rgb: rgb(187, 5, 29);

  --color-secondary: #e6e4ca;
  --color-secondary-rgb: rgb(230, 228, 202);

  --color-gray: #707070;
  --color-gray-rgb: rgb(112, 112, 112);

  --color-lightgray: #f0f0f0;
  --color-lightgray-rgb: rgb(232, 232, 232);

  --line-normal-height: 1.6;

  --space-width-sp: 20px;
  --space-width-tb: 40px;
  --space-width-pc: 60px;

  --width-pc: 1200px;
}

html {
  scroll-padding-top: 100px;
}

#container {
  font-family: "Noto Sans JP", "Helvetica Neue", "Helvetica", "Hiragino Sans",
    "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;
  background-color: white;
  color: var(--color-text);
  font-size: 1.8rem;
  letter-spacing: 0.1rem;
  -webkit-text-size-adjust: 100%;
}

header {
  background-color: rgba(255, 255, 255, 0.95);
  display: flex;
  justify-content: space-between;
  padding: 10px;
  border-bottom: solid 1px var(--color-gray);
}

header a {
  color: var(--color-text);
  text-decoration: none;
}

.header-nav {
  display: none;
}

.logo {
  font-family: "Noto Serif JP", "Times New Roman", "YuMincho",
    "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
  font-size: 2rem;
  background: url(/image/enno_logo.png) left center no-repeat;
  background-size: contain;
  padding: 0 0 2px 43px;
}

.logo span {
  display: block;
  font-size: 1.4rem;
  margin-bottom: 3px;
}

#wrapper {
  text-align: center;
}

a.linktext {
  color: var(--color-primary);
}

main {
  margin: 0 auto;
}

main#kousyukai {
  padding-bottom: 80px;
}

.mainimage {
  background: url(/image/topimage.jpg) no-repeat top center;
  background-size: 100% auto;
  padding: 0 0 0 40px;
  margin-bottom: 20px;
}

.minami-logo {
  background-color: rgba(255, 255, 255, 0.85);
  width: 60px;
  padding: 20px;
}

.minami-logo img {
  margin-bottom: 10px;
}

#home h1 {
  font-size: 1;
}

#profile h1,
#calendar h1,
#kousyukai h1 {
  font-size: 2.4rem;
  font-family: "Noto Serif JP", "Times New Roman", "YuMincho",
    "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
  padding: 20px 30px;
  text-align: left;
  border-bottom: solid 1px var(--color-lightgray);
  background-color: var(--color-lightgray);
}

#profile h1 span,
#calendar h1 span,
#kousyukai h1 span {
  display: block;
  color: var(--color-gray);
  font-size: 1.2rem;
  font-family: "Noto Sans JP", "Helvetica Neue", "Helvetica", "Hiragino Sans",
    "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;
  font-weight: 400;
  margin: 0.6em 0 0 0.1em;
}

h2 {
  font-family: "Noto Serif JP", "Times New Roman", "YuMincho",
    "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
  font-size: 3rem;
  text-align: center;
  margin: 0 auto 40px;
  padding-bottom: 0.2em;
  line-height: var(--line-normal-height);
}

h2 span {
  display: block;
  font-size: 1.6rem;
  letter-spacing: 0.2rem;
}

h2 small {
  font-size: 2rem;
  letter-spacing: 0.2rem;
}

h3 {
  font-family: "Noto Serif JP", "Times New Roman", "YuMincho",
    "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
  font-size: 2.2rem;
  font-weight: 400;
  margin-bottom: 30px;
  padding-bottom: 0.5em;
  display: inline-block;
  border-bottom: double 4px var(--color-primary);
}

h3 span {
  font-size: 1.6rem;
}

h4 {
  display: inline-block;
  font-weight: 600;
  font-size: 1.6rem;
  margin-bottom: 0.5em;
  padding: 5px 2px 7px 2px;
}

section {
  padding: 60px var(--space-width-sp) 40px;
}

p {
  text-align: left;
  margin-bottom: 2em;
  line-height: var(--line-normal-height);
}

section p:last-child,
div p:last-child {
  margin-bottom: 0;
}

.box {
  text-align: left;
  background-color: white;
  margin-bottom: 100px;
}

.box-wrap .box:last-child {
  margin-bottom: 0;
}

.tb-box {
  margin-bottom: 60px;
}

/*.tb-box + .tb-box  {
  margin-bottom: 0;
}
*/
.youtube li {
  line-height: var(--line-normal-height);
  list-style: none;
  margin-bottom: 1rem;
  padding-left: 36px;
  background-repeat: no-repeat;
  background-size: 32px;
  background-position: 0 7px;
}

.youtube li:last-child {
  margin-bottom: 0;
}

.youtube li.live {
  background-image: url(/image/i_live_red.svg?20220404001);
}

.youtube li.rec {
  background-image: url(/image/i_rec_red.svg?20220404001);
}

.icon-x {
  width: 18px;
  vertical-align: text-bottom;
}

.box p span {
  display: block;
  text-indent: -0.5em;
}

.box p:last-child {
  margin-bottom: 0;
}

.news {
  margin-bottom: 60px;
}

.news+p {
  margin-top: -40px;
}

.news li {
  list-style-type: square;
  line-height: var(--line-normal-height);
  margin-left: 1.3em;
}

.news li:not(:last-child) {
  margin-bottom: 10px;
}

.date {
  padding-bottom: 10px;
  border-bottom: dotted 1px var(--color-gray);
}

.honbu-schedule table {
  line-height: var(--line-normal-height);
  margin: 20px 0 0;
}

.honbu-schedule th,
.honbu-schedule td {
  font-weight: 400;
  padding: 0 0.5em 0.5em 0;
}

a.link-youtube {
  color: var(--color-text);
  text-decoration: none;
  transition: color 0.5s, background-image 0.5s;
}

a.link-youtube::after {
  content: "";
  display: inline-block;
  width: 1em;
  height: 1em;
  background-image: url(/image/i_youtube_red.svg);
  background-size: contain;
  background-position: right center;
  background-repeat: no-repeat;
  vertical-align: middle;
  padding: 4px;
  margin-bottom: 4px;
  margin-left: 2px;
}

a:hover.link-youtube {
  color: var(--color-primary);
}

a:hover.link-youtube::after {
  background-image: url(/image/i_youtube_red.svg);
}

a:active.link-youtube {
  text-decoration: underline;
}

a.link-external {
  color: var(--color-text);
  text-decoration: none;
  transition: color 0.5s, background-image 0.5s;
}

a.link-external::after {
  content: "";
  display: inline-block;
  width: 1em;
  height: 1em;
  background-image: url(/image/i_link_gray.svg);
  background-size: contain;
  background-position: right top;
  vertical-align: middle;
  padding: 1px 0 2px 4px;
  margin-bottom: 5px;
}

a:hover.link-external {
  color: var(--color-primary);
}

a:hover.link-external::after {
  background-image: url(/image/i_link_red.svg);
}

a:active.link-external {
  text-decoration: underline;
}

a.link-right {
  display: inline-block;
  color: var(--color-primary);
  background: url(/image/i_right_red.svg) no-repeat 90% 50% white;
  background-size: 2rem;
  box-shadow: 0px 0px 1px 1px var(--color-primary);
  /*border: solid 1px var(--color-primary);*/
  padding: 10px 60px 12px 45px;
  text-decoration: none;
  transition: color 0.5s, background-image 0.5s;
}

a:hover.link-right,
a:active.link-right {
  color: white;
  background: url(/image/i_right_white.svg) no-repeat 90% 50% var(--color-primary);
  background-size: 2rem;
}

.link-schedule {
  text-align: center;
  margin-top: 60px;
}

a.link-honbu {
  display: inline-block;
  color: var(--color-primary);
  font-size: 1.4rem;
  background: url(/image/i_link_red.svg) no-repeat 95% 50% white;
  background-size: 2rem;
  border: solid 1px var(--color-primary);
  padding: 8px 40px 10px 20px;
  text-decoration: none;
  transition: color 0.5s, background-image 0.5s;
}

.box-twitter {
  background-color: white;
  padding: 10px 20px;
  margin-bottom: 40px;
  /*border: solid 1px var(--color-lightgray);*/
}

.box-access {
  margin-bottom: 40px;
  text-align: left;
}

.box-map {
  margin-bottom: 80px;
  text-align: left;
}

.google-map {
  position: relative;
  padding-top: 55%;
  height: 0;
  overflow: hidden;
  margin-bottom: 20px;
}

.google-map iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.access {
  line-height: var(--line-normal-height);
}

.access dt {
  display: inline-block;
  font-size: 1.6rem;
  font-weight: 600;
  padding: 0 2px 2px;
}

.access dd {
  margin-bottom: 1.5em;
}

.box-map span {
  display: block;
}

footer {
  border-top: solid 1px var(--color-gray);
  padding: 20px 0 40px;
  margin-bottom: 60px;
}

footer .copyright {
  font-size: 1.2rem;
}

footer nav {
  position: fixed;
  bottom: 0;
  background-color: var(--color-primary);
  width: 100%;
}

.footer-nav {
  display: flex;
  padding: 8px 0;
}

.footer-nav li {
  width: 25%;
}

.footer-nav li {
  padding: 0;
}

.footer-nav li a {
  display: block;
  background-repeat: no-repeat;
  background-position: top center;
  background-size: 25px;
  color: white;
  font-size: 1.2rem;
  padding: 28px 0 0 0;
  text-decoration: none;
}

.footer-nav li+li {
  border-left: solid 1px white;
}

.footer-nav li a.b-home {
  background-image: url(/image/b_home.svg);
}

.footer-nav li a.b-profile {
  background-image: url(/image/b_profile.svg);
  background-size: 20px;
}

.footer-nav li a.b-calendar {
  background-image: url(/image/b_calendar.svg);
}

.gaiyo {
  background-color: white;
  line-height: var(--line-normal-height);
  text-align: left;
  margin-bottom: 20px;
}

.gaiyo dt {
  font-size: 1.6rem;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 0.5em;
}

.gaiyo dd {
  padding-bottom: 2em;
}

.gaiyo dd:last-child {
  padding-bottom: 0;
}

.gaiyo dd span {
  display: block;
}

.mark-wrap {
  text-align: left;
  margin-bottom: 60px;
}

.mark-txt {
  font-size: 2.6rem;
  font-family: "Noto Serif JP", "Times New Roman", "YuMincho",
    "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
}

.mark-txt p {
  text-align: center;
}

.mark-txt span {
  display: block;
  font-size: 4rem;
}

.mark-img {
  text-align: center;
  margin: 0 auto 40px;
  width: 200px;
}

.mark-img object {
  margin-bottom: 20px;
}

.exp-wrap {
  text-align: left;
  margin-bottom: 40px;
}

.maru {
  margin-bottom: 30px;
}

.list {
  margin: 0 0 20px 20px;
}

.list li {
  line-height: var(--line-normal-height);
  list-style-type: square;
  padding-bottom: 1em;
}

.calendar-wrap {
  text-align: left;
  margin-bottom: 100px;
}

.guide {
  text-align: right;
  margin-bottom: 10px;
}

.guide li {
  list-style: none;
  display: inline-block;
  color: var(--color-text);
  font-size: 1.6rem;
  background-position: left center;
  background-repeat: no-repeat;
  background-size: 20px;
  line-height: var(--line-normal-height);
  margin-bottom: 6px;
  margin-left: 20px;
}

#error section {
  padding-bottom: 80px;
}

#error section p {
  text-align: center;
}

#error h1 {
  font-size: 2.4rem;
  margin-bottom: 40px;
}

/*------------------------------------------*/
/* tablet(portrait) & smartphone(landscape) */
/*------------------------------------------*/

@media screen and (min-width: 560px) {
  header {
    position: sticky;
    top: 0;
    z-index: 9999;
  }

  .header-nav {
    display: flex;
    margin-top: 10px;
  }

  .header-nav li {
    font-size: 1.6rem;
    margin-left: 20px;
  }

  .header-nav li span {
    display: none;
  }

  .mainimage {
    padding: 0 0 0 15%;
  }

  .minami-logo {
    width: 80px;
    padding: 40px 20px 50px 20px;
  }

  .minami-logo img {
    margin-bottom: 20px;
  }

  h2 {
    font-size: 3.4rem;
    margin-bottom: 60px;
  }

  .tb-box-wrap {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
  }

  .tb-box {
    flex-basis: 48%;
  }

  .link-schedule {
    text-align: center;
    margin-top: 0;
  }

  footer {
    margin-bottom: 0;
    padding-bottom: 60px;
  }

  footer nav {
    display: none;
  }

  section {
    padding: 80px var(--space-width-tb) 20px;
  }

  .gaiyo {
    display: flex;
    flex-flow: row wrap;
  }

  .gaiyo dt {
    font-size: 1.8rem;
    font-weight: 400;
    display: block;
    width: 25%;
    margin: 0;
    padding: 20px;
    border-bottom: solid 1px var(--color-gray);
  }

  .gaiyo dd {
    width: 62%;
    margin: 0;
    padding: 20px 0 20px 20px;
    border-bottom: solid 1px var(--color-lightgray);
  }


  .gaiyo dt:first-of-type,
  .gaiyo dd:first-of-type {
    padding-top: 0;
  }

  .gaiyo dd:last-child {
    padding-bottom: 20px;
  }

  .gaiyo dd span {
    display: block;
  }

  .mark-wrap {
    display: flex;
    flex-flow: row-reverse wrap;
    justify-content: space-around;
    margin: 0 auto 40px;
  }

  .mark-txt {
    flex-basis: 50%;
    margin: 40px 20px 0 40px;
  }

  .mark-img {
    width: auto;
    flex-basis: 25%;
    margin: 0 80px 0 0;
  }

  /*
  .thought-wrap {
    display: grid;
    grid-template-columns: 50% 50%;
    grid-gap: 0 20px;
  }

  .cross {
    grid-column: 1/3;
  }  */
}

/*------------------------*/
/* tablet(landscape) & pc */
/*------------------------*/

@media screen and (min-width: 960px) {
  header {
    padding: 15px 20px;
  }

  .logo {
    font-size: 2.4rem;
    padding: 0 0 5px 50px;
  }

  .header-nav {
    margin-top: 15px;
  }

  .header-nav li span {
    display: inline;
  }

  .header-nav li {
    margin-left: 30px;
  }

  .header-nav li:nth-child(2) {
    margin-left: 50px;
  }

  .header-nav li a {
    position: relative;
  }

  .header-nav li a::after {
    position: absolute;
    left: 0;
    content: "";
    width: 100%;
    height: 1px;
    background-color: var(--color-gray);
    bottom: -1px;
    transform: scale(0, 1);
    transform-origin: center top;
    transition: transform 0.3s;
  }

  .header-nav li a:hover::after {
    transform: scale(1, 1);
  }

  .mainimage {
    padding: 0 0 0 15%;
  }

  .minami-logo {
    width: 120px;
    padding: 100px 40px 110px 40px;
  }

  a.linktext:hover {
    color: var(--color-text);
  }

  a:hover.link-honbu,
  a:active.link-honbu {
    color: white;
    background: url(/image/i_link_white.svg) no-repeat 95% 50% var(--color-primary);
    background-size: 2rem;
  }

  a:hover.link-honbu .icon-x,
  a:active.link-honbu .icon-x {
    filter: brightness(0) saturate(100%) invert(100%) sepia(12%) saturate(7456%) hue-rotate(209deg) brightness(118%) contrast(89%);
  }

  section {
    padding: 120px var(--space-width-pc) 0;
    max-width: var(--width-pc);
    margin: 0 auto;
  }

  #profile h1,
  #calendar h1,
  #kousyukai h1 {
    font-size: 2.8rem;
    padding: 40px 30px;
  }

  #profile h1 span,
  #calendar h1 span,
  #kousyukai h1 span {
    font-size: 1.6rem;
  }

  h2 {
    font-size: 3.6rem;
    text-align: left;
    border-bottom: solid 1px var(--color-text);
    margin-bottom: 60px;
    padding-bottom: .4em;
  }

  h2 span {
    display: inline;
  }

  h2 small {
    font-size: 2.4rem;
    letter-spacing: 0.2rem;
  }

  #home h3 {
    font-size: 2.4rem;
  }

  #home h4 {
    font-size: 1.8rem;
  }

  /* .box-wrap {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    margin: 0 auto;
  }

  .box {
    flex-basis: 45%;
    margin-bottom: 0;
  } */

  .attention .box {
    flex-basis: auto;
  }

  .youtube {
    margin-bottom: 60px;
  }

  .box-wrap li a:hover {
    color: var(--color-primary);
  }

  .box-twitter {
    flex-basis: 42%;
  }

  .box p span {
    display: inline;
    margin-left: 0;
  }

  .tb-box-wrap {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    row-gap: 40px;
    margin: 0 auto;
  }


  .tb-box {
    margin-bottom: 0;
  }

  .honbu-schedule .tb-box {
    flex-basis: 30%;
  }


  .honbu-schedule table {
    min-width: 80%;
    max-width: 100%;
  }

  .honbu-schedule th {
    width: 80%;
  }

  .honbu-schedule td {
    width: 20%;
  }

  .link-schedule {
    text-align: left;
    margin-top: 60px;
  }

  .box-access {
    flex-basis: 30%;
    padding: 0 20px 0 0;
  }

  .box-map {
    flex-basis: 65%;
  }

  .box-map span {
    display: inline;
    margin-right: 1em;
  }

  .gaiyo dd {
    width: 65%;
  }

  .gaiyo dd span {
    display: inline;
  }

  .mark-wrap {
    width: 80%;
    max-width: var(--width-pc);
    margin-bottom: 60px;
  }

  .mark-txt {
    flex-basis: 40%;
    margin: 40px 20px 0 40px;
    font-size: 3rem;
  }

  .mark-txt span {
    font-size: 5rem;
  }

  .mark-img {
    width: auto;
    flex-basis: 20%;
    margin: 0 80px 0 0;
  }

  .exp-wrap {
    max-width: var(--width-pc);
    margin: 0 auto 60px;
  }

  .thought-wrap {
    grid-template-columns: 32% 32% 32%;
    grid-gap: 20px 20px;
  }

  .cross {
    grid-column: 1/4;
  }

  .calendar-wrap {
    max-width: var(--width-pc);
    margin: 0 auto 120px;
  }

  #error section {
    padding-bottom: 120px;
  }
}