@charset "UTF-8"; html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video{ margin: 0; padding: 0; border: 0; font-size: 100%; vertical-align: baseline; box-sizing: border-box; } html{ line-height: 1; } .clearfix:after{ content: ""; display: block; height: 0; clear: both; visibility: hidden; } .clearfix{ display: inline-table; } /* Hides from IE-mac \*/ * html .clearfix{ height: 1%; } .clearfix{ display: block; } /* End hide from IE-mac */ ol, ul{ list-style: none; } table{ border-collapse: collapse; border-spacing: 0; } .clear { clear: both; } caption, th, td{ text-align: left; font-weight: normal; vertical-align: middle; } q, blockquote{ quotes: none; } q:before, q:after, blockquote:before, blockquote:after{ content: ""; content: none; } a img { border: none; } article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary{ display: block; } *, :after, :before { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; } body{ font-family: '游明朝体', 'Yu Mincho', YuMincho, 'Noto Serif JP', serif; font-weight: 400; line-height: 1.5; -webkit-text-size-adjust: 100%; color: #000; } img{ height: auto; max-width: 100%; } a{ text-decoration: none; } @media screen and (max-width: 768px) { .hidden-sp{ display: none !important; } } @media screen and (min-width: 769px) { .hidden-pc{ display: none !important; } } /*------------------------------------------ サービス別レスポンシブ ------------------------------------------*/ /*youtube*/ .youtubeWrapper{ position: relative; width: 100%; padding-top: 56.25%; } .youtubeWrapper iframe { position: absolute; top: 0; right: 0; width: 100% !important; height: 100% !important; } /*googlemap*/ .ggmapWrapper{ position: relative; /*padding-bottom: 56.25%;*/ height: 480px; overflow: hidden; } .ggmapWrapper iframe, .ggmapWrapper object, .ggmapWrapper embed{ position: absolute; top: -140px; left: 0; width: 100%; height: 600px; } .ggmapWrapper iframe{ height: 800px; } /*------------------------------------------ cmn ------------------------------------------*/ img{ vertical-align: top; } .hoverBtn{ -webkit-transition: 0.3s; -moz-transition: 0.3s; -ms-transition: 0.3s; transition: 0.3s; } .hoverBtn:hover{ } @media screen and (max-width: 768px) { img{ width: 100%; } } /*------------------------------------------ body ------------------------------------------*/ body{ min-width: 980px; } @media screen and (max-width: 768px) { body{ min-width: inherit; } } /*------------------------------------------ #mv ------------------------------------------*/ .mvWrapper{ padding-top: 80px; .mv{ position: relative; } h1{ width: 100%; position: absolute; top: 50%; left: 0; transform: translate(0, -50%); z-index: 100; text-align: center; text-shadow: 0 0 10px rgba(0,0,0,0.8); color: #FFF; font-size: 43px; font-weight: 600; span{ font-size: 25px; } } } @media screen and (max-width: 1100px) { .mvWrapper{ padding-top: 60px; h1{ padding: 0 5%; font-size: 22px; span{ font-size: 16px; } } } } /*------------------------------------------ header nav ------------------------------------------*/ .menuBtn{ height: 29px; position: absolute; right: 40px; top: 50%; z-index: 1003; transform: translate(0, -50%); } .menu-trigger, .menu-trigger span { display: inline-block; transition: all .4s; box-sizing: border-box; } .menu-trigger { position: relative; width: 45px; height: 29px; cursor: pointer; } .menu-trigger span { position: absolute; left: 0; width: 100%; height: 2px; background-color: #e60012; } .menu-trigger span:nth-of-type(1) { top: 0; } .menu-trigger span:nth-of-type(2) { top: 14px; } .menu-trigger span:nth-of-type(3) { bottom: 0; } .menu-trigger.active span{ background-color: #FFF; } .menu-trigger.active span:nth-of-type(1) { -webkit-transform: translateY(12px) rotate(-45deg); transform: translateY(12px) rotate(-45deg); } .menu-trigger.active span:nth-of-type(2) { left: 50%; opacity: 0; -webkit-animation: active-menu-bar02 .8s forwards; animation: active-menu-bar02 .8s forwards; } .menu-trigger.active span:nth-of-type(3) { -webkit-transform: translateY(-14px) rotate(45deg); transform: translateY(-14px) rotate(45deg); } @-webkit-keyframes active-menu-bar02 { 100% { height: 0; } } @keyframes active-menu-bar02 { 100% { height: 0; } } /*PC*/ /*@media screen and (min-width: 1461px) {*/ @media screen and (min-width: 1101px) { header{ nav{ display: block !important; } } } header{ width: 100%; height: 80px; background: url("../img/bg_header.jpg") repeat-x center top / 3000px; position: fixed; left: 0; top: 0; z-index: 1000; transition: 0.3s; .headerInner{ width: 100%; height: 100%; display: -ms-flex; display: flex; -ms-align-items: center; align-items: center; } .headerTop{ display: none; } .logoBox{ padding: 0 0 0 45px; } nav{ margin-left: auto; ul{ display: -ms-flex; display: flex; -ms-align-items: center; align-items: center; li{ &:not(:nth-last-child(1)):not(:nth-last-child(2)){ &:after{ content: "•"; padding: 0 25px; display: inline-block; } } &:not(:last-child){ a{ font-size: 15px; position: relative; color: #000; letter-spacing: 0.05em; &:after{ content: ""; width: 0%; height: 2px; display: block; background: #000; position: absolute; left: 0; bottom: -5px; transition: 0.3s; } &:hover{ &:after{ width: 100%; } } } } &:last-child{ margin-left: 40px; } } } } .btnBox{ a{ width: 170px; height: 80px; display: -ms-flex; display: flex; -ms-justify-content: center; justify-content: center; -ms-align-items: center; align-items: center; background: #98514b; color: #FFF; font-size: 15px; letter-spacing: 0.05em; position: relative; >span{ position: relative; z-index: 3; } &:before{ content: ""; width: 0%; height: 100%; display: block; position: absolute; top: 0; left: 0; z-index: 1; background: rgba(255,255,255,0.2); transition: 0.3s; } &:hover{ color: #FFF; &:before{ width: 100%; } } } } &.fix{ box-shadow: 0 0 10px rgba(0,0,0,0.2); } } /*}*/ /*SP*/ @media screen and (max-width: 1100px) { .menuBtn{ height: 18px; position: absolute; right: 20px; top: 50%; z-index: 1003; transform: translate(0, -50%); } .menu-trigger, .menu-trigger span { display: inline-block; transition: all .4s; box-sizing: border-box; } .menu-trigger { position: relative; width: 30px; height: 18px; cursor: pointer; } .menu-trigger span { position: absolute; left: 0; width: 100%; height: 2px; background-color: #98514b; } .menu-trigger span:nth-of-type(1) { top: 0; } .menu-trigger span:nth-of-type(2) { top: 8px; } .menu-trigger span:nth-of-type(3) { bottom: 0; } .menu-trigger.active span{ background-color: #98514b; } .menu-trigger.active span:nth-of-type(1) { -webkit-transform: translateY(6px) rotate(-45deg); transform: translateY(6px) rotate(-45deg); } .menu-trigger.active span:nth-of-type(2) { left: 50%; opacity: 0; -webkit-animation: active-menu-bar02 .8s forwards; animation: active-menu-bar02 .8s forwards; } .menu-trigger.active span:nth-of-type(3) { -webkit-transform: translateY(-10px) rotate(45deg); transform: translateY(-10px) rotate(45deg); } header{ width: 100%; height: 60px; background: url("../img/bg_header.jpg") repeat-x left -820px top / 3000px; position: fixed; left: 0; top: 0; z-index: 1000; transition: 0.3s; .headerInner{ width: 100%; height: 100%; display: -ms-flex; display: flex; -ms-align-items: center; align-items: center; } .headerTop{ display: block; } .logoBox{ padding: 0 0 0 5%; img{ max-width: 150px; } } nav{ width: 100%; height: 100vh; margin-left: inherit; display: none; position: fixed; top: 0; left: 0; background: rgba(217,210,171,0.9); ul{ padding: 110px 0 50px 0; display: block; li{ display: block; text-align: center; &:not(:nth-last-child(1)):not(:nth-last-child(2)){ &:after{ content: none; } } &:not(:last-child){ margin-bottom: 20px; a{ font-size: 15px; position: relative; color: #000; letter-spacing: 0.05em; &:after{ content: ""; width: 0%; height: 2px; display: block; background: #000; position: absolute; left: 0; bottom: -5px; transition: 0.3s; } &:hover{ &:after{ width: 100%; } } } } &:last-child{ margin: 0; } } } } .btnBox{ a{ width: 200px; height: 60px; margin: 0 auto; display: -ms-flex; display: flex; -ms-justify-content: center; justify-content: center; -ms-align-items: center; align-items: center; background: #98514b; color: #FFF; font-size: 15px; letter-spacing: 0.05em; position: relative; >span{ position: relative; z-index: 3; } &:before{ content: ""; width: 0%; height: 100%; display: block; position: absolute; top: 0; left: 0; z-index: 1; background: rgba(255,255,255,0.2); transition: 0.3s; } &:hover{ color: #FFF; &:before{ width: 100%; } } } } &.fix{ box-shadow: 0 0 10px rgba(0,0,0,0.2); } } } /*------------------------------------------ #cmn ------------------------------------------*/ h2.ttlBox{ height: 250px; writing-mode: vertical-rl; -ms-writing-mode: tb-rl; -webkit-writing-mode:vertical-rl; text-orientation: upright; -ms-text-orientation: upright; -webkit-text-orientation: upright; position: relative; >span{ display: block; } .en{ padding: 5px 0 0 0; color: #98514b; font-size: 13px; font-weight: 400; font-family: "游ゴシック体", "Yu Gothic", YuGothic, 'Noto Sans JP', sans-serif; } .jp{ font-size: 35px; font-weight: 400; } &:before, &:after{ content: ""; width: 1px; height: 120px; display: block; position: absolute; top: -130px; left: 26px; background: #000; } } .innerBox{ max-width: 980px; margin: 0 auto; } @media screen and (max-width: 768px) { h2.ttlBox{ writing-mode: inherit; -ms-writing-mode: tb-rl; -webkit-writing-mode:vertical-rl; text-orientation: upright; -ms-text-orientation: upright; -webkit-text-orientation: upright; position: relative; >span{ display: block; } .en{ padding: 5px 0 0 0; color: #98514b; font-size: 12px; font-weight: 400; font-family: "游ゴシック体", "Yu Gothic", YuGothic, 'Noto Sans JP', sans-serif; } .jp{ font-size: 26px; font-weight: 400; } &:before, &:after{ content: ""; width: 1px; height: 60px; display: block; position: absolute; top: -70px; left: 20px; background: #000; } } .innerBox{ width: 100%; } } /*------------------------------------------ #contents_01 ------------------------------------------*/ .contents_bg_01{ background: url("../img/bg_contents_01.png") no-repeat center top / 3000px; position: relative; z-index: 2; .contents_01{ min-height: 609px; .innerBox{ position: relative; } .ttlWrapper{ width: 70px; position: absolute; top: 85px; right: 0; h2.ttlBox{ &:before{ height: 45px; z-index: 2; background: #FFF; } } } .txt_01{ writing-mode: vertical-rl; -ms-writing-mode: tb-rl; -webkit-writing-mode:vertical-rl; text-orientation: upright; -ms-text-orientation: upright; -webkit-text-orientation: upright; width: 555px; height: 380px; font-size: 18px; line-height: 1.9; position: absolute; right: 120px; top: 135px; } } } @media screen and (max-width: 768px) { .contents_bg_01{ background: url("../img/bg_contents_01.png") no-repeat right -1020px bottom / 3000px #eeebd9; position: relative; z-index: 2; .contents_01{ min-height: inherit; .innerBox{ position: relative; } .ttlWrapper{ width: 70px; position: absolute; top: 40px; right: inherit; left: 10px; h2.ttlBox{ &:before{ height: 30px; z-index: 2; background: #FFF; } } } .txt_01{ writing-mode: inherit; width: 100%; height: auto; padding: 60px 5% 50px 80px; font-size: 16px; line-height: 1.9; position: inherit; right: inherit; top: inherit; } } } } /*------------------------------------------ #contents_02 ------------------------------------------*/ .contents_bg_020304{ min-height: 2190px; background: url("../img/bg_contents_020304.jpg") repeat-y center top / 3000px; position: relative; top: -215px; margin-bottom: -215px; } h3{ margin-bottom: 70px; text-align: center; >span{ display: block; } .jp{ font-size: 29px; font-weight: 400; letter-spacing: 0.1em; } .en{ font-size: 13px; font-weight: 400; font-family: "游ゴシック体", "Yu Gothic", YuGothic, 'Noto Sans JP', sans-serif; letter-spacing: 0.1em; color: #98514b; } } .contents_bg_02{ padding: 130px 0 0 0; margin-bottom: 140px; .contents_02{ h2.ttlBox{ height: 180px; } ul{ display: -ms-flex; display: flex; li{ width: 300px; margin: 0 40px 0 0; &:nth-child(3n){ margin-right: 0; } a{ width: 100%; height: 70px; display: -ms-flex; display: flex; -ms-justify-content: center; justify-content: center; -ms-align-items: center; align-items: center; font-size: 18px; font-weight: 700; font-family: "游ゴシック体", "Yu Gothic", YuGothic, 'Noto Sans JP', sans-serif; letter-spacing: 0.1em; color: #98514b; border: 2px solid #98514b; position: relative; >span{ position: relative; z-index: 3; } &:before{ content: ""; width: 0%; height: 100%; display: block; position: absolute; top: 0; left: 0; z-index: 1; background: #98514b; opacity: 0.4; transition: 0.3s; } &:after{ content: ""; width: 32px; height: 32px; display: block; position: absolute; right: 15px; top: 50%; z-index: 3; transform: translate(0, -50%); background: url("../img/arrow_01.png") no-repeat center / 32px; transition: 0.3s; } &:hover{ &:before{ width: 100%; } &:after{ } } } } } } } @media screen and (max-width: 768px) { .contents_bg_020304{ min-height: inherit; background: url("../img/bg_contents_020304.jpg") repeat-y center top / 1300px; position: relative; top: 0; margin-bottom: 0; } h3{ margin-bottom: 50px; text-align: center; >span{ display: block; } .jp{ font-size: 26px; font-weight: 400; letter-spacing: 0.1em; } .en{ font-size: 13px; font-weight: 400; font-family: "游ゴシック体", "Yu Gothic", YuGothic, 'Noto Sans JP', sans-serif; letter-spacing: 0.1em; color: #98514b; } } .contents_bg_02{ padding: 50px 0 0 0; margin-bottom: 0; h2.ttlBox{ top: 40px; z-index: 3; left: 10px; position: absolute; display: none; } .contents_02{ margin-bottom: 100px; ul{ display: block; padding: 0 5%; li{ width: 100%; max-width: 300px; margin: 0 auto 20px auto; &:nth-child(3n){ margin-right: auto; } &:last-child{ margin-bottom: 0; } a{ width: 100%; height: 70px; display: -ms-flex; display: flex; -ms-justify-content: center; justify-content: center; -ms-align-items: center; align-items: center; font-size: 18px; font-weight: 700; font-family: "游ゴシック体", "Yu Gothic", YuGothic, 'Noto Sans JP', sans-serif; letter-spacing: 0.1em; color: #98514b; border: 2px solid #98514b; position: relative; >span{ position: relative; z-index: 3; } &:before{ content: ""; width: 0%; height: 100%; display: block; position: absolute; top: 0; left: 0; z-index: 1; background: #98514b; opacity: 0.4; transition: 0.3s; } &:after{ content: ""; width: 32px; height: 32px; display: block; position: absolute; right: 15px; top: 50%; z-index: 3; transform: translate(0, -50%); background: url("../img/arrow_01.png") no-repeat center / 32px; transition: 0.3s; } &:hover{ &:before{ width: 100%; } &:after{ } } } } } } } } /*------------------------------------------ #contents_03 ------------------------------------------*/ .contents_bg_03{ .contents_03{ margin-bottom: 140px; ul{ width: 640px; margin: 0 auto; display: -ms-flex; display: flex; li{ width: 300px; margin: 0 40px 0 0; &:nth-child(2n){ margin-right: 0; a{ letter-spacing: 0; } } a{ width: 100%; height: 70px; display: -ms-flex; display: flex; -ms-justify-content: center; justify-content: center; -ms-align-items: center; align-items: center; font-size: 18px; font-weight: 700; font-family: "游ゴシック体", "Yu Gothic", YuGothic, 'Noto Sans JP', sans-serif; letter-spacing: 0.1em; color: #98514b; border: 2px solid #98514b; position: relative; >span{ position: relative; z-index: 3; } &:before{ content: ""; width: 0%; height: 100%; display: block; position: absolute; top: 0; left: 0; z-index: 1; background: #98514b; opacity: 0.4; transition: 0.3s; } &:after{ content: ""; width: 32px; height: 32px; display: block; position: absolute; right: 15px; top: 50%; z-index: 3; transform: translate(0, -50%); background: url("../img/arrow_01.png") no-repeat center / 32px; transition: 0.3s; } &:hover{ &:before{ width: 100%; } &:after{ } } } } } } } @media screen and (max-width: 768px) { .contents_bg_03{ .contents_03{ margin-bottom: 100px; ul{ width: 100%; margin: 0 auto; padding: 0 5%; display: block; li{ width: 100%; max-width: 300px; margin: 0 auto 20px auto; &:nth-child(2n){ margin-right: auto; margin-bottom: 0; a{ letter-spacing: 0; } } a{ width: 100%; height: 70px; display: -ms-flex; display: flex; -ms-justify-content: center; justify-content: center; -ms-align-items: center; align-items: center; font-size: 18px; font-weight: 700; font-family: "游ゴシック体", "Yu Gothic", YuGothic, 'Noto Sans JP', sans-serif; letter-spacing: 0.1em; color: #98514b; border: 2px solid #98514b; position: relative; >span{ position: relative; z-index: 3; } &:before{ content: ""; width: 0%; height: 100%; display: block; position: absolute; top: 0; left: 0; z-index: 1; background: #98514b; opacity: 0.4; transition: 0.3s; } &:after{ content: ""; width: 32px; height: 32px; display: block; position: absolute; right: 15px; top: 50%; z-index: 3; transform: translate(0, -50%); background: url("../img/arrow_01.png") no-repeat center / 32px; transition: 0.3s; } &:hover{ &:before{ width: 100%; } &:after{ } } } } } } } } /*------------------------------------------ #contents_04 ------------------------------------------*/ .contents_bg_04{ .contents_04{ ul{ display: -ms-flex; display: flex; -ms-flex-wrap: wrap; flex-wrap: wrap; li{ width: 300px; margin: 0 40px 75px 0; position: relative; &:nth-child(3n){ margin-right: 0; } position: relative; a{ display: block; position: relative; h4{ width: 44px; padding: 20px 7px 20px 0; writing-mode: vertical-rl; -ms-writing-mode: tb-rl; -webkit-writing-mode:vertical-rl; text-orientation: upright; -ms-text-orientation: upright; -webkit-text-orientation: upright; background: url("../img/bg_sttl_01.png") no-repeat center bottom / 44px #FFF; box-shadow: 0 0 3px rgba(0,0,0,0.5); font-size: 19px; font-weight: 400; color: #000; letter-spacing: 0.025; position: absolute; right: 30px; top: -30px; z-index: 3; } .over{ width: 100%; height: 100%; padding: 175px 32px 0 32px; position: absolute; left: 0; top: 0; z-index: 2; opacity: 0; transition: 0.3s; p{ color: #FFF; font-size: 16px; line-height: 1.6; font-family: "游ゴシック体", "Yu Gothic", YuGothic, 'Noto Sans JP', sans-serif; } } &:hover{ .over{ opacity: 1; } } } &:nth-child(2), &:nth-child(5){ top: 48px; } &:nth-child(3), &:nth-child(6){ top: 96px; } &:nth-child(1) a .over{ background: url("../img/img_contents_04_01_over.jpg") no-repeat center / cover; } &:nth-child(2) a .over{ background: url("../img/img_contents_04_02_over.jpg") no-repeat center / cover; } &:nth-child(3) a .over{ background: url("../img/img_contents_04_03_over.jpg") no-repeat center / cover; } &:nth-child(4) a .over{ background: url("../img/img_contents_04_04_over.jpg") no-repeat center / cover; } &:nth-child(5) a .over{ background: url("../img/img_contents_04_05_over.jpg") no-repeat center / cover; } &:nth-child(6) a .over{ background: url("../img/img_contents_04_06_over.jpg") no-repeat center / cover; } } } } } @media screen and (max-width: 768px) { .contents_bg_04{ .contents_04{ padding-bottom: 50px; ul{ display: block; padding: 0 5%; li{ width: 100%; max-width: 300px; margin: 0 auto 40px auto; position: relative; &:nth-child(3n){ margin-right: auto; } position: relative; a{ display: block; position: relative; h4{ width: 44px; padding: 20px 7px 20px 0; writing-mode: vertical-rl; -ms-writing-mode: tb-rl; -webkit-writing-mode:vertical-rl; text-orientation: upright; -ms-text-orientation: upright; -webkit-text-orientation: upright; background: url("../img/bg_sttl_01.png") no-repeat center bottom / 44px #FFF; box-shadow: 0 0 3px rgba(0,0,0,0.5); font-size: 19px; font-weight: 400; color: #000; letter-spacing: 0.025; position: absolute; right: 30px; top: -30px; z-index: 3; } .over{ width: 100%; height: 100%; padding: 5%; position: inherit; left: inherit; top: inherit; z-index: 2; opacity: 1; transition: 0.3s; p{ color: #FFF; font-size: 16px; line-height: 1.6; font-family: "游ゴシック体", "Yu Gothic", YuGothic, 'Noto Sans JP', sans-serif; } } &:hover{ .over{ opacity: 1; } } } &:nth-child(2), &:nth-child(5){ top: inherit; } &:nth-child(3), &:nth-child(6){ top: inherit; } &:nth-child(1) a .over, &:nth-child(2) a .over, &:nth-child(3) a .over, &:nth-child(4) a .over, &:nth-child(5) a .over, &:nth-child(6) a .over{ background: rgba(0,0,0,0.8); } } } } } } /*------------------------------------------ #contents_05 ------------------------------------------*/ .contents_bg_05{ .contents_05{ padding: 80px 0 0 0; h2.ttlBox_qa{ margin-bottom: 70px; text-align: center; position: relative; >span{ display: block; } .jp{ font-size: 43px; font-weight: 400; letter-spacing: 0.1em; } .en{ font-size: 13px; font-weight: 400; font-family: "游ゴシック体", "Yu Gothic", YuGothic, 'Noto Sans JP', sans-serif; letter-spacing: 0.1em; color: #98514b; } &:before{ content: ""; width: 1px; height: 120px; display: block; background: #000; position: absolute; top: -140px; left: 50%; transform: translate(-50%, 0); } } .tab_01{ display: -ms-flex; display: flex; margin-bottom: 25px; li{ width: 480px; height: 58px; margin-right: 20px; display: -ms-flex; display: flex; -ms-align-items: center; align-items: center; -ms-justify-content: center; justify-content: center; background: #d9d2ab; border: 1px solid #98514b; font-size: 18px; color: #98514b; letter-spacing: 0.075; cursor: pointer; transition: 0.3s; &:nth-child(2n){ margin-right: 0; } &.active{ background: #98514b; color: #FFF; } } } .qaWrapper{ display: none; &.show{ display: block; } dl{ &:last-child{ margin-bottom: 0; } dt{ padding: 20px 60px 20px 78px; background: url("../img/icon_q.png") no-repeat center left 20px / 23px; cursor: pointer; font-size: 16px; font-family: "游ゴシック体", "Yu Gothic", YuGothic, 'Noto Sans JP', sans-serif; letter-spacing: 0.025em; position: relative; border-bottom: 1px solid #CCC; &:after{ content: ""; width: 0; height: 100%; display: block; position: absolute; left: 0; top: 0; z-index: 1; background: rgba(255,255,255,0.2); transition: 0.3s; } >span{ width: 20px; height: 20px; display: block; position: absolute; right: 20px; top: 50%; transform: translate(0, -50%); >span{ width: 100%; height: 100%; display: block; position: relative; &:before, &:after{ content: ""; width: 20px; height: 1px; display: block; background: #484848; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); transition: 0.3s; } &:after{ transform: translate(-50%, -50%) rotate(90deg); } } } &:hover{ &:after{ width: 100%; } } } dd{ padding: 20px 0 40px 78px; background: url("../img/icon_a.png") no-repeat top 23px left 20px / 23px; font-size: 16px; font-family: "游ゴシック体", "Yu Gothic", YuGothic, 'Noto Sans JP', sans-serif; letter-spacing: 0.025em; display: none; } &.active{ dt{ >span{ >span{ &:after{ transform: translate(-50%, -50%) rotate(0deg); } } } } } } } } } @media screen and (max-width: 768px) { .contents_bg_05{ .contents_05{ padding: 40px 0 0 0; h2.ttlBox_qa{ margin-bottom: 40px; text-align: center; position: relative; >span{ display: block; } .jp{ font-size: 26px; font-weight: 400; letter-spacing: 0.1em; } .en{ font-size: 13px; font-weight: 400; font-family: "游ゴシック体", "Yu Gothic", YuGothic, 'Noto Sans JP', sans-serif; letter-spacing: 0.1em; color: #98514b; } &:before{ content: ""; width: 1px; height: 60px; display: block; background: #000; position: absolute; top: -70px; left: 50%; transform: translate(-50%, 0); } } .tab_01{ display: -ms-flex; display: flex; margin-bottom: 25px; padding: 0 5%; li{ width: 480px; height: 58px; margin-right: 10px; display: -ms-flex; display: flex; -ms-align-items: center; align-items: center; -ms-justify-content: center; justify-content: center; background: #d9d2ab; border: 1px solid #98514b; font-size: 16px; color: #98514b; letter-spacing: 0.075; cursor: pointer; transition: 0.3s; &:nth-child(2n){ margin-right: 0; } &.active{ background: #98514b; color: #FFF; } } } .qaWrapper{ display: none; &.show{ display: block; } dl{ &:last-child{ margin-bottom: 0; } dt{ padding: 20px 60px 20px 78px; background: url("../img/icon_q.png") no-repeat center left 20px / 23px; cursor: pointer; font-size: 16px; font-family: "游ゴシック体", "Yu Gothic", YuGothic, 'Noto Sans JP', sans-serif; letter-spacing: 0.025em; position: relative; border-bottom: 1px solid #CCC; &:after{ content: ""; width: 0; height: 100%; display: block; position: absolute; left: 0; top: 0; z-index: 1; background: rgba(255,255,255,0.2); transition: 0.3s; } >span{ width: 20px; height: 20px; display: block; position: absolute; right: 20px; top: 50%; transform: translate(0, -50%); >span{ width: 100%; height: 100%; display: block; position: relative; &:before, &:after{ content: ""; width: 20px; height: 1px; display: block; background: #484848; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); transition: 0.3s; } &:after{ transform: translate(-50%, -50%) rotate(90deg); } } } &:hover{ &:after{ width: 100%; } } } dd{ padding: 20px 5% 40px 78px; background: url("../img/icon_a.png") no-repeat top 23px left 20px / 23px; font-size: 16px; font-family: "游ゴシック体", "Yu Gothic", YuGothic, 'Noto Sans JP', sans-serif; letter-spacing: 0.025em; display: none; } &.active{ dt{ >span{ >span{ &:after{ transform: translate(-50%, -50%) rotate(0deg); } } } } } } } } } } /*------------------------------------------ #contents_06 ------------------------------------------*/ .contents_bg_06{ .contents_06{ padding: 85px 5%; a{ width: 100%; height: 70px; max-width: 360px; margin: 0 auto; display: -ms-flex; display: flex; -ms-justify-content: center; justify-content: center; -ms-align-items: center; align-items: center; font-size: 18px; font-weight: 700; font-family: "游ゴシック体", "Yu Gothic", YuGothic, 'Noto Sans JP', sans-serif; letter-spacing: 0.1em; color: #FFF; border: 2px solid #98514b; background: #98514b; position: relative; >span{ position: relative; z-index: 3; } &:before{ content: ""; width: 0%; height: 100%; display: block; position: absolute; top: 0; left: 0; z-index: 1; background: #FFF; opacity: 0.2; transition: 0.3s; } &:after{ content: ""; width: 32px; height: 32px; display: block; position: absolute; right: 15px; top: 50%; z-index: 3; transform: translate(0, -60%); background: url("../img/arrow_02.png") no-repeat center / 32px; transition: 0.3s; } &:hover{ &:before{ width: 100%; } &:after{ } } } } } @media screen and (max-width: 768px) { } /* ------------------------------ トップへ戻る ------------------------------ */ #toTop{ position: fixed; right: 0px; bottom: 0px; display: none; z-index: 10; } #toTop a:hover{ opacity: 0.8; } @media screen and (max-width: 768px) { #toTop{ right: -10px; bottom: -10px; img{ width: 60px; } } } /*------------------------------------------ footer ------------------------------------------*/ footer{ padding: 10px 0; background: #000; } footer *{ color: #FFF; font-size: 13px; font-family: "游ゴシック体", "Yu Gothic", YuGothic, 'Noto Sans JP', sans-serif; } footer .inner{ text-align: center; } footer #links{ } footer #links a{ letter-spacing: 0.1em; } footer #links a:hover{ text-decoration: underline; } footer #copy{ } footer #copy small{ } @media screen and (max-width: 768px) { footer{ min-width: inherit; padding: 20px 0 0 0; text-align: center; display: block; } footer #links{ padding-left: 0; float: inherit; text-align: center; font-size: 12px; } footer #copy{ float: inherit; padding: 20px 0; font-size: 12px; float: inherit; } }