/*
    CSS Document：O美術館 しながわ百景原画展
    Author: 
    Author URL: 
    Version: 0.1
*/

*, *:before, *:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -o-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}

body {
  font-family: "Hiragino Kaku Gothic ProN", "メイリオ", sans-serif;
  color: #333;
  font-size: 16px;
  line-height: 1.8;
  word-break: break-all;
}
.font-gothic { font-family: "Hiragino Kaku Gothic ProN", "メイリオ", sans-serif; }
.font-mincho { font-family: "ヒラギノ明朝 Pro W3","Hiragino Mincho Pro","ＭＳ Ｐ明朝","MS PMincho",serif; }
.font-en1 { font-family: 'Playfair Display', serif; letter-spacing: 0.1em; }

/* リンク設定 */
a {
  color: #333;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

a:hover img {
  text-decoration: none;
  opacity: 0.8;
  -webkit-transition: all .3s;
  -moz-transition: all .3s;
  -ms-transition: all .3s;
  -o-transition: all .3s;
  transition: all .3s;
}
a:link { color: #333; text-decoration: none; }
a:visited { color: #333; text-decoration: none; }
a:hover { color: #333; text-decoration: underline; }
a:active { color: #333; text-decoration: none; }

img, video, object {
  max-width: 100%;
  height: auto;
  border: none;
  vertical-align: bottom;
  display: block;
}

/* box */
.flexbox {
  display: flex;
  flex-wrap: wrap;
}
.flexnowrap {
  display: flex;
  flex-wrap: nowrap;
}

/* PC・SP 表示切り替え */
.pconly { display: inline-block !important; }
.sponly { display: none !important; }
.blockpconly { display: block !important; }
.blocksponly { display: none !important; }

/* backToTop */
#backToTop {
  width: 80px;
  height: 80px;
  position: fixed;
  right: 0;
  bottom: 0;
  background: #886e1b;
  opacity: 0.6;
}

#backToTop a {
  position: relative;
  display: block;
  width: 80px;
  height: 80px;
  text-decoration: none;
}
#backToTop a::before{
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  content: '\f106';
  font-size: 40px;
  color: #fff;
  position: absolute;
  width: 40px;
  height: 40px;
  top: 0;
  bottom: 24px;
  right: 0;
  left: 0;
  margin: auto;
  text-align: center;
}

#mobileMenu { display: none; }

/*--------------------------------
　site parts
---------------------------------*/

.caption        { font-size: 16px; }
.caption-large  { font-size: 18px; }
.caption-min    { font-size: 14px; }
.caption-exmin  { font-size: 12px; }
.caption-exmin2 { font-size: 10px; }

.bgCream    { background: #f8f4e2; }
.bgGold     { background: #d6c55e; }
.bgGoldDark { background: #886e1b; color: #ffffff; }

.txtGoldDark  { color: #886e1b; }
.txtWhite     { color: #ffffff; }

/* 文字 */
.fontbold   { font-weight: 700; }
.fontexbold { font-weight: 900; }

.alCenter   { text-align: center; }
.alRight    { text-align: right; }
.alLeft     { text-align: left; }

/*--------------------------------
　全体
---------------------------------*/

.inner {
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
  padding: 0;
}

@media screen and (max-width: 999px) {

  .inner {
    max-width: 95%;
  }
}

/*--------------------------------
　header
---------------------------------*/

/* top */
#header .top-1 {
  height: 18px;
  background-repeat: repeat-x;
  background-size: 100% auto;
  background-position: top left;
  background-image: url("../img/page/gold.png");
}

#header .top .inner {
  display: flex;
  justify-content: space-between;
  padding: 16px 0;
}
#header .top h1, #header .top p {
  display: inline-block;
  margin: auto 0;
}
#header .logo img {
  height: 38px;
  width: auto;
}
#header .description img {
  height: 18px;
  width: auto;
}

/* main */
#header .header {
  width: 100%;
  height: 0;
  padding-top: 46%;
  /* (背景画像) */
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  background-image: url("../img/page/main.png");
}

#header .main {
  position: absolute;
  top: 88px;
  left: 50%;
  right: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  z-index: 1;
}
#header .main .left img {
  width: 600px;
  height: auto;
  padding-top: 96px;
}
#header .main .right img {
  width: 280px;
  height: auto;
  padding-top: 48px;
}

