@charset "UTF-8";

/*====================================

  カセット本文用スタイルシート
  配置先: /assets/cms/cassette.css
  用途: お知らせ記事詳細ページ（c- プレフィクスのカセットブロック）

  ⚠️ url() 参照に関する注意:
     .c-fileList のファイル種別アイコン 4 箇所が
     "/museum/assets/images/common/i_*.svg" を参照しています。
     US-cloud サーバにはこのパスのファイルが存在しないため
     ファイルアイコンが非表示になります（機能上は問題なし）。
     必要であれば /assets/images/common/i_*.svg として
     SVGファイルを配置し、下記 url() を書き換えてください。

  ----------------------------------
    Structure
  ----------------------------------

    1. General - 共通
    2. Title - 見出し
      2.1 title01 - 見出しレベル1
      2.2 title02 - 見出しレベル2
      2.3 title03 - 見出しレベル3
      2.4 title04 - 見出しレベル4
    3. Pouring - 画像配置
    4. Text - テキスト系
      4.1 sentenceTxt - 文章
      4.2 enclosureTxt - 囲み文章
    5. HTML - html
    6. Image - 画像
      6.1 img02 - 画像（1枚）
      6.2 img02Unit - 画像（複数枚）
    7. List - リスト系
      7.1 simpleList - リスト
      7.2 numList - リスト（序列）
      7.3 fileList - リスト（ファイル）
      7.4 btnList - ボタンリスト
    8. Definition - 定義系
      8.1 def - 定義リスト
      8.2 defTable - 定義リスト（テーブル）
    9. Line - 罫線
    10. Table - テーブル
    11. Gallery - ギャラリー
    12. Embed - 埋め込み系
      12.1 map - Googleマップ
      12.2 video - YouTube動画
    13. Form - フォーム

====================================*/

/*==================================
  1. General - 共通
==================================*/
.c-contents_body > *:first-child {
  margin-top: 0;
}

.c-cassette_body > div:first-of-type > div > * {
  margin-top: 0;
}

.c-cassette_body a {
  text-decoration: underline;
}

.c-cassette_body a:hover,
.c-cassette_body a:focus {
  text-decoration: none;
}

/*==================================
  2. Title - 見出し
==================================*/

/*
  2.1 title01 - 見出しレベル1
====================================*/
.c-secTtl02 {
  margin-top: 60px;
  font-size: 2.8rem;
  font-weight: 700;

  border-top: 4px solid;
  border-bottom: 4px solid;
}

.c-secTtl02 > span {
  display: block;
  padding: 10px 0;
  margin: 4px auto;

  border-top: 1px solid;
  border-bottom: 1px solid;
}

@media only screen and (max-width: 767px) {
  .c-secTtl02 {
    margin-top: 30px;
    font-size: 2.4rem;
  }
}

/*
  2.2 title02 - 見出しレベル2
====================================*/
.c-secTtl03 {
  margin-top: 60px;
  font-size: 2.6rem;
  font-weight: 700;

  border-left: 10px solid #0EA5E9;
  border-bottom: 1px solid #0EA5E9;
  position: relative;
  padding: 0.2em 0.8em;
}

@media only screen and (max-width: 767px) {
  .c-secTtl03 {
    margin-top: 30px;
    font-size: 2.2rem;
  }
}

/*
  2.3 title03 - 見出しレベル3
====================================*/
.c-secTtl04 {
  margin-top: 60px;
  font-size: 2.4rem;
  font-weight: 700;

  padding-left: calc(30px + 0.8em);
  position: relative;
}

.c-secTtl04::before,
.c-secTtl04::after {
  content: "";
  position: absolute;
  top: 0.8em;
  left: 0;
  height: 3px;
}
.c-secTtl04::before {
  width: 30px;
  background: #0f172a;
}
.c-secTtl04::after {
  width: 10px;
  background: #0EA5E9;
}

@media only screen and (max-width: 767px) {
  .c-secTtl04 {
    margin-top: 30px;
    font-size: 2rem;
  }
}

/*
  2.4 title04 - 見出しレベル4
====================================*/
.c-secTtl05 {
  margin-top: 60px;
  font-size: 2.2rem;
  font-weight: 700;

  position: relative;
  padding-left: calc(0.8em + 0.2em);
}

