@charset "utf-8";

/* リセット */

* {
  box-sizing: border-box;
}

html {
  overflow: auto;
}

body {
  overflow: hidden;
}

body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre,
form, fieldset, input, textarea, p, blockquote, th, td, figure {
  padding: 0;
  margin: 0;
}

a {
  text-decoration: none;
}

table {
  border-spacing: 0;
}

fieldset, img {
  border: 0;
}

address, caption, cite, code, dfn, em, strong, th, var {
  font-weight: normal;
  font-style: normal;
}

strong {
  font-weight: bold;
}

ol, ul {
  list-style: none;
}

caption, th {
  text-align: left;
}

q:before, q:after {
  content: '';
}

abbr, acronym {
  border: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: normal;
}


/* Noto Sans JP -------------------------------------*/

@font-face {
  font-family: 'Noto Sans JP';
  font-style: normal;
  font-weight: 300;
  src: local("Noto San CJK JP Light"),
    local('NotoSansJP-Light'),
    url('../fonts/NotoSansCJKjp-Light.woff2') format('woff2'),
    url('../fonts/NotoSansCJKjp-Light.woff') format('woff');
}

@font-face {
  font-family: 'Noto Sans JP';
  font-style: normal;
  font-weight: 400;
  src: local("Noto Sans CJK JP"),
    local('NotoSansJP-Regular'),
    url('../fonts/NotoSansCJKjp-Regular.woff2') format('woff2'),
    url('../fonts/NotoSansCJKjp-Regular.woff') format('woff');
}

@font-face {
  font-family: 'Noto Sans JP';
  font-style: normal;
  font-weight: 500;
  src: local("Noto Sans CJK JP Medium"),
    local('NotoSansJP-Medium'),
    url('../fonts/NotoSansCJKjp-Medium.woff2') format('woff2'),
    url('../fonts/NotoSansCJKjp-Medium.woff') format('woff');
}

@font-face {
  font-family: 'Noto Sans JP';
  font-style: normal;
  font-weight: 700;
  src: local("Noto Sans CJK JP Bold"),
    local('NotoSansJP-Bold'),
    url('../fonts/NotoSansCJKjp-Bold.woff2') format('woff2'),
    url('../fonts/NotoSansCJKjp-Bold.woff') format('woff');
}

@font-face {
  font-family: 'Noto Sans JP';
  font-style: normal;
  font-weight: 900;
  src: local("Noto Sans CJK JP Black"),
    local('NotoSansJP-Black'),
    url('../fonts/NotoSansCJKjp-Black.woff2') format('woff2'),
    url('../fonts/NotoSansCJKjp-Black.woff') format('woff');
}

/*-------------------------------------------------
/* 基本
--------------------------------------------------*/

body {
  font-family: 'Noto Sans CJK JP', 'Noto Sans JP', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'BIZ UDPGothic', Meiryo, sans-serif;
  color: #242424;
  font-size: 16px;
  font-weight: 400;
  text-align: center;
  letter-spacing: 0.08em;
  line-height: 1.6;
  background-color: #fff;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  -webkit-print-color-adjust: exact;
}

.foot-copy,
.en {
  font-family: Verdana, 'Noto Sans JP', sans-serif;
}


a:link {
  text-decoration: none;
}

a:visited {
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

a:active {
  text-decoration: none;
}

/* iPhoneTELリンク色変更なしにする */
a[href^="tel"] {
  color: inherit;
  text-decoration: none;
}

img {
  vertical-align: bottom;
  -ms-interpolation-mode: bicubic;
}

.wrapper {
  position: relative;
}


/*****************************************
*
* ヘッダ
*
******************************************/

@media screen and (max-width: 833px) {
  header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 50px;
    background: #fff;
    z-index: 1000;
    transition: 1s;
  }

  .head-hidden {
    transform: translateY(-100%);
  }

  .head-transparent {
    background: transparent;
  }
}

@media screen and (min-width: 834px), print {
  header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    width: 100%;
    height: 60px;
    position: absolute;
    top: 20px;
    left: 0;
    padding: 0 40px;
  }
}

