@charset "UTF-8"; @import url(//use.fontawesome.com/releases/v5.7.2/css/all.css); /* CSS Document */ //ブレイクポイントを指定------ここから $xl: 1399px; $lg: 1199px; $md: 991px; $sm: 767px; $xs: 575px; @mixin xl { @media screen and (max-width: ($xl)) { @content; } } @mixin lg { @media screen and (max-width: ($lg)) { @content; } } @mixin md { @media screen and (max-width: ($md)) { @content; } } @mixin sm { @media screen and (max-width: ($sm)) { @content; } } @mixin xs { @media screen and (max-width: ($xs)) { @content; } } //ブレイクポイントを指定------ここまで //------------------------header header{ margin-bottom: 1.5rem; padding-top: 2rem; position: relative; img{ @include sm { display: block; width: 80%; margin: auto; margin-bottom: 2rem; } } div div.address{ position: absolute; bottom: 0; right: 3%; @include sm { position: inherit; text-align: center; } } p{ color: #FF801E; font-size: 23px; font-weight: bold; margin: 0; span{ font-size: 16px; } } p + p{ font-size: 12px; font-weight: normal; color: #666666; } } #head-nav{ background: #0064C6; text-align: center; li{ display: inline-block; padding: 1rem 0; } li:nth-child(1)::after,li:nth-child(2)::after,li:nth-child(3)::after,li:nth-child(4)::after,li:nth-child(5)::after{ content: "|"; color: #ffffff; padding: 0 1.5rem; @include md{ padding: 0 1rem; } } li:nth-child(6){ margin-right: 2.5rem; @include md{ margin-right: 0rem; } } li:nth-child(7) { a{ background: #EE6E1E; display: inline-block; text-align: center; padding: 0.2rem 1.5rem; min-width: 120px; margin: 0 0.5rem; &:hover{ background: #ffffff; color: #EE6E1E, } } @include md{ display: inline-block; padding-top: 0; } } li:nth-child(8) { a{ background: #45B035; display: inline-block; text-align: center; padding: 0.2rem 1.5rem; min-width: 120px; margin: 0 0.5rem; &:hover{ background: #ffffff; color: #45B035; } } @include md{ display: inline-block; padding-top: 0; } } a{ color: #ffffff; &:hover{ color: #EE6E1E, } } } #head-nav { transition: all 0.3s ease 0s; } #head-nav.m_fixed { position: fixed; top: 0; z-index: 99; width: 100%; } //------------------------footer footer{ background: #2464C3; padding: 6rem 0 2rem; text-align: center; ul{ li{ display: inline-block; &:after{ content: "|"; padding: 0 1.5rem; color: #ffffff; } a{ color: #ffffff; &:hover{ color: #F68020; } } &:last-child{ &:after{ display: none; } } } } ul + ul{ margin-top: 2rem; li{ &:first-child{ &:after{ display: none; } @include sm{ margin-bottom: 0.5rem; } } &:first-child a{ display: block; background: #F68020; padding: 0.8rem; width: 200px; font-weight: bold; &:hover{ background: #ffffff; color: #F68020; } } &:nth-child(2) a{ display: block; background: #45AE35; padding: 0.8rem; width: 200px; font-weight: bold; &:hover{ background: #ffffff; color: #45AE35; } } } } dl{ margin-bottom: 2rem; dt{ color: #ffffff; font-size: 30px; span{ font-size: 12px; font-weight: normal; } } dd{ color: #ffffff; font-size: 20px; font-weight: bold; } } nav + p{ margin-top: 4rem; color: #ffffff; font-size: 12px; } } /*-------------------- 下層ページ --------------------*/ #wrapper { h3 { padding-top: 6rem; display: inline-block; min-width: 250px; font-size: 30px; font-size: 3rem; border-bottom: solid 5px #0084e0; text-align: center; padding-bottom: 2rem; margin-bottom: 6rem; } } /*---------- lower-header ----------*/ #lower-header { background-size: cover; background-position: center right 30%; height: 225px; display: flex; justify-content: center; align-items: center; @include xs { height: 150px; } h1 { color: #0059b9; font-size: 35px; font-size: 3.5rem; text-align: center; @include xs { font-size: 30px; font-size: 3rem; } } } /*---------- point----------*/ #point { background-size: cover; background-position: center right 30%; padding-bottom: 6rem; @include sm { padding-bottom: 5rem; } h2 { font-family: 'Noto Sans JP'; display: inline-block; border-bottom: solid 1.5px #fff; font-size: 30px; font-size: 3rem; font-weight: bold; color: #fff; padding: 6rem 1rem 1rem; margin-bottom: 4rem; @include sm { font-size: 26px; font-size: 2.6rem; margin-bottom: 3rem; } @include xs { font-size: 23px; font-size: 2.3rem; line-height: 1.5; padding: 4rem 0 0.5rem; margin-bottom: 2rem; } span { color: #f6c24c; } } .point-box { background-color: #fff; border-top: solid 5px #ff742e; border-left: solid 5px #ff742e; border-bottom: solid 5px #0084e0; border-right: solid 5px #0084e0; font-size: 25px; font-size: 2.5rem; font-weight: bold; text-align: center; padding: 3rem 0; line-height: 1.7; height: 100%; display: flex; justify-content: center; align-items: center; @include md { font-size: 23px; font-size: 2.3rem; padding: 2.5rem 0; } @include sm { width: 80%; margin: 1rem auto; height: auto; } @include xs { width: 90%; padding: 2rem 0; } } } /*---------- contact-link ----------*/ .contact-link { padding-top: 6rem; p { text-align: center; font-weight: bold; margin-bottom: 2rem; &:first-child { font-size: 25px; font-size: 2.5rem; @include xs { font-size: 22px; font-size: 2.2rem; } span { color: #c6c6c6; font-size: 150%; font-weight: normal; @include xs { display: none; font-size: 110%; } } } &:last-child { color: #0059b8; font-size: 40px; font-size: 4rem; @include xs { line-height: 1; font-size: 35px; font-size: 3.5rem; } span { @include xs { display: none; } } } } .contact-box { display: block; text-align: center; background-color: #ff742e; color: #fff; font-size: 25px; font-size: 2.5rem; font-weight: bold; padding: 1rem; border: solid 1.5px #ff742e; border-radius: 8px; margin-bottom: 2rem; transition: 0.3s; @include md { font-size: 23px; font-size: 2.3rem; padding: 1rem 0.5rem; } @include sm { width: 80%; margin: 0 auto 2rem; } @include xs { width: 90%; margin: 0 auto 2rem; } span { font-size: 15px; font-size: 1.5rem; @include md { font-size: 14px; font-size: 1.4rem; } } &:hover { background-color: #fff; color: #ff742e; } } .row { width: 95%; margin: 0 auto; @include md { width: 100%; } div:nth-of-type(2) { .contact-box { background-color: #2ba539; border: solid 1.5px #2ba539; &:hover { background-color: #fff; color: #2ba539; } } } } } #contact-link2 { margin-bottom: 6rem; } /*---------アコーディオン部分---------*/ .accordion-container { position: relative; width: 100%; cursor: pointer; } .accordion-container .accordion-title { display: block; position: relative; background: #0059b9; cursor: pointer; font-size: 23px; font-size: 2.3rem; font-weight: 300; color: #fff; text-align: left; padding: 1em; border-top: solid 3px #fff; @include sm { font-size: 20px; font-size: 2rem; } @include xs { text-indent: -1.5em; padding-left: 2.5em; } &::before { content: "Q."; font-size: 30px; font-size: 3rem; margin-right: 0.5rem; @include sm { font-size: 27px; font-size: 2.7rem; } } } .accordion-container .accordion-title:hover, .accordion-container .accordion-title:active, .accordion-container .content-entry.open .accordion-title { } .accordion-title,.accordion-content{ position: relative; } .accordion-content { display: none; background: #ffffff; font-size: 20px; font-size: 2rem; padding: 1em; border: solid 2.8px #c7c7c7; margin-bottom: 2rem; @include sm { font-size: 18px; font-size: 1.8rem; } dl { color: #000; margin-bottom: 0; } dt { margin-right: 1rem; font-weight: 300; &::before { content: "A."; color: #ff742e; font-size: 30px; font-size: 3rem; margin-right: 0.5rem; @include sm { font-size: 27px; font-size: 2.7rem; } } } dd { line-height: 1.5; padding-left: 3.2rem; font-weight: 300; text-align: justify; margin: auto 0; span { font-weight: 300; } @include sm { padding-left: 2.8rem; } @include xs { line-height: 1.4; } } } /*---------アコーディオン部分---------*/ /*---------制作実績---------*/ #product{ margin-top: 3rem; margin-bottom: 6rem; .news-list{ border: 1px solid #949494; padding: 2rem 1rem; } .news-title{ border-top: 1px solid #949494; font-size: 18px; color: #000000; font-weight: 500; padding: 1rem 0; margin-top: 1rem; @include xs{ border-top: none; border-bottom: 1px solid #949494; } } } .morelink{ display: block; text-align: right; color: #0084E0; margin-top: 0.5rem; &:hover{ color: #FF801E; } i{ padding-left: 0.5rem; } }