/*! HTML5 Boilerplate v8.0.0 | MIT License | https://html5boilerplate.com/ */


/* main.css 2.1.0 | MIT License | https://github.com/h5bp/main.css#readme */


/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */


/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}


/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}


/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}


/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}


/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}


/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}


/* ==========================================================================
   Author's custom styles
   ========================================================================== */


/* ==========================================================================
   Helper classes
   ========================================================================== */


/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
    display: none !important;
}


/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

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


/*
 * Extends the .sr-only class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

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


/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}


/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix::before,
.clearfix::after {
    content: " ";
    display: table;
}

.clearfix::after {
    clear: both;
}

.tac {
    text-align: center;
}
.tal {
    text-align: left;
}
.tar {
    text-align: right;
}


/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 1.25dppx),
(min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}


/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *::before,
    *::after {
        background: #fff !important;
        color: #000 !important;
        /* Black prints faster */
        box-shadow: none !important;
        text-shadow: none !important;
    }
    a,
    a:visited {
        text-decoration: underline;
    }
    a[href]::after {
        content: " (" attr(href) ")";
    }
    abbr[title]::after {
        content: " (" attr(title) ")";
    }
    /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
    a[href^="#"]::after,
    a[href^="javascript:"]::after {
        content: "";
    }
    pre {
        white-space: pre-wrap !important;
    }
    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }
    /*
   * Printing Tables:
   * https://web.archive.org/web/20180815150934/http://css-discuss.incutio.com/wiki/Printing_Tables
   */
    thead {
        display: table-header-group;
    }
    tr,
    img {
        page-break-inside: avoid;
    }
    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }
    h2,
    h3 {
        page-break-after: avoid;
    }
}


.pcol {
    display: none;
}




body {
    font-family: 'Zen Maru Gothic', sans-serif;
    color: #333333;
    font-size: 15px;
    line-height: 1.85;
    letter-spacing: 0.04em;
}

/*==================================================
スライダーのためのcss
===================================*/
.slider {
  position:relative;
	z-index: 1;
	/*↑z-indexの値をh1のz-indexの値よりも小さくして背景に回す*/
	height: 100vh;/*スライダー全体の縦幅を画面の高さいっぱい（100vh）にする*/
}
/*　背景画像設定　*/

.slider-item01 {
    background:url(../images/img_01.jpg);
}

.slider-item02 {
    background:url(../images/img_02.jpg);
}

.slider-item03 {
    background:url(../images/img_03.jpg);
}

.slider-item04 {
    background:url(../images/img_04.jpg);
}

.slider-item05 {
    background:url(../images/img_05.jpg);
}

.slider-item {
    width: 100%;/*各スライダー全体の横幅を画面の高さいっぱい（100%）にする*/
    height:100vh;/*各スライダー全体の縦幅を画面の高さいっぱい（100vh）にする*/
    background-repeat: no-repeat;/*背景画像をリピートしない*/
    background-position: center;/*背景画像の位置を中央に*/
    background-size: cover;/*背景画像が.slider-item全体を覆い表示*/
}

.slick-list,
.slick-track {
    height: 100%;
}
/*矢印の設定*/

.slick-prev, 
.slick-next {
    position: absolute;
	z-index: 3;
    top: 42%;
    cursor: pointer;/*マウスカーソルを指マークに*/
    outline: none;/*クリックをしたら出てくる枠線を消す*/
    border-top: 2px solid #fff;/*矢印の色*/
    border-right: 2px solid #fff;/*矢印の色*/
    height: 25px;
    width: 25px;
}

.slick-prev {/*戻る矢印の位置と形状*/
    left:2.5%;
    transform: rotate(-135deg);
}

.slick-next {/*次へ矢印の位置と形状*/
    right:2.5%;
    transform: rotate(45deg);
}

/*ドットナビゲーションの設定*/

.slick-dots {
	position: relative;
	z-index: 3;
    text-align:center;
	margin:-50px 0 0 0;/*ドットの位置*/
}

.slick-dots li {
    display:inline-block;
	margin:0 5px;
}

.slick-dots button {
    color: transparent;
    outline: none;
    width:8px;/*ドットボタンのサイズ*/
    height:8px;/*ドットボタンのサイズ*/
    display:block;
    border-radius:50%;
    background:#fff;/*ドットボタンの色*/
}

.slick-dots .slick-active button{
    background:#333;/*ドットボタンの現在地表示の色*/
}
.title {
    position: absolute;
    left: 30px;
    top: 30px;
    width: 80px;
    z-index: 10;
}


.footer {
    color: #fff;
    width: 150px;
    position: absolute;
    right: 15px;
    top: 30px;
    z-index: 10;
}

.footer__social__item {
    width: 27px;
    margin: 0 7px;
}

.footer__social {
    display: flex;
    align-content: flex-end;
    justify-content: flex-end;
}

.footer__txt {
    font-size: 90%;
    font-family: 'Cormorant Garamond', serif;
    text-align: right;
    line-height: 1.5;
    margin-bottom: 10px;
}

.about {
    font-weight: bold;
    text-align: right;
    margin-bottom: 15px;
    text-decoration: underline;
}
.about:hover {
    text-decoration: none;
}





/*** モーダル ***/
.modal {
  opacity: 0;
  visibility: hidden;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
    z-index: 100;
  overflow-y: auto;
  transition: all 0.4s;
}
.modal__inner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 100%;
}
.modal__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #F4F4ED;
  cursor: pointer;
}
.modal__cont {
    letter-spacing: 0.1em;
  position: relative;
  margin: 0 auto;
  padding: 80px 20px;
}
.modal.is-show {
  opacity: 1;
  visibility: visible;
}
.closeBtn {
    position: fixed;
    top: 30px;
    right: 15px;
    z-index: 100;
}
.modal__close {
    text-decoration: underline;
}
.modal__close:hover {
    text-decoration: none;
}
.logo-hori {
    width: 90%;
    max-width: 320px;
    margin-bottom: 25px;
}

.modal-h {
    font-size: 120%;
    font-weight: 400;
    margin-bottom: 20px;
}

.contact > a {
    color: #fff;
    background: #323232;
        padding: 6px 15px 8px;
    text-decoration: none;
    font-size: 85%;
    border-radius: 12px;
    letter-spacing: 0.03em;
}
.contact > a:before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 13px;
  margin: -3px 5px 0 0;
  background: url("../images/ico-mail.svg") no-repeat;
  background-size: contain;
  vertical-align: middle;
}
.contact > a:hover {
    opacity: .7;
    transition: .15s;
}

.modal__close {
    
    cursor: pointer;
}

.btn-modal {
    cursor: pointer;
}

.about__main {
    margin-bottom: 35px;
}

.infoWrap_body {
    font-size: 90%;
    width: 85%;
}

.contact {
    margin-bottom: 15px;
}

.btn-qs {
    font-family: 'Quicksand', sans-serif;
    font-weight: normal;
}

.about__main__body {
    font-weight: 300;
}

@media only screen and (min-width:768px) {
    .pcol {
        display: block;
    }
    .modal__cont {
    padding: 50px 30px;
}
    .closeBtn {
    right: 30px;
}
        .infoWrap {
        position: fixed;/*←絶対位置*/
        left: 30px !important;
        bottom: 20px; /*下に固定*/
    }
    .infoWrap_body {
    width: auto;
}
    .footer {
    right: 30px;
}
}

@media only screen and (min-height:768px) {
    .infoWrap {
        position: fixed;/*←絶対位置*/
        left: 20px;
        bottom: 20px; /*下に固定*/
    }
}