@charset "utf-8";
@import url("../css/color.css");
@import url("../css/font.css");
@import url("../css/commom.css");

/* ------------------------------ 
  ! ナビ
------------------------------ */
.navbar-brand {
  font-family: var(--serif-font-set);
  font-size: 1.6rem;
  font-optical-sizing: none;
  margin-left: calc(50% - 160px);
  margin-right: auto;
}
.navbar-brand a {
  color: var(--primary);
  padding-left: 1rem;
  font-weight: Bold;
}
.navbar-brand small {
  font-size: 0.8rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 0.5rem;
}
.navbar-brand h5 {
  font-family: var(--serif-font-set);
  font-size: 0.85rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
}

/* ------------------------------ 
  ! お問合せボタン
  ! マウスオーバーすると押したように見せる
  ------------------------------  */
.btn-shadow {
  /* 中央揃え */
  text-align: center;
  /* 背景色 */
  background-color: rgba(239, 241, 239, 0.5);
  /* 角を丸く */
  border-radius: 3px;
  /* ホバーアニメーションの速度 */
  transition: 0.5s;
  /* 影       X軸  Y軸  影の色*/
  box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}
/* ホバーアクション */
.btn-shadow:hover {
  /* 背景色を少し濃くする */
  background-color: rgba(239, 241, 239, 0.5);
  /* 影       X軸  Y軸  影の色*/
  box-shadow: 0 0 rgba(0, 0, 0, 0.4);
  /* Y軸に5px移動 */
  transform: translateY(5px);
}
.btn-shadow-size5 {
  width: 5rem;
  line-height: 1.5rem;
}
.btn-shadow-size200 {
  max-width: 200px;
  line-height: 3rem;
}

/*リンク*/
a {
  color: var(--primary);
  text-decoration: none;
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
}
a:hover,
a:active,
a:focus {
  color: rgb(from var(--primary) r g b / 0.5);
  outline: none;
  text-decoration: none;
}

/* ------------------------------ 
  ! 見出し 　font指定
------------------------------ */
hgroup,
.project h1,
.project h2,
.project h3,
.project h4 {
  font-family: var(--serif-font-JP-set);
  font-style: normal;
  font-weight: 700;
  font-optical-sizing: none;
  text-align: center;
}

hgroup {
  padding-top: 3rem;
}
.project-title h1 {
  font-size: 1.65rem;
}

.project-title span {
  font-size: 0.8rem;
}
.en {
  font-size: 1.2rem;
}
.sponsored::before {
  content: "主催：";
}
.co-hosted::before {
  content: "共催：";
}
.cooperated::before {
  content: "協力：";
}

.project h2,
.project h2.underline {
  /* 下線なし */
  position: relative;
  padding: 0.5rem 0 0;
  color: var(--primary);
  font-size: 1.65rem;
}

.project h2.underline {
  margin-bottom: 4rem;
  padding-bottom: 0.5rem;
}

.project h2.underline::before {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 140px;
  border-bottom: 1px solid var(--primary);
  content: "";
}

.project h2.japanese {
  /* 日本語の時はサイズを小ぶりに */
  font-size: 1.3rem;
}

.project h3 {
  font-size: 1.2rem;
  text-align: center;
}

.project h4 {
  font-size: 1rem;
  text-align: center;
  font-weight: 700;
}

.project h5 {
  font-size: 1rem;
  font-weight: 500;
}

/* ------------------------------ 
! 個別ページ 
しゃれ街トップページ：メインビジュアル 
------------------------------ */
.mainvisual-shiodome {
  margin-inline: auto;
  position: relative;
  width: 100%;
  z-index: 2;
  padding: 0;
}
.mainvisual-shiodome-img img {
  display: block;
  height: auto;
  width: 100%;
  padding: 0;
  margin: 0 auto;
  object-fit: contain;
}
.mainvisual-shiodome-list {
  width: 360px;
  margin: 3rem auto 0;
  font-weight: 400;
}

.mainvisual-shiodome-list li {
  list-style: none;
}
.mainvisual-shiodome-list ul {
  padding-left: 2rem;
}

.mainvisual-shiodome-side {
  position: absolute;
  bottom: 0;
  right: 0;
}