/*------------------------------------------*/
/* ロゴ
/*------------------------------------------*/

h1 {
  font-size: 0;
}

.logo a {
  text-indent: 100%;
  white-space: nowrap;
  overflow: hidden;
  font-size: 0;
  z-index: 1;
  position: absolute;
}

@media screen and (max-width: 833px) {
  .logo a {
    background: url(../img/logo.png) no-repeat;
    background-size: 100%;
    width: calc(538px / 3);
    height: calc(82px / 3);
    left: 10px;
    top: 10px;
  }

  .head-transparent .logo a {
    background: url(../img/logo_w.png) no-repeat;
    background-size: 100%;
  }
}

@media screen and (min-width: 834px), print {
  .logo a {
    background: url(../img/logo_w.png) no-repeat;
    background-size: 100%;
    width: calc(538px / 2);
    height: calc(82px / 2);
    left: 40px;
    top: 50%;
    transform: translateY(-50%);
  }
}

/*------------------------------------------*/
/* PCナビ
/*------------------------------------------*/

@media screen and (min-width: 834px), print {
  .drawer-nav {
    z-index: 101;
  }

  .drawer-menu {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }

  .drawer-menu li a {
    text-decoration: none;
    position: relative;
    color: #fff;
    font-size: 1.1rem;
    font-weight: bold;
    transition: all .5s ease;
  }

  .drawer-menu li:not(:last-child) {
    margin-right: 2em;
  }

  .drawer-menu li a:hover {
    color: #fff;
    text-decoration: none;
  }

  .drawer-menu li a::after {
    position: absolute;
    bottom: -5px;
    left: 0;
    content: '';
    width: 0;
    height: 2px;
    background-color: #fff;
    transition: all .5s ease;
  }

  .drawer-menu li a:hover::after {
    width: 100%;
  }

  .drawer-menu__home,
  .drawer-menu__sp,
  .drawer-menu__second,
  .drawer-toggle {
    display: none;
  }
}


