/*****************************************
*
* 共通パーツ
*
******************************************/


/*------------------------------------------*/
/* section
/*------------------------------------------*/

.section-normal,
.section-wide {
  width: calc(100% - 40px);
  margin: 0 auto;
}

.section-normal,
.section-wide,
.section-full {
  margin-top: 80px;
}

.margin-narrow,
.section-normal.narrow,
.section-wide.narrow {
  margin-top: 40px;
}

.section-back>.section-normal,
.section-back>.section-wide {
  margin-top: 0;
}

@media screen and (min-width: 768px), print {

  .section-normal,
  .section-wide {
    width: calc(100% - 80px);
  }
}

@media screen and (min-width: 834px), print {

  .section-normal,
  .section-wide {
    width: calc(100% - 120px);
  }

  .section-normal,
  .section-wide,
  .section-full {
    margin-top: 160px;
  }

  .margin-narrow,
  .section-normal.narrow,
  .section-wide.narrow {
    margin-top: 80px;
  }
}

@media screen and (min-width: 1240px), print {
  .section-normal {
    width: 1100px;
  }
}

@media screen and (min-width: 1400px), print {
  .section-wide {
    width: 1280px;
  }
}


/*------------------------------------------*/
/* section フッターに文字がかかる場合 スマホのみ
/*------------------------------------------*/

@media screen and (max-width: 833px) {
  .footer-before {
    background: rgba(231, 235, 238, 0.5);
    padding-bottom: 40px;
  }
}


/*------------------------------------------*/
/* 見出しwrap
/*------------------------------------------*/

.heading-wrap {
  text-align: center;
}


/*------------------------------------------*/
/* H2
/*------------------------------------------*/

.heading-secondary {
  position: relative;
  display: inline-block;
  width: 100%;
  text-align: left;
  color: var(--color-text);
  margin-bottom: 40px;
}

.heading-secondary::before {
  content: '';
  display: inline-block;
  background: var(--color-main);
  width: 100%;
  height: 2px;
  position: absolute;
  bottom: 0;
  left: 0;
}

.heading-secondary .jp,
.heading-secondary .en {
  position: relative;
}

.heading-secondary .jp {
  color: var(--color-main);
  font-size: 1.4rem;
  font-weight: bold;
}

.heading-secondary .en {
  color: var(--color-light-blue);
  font-family: var(--font-oswald);
  font-size: 0.8rem;
}

@media screen and (max-width: 833px) {
  .heading-secondary {
    padding-bottom: 10px;
  }
}

@media screen and (min-width: 834px), print {
  .heading-secondary {
    line-height: 1.1;
    margin-bottom: 80px;
  }

  .heading-secondary::before {
    background: var(--color-light-blue);
  }

  .heading-secondary .jp,
  .heading-secondary .en {
    display: inline-block;
    padding-bottom: 20px;
  }

  .heading-secondary .jp {
    font-size: 2.4rem;
  }

  .heading-secondary .en {
    font-size: 1.4rem;
    margin-left: 1em;
  }

  .heading-secondary .jp::before {
    content: '';
    display: inline-block;
    background: var(--color-main);
    width: 100%;
    height: 2px;
    position: absolute;
    bottom: 0;
    left: 0;
  }

  .heading-secondary.long .jp,
  .heading-secondary.long .en {
    display: block;
  }

  .heading-secondary.long .en {
    margin-left: 0;
  }

  .heading-secondary.long .jp::before {
    opacity: 0;
  }
}

@media screen and (min-width: 1240px), print {
  .heading-secondary.long .jp,
  .heading-secondary.long .en {
    display: inline-block;
  }

  .heading-secondary.long .en {
    margin-left: 1em;
  }

  .heading-secondary.long .jp::before {
    opacity: 1;
  }
}


/*------------------------------------------*/
/* 外部リンク
/*------------------------------------------*/

.link-blank {
  color: var(--color-main);
}

.link-blank::after {
  content: '';
  display: inline-block;
  background: url('../img/link_blank.svg') no-repeat;
  background-size: 100%;
  aspect-ratio: 1/1;
  width: 10px;
  height: auto;
  margin-left: 3px;
  margin-right: 3px;
}


/*------------------------------------------*/
/* ボタン wrap
/*------------------------------------------*/

.btn-type-wrap {
  display: inline-block;
  width: 100%;
  text-align: center;
  margin-top: 40px
}