.c-secTtl05::before {
  content: "";
  position: absolute;
  top: 0.55em;
  left: 0px;
  border: 0.4em solid transparent;
  border-left: 0.4em solid #0EA5E9;
}

@media only screen and (max-width: 767px) {
  .c-secTtl05 {
    margin-top: 30px;
    font-size: 1.8rem;
  }
}

/*==================================
  3. Pouring - 画像配置
==================================*/
.c-pouring {
  margin-top: 40px;
  overflow: hidden;
}
.c-pouring .c-pouring_img {
  max-width: 430px;
  float: left;
  margin-right: 30px;
  margin-bottom: 20px;
}
.c-pouring.c-pouring__rev .c-pouring_img {
  float: right;
  margin-right: 0;
  margin-left: 30px;
}

@media only screen and (max-width: 767px) {
  .c-pouring {
    margin-top: 20px;
  }
  .c-pouring .c-pouring_img,
  .c-pouring.c-pouring__rev .c-pouring_img {
    max-width: 100%;
    float: none;
    margin: 0 auto;
  }
  .c-pouring .c-pouring_img img {
    width: 100%;
  }
  .c-pouring .c-pouring_txt {
    margin-top: 10px;
  }
}

/*==================================
  4. Text - テキスト系
==================================*/

/*
  4.1 sentenceTxt - 文章
====================================*/
.c-sentenceTxt {
  margin-top: 40px;
  line-height: 1.8;
}

@media only screen and (max-width: 767px) {
  .c-sentenceTxt {
    margin-top: 20px;
  }
}

/*
  4.2 enclosureTxt - 囲み文章
====================================*/
.c-enclosureTxt {
  margin-top: 40px;
  padding: 40px;

  background: #e0f2fe;
  color: #0f172a;
  border-left: 4px solid #0EA5E9;
  border-radius: 0 6px 6px 0;
}

@media only screen and (max-width: 767px) {
  .c-enclosureTxt {
    margin-top: 20px;
    padding: 20px;
  }
}

/*==================================
  5. HTML - html
==================================*/
.c-free {
  margin-top: 60px;
}

@media only screen and (max-width: 767px) {
  .c-free {
    margin-top: 30px;
  }
}

/*==================================
  6. Image - 画像
==================================*/

/*
  6.1 img02 - 画像（1枚）
====================================*/
.c-img02 {
  margin-top: 60px;
  text-align: center;
}
.c-img02 a {
  display: inline-block;
}
.c-img02 img {
  max-width: 100%;
  height: auto;
}
.c-img02 figcaption {
  margin-top: 0.2em;
  font-size: 90%;
  color: #64748b;
}

@media only screen and (max-width: 767px) {
  .c-img02 {
    margin-top: 30px;
  }
}

/*
  6.2 img02Unit - 画像（複数枚）
====================================*/
.c-img02Unit {
  margin-top: 60px;
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(1, 1fr);
}
.c-img02Unit > .c-img02 {
  margin-top: 0;
}