.mainvisual-shiodome-side p {
  margin-bottom: 0;
  /* font-size: 12px; */
  font-size: calc((100vw - 320px) / 510 + 10px);
  font-weight: 400;
  text-shadow: 2px 2px 5px #ffffff;
}

/* ------------------------------ 
! 個別ページ ： 地域交流事業
------------------------------ */

.project {
  margin: 128px auto 0 auto;
}

.container-project {
  margin: 0 auto;
  padding: 1rem 0 2rem;
  max-width: 480px;
}

/* マーケット期間用 */
.project .date {
  color: var(--col-emphasis);
  font-family: var(--sans-serif-font-set);
  font-weight: 400;
  font-size: 1.3rem;
}

/* ------------------------------ 
! 所在地
------------------------------ */
.project-location dt {
  /* margin-bottom: 0.5rem; */
  font-family: var(--serif-font-set);
  font-size: 1.2rem;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
}

.project-location span,
.project h3 > span {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--primary);
  position: relative;
  padding-right: 0.5rem;
}

.project-location span::before,
.project h3 > span::before {
  font-family: "Bootstrap-icons";
  font-weight: 400;
  content: "\F588"; /* アイコンの文字コード  ☆\F588*/
  color: var(--col-marker);
  font-size: 2.4rem;
}
.project-location span::before {
  opacity: 0.5;
  position: absolute;
  top: -1.6rem;
  left: -0.8rem;
  z-index: -1;
}
.project h3 > span::before {
  opacity: 0.5;
  position: absolute;
  top: -1rem;
  left: -0.8rem;
  z-index: -1;
}
.project-location dd {
  margin-top: 0.2rem;
  font-size: 0.9rem;
  text-indent: 1rem;
  line-height: 1rem;
}

/* ------------------------------ 
! 個別ページ ： 絵本紹介
------------------------------ */
.lineup dl {
  width: 360px;
  background-color: var(--col-background-picturebook);
  margin-left: 0.5rem;
  border-radius: 5px;
}
.lineup dt {
  padding: 0.5rem;
}
.lineup dt::before {
  margin-right: 0.5rem;
  font-family: "Bootstrap-icons"; /* または適切なフォント名 */
  content: "\F194"; /* アイコンの文字コード  ☆\F588*/
  color: var(--col-emphasis);
}
.lineup dd {
  padding-left: 1rem;
  line-height: 1.1rem;
}
.author::after {
  content: " (文)";
}
.picture::after {
  content: " (絵)";
}
.translator::after {
  content: " (訳)";
}
.lineup img {
  width: 240px;
}
/* コンサート用にカスタマイズ */
#concert {
  background-color: var(--col-backgroung-concert);
  border-radius: 5px;
}

#concert h2 {
  margin-bottom: 0;
  padding: 0.5rem 0 0;
  color: var(--col-emphasis);
}

.subtitle {
  margin-top: 0;
  margin-bottom: 48px;
  padding: 0 0 0.5rem;
  text-align: center;
  color: var(--col-subtitle);
  font-size: 1rem;
}

#concert .outline {
  margin-bottom: 0.5px;
  font-size: 1.2rem;
  color: var(--col-emphasis);
}

.past-msg::after {
  content: "  終了しました。";
  font-size: 0.65rem;
  color: var(--col-emphasis);
}
.performer {
  max-width: 240px;
}
.performer figcaption {
  padding-left: 0.3rem;
  font-size: 0.8rem;
}
.sponsor p {
  padding: 0;
  margin-bottom: 0.2rem;
  text-align: center;
  font-size: 0.8rem;
}
#concert .lineup {
  background-color: var(--col-background-picturebook);
  border-radius: 5px;
}

/* ------------------------------ 
! 個別ページ ： しゃれ街
------------------------------ */
/* 汐留イタリア街 :背景色*/
.shiodome {
  background-color: rgb(from var(--col-shiodome-italy) r g b / 0.4);
}

.shiodome .title {
  margin-top: 40px;
  color: var(primary);
  font-size: 1.5rem;
  font-weight: 400;
}

.shiodome h2 {
  margin-top: 120px;
  margin-left: 1rem;
  background: linear-gradient(transparent 90%, var(--col-line) 90%);
  font-size: 1.4rem; /* 22.4px */
  font-weight: 400;
  line-height: 1.4rem;
}

