@charset "UTF-8"; /* 設定読み込み */ @import url(../settings.less); /*================================================*/ .max_contents_container { padding-top: 0; .contents { padding: @cont-padding 0; } @media screen and ( max-width: @break-max-width ) { padding-top: 0; .contents { margin: 0 auto; padding: 30px 0 30px 0; } } } /* GNがプロモエリアより下の場合 */ .fixed_header .gnav_wrap { position: inherit; top: auto; } /* GNをHEADER下で固定 */ .gnav_wrap.fixed { position: fixed; top: 80px; } /* 初期値 */ .header_wrap { background: transparent; z-index: 100; position: relative; @media screen and ( max-width: @break-max-width ) { background: @header-bg-color; } } /* FIXED_HEADERの場合 */ .fixed_header .header_wrap { background: @main-color; // 初期値を透明にする場合は0 transition: all 0.8s ease; -webkit-transition: all 0.8s ease; -moz-transition: all 0.8s ease; -o-transition: all 0.8s ease; z-index: 100; position: fixed; @media screen and ( max-width: @break-max-width ) { background: @header-bg-color; } } .fixed_header .header_wrap.bg_normal { background: @header-bg-color; } /*================================================== $promo ==================================================*/ .promo_wrap.fixed { margin-top: 70px; // HEADER_WRAP の高さ - 10px @media screen and ( max-width: @break-max-width ) { margin-top: 60px; width: 100%; } } .promo_wrap, .slider_content { display: block; width: 100%; height: 100vh; position: relative; background: #fafafa; background-size: cover; background-position: 50% 50%; @media screen and ( max-width: @tb-width ) { // IPAD height: 800px; } @media screen and ( max-width: @break-max-width ) { margin-top: 60px; width: 100%; height: 300px; } } @media screen and ( max-width: @break-max-width ) { .slider_content { margin-top: 0; } } .promo_copy { position: absolute; top: 50%; left: 50%; -webkit-transform: translate(-50%, -50%); transform: translate(-50%, -50%); text-align: center; color: #fff; @media screen and ( max-width: @break-max-width ) { width: 80%; img { width: 100%; } } .promo_catch { margin-bottom: 20px; font-size: 3.4rem; font-weight: bold; line-height: 1.4em; @media screen and ( max-width: @break-max-width ) { font-size: 2.0rem; } } p { line-height: 1.5em; @media screen and ( max-width: @break-max-width ) { padding: 0 20px; font-size: 1.2rem; } } } /* cycle plugin */ .slide_01 { background: url(../../_images/top/promo_01.jpg); background-size: cover; } .slide_02 { background: url(../../_images/top/promo_02.jpg); background-size: cover; } .slide_03 { background: url(../../_images/top/promo_03.jpg); background-size: cover; } .promo_prev { position: absolute; margin: auto 0; left: 0; bottom: 0; top: 0; width: 30px; height: 30px; z-index: 11; } .promo_next { position: absolute; margin: auto 0; right: 0; bottom: 0; top: 0; width: 30px; height: 30px; z-index: 11; } .promo_pager { width: 100%; position: absolute; bottom: 30px; text-align: center; z-index: 11; } .promo_pager a { display: inline-block; margin: 0 5px; width: 10px; height: 10px; text-indent: -999999px; font-size: 1px; overflow: hidden; border-radius: 100px; -webkit-border-radius: 100px; -moz-border-radius: 100px; background: rgba(0,0,0,0.3); } .promo_pager a.activeSlide { background: rgba(255,255,255,0.8); } /*================================================== $gnav ==================================================*/ .gnav_wrap { position: inherit; } /*================================================== $common ==================================================*/ .gbtn { @media screen and ( max-width: @break-max-width ) { padding: 0 15px; } a.button { padding: 15px 0; width: 300px; @media screen and ( max-width: @break-max-width ) { padding: 15px 0; width: 100%; } } } .contents_wrap { background-position: 50% 50%; background-size: cover; background-attachment: fixed; } /*================================================== $top_guide ==================================================*/ #top_guide { .guide_wrap { position: relative; @media screen and ( max-width: @break-max-width ) { position: inherit; .pic { margin-bottom: 20px; } } a.button { position: absolute; bottom: 400px; left: 50px; @media screen and ( max-width: @break-max-width ) { position: inherit; } } } } /*================================================== $top_item ==================================================*/ #top_item { background-color: @main-color; .clm3 { .list_inner { background: none; border: none; .pic_wrap { margin-bottom: 10px; background: #fff; a.pic { margin-bottom: 0; display: block; width: 100%; height: 350px; background-size: cover; background-position: 50% 50%; } a.pic:hover { opacity: 0.75; filter: alpha(opacity=75); } } .heading03 a { color: #fff; text-decoration: none; } } } } /*================================================== $top_news ==================================================*/ #top_news { background-color: #fafafa; } /*================================================== $top_contact ==================================================*/ .contents_wrap#top_contact { background-image: url(../../_images/top/top_contact_bg.jpg); background-size: cover; background-position: 50% 50%; background-attachment: scroll; .contents { width: 900px; @media screen and ( max-width: @break-max-width ) { width: 100%; padding: 30px 15px; box-sizing: border-box; } .cover { text-align: center; border: none; background-color: rgba(255,255,255,0.9); padding: 30px; h2 { margin-bottom: 10px; font-size: 2.2rem; font-weight: bold; } p.text { margin-bottom: 10px; } ul { border-right: 1px solid @deep-color; @media screen and ( max-width: @break-max-width ) { border: none; } li { padding: 10px 0; width: 50%; border-left: 1px solid @deep-color; @media screen and ( max-width: @break-max-width ) { width: 100%; border: none; } h3 { margin-bottom: 20px; font-size: 1.8rem; font-weight: bold; } .top_contact_tel { margin-bottom: 5px; display: inline-block; color: @main-color; font-size: 3.2rem; font-weight: bold; } .top_contact_notice { font-size: 1.2rem; } .top_contact_mail { a.button { font-size: 2.2rem; padding: .45em 2.5em .47em; } } @media screen and ( max-width: @break-max-width ) { .sp_top_contact_tel { margin-bottom: 10px; a.button { padding: 5px 0; font-size: 2.6rem; font-weight: bold; line-height: 1.8em; } } } } } } } } /*================================================== [ utility ] $clearfix ==================================================*/ .clearfix:after { content:" "; display:block; clear:both; }