@media only screen and (min-width: 768px) {
  .c-img02Unit.c-img02Unit__col2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .c-img02Unit.c-img02Unit__col3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media only screen and (max-width: 767px) {
  .c-img02Unit {
    margin-top: 30px;
  }
}

/*==================================
  7. List - リスト系
==================================*/

/*
  7.1 simpleList - リスト
====================================*/
.c-simpleList {
  margin-top: 40px;
}
.c-simpleList > li {
  position: relative;
  padding-left: calc(0.6em + 16px);
}
.c-simpleList > li:not(:first-of-type) {
  margin-top: 0.5em;
}
.c-simpleList > li::before {
  content: "";
  position: absolute;
  top: 0.6em;
  left: 0;
  width: 0.6em;
  height: 0.6em;

  background: #0EA5E9;
  border-radius: 50%;
}

@media only screen and (max-width: 767px) {
  .c-simpleList {
    margin-top: 20px;
  }
}

/*
  7.2 numList - リスト（序列）
====================================*/
.c-numList {
  margin-top: 40px;
  counter-reset: num;
}
.c-numList > li {
  position: relative;
  padding-left: calc(1.6em + 12px);
  counter-increment: num;
}
.c-numList > li:not(:first-of-type) {
  margin-top: 0.5em;
}

.c-numList > li::before {
  content: "";
  position: absolute;
  top: 0.1em;
  left: 0;
  width: 1.6em;
  height: 1.6em;

  border-radius: 50%;
  background: #0EA5E9;
}

.c-numList > li::after {
  content: counter(num);
  position: absolute;
  top: 0;
  left: 0.1em;
  width: 1.4em;
  height: 1.4em;

  display: inline-block;
  font-size: 94%;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0;
  color: #fff;
}

@media only screen and (max-width: 767px) {
  .c-numList {
    margin-top: 20px;
  }
}

/*
  7.3 fileList - リスト（ファイル）
  ⚠️ アイコン url() は /assets/images/common/i_*.svg を参照するよう
     変更しています。SVGファイルが未設置の場合はアイコン非表示になります。
====================================*/
.c-fileList {
  margin-top: 40px;
}
.c-fileList > li {
  position: relative;
}
.c-fileList > li:not(:first-of-type) {
  margin-top: 0.5em;
}
.c-fileList > li a {
  display: inline-block;
  padding-left: calc(1.4em + 14px);
}
.c-fileList > li a::before {
  content: "";
  position: absolute;
  top: 0.1em;
  left: 0;
  width: 1.4em;
  height: 1.6em;
  background: url(/assets/images/common/i_other.svg) no-repeat;
}
.c-fileList li a[href$=".pdf"]::before {
  background-image: url(/assets/images/common/i_pdf.svg);
}
.c-fileList li a[href$=".xls"]::before,
.c-fileList li a[href$=".xlsx"]::before {
  background-image: url(/assets/images/common/i_xlsx.svg);
}
.c-fileList li a[href$=".doc"]::before,
.c-fileList li a[href$=".docx"]::before {
  background-image: url(/assets/images/common/i_docx.svg);
}

@media only screen and (max-width: 767px) {
  .c-fileList {
    margin-top: 20px;
  }
}

/*
  7.4 btnList - ボタンリスト
====================================*/
.c-btnList {
  margin-top: 60px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.c-btnList > li a {
  display: inline-block;
  text-decoration: none;

  text-align: center;
  padding: 10px 30px;
  border: 1px solid #0EA5E9;
  background: #0EA5E9;
  color: #fff;
  font-weight: 700;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}
.c-btnList li a:active,
.c-btnList li a:focus,
.c-btnList li a:hover {
  background: transparent;
  color: #0EA5E9;
}

@media only screen and (max-width: 767px) {
  .c-btnList {
    margin-top: 30px;
  }
}

/*==================================
  8. Definition - 定義系
==================================*/

/*
  8.1 def - 定義リスト
====================================*/
.c-def {
  margin-top: 40px;
}
.c-def dt {
  font-size: 110%;
  font-weight: 700;
  position: relative;
  padding-left: calc(1em + 16px);
}
.c-def dt::before {
  content: "";
  position: absolute;
  top: 0.75em;
  left: 0;
  width: 24px;
  height: 0.3em;
  background: #0EA5E9;
  border-radius: 4px;
}
.c-def dd {
  margin-top: 10px;
}

@media only screen and (max-width: 767px) {
  .c-def {
    margin-top: 20px;
  }
}

/*
  8.2 defTable - 定義リスト（テーブル）
====================================*/
.c-defTable {
  margin-top: 40px;
}
.c-defTable dl {
  width: 100%;
  display: table;
  word-break: break-word;
  overflow-wrap: anywhere;

  border: 1px solid #bae6fd;
}
.c-defTable dl:not(:first-of-type) {
  margin-top: 10px;
}
.c-defTable dl dd,
.c-defTable dl dt {
  display: table-cell;
  padding: 16px 20px;
  vertical-align: middle;
}
.c-defTable dl dt {
  width: 300px;
  font-weight: 700;

  background: #e0f2fe;
  color: #0c4a6e;
}

@media only screen and (max-width: 767px) {
  .c-defTable {
    margin-top: 20px;
  }
  .c-defTable dl {
    display: block;
  }
  .c-defTable dl dd,
  .c-defTable dl dt {
    display: block;
    padding: 10px 16px;
  }
  .c-defTable dl dt {
    width: 100%;
    border-right: none;
  }
}

/*==================================
  9. Line - 罫線
==================================*/
.c-hr {
  margin: 60px 0;
  border-top: 1px solid #e2e8f0;
}

/*==================================
  10. Table - テーブル
==================================*/
.c-table {
  margin-top: 40px;
  width: 100%;
  word-break: break-word;
  overflow-wrap: anywhere;
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
}
.c-table caption {
  font-weight: 700;
  margin-bottom: 6px;
  text-align: left;
}
.c-table tr {
  border-top: 1px solid #e2e8f0;
  border-right: 1px solid #e2e8f0;
}
.c-table th,
.c-table td {
  border-bottom: 1px solid #e2e8f0;
  border-left: 1px solid #e2e8f0;
  padding: 16px 20px;
  vertical-align: top;
}
.c-table th {
  width: 300px;
  min-width: 120px;
  font-weight: 700;
  background: #f0f9ff;
  color: #0c4a6e;
}

@media only screen and (max-width: 767px) {
  .c-table {
    margin-top: 20px;
  }
  .c-table td,
  .c-table th {
    padding: 10px;
  }
  .c-table th {
    width: calc(100% / 3);
  }
}

.c-table.c-table__fixed {
  table-layout: fixed;
}
.c-table.c-table__fixed th {
  width: auto;
  text-align: center;
}

/*==================================
  11. Gallery - ギャラリー
==================================*/
.c-gallery {
  margin-top: 60px;
}
.c-gallery .c-gallery_list {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}
.c-gallery .c-gallery_list figure {
  width: 100%;
  height: auto;
  padding: 0 7%;
}
.c-gallery .c-gallery_list figure img {
  max-width: 100%;
}

@media only screen and (max-width: 767px) {
  .c-gallery {
    margin-top: 30px;
  }
}

/* slick-adjustment */
.c-gallery .slick-dots {
  position: static;
}

@media only screen and (max-width: 767px) {
  .c-gallery .slick-arrow {
    display: none !important;
  }
}

/*==================================
  12. Embed - 埋め込み系
==================================*/

/*
  12.1 map - Googleマップ
====================================*/
.c-map {
  margin-top: 60px;
}
.c-map iframe {
  width: 100%;
  height: 500px;
  border: none;
}

@media only screen and (max-width: 767px) {
  .c-map {
    margin-top: 30px;
  }
  .c-map iframe {
    height: 360px;
  }
}

/*
  12.2 video - YouTube動画
====================================*/
.c-video {
  margin-top: 60px;
  position: relative;
  width: 100%;
  padding-top: 56.25%;
}
.c-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

@media only screen and (max-width: 767px) {
  .c-video {
    margin-top: 30px;
  }
}

/*==================================
  13. Form - フォーム
==================================*/
.c-form {
  margin-top: 40px;
}

.c-form sup,
.c-form .caution {
  color: #b60000;
}

.c-form_notes {
  display: block;
  margin-top: 5px;
  color: #707070;
}

.c-form_table {
  border-top: 1px solid #e2e8f0;
}

/* form_parts */
.form_line {
  display: flex;
  border-bottom: 1px solid #e2e8f0;
  padding: 16px 0;
}

.form_line .f-label {
  float: left;
  width: 240px;
}

.form_line .f-label + div {
  float: right;
  width: calc(100% - 240px - 2em);
  margin-left: 2em;
}

@media only screen and (max-width: 767px) {
  .form_line {
    flex-direction: column;
  }
  .form_line .f-label {
    float: none;
    width: auto;
  }
  .form_line .f-label + div {
    float: none;
    width: 100%;
    margin-left: 0;
    margin-top: 0.5em;
  }
}

/* name */
.f-name {
  font-weight: 700;
}

.f-required {
  letter-spacing: 0;
  font-size: 80%;
  margin-left: 1em;
  padding: 0 6px;
  background: #b60000;
  border: 1px solid #b60000;
  color: #fff;
}

/* パーツ */
.c-form input,
.c-form textarea,
.c-form select {
  border: 1px solid #cbd5e1;
  background-color: #fff;
  padding: 10px;
  border-radius: 4px;
}

.c-form input,
.c-form textarea {
  width: 100%;
}

.c-form select {
  appearance: menulist;
}

.c-form select + select {
  margin-left: 10px;
}

.c-form .c-form_short {
  width: 248px;
}

.c-form .zipcode {
  width: 8em;
}

.c-form textarea {
  height: 10em;
}

@media only screen and (max-width: 767px) {
  .c-form select {
    width: 100%;
  }
  .c-form select + select {
    margin-left: auto;
    margin-top: 0.5em;
  }
}

/* 郵便番号 */
.zip-search {
  margin-left: 10px;
  background: #0EA5E9;
  border: 1px solid #0EA5E9;
  font-size: 90%;
  font-weight: 700;
  padding: 0.2em 1.4em;
  color: #fff;
  border-radius: 4px;
  cursor: pointer;
}

.zip-search:hover,
.zip-search:focus {
  background: transparent;
  color: #0EA5E9;
}

/* ラジオボタン・チェックボックス */
.c-inputList > li {
  position: relative;
}

.c-inputList > li input {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}

.c-inputList > li input:focus + label::before {
  border: 2px solid #0EA5E9;
}

.c-inputList > li label {
  display: inline-block;
  position: relative;
  padding-left: 1.8em;
}

.c-inputList > li label:before {
  content: "";
  position: absolute;
  top: 16px;
  left: 0;
  width: 20px;
  height: 20px;
  background-color: #fff;
  border: 1px solid #94a3b8;
  transform: translateY(-50%);
}

.c-inputList > li input[type="checkbox"] + label:before {
  border-radius: 2px;
}

.c-inputList > li input[type="radio"] + label:before {
  border-radius: 50%;
}

.c-inputList > li input[type="checkbox"]:checked + label:after {
  content: "";
  position: absolute;
  top: 10px;
  left: 4px;
  width: 12px;
  height: 8px;
  border-left: 3px solid #0EA5E9;
  border-bottom: 3px solid #0EA5E9;
  transform: rotate(-45deg);
  border-radius: 3px;
}

.c-inputList > li input[type="radio"]:checked + label:after {
  content: "";
  position: absolute;
  top: 10px;
  left: 4px;
  height: 12px;
  width: 12px;
  border-radius: 50%;
  background: #0EA5E9;
}

.c-inputList > li:not(:first-child) {
  margin-top: 5px;
}

@media only screen and (max-width: 767px) {
  .c-inputList > li label:before {
    top: 14px;
  }
  .c-inputList > li input[type="checkbox"]:checked + label:after,
  .c-inputList > li input[type="radio"]:checked + label:after {
    top: 8px;
  }
}

/* 日付入力パレット */
.ui-widget {
  font-size: 1.6rem;
}

.ui-datepicker td span,
.ui-datepicker td a {
  display: block;
  font-size: 1.4rem;
  padding: 0.2em;
  text-align: right;
  text-decoration: none;
}

/* ファイルアップロード */
.c-fileLabel input {
  background: none;
  border-color: transparent;
  border-radius: 0;
  padding: 0;
  width: auto;
  font-size: 90%;
}

.file-box {
  margin-bottom: 20px;
}
.form_parts dd .file-box {
  margin-bottom: 0;
}
.file-del-btn {
  margin-top: 5px;
}
.file-del-btn button {
  border: 1px solid #363636;
  border-radius: 3px;
  padding: 0 0.4em;
}

/* submitボタン */
.c-form_btn {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.c-form_btn_item {
  width: 240px;
}

.c-form_btn_item .c-btn03 {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  text-align: center;
  width: 100%;
  max-width: 320px;
  padding: 10px 30px;

  border: 1px solid #0EA5E9;
  background: #0EA5E9;
  color: #fff;
  border-radius: 4px;
  cursor: pointer;
}

.c-form_btn_item .c-btn03:hover,
.c-form_btn_item .c-btn03:focus {
  background: transparent;
  color: #0EA5E9;
}