/* ↓↓↓ (header responsive) ↓↓↓ */
@media screen and (max-width: 1499px) {

  #header .main .right img {
    width: 240px;
    height: auto;
  }
}
@media screen and (max-width: 1459px) {

  #header .main .left img {
    padding-top: 60px;
  }
  #header .main .right img {
    padding-top: 24px;
  }
}
@media screen and (max-width: 1399px) {

  #header .main .left img {
    width: 540px;
    height: auto;
    padding-top: 40px;
  }
  #header .main .right img {
    width: 200px;
    height: auto;
  }
}
@media screen and (max-width: 1199px) {

  #header .main .left img {
    width: 420px;
    padding-top: 24px;
  }
  #header .header {
    padding-top: 56%;
  }
}
@media screen and (max-width: 999px) {

  #header .main .left img {
    width: 440px;
    height: auto;
    padding-top: 0;
  }
  #header .main .right img {
    width: 160px;
    height: auto;
  }
}
/* ↑↑↑ (header responsive) ↑↑↑ */

/* caution */
#header .header .caution {
  margin-top: -140px;
  background: #85a7a9;
  opacity: 0.6;
  min-height: 140px;
  padding: 18px 0;
}
#header .header .caution ul {
  text-shadow: 1px 2px 3px #808080;
}
#header .header .mv-bottom {
  text-align: right;
  margin-top: -60px;
}

@media screen and (max-width: 999px) {
  #header .header .mv-bottom {
    margin-top: -32px;
  }
}
/*--------------------------------
　globalnavi
---------------------------------*/

.gnav {
  z-index: 99;
}

.gnav ul {
  display: flex;
  justify-content: space-around;
}

.gnav ul li a {
  padding: 18px 0;
  display: block;
}
.gnav ul li a:link    { color: #fff; text-decoration: none; }
.gnav ul li a:visited { color: #fff; text-decoration: none; }
.gnav ul li a:hover   { color: #fff; text-decoration: underline; }
.gnav ul li a:active  { color: #fff; text-decoration: none; }

/*--------------------------------
　section
---------------------------------*/

.section {
  padding-bottom: 60px;
}

/* --- section共通 --- */
/* 見出し */
.section .title {
  display: flex;
  align-items: center;
  padding-top: 60px;
  padding-bottom: 50px;
}
.section .title:before, .section .title:after {
  content: "";
  flex-grow: 1;
  height: 1px;
  background: #231815;
  display: block;
}
.section .title:before {
  margin-right: 2em;
}
.section .title:after {
  margin-left: 2em;
}
.section .title img {
  height: 25px;
  width: auto;
}

/* --- section01:開催概要 --- */
#section01 .box-1, #section01 .box-2 {
  justify-content: space-between;
}

/* detail, map */
#section01 .box-1 {
  padding-bottom: 40px;
}
/* (日程) */
#section01 .box-1 .schedule li {
  line-height: 1;
}
#section01 .box-1 .schedule li.yearbox {
  padding-bottom: 16px;
}
#section01 .box-1 .schedule li.opentimebox,
#section01 .box-1 .schedule li.organizerbox {
  padding-bottom: 8px;
}
#section01 .box-1 .schedule li.addbox {
  padding-bottom: 24px;
}

#section01 .box-1 .schedule .year {
  font-size: 24px;
}
#section01 .box-1 .schedule .day {
  font-size: 64px;
  letter-spacing: -0.1em;
}
#section01 .box-1 .schedule .day-of-week {
  font-size: 28px;
}
#section01 .box-1 .schedule .arrow {
  font-size: 28px;
}
#section01 .box-1 .schedule p.box span {
  border: 1px solid #886e1b;
  padding: 4px 12px;
  letter-spacing: 0.3em;
  margin-bottom: 12px;
  line-height: 1.8em;
}

