/* Scss Document */ $breakpoint-sm: 374px; $breakpoint: 768px; $breakpoint-md: 960px; $mainblue: #000f49; $lightblue: #2E80FF; $txtcolor: #000000; $lightgray: #F2F2F2; $gray: #E8E8E8; $txtgray: #959595; @mixin sm { @media screen and (max-width: $breakpoint-sm) { @content; } } @mixin mq { @media screen and (max-width: $breakpoint) { @content; } } @mixin lg { @media screen and (min-width: $breakpoint) { @content; } } @mixin mq-md { @media screen and (max-width: $breakpoint-md) { @content; } } //共通css * { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; } a{ color: inherit; &:hover{ opacity: 0.7 !important; transition: 0.5s; } } img{ max-width: 100%; width: 100%; } html,body{ font-family:"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "MS Pゴシック", "MS PGothic", sans-serif; font-size: 62.5%; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; scroll-behavior: smooth; } body{ font-size: 1.6rem; font-weight: 300; line-height: 1.75; color: $txtcolor; font-feature-settings : "palt"; animation: fadeIn 2s ease 0s 1 normal; -webkit-animation: fadeIn 2s ease 0s 1 normal; display: flex; flex-direction: column; min-height: 100vh; @include mq{ font-size: 1.4rem; } &.add_overray{ @include sm{ overflow: hidden; } } } #wrapper{ position: relative; padding-bottom: 346px; min-height: 100vh; @include mq{ padding-bottom: 0; } } svg{fill: currentColor;} .sp{ display: none; @include mq{ display: block !important; } } .pc{ display: block; @include mq{ display: none !important; } } .myriad{ font-family: myriad-pro, sans-serif; font-weight: 700; font-style: normal; } .myriad_light{ font-family: myriad-pro, sans-serif; font-weight: 300; font-style: normal; } .myraid_cond{ font-family: myriad-pro-condensed, sans-serif; font-weight: 400; font-style: normal; } .bnr_link_next{ padding: 15px 25px; text-align: center; margin: 0 auto; background: $mainblue; color: #fff; border: 1px solid $mainblue; font-weight: bold; font-size: 1.4rem; display: inline-block; transition: 0.2s; @include mq{ padding: 8px 20px; } &:hover{ color: $mainblue; background: #fff; } } .bnr_link_before{ text-align: center; a{ padding: 15px 25px; border: 1px solid $txtcolor; font-size: 1.6rem; display: inline-block; margin: 0 auto; transition: 0.2s; @include mq{ padding: 8px 20px; } &:hover{ color: #fff; background: $txtcolor; } } } .bnr_link_bk{ padding: 15px 25px; text-align: center; margin: 0 auto; background: $txtcolor; color: #fff; border: 1px solid $txtcolor; font-weight: bold; font-size: 1.4rem; display: inline-block; transition: 0.2s; text-align: center; @include mq{ padding: 8px 20px; } &:hover{ color: $txtcolor; background: #fff; } } .bnr_link_contact{ padding: 35px 170px; text-align: center; margin: 0 auto; background: $txtcolor; color: #fff; border: 1px solid $txtcolor; font-weight: bold; font-size: 1.4rem; display: inline-block; @include mq{ width: 100%; padding: 25px 0; } &:hover{ color: $txtcolor; background: #fff; } } #top_insta{ position: relative; padding: 80px 0 60px; &::after{ content: ""; background: url("../img/top/txt_sns.png") top; position: absolute; right: 80px; top: 0; width: 24px; height: 76px; display: inline-block; background-size: contain; background-repeat: no-repeat; @include mq{ right: 5px; } } h2{ max-width: 300px; margin: 0 auto 40px; text-align: center; @include mq{ max-width: 60%; } } .content{ width: 88%; max-width: 1020px; margin: 0 auto; text-align: center; .eapps-instagram-feed-title{ display: none !important; } } } #lower{ margin-top: 80px; } #up{ position: fixed; bottom: 40px; right: 40px; width: 27px; fill: $txtcolor; -webkit-transition: .3s ease-in-out; transition: .3s ease-in-out; &:hover { -webkit-animation: tremble .3s ease-in-out; animation: tremble .3s ease-in-out; } @include mq{ display: none; } @-webkit-keyframes tremble { 15% { -webkit-transform: translateX(3px) rotate(1deg); } 30% { -webkit-transform: translateX(-3px) rotate(-1deg); } 45% { -webkit-transform: translateX(2px) rotate(1deg); } 60% { -webkit-transform: translateX(-2px) rotate(-1deg); } 75% { -webkit-transform: translateX(1px) rotate(1deg); } 90% { -webkit-transform: translateX(-1px) rotate(-1deg); } } @keyframes tremble { 15% { transform: translateX(3px) rotate(1deg); } 30% { transform: translateX(-3px) rotate(-1deg); } 45% { transform: translateX(2px) rotate(1deg); } 60% { transform: translateX(-2px) rotate(-1deg); } 75% { transform: translateX(1px) rotate(1deg); } 90% { transform: translateX(-1px) rotate(-1deg); } } } //ローディング @-webkit-keyframes sk-scaleout { 0% { -webkit-transform: scale(0.7) } 100% { -webkit-transform: scale(0.6); opacity: 0; } } @keyframes sk-scaleout { 0% { -webkit-transform: scale(0.7); transform: scale(0.7); } 100% { -webkit-transform: scale(0.6); transform: scale(0.6); opacity: 0; } } //画像アニメーション .animation_area{ position: relative; } .dummy_area{ position: absolute; left: 0; top: 0; } .img_area{ animation: key1 1s; } @keyframes key1{ 0% { opacity: 0; } 50% { opacity: 0; } 51%{ opacity: 1; } 100%{ opacity:1; } } .dummy_area { animation: key2 1s; display: inline-block; height: 100%; background-color: $lightgray; opacity: 0.5; -webkit-transform: rotate(0.0001deg); transform: rotate(0.0001deg); outline: 1px solid transparent; } @keyframes key2{ 0% { left: 0; width:0px; height: 100%; } 50% { left: 0; width: 100.1%; height: 100%; } 100%{ left:100%; width: 0px; height: 100%; } } //フェードイン @keyframes fadeIn { 0% {opacity: 0} 100% {opacity: 1} } @-webkit-keyframes fadeIn { 0% {opacity: 0} 100% {opacity: 1} } .fadein { opacity : 0.5; transform : translate(0, 40px); transition : all 500ms; @include mq{ transform : translate(0, 30px); } } .fadein.scrollin { opacity : 1; transform : translate(0, 0); } //header header{ position: fixed; height: 80px; padding: 25px 40px 0; width: 100%; top: 0; left: 0; z-index: 999; transition: .7s; color: #fff; background: none; @include mq{ height: 75px; } &.lower{ background: #fff; color: $txtcolor; h1{ .replaced-svg{ width: 87px; @include mq{ width: 70px; } path{ fill: $txtcolor; } polygon{ fill: $txtcolor; } } } #gnav_btn{ span{ background: $txtcolor; } span::before,span::after{ background-color: $txtcolor; } } nav{ color: #fff; } } h1{ display: flex; align-items: center; @include mq{ position: absolute; left: 16px; top: 16px; } .replaced-svg{ width: 87px; @include mq{ width: 70px; } path{ fill: #fff; } polygon{ fill: #fff; } } span{ position: absolute; top: 40px; left: 140px; font-weight: bold; @include mq{ position: absolute; left: 82px; top: 11px; font-size: 1.5rem; width: 160px; } } } #content_nav{ position: absolute; height: 80px; top: 0; right: 100px; display: flex; align-items: center; justify-content: center; font-weight: 700; li{ margin-left: 30px; position: relative; &:first-child{ margin-left: 0; } &::before{ content: ">"; position: absolute; left: -15px; } } a{ &:hover{ transition: 0.5s; } } } #gnav_btn{ position: absolute; width: 80px; height: 80px; top: 0; right: 0; display: flex; align-items: center; justify-content: center; cursor: pointer; @include mq{ width: 60px; height: 60px; } &:hover{ transition: 0.5s; } span{ position: relative; width: 30px; height: 1px; background-color: #fff; transition: all .2s; @include mq{ width: 35px; } &::after{ content: ""; display: block; position: relative; width: 100%; height: 1px; background-color: #fff; top: -12px; left: 0; transition: all .2s } &::before{ content: ""; display: block; position: relative; width: 100%; height: 1px; background-color: #fff; top: 12px; left: 0; transition: all .2s } } &.open span{ animation: nav_anim1 .5s forwards; &::after{ animation: nav_anim2 .5s forwards; } &::before{ animation: nav_anim3 .5s forwards; } } } nav{ display: none; position: fixed; top: 80px; left: 0; width: 100%; background-color: rgba(0,22,44,0.9); z-index: 1000; overflow-y: scroll; @include mq{ top: 60px; bottom: 0; } #nav_inner{ padding: 25px 100px 25px 0px; @include mq{ display: block; text-align: center; font-size: 1.8rem; padding: 25px; } ul{ &.pc{ display: flex; align-items: center; justify-content: flex-end; li{ margin-left: 30px; position: relative; font-weight: bold; &:first-child{ margin-left: 0; } &::before{ content: ">"; position: absolute; left: -15px; } } a{ &:hover{ transition: 0.5s; } } } &.sp{ li{ margin: 0 auto; padding: 10px; border-bottom: 1px solid #fff; position: relative; font-weight: bold; &::before{ content: ">"; position: absolute; left: 0px; } &.sphum{ border: none; padding: 10px; border-bottom: 1px solid #fff; position: relative; font-weight: bold; } } } } } } &.is-animation { background: rgba(255,255,255,0.9); #content_nav{ color: $txtcolor; } h1{ span{ color: $txtcolor; } } h1{ .replaced-svg{ path{ fill: $txtcolor; } polygon{ fill: $txtcolor; } } } #gnav_btn{ span{ background: $txtcolor; } span::before,span::after{ background-color: $txtcolor; } } } } @keyframes nav_anim1{ 0%{ background-color: #fff; } 100%{ background-color: rgba(255,255,255,0); } } @keyframes nav_anim2{ 0%{ top: -12px; transform: rotate(0); } 100%{ transform: rotate(-225deg); top: 0; } } @keyframes nav_anim3{ 0%{ top: 12px; transform: rotate(0); } 100%{ transform: rotate(225deg); top: 0; } } //footer footer{ background-color: $txtcolor; padding: 40px 0 50px; width: 100%; margin-top: auto; position: absolute; bottom: 0; @include mq{ position: static; } h3{ font-size: 1.6rem; line-height: 1.75; color: #A2A2A2; margin: 0 auto 40px; text-align: center; font-weight: bold; width: 88%; @include mq{ font-size: 1.4rem; } } .footer_spec{ display: flex; justify-content: space-between; width: 88%; max-width: 800px; margin: 0 auto; color: #fff; @include mq{ display: block; } li{ width: 70%; @include mq{ width: 88%; margin: 0 auto; text-align: center; } &:first-child{ width: 25%; @include mq{ margin: 0 auto; width: 50%; } } h2{ font-size: 2.6rem; font-weight: bold; line-height: 1.3; @include mq{ font-size: 1.6rem; padding-top: 30px; } } .footer_tel_box{ display: flex; align-items: center; @include mq{ display: block; } .footer_tel{ font-weight: bold; font-size: 3.2rem; @include mq{ font-size: 2.2rem !important; padding: 10px 0; } @include mq-md{ font-size: 2.6rem; } line-height: 1; span{ font-weight: bold; font-size: 5.6rem; @include mq{ font-size: 3.6rem !important; } @include mq-md{ font-size: 4rem; } } } .footer_tel_spec{ font-weight: bold; font-size: 1.4rem; line-height: 1.25; margin-left: 10px; span{ display: inline !important; } } } .footer_aside{ background: #fff; color: $txtcolor; border-radius: 9999px; text-align: center; font-weight: bold; width: 100%; margin: 10px auto 5px; @include mq{ border-radius: 15px; padding: 15px; } } } } } //index #main{ background: $mainblue; text-align: center; width: 100%; margin: 0 auto; height: 800px; position: relative; @include mq{ height: 600px; } video{ width: 100%; } #bodymovin{ width: 60%; margin: 0 auto; position: absolute; -moz-transform: translateX(-50%) translateY(-50%); -webkit-transform: translateX(-50%) translateY(-50%); -ms-transform: translateX(-50%) translateY(-50%); transform: translateX(-50%) translateY(-50%); /*位置調整*/ max-width: 500px; top: 50%; left: 50%; } } #top_news{ position: relative; .content{ padding: 70px 0 60px; text-align: center; width: 88%; margin: 0 auto; ul{ span{ margin-bottom: 10px; display: block; &:last-child{ margin-bottom: 0; } } li{ margin-bottom: 10px; &:last-child{ margin-bottom: 0; } } margin-bottom: 40px; } } &::after{ content: ""; background: url("../img/top/txt_news.png") top; position: absolute; right: 80px; top: 0; width: 22px; height: 92px; display: inline-block; background-size: contain; background-repeat: no-repeat; @include mq{right: 5px} } } #top_cp{ background: url("../img/top/bg_concept.jpg") center top no-repeat; background-size: cover; #top_concept{ padding: 80px 0 45px; position: relative; &::after{ content: ""; background: url("../img/top/txt_con.png") top; position: absolute; right: 80px; top: 0; width: 24px; height: 131px; display: inline-block; background-size: contain; background-repeat: no-repeat; @include mq{right: 5px} } .content{ text-align: center; width: 88%; margin: 0 auto; h2{ font-size: 2rem; font-weight: bold; span{ font-size: 2.7rem; color: $mainblue; margin: 10px auto; font-weight: bold; @include mq{ font-size: 2.4rem; } } } p{ margin-top: 30px; font-size: 1.4rem; } } } #top_performance{ padding: 70px 0 50px; text-align: center; background: url("../img/top/ico_arrow_u.png") no-repeat top center; position: relative; &::after{ content: ""; background: url("../img/top/txt_per.png") top; position: absolute; right: 80px; top: 0; width: 24px; height: 198px; display: inline-block; background-size: contain; background-repeat: no-repeat; @include mq{right: 5px} } .content{ width: 88%; margin: 0 auto; max-width: 1000px; dl.top_performance_head{ dt{ font-size: 1.4rem; padding-bottom: 5px; border-bottom: 1px solid $txtcolor; font-weight: bold; display: inline; } dd{ margin: 15px auto 15px; font-size: 3rem; font-weight: bold; @include mq{ font-size: 2.2rem; } } } p{ margin-bottom: 35px; font-size: 1.4rem; } ul{ display: flex; justify-content: space-between; max-width: 750px; margin: 200px auto 0; width: 100%; @include mq{ margin: 30px auto 0; display: block; } li{ flex-wrap: nowrap; width: 29.3%; background: #fff; border-radius: 999999999px; @include mq{ width: 100%; margin-bottom: 5px; border-radius: 15px; display: flex; justify-content: space-between; align-items: center; } img{ display: block; margin: 0 auto; margin-top: 25px; height: 85px; width: auto; @include mq{ width: auto; height: 65px; text-align: center; margin: 25px auto; } } p{ font-size: 1.4rem; margin: 15px auto 40px; color: $mainblue; @include mq{ margin: 20px; font-size: 1.6rem; width: 50%; text-align: left; } } } } } } } #top_num{ padding: 50px 0 70px; .content{ max-width: 1100px; width: 88%; margin: 0 auto; ul{ display: flex; justify-content: space-between; @include mq{ display: block; } li{ width: 26%; text-align: center; @include mq{ width: 100%; margin-bottom: 20px; &:last-child{ margin-bottom: 0; } } img{ height: 58px; width: auto; } h3{ margin: 25px auto 15px; font-weight: bold; @include mq{ font-size: 1.8rem; } } p{ text-align: left; font-size: 1.2rem; @include mq{ font-size: 1.4rem; } } } } } } #top_reform{ padding: 120px 0 60px; background: url("../img/top/bg_reform.jpg") center no-repeat; background-size: cover; @include mq{ padding: 120px 0; } .content{ width: 88%; margin: 0 auto; color: #fff; text-align: center; dl{ dt{ font-size: 4.5rem; margin-bottom: 5px; } dd{ padding-bottom: 25px; margin-bottom: 20px; font-weight: bold; font-size: 2.2rem; position: relative; &:before { content: ''; position: absolute; left: 50%; bottom: 0; /*下線の上下位置調整*/ display: inline-block; width: 30px; /*下線の幅*/ height: 1px; /*下線の太さ*/ -moz-transform: translateX(-50%); -webkit-transform: translateX(-50%); -ms-transform: translateX(-50%); transform: translate(-50%); /*位置調整*/ background-color: #fff; /*下線の色*/ } } } p{ margin-bottom: 60px; } } } #top_bnr{ padding: 100px 0; background: $mainblue; @include mq{ padding: 55px 0 35px; } .content{ display: flex; justify-content: space-between; width: 88%; max-width: 1000px; margin: 0 auto; @include mq{ display: block; } a{ width: 49%; @include mq{ width: 100%; margin-bottom: 20px; display: block; } } } } #top_corporate{ position: relative; padding: 80px 0 60px; &::after{ content: ""; background: url("../img/top/txt_corp.png") top; position: absolute; right: 80px; top: 0; width: 24px; height: 163px; display: inline-block; background-size: contain; background-repeat: no-repeat; @include mq{ right: 5px; } } h2{ font-size: 3rem; font-weight: bold; text-align: center; margin-bottom: 40px; @include mq{ font-size: 1.8rem; } } .content{ width: 88%; max-width: 1000px; margin: 0 auto; text-align: center; .top_corp_bnr{ display: flex; justify-content: space-between; margin-bottom: 55px; @include mq{ display: block; } .top_corp_left{ width: 50%; @include mq{ width: 100%; } img{ position: relative; } p{ position: absolute; top: 50%; left: 50%; -moz-transform: translateX(-50%) translateY(-50%); -webkit-transform: translateX(-50%) translateY(-50%); -ms-transform: translateX(-50%) translateY(-50%); transform: translateX(-50%) translateY(-50%); /*位置調整*/ padding: 6px 20px; border: 1px solid #fff; color: #fff; font-size: 2.1rem; text-align: center; } a{ display: block; @include mq{ margin-bottom: 10px; } } } .top_corp_right{ width: 49.5%; display: flex; flex-wrap: wrap; @include mq{ width: 100%; display: block; } a{ width: 100%; align-content: space-between; &:first-child{ margin-bottom: 1%; @include mq{ margin-bottom: 10px; } } @include mq{ margin-bottom: 10px; display: block; } } img{ position: relative; } p{ position: absolute; top: 50%; left: 50%; -moz-transform: translateX(-50%) translateY(-50%); -webkit-transform: translateX(-50%) translateY(-50%); -ms-transform: translateX(-50%) translateY(-50%); transform: translateX(-50%) translateY(-50%); /*位置調整*/ padding: 6px 20px; border: 1px solid #fff; color: #fff; font-size: 2.1rem; text-align: center; } } } .top_tel{ font-size: 3.7rem; margin: 40px auto 10px; line-height: 1; @include mq{ font-size: 2.4rem; } span{ font-size: 6rem; @include mq{ font-size: 4.2rem; } } } .top_tel_spec{ font-size: 1.4rem; margin-bottom: 20px; span{ font-size: 1.5rem; display: block; font-weight: bold; } } } } #top_access{ .content{ h2{ font-size: 3rem; font-weight: bold; text-align: center; margin-bottom: 40px; @include mq{ font-size: 1.8rem; } } .map { position: relative; width: 100%; padding-top: 33%; /* = height ÷ width × 100 */ @include mq{ padding-top: 100%; } iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; } } } } //lower #lower_main{ width: 100%; height: 245px; .content{ width: 88%; max-width: 1000px; text-align: center; margin: 0 auto; h2{ font-size: 3.6rem; line-height: 1; margin-bottom: 5px; } p{ font-size: 1.4rem; font-weight: bold; } } } //performance .lower_main_per{ background: url("../img/performance/img_main.jpg") no-repeat top; background-size: cover; h2{ padding-top: 50px; } } #performance_detail{ padding: 70px 0 60px; @include mq{ padding: 60px 0; } .content{ width: 94%; max-width: 1000px; text-align: center; margin: 0 auto; h2{ font-size: 3rem; margin-bottom: 30px; font-weight: bold; @include mq{ font-size: 2.2rem; } } .performance_intro{ font-size: 1.4rem; } dl{ padding: 20px 0; border-top: 1px solid $txtcolor; border-bottom: 1px solid $txtcolor; display: block; margin: 40px auto; max-width: 700px; } .performance_point{ display: flex; justify-content: space-between; @include mq{ display: block; } li{ width: 32.5%; @include mq{ width: 100%; margin-bottom: 35px; } &:last-child{ @include mq{ margin-bottom: 0; } } .performance_icon{ width: 30%; } aside{ margin-top: 15px; font-size: 1.8rem; color: $mainblue; line-height: 1; } h3{ font-size: 3rem; color: $mainblue; margin-bottom: 25px; line-height: 1; } p{ font-size: 1.4rem; color: $mainblue; margin-top: 10px; } } } .performance_graph{ max-width: 700px; margin: 50px auto 0; } } } #performance_reform{ padding: 50px 0 85px; .content{ width: 88%; max-width: 1000px; margin: 0 auto; .performance_reform_intro{ margin-bottom: 60px; text-align: center; font-weight: bold; } .performance_reform_box{ display: flex; justify-content: space-between; @include mq{ display: block; } li{ border: 1px solid $mainblue; border-radius: 3px; padding: 55px 20px 15px; width: 32.5%; position: relative; @include mq{ width: 100%; margin-bottom: 40px; } &:last-child{ @include mq{ margin-bottom: 0; } } p{ font-weight: bold; text-align: center; margin-bottom: 30px; } aside{ font-size: 1.4rem; margin-top: 5px; } &:nth-child(1)::before{ content: "01"; background: $mainblue; font-family: myriad-pro, sans-serif; font-weight: 300; font-style: normal; border-radius: 999px; text-align: center; position: absolute; top: -25px; left: 50%; margin-left: -25px; font-size: 2.2rem; color: #fff; width: 50px; height: 50px; line-height: 50px; } &:nth-child(2)::before{ content: "02"; background: $mainblue; font-family: myriad-pro, sans-serif; font-weight: 300; font-style: normal; border-radius: 999px; text-align: center; position: absolute; top: -25px; left: 50%; margin-left: -25px; font-size: 2.2rem; color: #fff; width: 50px; height: 50px; line-height: 50px; } &:nth-child(3){ padding: 37px 20px 15px; p{ margin-bottom: 20px; } } &:nth-child(3)::before{ content: "03"; background: $mainblue; font-family: myriad-pro, sans-serif; font-weight: 300; font-style: normal; border-radius: 999px; text-align: center; position: absolute; top: -25px; left: 50%; margin-left: -25px; font-size: 2.2rem; color: #fff; width: 50px; height: 50px; line-height: 50px; } } } } } #performance_jisseki{ #jisseki_main{ background: url("../img/performance/bg_jisseki.jpg") no-repeat center; background-size: cover; padding: 135px 0; h2{ font-size: 3rem; font-weight: bold; text-align: center; color: #fff; @include mq{ font-size: 2.6rem; } } } .content{ width: 88%; max-width: 1000px; margin: 0 auto; padding: 100px 0; @include mq{ padding: 35px 0; } ul{ display: flex; justify-content: space-between; flex-wrap: wrap; margin-bottom: 40px; @include mq{ display: block; } li{ width: 48%; border: 1px solid $txtcolor; border-radius: 3px; margin-bottom: 25px; @include mq{ width: 100%; } img{ height: auto !important; } .animation_area{ aside{ position: absolute; right: 10px; top: 10px; background: #fff; font-size: 1.4rem; padding: 5px 10px; } } .jisseki_box_inner{ padding: 25px; h3{ font-size: 2.2rem; font-weight: bold; margin-bottom: 10px; } p{ font-size: 1.4rem; } } } } .pager{ margin: 0 auto 135px; display: flex; width: auto; justify-content: center; max-width: 1020px; width: 88%; @include mq{ flex-wrap: wrap; margin: 60px auto 60px; } p{ margin: 0 10px; height: 50px; line-height: 50px; border: 1px solid $txtcolor; border-radius: 3px; text-align: center; @include mq{ margin-bottom: 10px; } &.prev,&.next{ a{ padding: 0 20px; } span{ padding: 0 20px; } } &.nth-box{ display: flex; justify-content: center; margin: 0; height: auto; border:none; border-radius: none; span{ margin: 0 10px; padding: 0 20px; height: 50px; line-height: 50px; border: 1px solid $txtcolor; border-radius: 3px; text-align: center; &:hover{ background: $txtcolor; color: #fff; } @include mq{ margin-bottom: 10px; } } a{ margin: 0 10px; padding: 0 20px; height: 50px; line-height: 50px; border: 1px solid $txtcolor; border-radius: 3px; text-align: center; @include mq{ margin-bottom: 10px; } } } a{ display: block; &:hover{ background: $txtcolor; color: #fff; } } .current{ background: $txtcolor; color: #fff; } } } .bnr_link_next { padding: 15px 0; text-align: center; margin: 0 auto; background: #000f49; color: #fff; border: 1px solid #000f49; font-weight: bold; font-size: 1.6rem; display: block; width: 25%; margin-bottom: 40px; @include mq{ width: 100%; margin-bottom: 30px; font-size: 1.4rem; } } } } //blog .lower_main_blog{ background: url("../img/blog/img_main.jpg") no-repeat top; background-size: cover; color: #fff; h2{ padding-top: 100px; } } #blog{ padding: 80px 0 90px; .content{ max-width: 1020px; width: 94%; margin: 0 auto; #blog_left{ width: 25%; float: left; @include mq{ width: 100%; float: none; } h3{ font-size: 2rem; line-height: 1; margin-bottom: 15px; } ul{ border-top: 1px solid $txtcolor; border-right: 1px solid $txtcolor; border-radius: 3px; margin-bottom: 40px; &:last-child{ margin-bottom: 0; } &.children{ border-top: 1px dashed $txtcolor; border-right: 0; border-radius: 0; margin-top: 5px; li{ font-weight: normal !important; a{ padding-left: 20px; position: relative; &:before{ content: "└ "; position: absolute; left: 0; } } } } li{ border-bottom: 1px dashed $txtcolor; padding: 5px 0; font-weight: bold; } } } #blog_right{ width: 70.5%; float: right; margin-top: 35px; @include mq{ width: 100%; float: none; } .blog_detail{ li{ border-top: 2px solid $txtcolor; margin-bottom: 75px; .time_cat{ padding: 10px 0; font-size: 1.2rem; .detail_time{ padding-right: 20px; margin-right: 20px; border-right: 1px solid $txtcolor; float: left; } .detail_cat{ span{ font-weight: bold; } } } .title{ font-size: 3rem; font-weight: bold; padding: 20px 0; border-top: 1px solid $txtcolor; border-bottom: 1px solid $txtcolor; margin-bottom: 25px; @include mq{ font-size: 2.4rem; padding: 15px 0; } } .blog_paragraph{ p{ margin-bottom: 25px; } img{ margin-bottom: 25px; } h1,h2,h3,h4,h5,h6{ margin-bottom: 25px; } } .tag{ width: 100%; font-size: 1.8rem; margin: 0 0 0 auto; text-align: right; p{ background:#C8C8C8; padding: 10px 15px; display: inline-block; span{ font-weight: bold; } } } } } } } .pager{ margin: 0 auto 135px; display: flex; width: auto; justify-content: center; max-width: 1020px; width: 88%; @include mq{ flex-wrap: wrap; margin: 60px auto 60px; } p{ margin: 0 10px; height: 50px; line-height: 50px; border: 1px solid $txtcolor; border-radius: 3px; text-align: center; @include mq{ margin-bottom: 10px; } &.prev,&.next{ a{ padding: 0 20px; } span{ padding: 0 20px; } } &.nth-box{ display: flex; justify-content: center; margin: 0; height: auto; border:none; border-radius: none; span{ margin: 0 10px; padding: 0 20px; height: 50px; line-height: 50px; border: 1px solid $txtcolor; border-radius: 3px; text-align: center; &:hover{ background: $txtcolor; color: #fff; } @include mq{ margin-bottom: 10px; } } a{ margin: 0 10px; padding: 0 20px; height: 50px; line-height: 50px; border: 1px solid $txtcolor; border-radius: 3px; text-align: center; @include mq{ margin-bottom: 10px; } } } a{ display: block; &:hover{ background: $txtcolor; color: #fff; } } .current{ background: $txtcolor; color: #fff; } } } } //会社概要 #corporate_head{ padding: 100px 0 80px; @include mq{ padding: 40px 0 70px; } .content{ text-align: center; width: 88%; max-width: 1000px; margin: 0 auto; h2{ font-size: 3rem; font-weight: bold; margin-bottom: 30px; @include mq{ font-size: 2.4rem; } } p{ font-size: 1.4rem; } } } #corporate_detail{ padding-bottom: 90px; .content{ width: 94%; max-width: 1000px; margin: 0 auto; dl{ display: flex; width: 100%; font-size: 1.4rem; padding: 10px 0 10px; border-bottom: 1px solid $txtcolor; dt{ width: 12%; min-width: 120px; } } img{ margin-top: 95px; @include mq{ margin-top: 30px; } } } } //ニュース #news_head{ padding: 100px 0 80px; @include mq{ padding: 40px 70px; } .content{ text-align: center; width: 88%; max-width: 1000px; margin: 0 auto; h2{ font-size: 3rem; font-weight: bold; @include mq{ font-size: 2.4rem; } } } } #news_list{ padding: 0 0 85px; text-align: center; width: 88%; margin: 0 auto; ul{ li{ margin-bottom: 10px; &:last-child{ margin-bottom: 0; } } } } #news_pager{ margin-bottom: 60px; ul{ margin: 0 auto 35px; display: flex; width: auto; justify-content: center; max-width: 1020px; width: 88%; @include mq{ flex-wrap: wrap; } li{ margin: 0 10px; width: 50px; height: 50px; line-height: 50px; border: 1px solid $txtcolor; border-radius: 3px; text-align: center; @include mq{ margin-bottom: 10px; } &:hover{ background: $txtcolor; color: #fff; } a{ display: block; } &.blog_back{ width: auto; a{padding: 0 15px;} } &.blog_next{ width: auto; a{padding: 0 15px;} } .current{ background: $txtcolor; color: #fff; } } } } #news_detail{ margin-bottom: 100px; .content{ width: 88%; max-width: 1000px; margin: 0 auto; .news_day{ font-weight: bold; } h2{ font-weight: bold; font-size: 2rem; margin-bottom: 40px; } .news_paragraph{ margin-bottom: 50px; } img{ max-width: 1000px; margin: 50px auto 0; @include mq{ margin-bottom: 60px; width: 114%; margin-left: -7%; } } } } #news_back{ margin-bottom: 60px; display: flex; justify-content: center; .bnr_link_before{ margin: 0 20px; } } //Staff .din{ font-family: din-2014-narrow, sans-serif; font-weight: 600; font-style: normal; } #staff_head{ padding: 100px 0 80px; @include mq{ padding: 40px 0 45px; } .content{ text-align: center; width: 88%; max-width: 1000px; margin: 0 auto; h2{ font-size: 3rem; font-weight: bold; margin-bottom: 30px; @include mq{ font-size: 2.4rem; } } p{ font-size: 1.4rem; } } } #staff_intro{ .content{ width: 88%; max-width: 1000px; margin: 0 auto 60px; .staff_intro_box{ margin-bottom: 50px; padding-bottom: 50px; border-bottom: 1px solid $txtcolor; .staff_intro_img{ position: relative; top: 0; left: 0; color: #fff; margin-bottom: 25px; height: auto; img{ width: auto; @include mq{ width: 100%; margin: 0 0 25px; } } .staff_num{ position: absolute; top: 0; left: 20px; width: 100%; @include mq{ left: 6%; } dt{ font-size: 8rem; float: left; } dd{ position: absolute; top: 55px; left: 100px; @include mq{ left: 6%; top: 120px; } } } h3{ position: absolute; bottom: 30px; left: 30px; font-weight: bold; font-size: 1.8rem; @include mq{ bottom: 70px; left: 6%; } } h2{ position: absolute; right: 0; top: 105px; line-height: 1; font-size: 12rem; color: #BCBCBC; width: 430px; @include mq{ top: auto; bottom: -80px; width: 100%; right: auto; left: 6%; font-size: 7rem; } span{ display: block; } } .staff_detail{ position: absolute; bottom: 30px; right: 0px; width: 430px; border-top: 1px solid $txtcolor; font-size: 1.4rem; @include mq{ color: $txtcolor; width: 100%; right: auto; left: 0; bottom: -250px; } dt{ float: left; width: 110px; border-bottom: 1px solid $txtcolor; padding: 6px 0; @include mq{ width: 40%; } } dd{ width: 320px; border-bottom: 1px solid $txtcolor; padding: 6px 0px 6px 20px; color: $txtcolor; float: left; background: #fff; @include mq{ width: 60%; } } } } .staff_intro_key{ ul{ display: flex; justify-content: space-between; @include mq{ flex-wrap: wrap; margin-top: 280px; } li{ color: #fff; font-size: 2.6rem; width: 23%; position: relative; height: 230px; @include mq{ width: 49%; margin-bottom: 1%; font-size: 2rem; } .sp{ @include mq{ text-align: center; padding-top: 10px; } } span{ position: absolute; top: 50%; left: 50%; -moz-transform: translateX(-50%) translateY(-50%); -webkit-transform: translateX(-50%) translateY(-50%); -ms-transform: translateX(-50%) translateY(-50%); transform: translateX(-50%) translateY(-50%); /*位置調整*/ text-align: center; width: 90%; } &:nth-child(1){ background: #7D87A5; } &:nth-child(1):before{ background: #7D87A5; position: absolute; content: "趣味"; font-size: 2.6rem; width: 100%; height: 100%; line-height: 230px; text-align: center; z-index: 99; transition: 0.5s; @include mq{ content: none; } } &:hover:nth-child(1):before{ opacity: 0; transition: 0.5s; } &:nth-child(2){ background: #46739A; } &:nth-child(2):before{ background: #46739A; position: absolute; content: "尊敬する人"; font-size: 3rem; width: 100%; height: 100%; line-height: 230px; text-align: center; z-index: 99; transition: 0.5s; @include mq{ content: none; } } &:hover:nth-child(2):before{ opacity: 0; transition: 0.5s; } &:nth-child(3){ background: #B4979F; } &:nth-child(3):before{ background: #B4979F; position: absolute; content: "得意技"; font-size: 3rem; width: 100%; height: 100%; line-height: 230px; text-align: center; z-index: 99; transition: 0.5s; @include mq{ content: none; } } &:hover:nth-child(3):before{ opacity: 0; transition: 0.5s; } &:nth-child(4){ background: #96A6B1; } &:nth-child(4):before{ background: #96A6B1; position: absolute; content: "休日の\A過ごし方"; font-size: 3rem; width: 100%; height: 100%; line-height: 1.5; text-align: center; z-index: 99; transition: 0.5s; white-space: pre; padding-top: 74px; box-sizing: border-box; @include mq{ content: none; } } &:hover:nth-child(4):before{ opacity: 0; transition: 0.5s; } } } } } } } //作業場 #workplace_head{ padding: 100px 0 60px; @include mq{ padding: 40px 0 60px; } .content{ text-align: center; width: 88%; max-width: 1000px; margin: 0 auto; h2{ font-size: 3rem; font-weight: bold; @include mq{ font-size: 2.4rem; } } } } #office{ padding: 0 0 60px; .content{ text-align: center; width: 88%; max-width: 1000px; margin: 0 auto; h2{ font-size: 3rem; font-weight: bold; @include mq{ font-size: 2.4rem; } } } } #office_arrow{ text-align: center; margin: 70px auto; img{ width: auto; } } .photobox{ display: flex; flex-wrap: wrap; li{ width: 50%; @include mq{ width: 100%; } } } .wp_margin{ margin: 60px auto; } //プライバシーポリシー #policy_head{ padding: 100px 0 60px; @include mq{ padding: 40px 0 60px; } .content{ text-align: center; width: 88%; max-width: 1000px; margin: 0 auto; h2{ font-size: 3rem; font-weight: bold; @include mq{ font-size: 2.4rem; } } } } #policy_paragraph{ .content{ width: 88%; max-width: 1000px; margin: 0 auto; p{ margin-bottom: 45px; } h3{ font-weight: bold; } .bnr_link_before{ margin-top: 75px; margin-bottom: 100px; } } } //プライバシーポリシー #map_head{ padding: 100px 0 85px; @include mq{ padding: 40px 0 60px; } .content{ text-align: center; width: 88%; max-width: 1000px; margin: 0 auto; h2{ font-size: 3rem; font-weight: bold; @include mq{ font-size: 2.4rem; } } } } #map_paragraph{ .content{ width: 88%; max-width: 1000px; margin: 0 auto 75px; ul{ margin-bottom: 160px; text-align: center; font-weight: bold; li{ margin-bottom: 30px; font-weight: bold; } } } } //お問い合わせ #contact_head{ padding: 100px 0 90px; @include mq{ padding: 40px 0 60px; } .content{ text-align: center; width: 88%; max-width: 1000px; margin: 0 auto; h2{ font-size: 3rem; font-weight: bold; @include mq{ font-size: 2.4rem; } } } } #contact_paragraph{ .content{ width: 88%; max-width: 1000px; margin: 0 auto; dl{ .contact_left{ width: 30%; float: left; padding-right: 30px; text-align: right; @include mq{ width: 100%; float: none; text-align: left; margin: 15px auto 10px; } span{ background: #AA145A; padding: 3px; margin-right: 5px; color: #fff; font-size: 1.4rem; } } .contact_right{ width: 70%; float: right; @include mq{ width: 100%; float: none; text-align: left; margin-bottom: 10px; } } input{ margin-bottom: 10px; border: 1px solid #666666; height: 40px; padding: 10px; width: 100%; } } textarea{ border: 1px solid #666666; padding: 10px; width: 100%; } #form_submit_button{ padding: 15px 35px; text-align: center; margin: 60px auto 0; background: $txtcolor; color: #fff; border: 1px solid $txtcolor; font-weight: bold; font-size: 1.4rem; display: block; transition: 0.2s; text-align: center; width: 50%; @include mq{ padding: 8px 20px; } } .bnr_link_before{ margin-top: 75px; margin-bottom: 100px; } } }