@media screen and (min-width: 834px), print {
  .btn-type-wrap {
    margin-top: 80px;
  }

  .btn-type-wrap.center {
    text-align: center;
  }

  .btn-type-wrap.left {
    text-align: left;
  }

  .btn-type-wrap.right {
    text-align: right;
  }
}


/*------------------------------------------*/
/* ボタン 角丸
/*------------------------------------------*/

.btn-type-rounded {
  position: relative;
  display: inline-block;
  background: var(--color-main);
  border-radius: 40px;
  border-style: solid;
  border-width: 2px;
  border-color: var(--color-main);
  text-align: left;
  color: white;
  font-size: 1rem;
  font-weight: bold;
  line-height: 1.4;
  padding: 15px 80px 15px 40px;
  transition: all .5s ease;
}

.btn-type-rounded.min {
  font-size: 0.8rem;
  padding: 8px 50px 8px 20px;
}

.btn-type-rounded.white {
  background: white;
  border-color: white;
  color: var(--color-main);
}

.btn-type-rounded.transparent {
  background: transparent;
  border-color: white;
  color: white;
}

.btn-type-rounded::after {
  content: '';
  display: inline-block;
  background: url('../img/common/icon_arrow.svg') no-repeat;
  background-size: 100%;
  aspect-ratio: 12/10;
  width: 12px;
  height: auto;
  opacity: 1;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 20px;
  transition: all .3s ease;
}

.btn-type-rounded.transparent::after {
  background: url('../img/common/icon_arrow_white.svg') no-repeat;
  background-size: 100%;
}

.btn-type-rounded.blank::after {
  background: url('../img/common/icon_blank.svg') no-repeat;
  background-size: 100%;
  aspect-ratio: 1/1;
  width: 18px;
}

.btn-type-rounded.pdf::after {
  background: url('../img/common/icon_pdf.svg') no-repeat;
  background-size: 100%;
  aspect-ratio: 17/20;
  width: 17px;
}

.btn-type-rounded:hover {
  text-decoration: none;
  background: transparent;
  color: var(--color-main);
}

.btn-type-rounded.white:hover {
  color: white;
}

.btn-type-rounded.transparent:hover {
  background: white;
  color: var(--color-main);
}

.btn-type-rounded:hover::after {
  background: url('../img/common/icon_arrow.svg') no-repeat;
  background-size: 100%;
}

.btn-type-rounded.white:hover::after {
  background: url('../img/common/icon_arrow_white.svg') no-repeat;
  background-size: 100%;
}



/*------------------------------------------*/
/* リスト 黒丸
/*------------------------------------------*/

.list-type-circle-black li {
  position: relative;
  text-align: left;
  padding-left: 1em;
}

.list-type-circle-black li::before {
  content: '・';
  position: absolute;
  top: 0;
  left: 0;
}


/*------------------------------------------*/
/* リスト 色丸
/*------------------------------------------*/

.list-type-circle {
  margin-top: 1em;
}

.list-type-circle li {
  position: relative;
  text-align: left;
  padding-left: 15px;
}

.list-type-circle li::before {
  content: '';
  display: inline-block;
  background: var(--color-main);
  border-radius: 50%;
  width: 6px;
  height: 6px;
  position: absolute;
  top: 0.5em;
  left: 0;
}

.list-type-circle.pink li::before {
  background: var(--color-pink);
}

.list-type-circle li+li {
  margin-top: 0.5em;
}

@media screen and (min-width: 768px), print {
  .list-type-circle li::before {
    top: 0.6em;
  }
}


/*------------------------------------------*/
/* 表 下線
/* thの幅はjsで設定
/* w10など
/*------------------------------------------*/
.table-type-underline {
  border-collapse: collapse;
  width: 100%;
}

.table-type-underline th,
.table-type-underline td {
  text-align: left;
  font-size: 0.8rem;
  border-bottom: dotted 1px var(--color-gray);
  padding: 10px 0;
}

.table-type-underline th {
  width: 10em;
  font-weight: bold;
}

@media screen and (min-width: 834px), print {

  .table-type-underline th,
  .table-type-underline td {
    font-size: 1.1rem;
    padding: 20px 0;
  }
}


/*------------------------------------------*/
/* 表 下線 スマホで1列
/* thの幅はjsで設定
/* w10など
/*------------------------------------------*/
.table-type-underline-responsive {
  border-collapse: collapse;
  width: 100%;
  border-top: solid 1px var(--color-gray);
}