#section01 .box-1 .schedule p.closed {
  padding-top: 8px;
  padding-right: 24px;
}

#section01 .box-1 .schedule p.opentime,
#section01 .box-1 .schedule p.organizer,
#section01 .box-1 .schedule p.omuseum {
  font-size: 30px;
  line-height: 1.5em;
}
#section01 .box-1 .schedule p.address {
  line-height: 1.5em;
}

/* (map) */
#section01 .box-1 .map img {
  width: 380px;
  height: auto;  
}
#section01 .box-1 .map p {
  margin-top: 16px;
  text-align: right;
}

#section01 .link a {
  text-decoration: underline;
}
#section01 .link a:link     { text-decoration: underline; }
#section01 .link a:visited  { text-decoration: underline; }
#section01 .link a:hover    { color: #886e1b; text-decoration: underline; }
#section01 .link a:active   { color: #886e1b; text-decoration: underline; }

#section01 .maplink a {
  text-decoration: none;
}
#section01 .maplink a:link     { text-decoration: none; }
#section01 .maplink a:visited  { text-decoration: none; }
#section01 .maplink a:hover    { color: #886e1b; text-decoration: underline; }
#section01 .maplink a:active   { color: #886e1b; text-decoration: underline; }

/* artwork */
#section01 .box-2 img {
  width: 320px;
  height: auto;
}
#section01 .box-2 .artwork p {
  margin-top: 12px;
}
@media screen and (max-width: 999px) {

  #section01 .box-2 .w1 img,
  #section01 .box-2 .w1 p {
    padding-left: 0;
    padding-right: 4px;
  }
  #section01 .box-2 .w2 img,
  #section01 .box-2 .w2 p {
    padding-left: 2px;
    padding-right: 2px;
  }
  #section01 .box-2 .w3 img,
  #section01 .box-2 .w3 p {
    padding-left: 4px;
    padding-right: 0;
  }
}

/* --- section02:しながわ百景とは --- */
#section02 .box-1, #section02 .box-2 {
  justify-content: space-between;
}

/* main */
#section02 .box-1 {
  padding-bottom: 40px;
}
#section02 .box-1 .caption {
  line-height: 2em;
}
#section02 .box-1 .artwork img {
  width: 340px;
  height: auto;  
}
#section02 .box-1 .artwork p {
  margin-top: 12px;
}
@media screen and (max-width: 999px) {

  #section02 .box-1 .artwork img {
    margin-top: 24px;
    width: 100%;
    height: auto;
  }
  #section02 .box-1 .artwork p {

      width: 100%;
      height: auto;
  }
}

/* artwork */
#section02 .box-2 img {
  width: 230px;
  height: auto;
}
#section02 .box-2 .artwork p {
  margin-top: 12px;
}
@media screen and (max-width: 999px) {

  #section02 .box-2 .w1 img,
  #section02 .box-2 .w1 p {
    padding-left: 0;
    padding-right: 3px;
  }
  #section02 .box-2 .w2 img,
  #section02 .box-2 .w2 p {
    padding-left: 1px;
    padding-right: 2px;
  }
  #section02 .box-2 .w3 img,
  #section02 .box-2 .w3 p {
    padding-left: 2px;
    padding-right: 1px;
  }
  #section02 .box-2 .w4 img,
  #section02 .box-2 .w4 p {
    padding-left: 3px;
    padding-right: 0;
  }
}

/* --- section03:展示ゾーンごとの紹介 --- */

#section03 {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top left;
  background-image: url("../img/page/bg03.png");
}

#section03 .corner {
  margin-bottom: 30px;
}
#section03 .corner .midashi {
  margin-bottom: 20px;
}
/* 見出しテキストスタイル */
#section03 .corner .midashi {
  letter-spacing: 0.2em;
}
#section03 .corner .midashi .en {
  font-family: 'Lusitana', serif;
  font-weight: 700;
  padding-right: 8px;
}

