// Scss Document @charset "UTF-8"; .top-view nav{ display: block; } .section-2 { max-width: 600px; margin: 0 auto; h2{ font-size: 24px; margin-bottom: 70px; } ul{ li{ list-style: none; font-size: 16px; } } .work-text{ p{ letter-spacing: 2px; line-height: 28px; text-align: left; } } .work-tool{ padding: 150px 0; .span-top{ border-right: thin solid #0C36A7; padding-top: 100px; } p{ letter-spacing: 1px; line-height: 38px; padding: 30px 0; } .span-bottom{ border-right: thin solid #0C36A7; padding-bottom: 100px; } } } @media (max-width:930px){ .top-view nav{ display: none; } .section-1 header{ margin: 144px 30px 0; padding-bottom: 30px; h1{ font-size: 24px; margin: 0px; } } .section-2{ margin: 100px auto 0; max-width: 300px; .open-button{ } h2{ font-size: 20px; margin: 0 0 35px 0; } } .slider-item{ height: 200px; } } /*================================================== スライダーのためのcss ===================================*/ .slider { position:relative; z-index: 1; /*↑z-indexの値をh1のz-indexの値よりも小さくして背景に回す*/ /*スライダー全体の縦幅を画面の高さいっぱい(100vh)にする*/ } /* 背景画像設定 */ .slider-item01 { background:url("../image/pf_1_konoki.png"); } .slider-item02 { background:url("../image/konoki-2.png"); } .slider-item03 { background:url("../image/konoki-3.png"); } .sasamary-01{ background:url("../image/pf_4_sasamary.JPG") } .sasamary-02{ background:url("../image/sasamary-2.JPG") } .sasamary-03{ background:url("../image/sasamary-3.JPG") } .mynavi-01{ background:url("../image/pf_3_mynavi.png") } .mynavi-02{ background:url("../image/mynavi-2.PNG") } .espresso-01{ background:url("../image/pf_5_hakata.PNG") } .espresso-02{ background:url("../image/espresso-2.JPG") } .yokosuka-01{ background:url("../image/pf_2_yokosuka.png") } .chikamitsu-01{ background:url("../image/pf_6_chikamitsu.png") } .chikamitsu-02{ background:url("../image/chikamitsu-2.png") } .chikamitsu-03{ background:url("../image/chikamitsu-3.png") } .slider-item { width: 600px;/*各スライダー全体の横幅を画面の高さいっぱい(100%)にする*/ height: 46.88vw;/*各スライダー全体の縦幅を画面の高さいっぱい(100vh)にする*/ background-repeat: no-repeat;/*背景画像をリピートしない*/ background-position: center;/*背景画像の位置を中央に*/ background-size: contain;/*背景画像が.slider-item全体を覆い表示*/ } /*矢印の設定*/ .slick-prev, .slick-next { position: absolute; z-index: 3; top: 42%; cursor: pointer;/*マウスカーソルを指マークに*/ outline: none;/*クリックをしたら出てくる枠線を消す*/ border-top: 2px solid #EFDDD1;/*矢印の色*/ border-right: 2px solid #EFDDD1;/*矢印の色*/ 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: 0; text-align:center; margin: 30px 0;/*ドットの位置*/ } .slick-dots li { display:inline-block; margin:0 2px; } .slick-dots button { color: transparent; outline: none; width:10px;/*ドットボタンのサイズ*/ height:10px;/*ドットボタンのサイズ*/ display:block; border-radius:50%; background:#8190B7;/*ドットボタンの色*/ } .slick-dots .slick-active button{ background:#0A34A2;/*ドットボタンの現在地表示の色*/ }