// ボックスサイジング *,*::before,*::after { box-sizing: border-box; font-family: Georgia, 'Times New Roman', Times, serif,serif; margin: 0; padding: 0; } // ブレイクポイント $breakPoints:( 'pc':'screen and (max-width: 1280px)', 'tablet':'screen and (max-width: 768px)', 'sp':'screen and (max-width: 480px)' )!default; @mixin mq($breakPoint: pc) { @media #{map-get($breakPoints, $breakPoint)} { @content; } } // ベースカラーと補助色 $sub_color:#C3A575; $section_color: #E9E9E9; // ヘッダー header{ width: 100%; height: 80px; background-color: rgba(0, 0, 0, 0.85); position: fixed; top: 0; z-index: 1000; img{ float: left; width: 70px; height: auto; margin-left: 20px; } nav{ float: right; margin-right: 50px; height: 100%; width: auto; display: flex; align-items: center; ul{ list-style: none; display: flex; justify-content: space-around; align-items: center; li{ a{ margin: 0 20px; padding: 0 5px ; text-decoration: none; color: white; &:hover{ border-bottom: solid 2px $sub_color; } } } } } @include mq(tablet) { } } // メインビジュアル div.main-visual{ margin-top: 80px; width: 100%; height: 540px; position: relative; img{ position: absolute; width: 100%; height: 100%; object-fit: cover; z-index: -1; } h1.title{ position: absolute; left: 30%; bottom:20%; transform: translate(-30%,-20%); color: white; span{ font-size: 70%; } } } // 概要 section.about{ text-align: center; height: 370px; width: 100%; margin-top: 80px; } // 使い方 section.how-1{ width: 100%; height: 550px; display: flex; justify-content: space-around; align-items: center; background-color: $section_color; div.text{ width: 40%; height: 100%; p{ margin-top: 50px; } } @include mq(tablet) { flex-direction: column; justify-content: center; align-items: center; height: auto; div.text{ width: 100%; p,h2{ padding:0 20px 0 20px ; } } img{ margin: 30px 0 30px; } } } section.how-2{ width: 100%; height: 550px; display: flex; justify-content: space-around; align-items: center; div.text{ width: 40%; height: 100%; p{ margin-top: 40px; } } @include mq(tablet) { flex-direction: column-reverse; height: auto; div.text{ width: 100%; p,h2{ padding:0 20px 0 20px ; } } img{ margin-top: 30px; width: 50%; height: auto; } } } // スタート section.strat-btn{ display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; height: 400px; background-color: $section_color; a{ display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; max-width: 500px; font-size: 25px; padding: 15px; color: #fff; border-radius: 20px; background-color: #eb6100; border-bottom: 5px solid #b84c00; transition: .2s; &:active { margin-top: 3px; color: #fff; border-bottom: 2px solid #b84c00; } &:shadow{ box-shadow: 0 3px 5px rgba(0, 0, 0, .3); } img{ width: 50px; height: auto; } } p{ margin-top: 30px; text-align: center; } } // アクセス section.access{ width: 100%; height: 550px; display: flex; align-items: center; div{ width: 50%; height: auto; margin-left: 50px; } dd{ margin: 30px 0 30px 0; } @include mq(tablet) { flex-direction: column; align-items: center; div{ width: 90%; margin: 0; } } } p.sub-title{ color: $sub_color; font-size:13px; } h2.section-title{ font-size: 30px; margin-top: 10px ; } // フッダー footer{ display: flex; align-items: center; background-color: #969696; height: 30px;; p{ padding-left: 0px; } }