#section03 .corner .text {
  line-height: 2em;
}
/* 二分割レイアウト */
#section03 .corner .flexnowrap .text {
  padding-right: 56px;
  flex: 1;
}
#section03 .corner .flexnowrap .artwork p {
  margin-top: 8px;
}
#section03 .corner .artwork {
  width: 300px;
}
#section03 .corner img {
  width: 294px;
  height: auto;
}

/* --- section04:出店アーティストほか --- */
#section04 .midashibox {
  border: 1px solid #886e1b;
  padding: 4px 0;
}
#section04 .midashibox br.sp {
  display: none;
}
#section04 .artists {
  padding: 20px 0;
}
#section04 .caution {
  margin-bottom: 40px;
}
#section04 .caution br.sp {
  display: none;
}
#section04 .caution p {
  padding: 2px 0;
}

#section04 .caution a {
  text-decoration: underline;
}
#section04 .caution a:link     { text-decoration: underline; }
#section04 .caution a:visited  { text-decoration: underline; }
#section04 .caution a:hover    { color: #886e1b; text-decoration: underline; }
#section04 .caution a:active   { color: #886e1b; text-decoration: underline; }

#section04 .movie .midashibox {
  letter-spacing: 1em;
}
#section04 .movie .name {
  border-left: 1px solid #886e1b;
  border-right: 1px solid #886e1b;
  border-bottom: 1px solid #886e1b;
  padding: 16px 0 16px 40px;
}

@media screen and (max-width: 999px) {

  #section04 .movie .name {
    padding: 16px 0 16px 16px;
  }
}
#section04 .movie .name ul li {
  display: inline-block;
  width: 48%;
  vertical-align: top;
}

/*--------------------------------
  Footer
---------------------------------*/

#footer {
}

#footer h2 {
  display: inline-block;
  margin-bottom: 32px;
}
#footer h2 img {
  height: 44px;
  width: auto;
}

#footer .bottom-line {
  height: 18px;
  background-repeat: repeat-x;
  background-size: 100% auto;
  background-position: top left;
  background-image: url("../img/page/gold.png");
}

#footer .copyright {
  margin: 40px 0;
}

/*media Queries 767
----------------------------------------------------*/