.table-caption {
  text-align: left;
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.table-bottom-text {
  text-align: left;
  font-size: 0.8rem;
  margin-top: 10px;
}

@media screen and (min-width: 834px), print {
  .table-type-underline-responsive {
    border-top: dashed 1px var(--color-gray);
  }

  .table-caption {
    font-size: 1.1rem;
  }

  .table-bottom-text {
    font-size: 0.9rem;
  }
}

.table-type-underline-responsive th,
.table-type-underline-responsive td {
  text-align: left;
  border-bottom: dashed 1px var(--color-gray);
  font-size: 1.1rem;
  padding: 20px 0;
}

.table-type-underline-responsive.small th,
.table-type-underline-responsive.small td {
  font-size: 0.9rem;
  padding: 8px 0;
}

.table-type-underline-responsive th {
  font-weight: bold;
}

.table-type-underline-responsive.text-top th {
  vertical-align: text-top;
}

.table-type-underline-responsive td {
  text-align: left;
}

@media screen and (max-width: 767px) {

  .table-type-underline-responsive tr,
  .table-type-underline-responsive th,
  .table-type-underline-responsive td {
    display: block;
    width: auto;
    width: 100%;
  }

  .table-type-underline-responsive th,
  .table-type-underline-responsive td {
    font-size: 0.8rem;
    border-bottom: 1px solid var(--color-gray);
    padding: 8px 0;
  }

  .table-type-underline-responsive th {
    border-bottom: 1px dotted var(--color-gray);
  }
}

@media screen and (min-width: 768px), print {
  .table-type-underline-responsive th {
    width: 10em;
  }
}


/*------------------------------------------*/
/* 表 thの背景有
/* thの幅はjsで設定
/* w10など
/*------------------------------------------*/
.table-type-background {
  border-collapse: collapse;
  width: 100%;
}

.table-type-background th,
.table-type-background td {
  border: 1px solid var(--color-light-gray);
  padding: 10px;
}

.table-type-background th {
  width: 10em;
  background: var(--color-light-gray);
}

@media screen and (max-width: 767px) {
  .table-type-background {
    /*テーブルスマホで横スクロールさせる場合*/
    display: block;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }
}



/*------------------------------------------*/
/* テキスト
/*------------------------------------------*/
.text {
  text-align: justify;
  text-justify: inter-ideograph;
  line-height: 1.8;
}

.text-en {
  text-align: left;
  line-height: 1.6;
  letter-spacing: 0.005em;
}

.text+.text,
.text-en+.text-en {
  margin-top: 1em;
}

/* 行間広 */
.text.line-wide {
  line-height: 2;
}

.text-left {
  text-align: left;
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.text-bold {
  font-weight: bold;
}

.text-red {
  color: var(--color-red);
}

.text-main {
  color: var(--color-main);
}

.text-gray {
  color: var(--color-gray);
}

.text-min {
  font-size: 1rem;
}


/*------------------------------------------*/
/* 注意書き
/*------------------------------------------*/
.notes {
  text-align: justify;
  text-justify: inter-ideograph;
  padding-left: 1em;
  text-indent: -1em;
  font-size: 1rem;
  line-height: 1.6em;
}

.notes.indent-1_5 {
  padding-left: 1.5em;
  text-indent: -1.5em;
}

.notes.indent-2 {
  padding-left: 2em;
  text-indent: -2em;
}

.notes.indent-2_5 {
  padding-left: 2.5em;
  text-indent: -2.5em;
}

.notes.indent-3 {
  padding-left: 3em;
  text-indent: -3em;
}


/*------------------------------------------*/
/* 改行
/*------------------------------------------*/

/* 強制改行 --------------------------------*/
.break-word {
  word-wrap: break-word;
}

/* 改行消し --------------------------------*/
@media screen and (max-width: 767px) {
  .br-sp-non {
    display: none;
  }
}

@media screen and (min-width: 768px), print {
  .br-pc-non {
    display: none;
  }
}


/*------------------------------------------*/
/* 地図
/*------------------------------------------*/

.map_wrapper {
  margin: 0;
}

.map_wrapper iframe {
  width: 100%;
  height: 200px;
}

@media screen and (min-width: 834px), print {
  .map_wrapper iframe {
    height: 400px;
  }
}