/*------------------------------------------*/
/* スマホナビ
/*------------------------------------------*/

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

  /*!------------------------------------*\
    Base
\*!------------------------------------*/
  .drawer-open {
    overflow: hidden !important;
  }

  .drawer-nav {
    position: fixed;
    z-index: 101;
    top: 0;
    overflow: hidden;
    width: 16.25rem;
    height: 100%;
    background: #fff;
  }

  .drawer-menu {
    text-align: left;
    margin-top: 10px;
    padding: 0;
    list-style: none;
  }

  .drawer-menu li {
    position: relative;
    border-bottom: 1px solid #848484;
  }

  /*右側の三角アイコン*/
  .drawer-menu li::after {
    content: '';
    display: inline-block;
    width: 4px;
    height: 4px;
    border: 2px solid;
    border-color: #fff #fff transparent transparent;
    transform: rotate(45deg);
    position: absolute;
    top: 0.8em;
    right: 10px;
  }

  .drawer-menu li ul li {
    border-top: 1px solid #ccc;
    border-bottom: 0;
  }

  .drawer-menu li a {
    display: block;
    color: #1b1b1b;
    font-size: 1rem;
    padding: 5px 10px;
  }

  .drawer-menu li a:hover {
    text-decoration: underline;
    color: #555;
    background-color: transparent;
  }

  .drawer-menu__second li a {
    font-size: 0.9rem;
  }

  li.drawer-menu__home {
    position: relative;
    height: 30px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }

  /*矢印リセット*/
  li.drawer-menu__home::after {
    content: '';
    display: inline-block;
    width: 0px;
    height: 0px;
    border: 0px solid;
    border-color: transparent;
    transform: rotate(0deg);
  }

  li.drawer-menu__home a {
    border: 0;
    position: relative;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
    font-size: 0;
    width: 40px;
    height: 30px;
  }

  li.drawer-menu__home a:before {
    content: '';
    height: 0px;
    width: 0px;
    display: block;
    /*屋根の幅*/
    border: 12px solid transparent;
    border-bottom-color: #1b1b1b;
    border-top: 0;
    position: absolute;
    /*屋根の位置*/
    top: 0px;
    left: 13px;
  }

  li.drawer-menu__home a::after {
    content: '';
    display: inline-block;
    /*建物の高さ*/
    height: 4px;
    /*建物の幅？*/
    width: 4px;
    display: block;
    /*建物の中の幅？*/
    border: 6px #1b1b1b solid;
    /*建物の中の高さ？*/
    border-top-width: 6px;
    border-bottom: 0;
    position: absolute;
    /*建物の位置*/
    top: 10px;
    left: 17px;
  }

  /*! overlay */
  .drawer-overlay {
    position: fixed;
    z-index: 100;
    top: 0;
    left: 0;
    display: none;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .2);
  }

  .drawer-open .drawer-overlay {
    display: block;
  }

  /*!------------------------------------*\
    Top
\*!------------------------------------*/

  .drawer--top .drawer-nav {
    top: -100%;
    left: 0;
    width: 100%;
    height: auto;
    max-height: 100%;
    -webkit-transition: top .6s cubic-bezier(0.190, 1.000, 0.220, 1.000);
    transition: top .6s cubic-bezier(0.190, 1.000, 0.220, 1.000);
  }

  .drawer--top.drawer-open .drawer-nav {
    top: 0;
  }

  .drawer--top .drawer-hamburger,
  .drawer--top.drawer-open .drawer-hamburger {
    right: 0;
  }

  /*!------------------------------------*\
    Left
\*!------------------------------------*/

  .drawer--left .drawer-nav {
    left: -16.25rem;
    -webkit-transition: left .6s cubic-bezier(0.190, 1.000, 0.220, 1.000);
    transition: left .6s cubic-bezier(0.190, 1.000, 0.220, 1.000);
  }

  .drawer--left.drawer-open .drawer-nav,
  .drawer--left .drawer-hamburger,
  .drawer--left.drawer-open .drawer-navbar .drawer-hamburger {
    left: 0;
  }

  .drawer--left.drawer-open .drawer-hamburger {
    left: 16.25rem;
  }

  /*!------------------------------------*\
    Right
\*!------------------------------------*/

  .drawer--right .drawer-nav {
    right: -16.25rem;
    -webkit-transition: right .6s cubic-bezier(0.190, 1.000, 0.220, 1.000);
    transition: right .6s cubic-bezier(0.190, 1.000, 0.220, 1.000);
  }

  .drawer--right.drawer-open .drawer-nav,
  .drawer--right .drawer-hamburger,
  .drawer--right.drawer-open .drawer-navbar .drawer-hamburger {
    right: 0;
  }

  .drawer--right.drawer-open .drawer-hamburger {
    right: 16.25rem;
  }

  /*!------------------------------------*\
    Hamburger
\*!------------------------------------*/

  .drawer-hamburger {
    position: absolute;
    z-index: 104;
    top: 0;
    display: block;
    box-sizing: content-box;
    width: 20px;
    padding: 0;
    padding-top: 15px;
    padding-right: 15px;
    padding-bottom: 30px;
    padding-left: .75rem;
    -webkit-transition: all .6s cubic-bezier(0.190, 1.000, 0.220, 1.000);
    transition: all .6s cubic-bezier(0.190, 1.000, 0.220, 1.000);
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    border: 0;
    outline: 0;
    background-color: transparent;
  }

  .drawer-hamburger:hover {
    cursor: pointer;
    background-color: transparent;
  }

  .drawer-hamburger-icon {
    position: relative;
    display: block;
    margin-top: 10px;
  }

  .drawer-hamburger-icon,
  .drawer-hamburger-icon:before,
  .drawer-hamburger-icon:after {
    width: 100%;
    height: 2px;
    -webkit-transition: all .6s cubic-bezier(0.190, 1.000, 0.220, 1.000);
    transition: all .6s cubic-bezier(0.190, 1.000, 0.220, 1.000);
    background-color: #1b1b1b;
  }

  .head-transparent .drawer-hamburger-icon,
  .head-transparent .drawer-hamburger-icon:before,
  .head-transparent .drawer-hamburger-icon:after {
    background-color: #fff;
  }

  .drawer-hamburger-icon:before,
  .drawer-hamburger-icon:after {
    position: absolute;
    top: -8px;
    left: 0;
    content: ' ';
  }

  .drawer-hamburger-icon:after {
    top: 8px;
  }

  .drawer-open .drawer-hamburger {
    /*開いた時のアイコンの背景*/
    width: 20px;
    height: 5px;
    background: #fff;
  }

  .drawer-open .drawer-hamburger-icon {
    background-color: transparent;
  }

  .drawer-open .drawer-hamburger-icon:before,
  .drawer-open .drawer-hamburger-icon:after {
    top: 0;
    /*開いた時の×の色*/
    background-color: #1b1b1b;
  }

  .drawer-open .drawer-hamburger-icon:before {
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
  }

  .drawer-open .drawer-hamburger-icon:after {
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
  }

  /*!------------------------------------*\
    accessibility
\*!------------------------------------*/

  /*!
 * Only display content to screen readers
 * See: http://a11yproject.com/posts/how-to-hide-content
 */

  .sr-only {
    position: absolute;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
  }

  /*!
 * Use in conjunction with .sr-only to only display content when it's focused.
 * Useful for "Skip to main content" links; see http://www.w3.org/TR/2013/NOTE-WCAG20-TECHS-20130905/G1
 * Credit: HTML5 Boilerplate
 */

  .sr-only-focusable:active,
  .sr-only-focusable:focus {
    position: static;
    overflow: visible;
    clip: auto;
    width: auto;
    height: auto;
    margin: 0;
  }

  /*!------------------------------------*\
    Sidebar
\*!------------------------------------*/

  .drawer--sidebar {
    background-color: #fff;
  }

  .drawer--sidebar .drawer-contents {
    background-color: #fff;
  }

  /*!------------------------------------*\
    Navbar
\*!------------------------------------*/

  .drawer--navbarTopGutter {
    padding-top: 3.75rem;
  }

  .drawer-navbar .drawer-navbar-header {
    border-bottom: 1px solid #ddd;
    background-color: #fff;
  }

  .drawer-navbar {
    z-index: 102;
    top: 0;
    width: 100%;
  }

  /*! .drawer-navbar modifier */

  .drawer-navbar--fixed {
    position: fixed;
  }

  .drawer-navbar-header {
    position: relative;
    z-index: 102;
    box-sizing: border-box;
    width: 100%;
    height: 3.75rem;
    padding: 0 .75rem;
    text-align: center;
  }

  .drawer-navbar .drawer-nav {
    padding-top: 3.75rem;
  }

  .drawer-navbar .drawer-menu {
    padding-bottom: 7.5rem;
  }

  /*!------------------------------------*\
    Container
\*!------------------------------------*/

  .drawer-container {
    margin-right: auto;
    margin-left: auto;
  }

  /*!------------------------------------*\
    iPhoneでメニューをスクロールするとメニューが閉じてしまうバグ対策
\*!------------------------------------*/

  .drawer--top.drawer-open .drawer-nav {
    top: 0;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }

  .drawer--left.drawer-open .drawer-nav,
  .drawer--left .drawer-hamburger,
  .drawer--left.drawer-open .drawer-navbar .drawer-hamburger {
    left: 0;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }

  .drawer--right.drawer-open .drawer-nav,
  .drawer--right .drawer-hamburger,
  .drawer--right.drawer-open .drawer-navbar .drawer-hamburger {
    right: 0;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/*****************************************
*
* フッタ
*
******************************************/

footer {
  background: #fff;
  width: 100%;
  text-align: center;
}

@media screen and (max-width: 833px) {
  footer {
    padding: 0 20px;
  }
}

@media screen and (min-width: 834px), print {
  footer {
    position: relative;
    vertical-align: bottom;
    padding: 0 40px;
  }

  .footer {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;
    margin: 0 auto;
    padding-bottom: 40px;
  }
}

@media screen and (min-width: 1000px), print {
  footer {
    padding: 0;
  }

  .footer {
    width: 960px;
  }
}

/* フッタtext --------------------------------------*/
.foot-text {
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 0.5em;
}

@media screen and (min-width: 834px), print {
  .foot-text {
    font-size: 1.2rem;
  }
}

/* フッタロゴ --------------------------------------*/
.foot-logo a {
  text-indent: 100%;
  white-space: nowrap;
  overflow: hidden;
  font-size: 0;
  display: inline-block;
  background: url(../img/logo.png);
  background-size: 100%;
  width: calc(538px / 3);
  height: calc(82px / 3);
  margin-bottom: 10px;
}

@media screen and (min-width: 834px), print {
  .foot-logo a {
    width: calc(538px / 2);
    height: calc(82px / 2);
  }
}

/* フッタ住所 --------------------------------------*/
.foot-prof {
  text-align: left;
  font-size: 0.8rem;
}

.foot-jyosho p {
  display: inline-block;
}

.foot-jyosho p:not(:last-child) {
  margin-right: 1em;
}

@media screen and (min-width: 834px), print {
  .foot-prof {
    font-size: 0.9rem;
  }
}

/* フッタ営業エリア --------------------------------------*/
.foot-area {
  margin-top: 1em;
}

@media screen and (max-width: 767px) {
  .foot-area dd {
    margin-left: 1em;
  }
}

@media screen and (min-width: 768px), print {
  .foot-area dt {
    width: 6em;
    float: left;
  }

  .foot-area dd {
    margin-left: 6em;
  }

  .foot-area dd:after {
    content: '';
    display: block;
    clear: both;
  }
}

/* フッタコピーライト --------------------------------------*/
.foot-copy {
  font-size: 0.8rem;
  font-weight: 400;
}

@media screen and (max-width: 833px) {
  .foot-copy {
    margin-top: 20px;
    margin-bottom: 20px;
  }
}


/*****************************************
*
* フッタ上へ
*
******************************************/

.totop a {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: end;
  -ms-flex-align: end;
  align-items: flex-end;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  width: 50px;
  height: 40px;
  color: #242424;
  font-size: 0.8rem;
  font-weight: bold;
  transition: all .5s ease;
}

.totop a:hover {
  text-decoration: none;
}

.totop a:before {
  display: inline-block;
  content: '';
  background: #242424;
  width: 2px;
  height: 15px;
  position: absolute;
  top: 6px;
  left: 25px;
  transition: all .5s ease;
}

.totop a:after {
  display: inline-block;
  content: '';
  border-bottom: 6px solid #242424;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  position: absolute;
  top: 0;
  left: 22px;
  transition: all .5s ease;
}

@media screen and (max-width: 833px) {
  .totop {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
  }
}

@media screen and (min-width: 834px), print {
  .totop {
    position: relative;
    display: inline-block;
    width: 100%;
    background: #fff;
    vertical-align: bottom;
  }

  .totop a {
    font-size: 0.9rem;
    width: 50px;
    height: 70px;
    margin: 0 auto;
  }

  .totop a:before {
    width: 2px;
    height: 30px;
    top: 10px;
    left: 20px;
  }

  .totop a:after {
    border-bottom: 10px solid #242424;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    left: 15px;
  }

  .totop a:hover {
    transform: translateY(-10px);
  }
}


/*****************************************
*
* 印刷用
*
******************************************/

@media print {
  body {
    width: 1000px;
    transform: scale(0.8);
    transform-origin: 0 0;
    -webkit-print-color-adjust: exact;
  }

  /* FireFoxテーブル印刷バグ回避 */
  _:-ms-lang(x)::-ms-backdrop, .wrapper {
    overflow: auto;
    display: table;
  }
}

/*****************************************
*
* サブページメイン
*
******************************************/

.submain {
  position: relative;
}

.submain figure img {
  width: 100%;
}

@media screen and (max-width: 833px) {
  .submain figure {
    height: 200px;
  }
}

@media screen and (min-width: 834px), print {
  .submain figure {
    position: relative;
    overflow: hidden;
    vertical-align: bottom;
    height: 300px;
  }

  /*トリミング*/
  .submain figure img {
    position: absolute;
    top: -300px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: auto;
  }
}

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

.submain-heading {
  color: #fff;
  position: absolute;
  top: 100px;
  left: 50%;
  transform: translateX(-50%);
}

.submain-heading h2 {
  font-size: 1.2rem;
  font-weight: bold;
}

.submain-heading .en {
  font-size: 0.9rem;
  font-weight: bold;
}

@media screen and (min-width: 834px), print {
  .submain-heading {
    top: 140px;
  }

  .submain-heading h2 {
    font-size: 2rem;
  }

  .submain-heading .en {
    font-size: 1.1rem;
  }
}

/*****************************************
*
* パンくず
*
******************************************/

.breadcrumb {
  text-align: left;
}

.breadcrumb a {
  color: #242424;
}

.breadcrumb a:link {
  color: #242424;
  text-decoration: none;
}

.breadcrumb a:visited {
  color: #242424;
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb li {
  display: inline-block;
  position: relative;
}

.breadcrumb li a {
  transition: all .5s ease;
}

.breadcrumb li:not(:last-child)::after {
  display: inline-block;
  content: '→';
  padding: 0 5px;
}

@media screen and (max-width: 833px) {
  .breadcrumb {
    font-size: 0.8rem;
    padding: 5px 10px;
  }
}

@media screen and (min-width: 834px), print {
  .breadcrumb {
    font-size: 0.9rem;
    padding: 10px;
  }
}

@media screen and (min-width: 1000px), print {
  .breadcrumb {
    display: inline-block;
    width: 960px;
    padding: 10px 0;
  }
}


/*****************************************
*
* ページレイアウト
*
******************************************/

.container {
  /*下の要素をz-index的に上にしたい場合はコレ入れると何故かなる*/
  position: relative;
  display: inline-block;
  width: 100%;
  background: #fff;
  padding-bottom: 60px;
}

.container a {
  color: #154592;
}

.container a:visited {
  color: #737373;
}

@media screen and (min-width: 834px), print {
  .container {
    padding-bottom: 120px;
  }
}

/* section ----------------------------------*/
section {
  width: 100%;
  margin: 0 auto;
}

@media screen and (max-width: 833px) {
  section {
    padding: 0 20px;
    margin-top: 60px;
  }
}

@media screen and (min-width: 834px), print {
  section {
    padding: 0 40px;
    margin-top: 100px;
  }
}

@media screen and (min-width: 1000px), print {
  section {
    width: 960px;
    padding: 0;
  }
}

section.first {
  margin-top: 0;
}

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

a[href^="http://"]:after,
a[href^="https://"]:after {
  content: " ";
  display: inline-block;
  background: url(../img/icon_link.png) no-repeat;
  background-size: 100%;
  width: calc(30px / 2);
  height: calc(24px / 2);
  margin-left: 3px;
}

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

/*------------------------------------------*/
/* margin pの間空ける用
/*------------------------------------------*/
.margin-p {
  margin-top: 2rem;
}


/*****************************************
*
* 見出し
*
******************************************/

/* h3 ----------------------------------*/
.heading-tertiary {
  position: relative;
  display: inline-block;
  width: 100%;
  font-size: 1.2rem;
  margin-bottom: 40px;
}

.heading-tertiary p {
  display: inline-block;
  background: #fff;
  font-weight: bold;
  padding: 0 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.heading-tertiary::before {
  content: '';
  display: inline-block;
  background: #2c2c2c;
  width: 100%;
  height: 1px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

@media screen and (min-width: 834px), print {
  .heading-tertiary {
    font-size: 1.8rem;
    margin-bottom: 60px;
  }

  .heading-tertiary br {
    display: none;
  }
}

/* h4 ----------------------------------*/
.heading-quaternary {
  font-size: 1.1rem;
  font-weight: bold;
  margin-top: 20px;
  margin-bottom: 40px;
}

@media screen and (min-width: 834px), print {
  .heading-quaternary {
    font-size: 1.4rem;
    margin-top: 40px;
    margin-bottom: 60px;
  }
}