@media screen and (max-width: 767px) {

  /* box */
  .flexbox, .flexnowrap {
    display: block;
  }

  /* PC・SP 表示切り替え */
  .pconly { display: none !important; }
  .sponly { display: inline-block !important; }
  .blockpconly { display: none !important; }
  .blocksponly { display: block !important; }

  /* backToTop */
  #backToTop {
    width: 70px;
    height: 70px;
  }
  #backToTop a {
    width: 70px;
    height: 70px;
  }
  #backToTop a::before{
    top: 0;
    bottom: 30px;
    right: 0;
    left: 0;
  }

  /*--------------------------------
  　site parts
  ---------------------------------*/

  .caption        { font-size: 14px; }
  .caption-large  { font-size: 16px; }

  /*--------------------------------
  　全体
  ---------------------------------*/

  .inner {
    /* max-width: 100%; */
  }

  /*--------------------------------
  　header
  ---------------------------------*/

  /* top */
  #header .top-1 {
    height: 8px;
  }

  #header .top {
    min-height: 48px;
  }

  #header .top .inner {
    justify-content: start;
    padding: 8px 0;
  }
  #header .logo img {
    height: 32px;
    width: auto;
    padding-left: 8px;
  }
  #header .description img {
    height: 10px;
    width: auto;
    padding-left: 8px;
  }

  @media screen and (max-width: 349px) {
    #header .logo img {
      height: 28px;
      width: auto;
    }
    #header .description img {
      height: 8px;
      width: auto;
    }
  }

  /* main */
  #header .header {
    padding-top: 83%;
    /* (背景画像) */
    background-size: 180%;
    background-position: center left;
  }

  #header .main {
    position: absolute;
    top: 56px;
    left: 50%;
    right: 50%;
    transform: translateX(-50%);
    justify-content: space-between;
    width: 95%;
  }
  #header .main .left img {
    width: 600px;
    height: auto;
    padding-top: 64px;
  }
  #header .main .right img {
    width: 280px;
    height: auto;
    padding-top: 16px;
  }

  /* caution */
  #header .header .mv-bottom {
    margin-top: -24px;
  }
  #header .header .mv-bottom p {
    font-size: 10px;
  }

  /* caution Accordion */
  .caution-sp .switch {
    display: none;
  }
  /* switch */
  .caution-sp .switch-open {
    display: block;
    padding: 4px 16px;
    cursor: pointer;
    background: #85a7a9;
  }
  .caution-sp .switch-open span {
    margin-left: 8px;
  }
  .caution-sp .switch-open span::before{
    font-family: 'Font Awesome 5 Free';
    font-weight: 600;
    content: '\f103';
    font-size: 14px;
  }

  /* 非表示・表示 */
  .switch-close {
    display: block;
    height: 0;
    overflow: hidden;
    padding: 0;
    background: #85a7a9;
    opacity: 0.6;
  }
  .switch-close ul {
    margin: 16px;
  }
  .caution-sp .switch:checked + .switch-open + .switch-close {
    height: auto;
  }

  /*--------------------------------
  　globalnavi
  ---------------------------------*/

  /* スマホ用メニュー表示 */
  #mobileMenu {
      display: inline-block;
      position: absolute;
      overflow: auto;
      right: 0;
      top: 0;
      width: 72px;
      height: 56px;
  }

  /* ハンバーガーメニュー */
  #hamburger {
      width: 40px;
      height: 20px;
      cursor: pointer;
      margin: 12px auto 0;
      z-index: 2;
  }
   
  #hamburger div { position: relative; }
  /* ハンバーガーメニュー（ボタンを作る） */
  #hamburger span {
      background: #fff;
      position: absolute;
      display: block;
      left: 0;
      height: 2px;
      width: 100%;
      -webkit-transition: .35s ease-in-out;
      -moz-transition: .35s ease-in-out;
      transition: .35s ease-in-out;
  }

  #hamburger span:nth-child(1) { top: 0; }
  #hamburger span:nth-child(2) { top: 8px; }
  #hamburger span:nth-child(3) { top: 16px; }
  /* MENU */
  #mobileMenu p {
      color: #fff;
      font-size: 10px;
      text-align: center;
  }

  /* ヘッダーナビゲーション */
  .gnav.fixed { 
    position: absolute;
    top: -500px;
  }

  /* オープン */
  .open  {
     /* #global-nav top + #mobile-head height */
    transform: translateY(556px);
  }

  /* ナビのスタイル */
  .gnav {
    position: absolute;
    width: 70%;
    /* 開いていないときは画面外に配置 */
    top: -500px;
    right: 0;
    padding: 0;
    -moz-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
    overflow: auto;
  }
  .gnav ul {
    display: block;
  }

  .gnav ul li a {
    width: 100%;
    padding-left: 24px;
  }

  /*--------------------------------
  　section
  ---------------------------------*/

  /* --- section共通 --- */
  /* 見出し */
  .section .title {
    padding-top: 40px;
    padding-bottom: 40px;
  }
  .section .title:before {
    margin-right: 1em;
  }
  .section .title:after {
    margin-left: 1em;
  }
  .section .title img {
    height: 18px;
    width: auto;
  }

  /* --- section01:開催概要 --- */

  /* detail, map */
  /* (日程) */
  #section01 .box-1 .schedule li.opentimebox,
  #section01 .box-1 .schedule li.organizerbox {
    padding-bottom: 16px;
  }

  #section01 .box-1 .schedule .year {
  }
  #section01 .box-1 .schedule .day {
    font-size: 32px;
  }
  #section01 .box-1 .schedule .day-of-week {
    font-size: 18px;
  }
  #section01 .box-1 .schedule .arrow {
    font-size: 18px;
  }
  #section01 .box-1 .schedule p.box span {
    padding: 2px 4px;
  }

  #section01 .box-1 .schedule p.closed {
  }

  #section01 .box-1 .schedule p.opentime,
  #section01 .box-1 .schedule p.organizer,
  #section01 .box-1 .schedule p.omuseum {
    font-size: 20px;
  }
  #section01 .box-1 .schedule p.address {
  }

  #section01 .box-1 .detail {
    margin-bottom: 40px;
  }

  /* artwork */
  #section01 .box-2 img {
    margin: 0 auto;
    width: 340px;
    height: auto;
  }
  #section01 .box-2 .artwork p {
    margin: 4px auto 16px;
    display: block;
    width: 320px;
  }

  #section01 .box-2 .w1 img,
  #section01 .box-2 .w1 p,
  #section01 .box-2 .w2 img,
  #section01 .box-2 .w2 p,
  #section01 .box-2 .w3 img,
  #section01 .box-2 .w3 p {
    padding-left: 0;
    padding-right: 0;
  }

  /* --- section02:しながわ百景とは --- */

  /* main */
  #section02 .box-1 br.pc {
    display: none;
  }

  #section02 .box-1 .caption {
    margin-bottom: 40px;
  }

  #section02 .box-1 .artwork img {
    margin: 0 auto;
    width: 340px;
    height: auto;
  }
  #section02 .box-1 .artwork p {
    margin: 4px auto 16px;
    display: block;
    width: 340px;
  }

  /* (artwork と同列にするため、bottomの余白を狭くする) */
  #section02 .box-1 {
    padding-bottom: 0;
  }

  /* artwork */
  #section02 .box-2 .artwork img {
    width: 340px;
    height: auto;
    margin: 0 auto;
  }
  #section02 .box-2 .artwork p {
    margin: 4px auto 16px;
    display: block;
    width: 340px;
    font-size: 14px;
  }

  #section02 .box-2 .w1 img,
  #section02 .box-2 .w1 p,
  #section02 .box-2 .w2 img,
  #section02 .box-2 .w2 p,
  #section02 .box-2 .w3 img,
  #section02 .box-2 .w3 p,
  #section02 .box-2 .w4 img,
  #section02 .box-2 .w4 p {
    padding-left: 0;
    padding-right: 0;
  }

  /* --- section03:展示ゾーンごとの紹介 --- */

  /* 二分割レイアウト */
  #section03 .corner .flexnowrap .text {
    padding-right: 0;
    flex: 1;
    margin-bottom: 24px;
  }

  #section03 .corner .artwork {
    width: unset;
  }
  #section03 .corner img {
    width: 340px;
    height: auto;
      margin: 0 auto;
  }
  #section03 .corner .flexnowrap .artwork p {
    margin: 4px auto 16px;
    display: block;
    width: 340px;
    font-size: 14px;
  }

  /* --- section04:出店アーティストほか --- */
  #section04 .midashibox {
    padding: 2px 0;
  }
  #section04 .midashibox br.sp {
    display: block;
  }
  #section04 .midashibox span.ninsu {
    font-size: 14px;
  }
  #section04 .caution {
    margin-bottom: 24px;
  }
  #section04 .caution br.sp {
    display: block;
  }

  #section04 .movie .name {
    padding: 16px 8px;
  }
  #section04 .movie .name ul li {
    display: block;
    width: 100%;
  }

  /*--------------------------------
    Footer
  ---------------------------------*/

  #footer h2 {
    margin-bottom: 24px;
  }
  #footer h2 img {
    height: 32px;
    width: auto;
  }

  #footer .bottom-line {
    height: 8px;
  }

  #footer .copyright {
    margin: 24px 0;
    font-size: 10px;
  }
}