.shiodome h2::before {
  padding-right: 0.2rem;
  color: var(--col-emphasis);
  font-size: 0.85rem;
  vertical-align: super;
  content: "◆";
  filter: drop-shadow(0.15rem 0.1rem 1px rgba(162, 194, 230, 0.9));
}

.shiodome h3 {
  margin-top: 60px;
  margin-left: 2rem;
  font-size: 1.3rem; /* 20.8px */
  font-weight: 400;
  text-decoration: underline 1px var(--primary);
  text-underline-offset: 6px;
}

.shiodome h4 {
  margin-top: 40px;
  margin-left: 2rem;
  font-size: 1rem;
  font-weight: 600;
}

.siodomeitaly ul {
  width: 100%;
  padding-left: 3rem;
  padding-right: 8px;
}

.siodomeitaly li {
  list-style: none;
  position: relative;
  padding: 0.5em 1em 0.5em 1.7em;
  margin-bottom: 5px;
  color: var(--col-emphasis);
  font-size: 15px;
  font-weight: 600;
  border-bottom: 1px solid rgb(from var(--primary) r g b / 0.5);
}

.siodomeitaly li::after,
.siodomeitaly li::before {
  content: "";
  position: absolute;
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

.siodomeitaly li::before {
  top: 0.7em;
  left: 0.5em;
  width: 10px;
  height: 10px;
  /* border: 2px solid rgba(83, 113, 172, 0.502); */
  border: 2px solid rgb(from var(--primary) r g b / 0.5);
}

.side-note-marker::before {
  font-family: "Bootstrap-icons";
  content: "\F586"; /* アイコンの文字コード  ☆\F588*/
  color: var(--col-marker);
}

.siodome.container-list {
  max-width: 760px;
  margin: 40px auto 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* ------------------------------------------------------------------------------------------------------------------- */

/* ------------------------------------------------------------------------------------------------------------------- */
@media screen {
  #main {
    margin-top: 75px;
  }
  #top-button {
    display: contents;
    background-color: rgb(from var(--primary) r g b / 0.2);
  }
  .screen-fixed-top {
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 1000;
  }
}

/* 780px以下の画面は、ヘッダーのロゴが左側へ */
@media screen and (max-width: 780px) {
  .navbar-brand {
    margin-left: 0.5rem;
    padding-left: 0;
  }
  .navbar-brand a {
    padding-left: 0;
  }
  .navbar-brand small {
    display: block;
    margin-top: -0.6rem;
    padding-left: 0;
  }
  .navbar-brand h5 {
    margin-top: 0.5rem;
    padding-left: 0;
  }
}
@media screen and (max-width: 559px) {
  /* TODO  メディアクエリ*/
  .navbar-brand {
    margin-left: 0.5rem;
    padding-left: 0;
    font-size: 1.3rem;
  }
  .navbar-brand a {
    padding-left: 0;
  }
  .navbar-brand small {
    display: block;
    font-size: 0.6rem;
    margin-top: -0.6rem;
    padding-left: 0;
  }
  .navbar-brand h5 {
    font-size: 0.5rem;
    margin-top: 0.5rem;
    padding-left: 0;
  }

  hgroup {
    text-align: left;
    padding-top: 2rem;
  }
  .project h1 {
    text-align: left;
    font-size: 1.5rem;
  }

  .mainvisual-shiodome-img img {
    height: 50vh;
    display: block;
    object-fit: cover;
    overflow: hidden;
  }
  .mainvisual-shiodome-side {
    font-size: 0.75rem;
    padding: 0 0.8rem;
  }

  /* フォントサイズ */
  /*出演者*/
  .performer figcaption {
    /* padding-left: 0.3rem; */
    font-size: 0.6rem;
  }
  #concert .outline,
  .greenmarket .outline {
    font-size: 1.1rem;
  }
  /* 375px以下の画面は、ヘッダーが２段になると見出しに重なってしまうのを回避 */
  @media screen and (max-width: 375px) {
    #main {
      margin-top: 120px;
    }
    .navbar-brand,
    .contact {
      text-align: center;
      margin-right: auto;
      margin-left: auto;
    }
  }
  /* メディアクエリ：ここまで */
}
