// out: style.css, sourcemap: false, compress: false @font-size_sp: 14px; @font-size_tab: 16px; @font-size_pc: 18px; @font-weight: 400; @line-height_sp: 1.6em; @line-height_tab: 1.8em; @color: #333; @bgColor: #eee; @white: #fff; @theme-color: #a582b9; @theme-light: #d2c7e2; @theme-shadow: #914897; @max-width: 1000px; @min-width_pc: 950px; @iconSize: 38px; @iconSize_tab: 56px; @imgURL: 'https://shuyoka.tenrikyo.or.jp/wp/wp-content/themes/shuyoka/img/'; /*The CSS has been compiled by LESS*/ /* Theme Name: shuyoka */ @charset "UTF-8"; /* Notofont */ @import url(https://fonts.googleapis.com/earlyaccess/notosansjp.css); *{ box-sizing: border-box; margin: 0; padding: 0; } body { width: 100%; font-size: @font-size_sp; font-family: "Noto Sans JP", "メイリオ" , "meiryo" , Helvetica , "游ゴシック" , "Yu Gothic" , sans-serif; line-height: @line-height_sp; color: @color; font-weight: @font-weight; background: @bgColor; } img { display: block; width: auto; height: auto; max-width: 100%; } h1,h2,h3,h4,h5,h6,p { font-weight: normal; margin: 0; padding: 0; } ul { list-style: none; } .clearfix:after,ul:after { content: " "; display: block; clear: both; height: 0; } /**** hoverAction ****/ a:hover img{ -webkit-filter: brightness(1); -moz-filter: brightness(1); -o-filter: brightness(1); -ms-filter: brightness(1); filter: brightness(1); transition: all 0.3s linear; } .contents__linkButton:hover { background-color: #ddd; transition: all 0.3s linear; } #life .contents__linkItemWrap > a:hover { -webkit-filter: brightness(0.7); -moz-filter: brightness(0.7); -o-filter: brightness(0.7); -ms-filter: brightness(0.7); filter: brightness(0.7); transition: all 0.3s linear; } /**** common ****/ .margin { &Top { &05 { margin-top: 0.5em; } &10 { margin-top: 1em; } &15 { margin-top: 1.5em; } &20 { margin-top: 2em; } } &Bottom { &05 { margin-bottom: 0.5em; } &10 { margin-bottom: 1em; } &15 { margin-bottom: 1.5em; } &20 { margin-bottom: 2em; } } &Left { &05 { margin-left: 0.5em; } &10 { margin-left: 1em; } &15 { margin-left: 1.5em; } &20 { margin-left: 2em; } } &Right { &05 { margin-right: 0.5em; } &10 { margin-right: 1em; } &15 { margin-right: 1.5em; } &20 { margin-right: 2em; } } } .text-align { &Center { text-align: center; } &Left { text-align: left; } &Right { text-align: right; } } .linkMore { &:before { content: "… "; } &:after { content: " 》"; } } /**** header ****/ .header { background: @white; width: 100%; position: relative; box-shadow: 0 0 3px @color; &Inner { width: 100%; background: @white; } &__tenrikyo { background: @color; &Logo { padding: 10px; img { width: 145px; margin: auto; display: block; } } } } /**** nav ****/ .home { position: relative; float: left; .home__link { color: @white; text-decoration: none; padding: 6px 8px; font-size: 1.2em; font-weight: bold; background: @theme-color; box-shadow: 2px 2px 0px @theme-shadow; border-radius: 7px; border: none; display: inline-block; } } .navArea { background: @white; width: 100%; overflow: hidden; padding: 6px 12px; &__topFixed { max-width: @max-width; margin: 0 auto; } &.fixed { width: 100%; box-shadow: 0px 1px 2px #777; background: rgba(255,255,255,0.94); position: fixed; top: 0; left: 0; z-index: 999; } } .pcNav { display: none; } .mobileNav { width: 0px; height: 0px; overflow: hidden; transition: width 0.3s linear; &__lists { letter-spacing: -0.4em; } &__list { display: inline-block; width: 48%; margin: 0 2% 10px; vertical-align: top; &:nth-child(2n) { margin-right: 0; } &:nth-child(2n+1) { margin-left: 0; } &>a { display: block; width: 100%; &>img { width: 100%; } } } } .menuButton { float: right; display: block; height: 34px; width: 36px; box-shadow: 2px 2px 0px @theme-shadow; border-radius: 7px; background: url("@{imgURL}menu-open.svg") @theme-color no-repeat; background-position: center center; background-size: 80%; text-indent: 100%; white-space: nowrap; overflow: hidden; } .menuActive { body& { overflow: hidden; } .navArea { width: 100%; height: 100%; overflow-y: auto; position: fixed; top: 0; left: 0; z-index: 999; background-color: @white; } .menuButton{ background-image: url("@{imgURL}menu-close.svg"); background-size: 66%; } .mobileNav { width: 100%; height: auto; margin: 2em auto 0; transition: width 0.3s linear; } } /**** パンくず ****/ .breadcrumbs { list-style: none; max-width: @max-width; padding: 10px 12px; margin: 0 auto; a { color: @color; text-decoration: none; } } .breadcrumb { display: inline-block; vertical-align: top; margin: 0 0.3em; font-size: @font-size_sp; &:after { content: ">"; margin-left: 0.6em; } &:last-child:after { display: none; } } /**** main ****/ .main { overflow: hidden; } /**** contents ****/ .contentsAreaWrap { margin-top: -50px; padding-top: 50px; } .contentsArea { margin: 0 auto 50px; } .contents{ position: relative; &__linkButton { display: block; width: 200px; margin: 20px auto 30px; padding: 10px 18px; text-align: center; text-decoration: none; font-size: 1.2em; background: @white; box-shadow: 2px 2px 0px @theme-shadow; border: solid 1px @theme-color; color: @color; &__triangleArea { display: block; margin-left: 1em; position: relative; } &__triangle { width: 0; height: 0; border-left: solid 0.8em @theme-color; border-top: solid 0.5em transparent; border-bottom: solid 0.5em transparent; border-right: solid 0em transparent; position: absolute; bottom: 2px; right: 0; &.triangle2 { border-left-color: @theme-shadow; bottom: 1px; right: -1px; } } &.ikoi { font-size: 0.96em; padding: 6px 4px; margin: 6px auto; .small { font-size: 0.76em; } } } &__header { width: 60%; max-width: 160px; text-align: center; margin: 0 auto; line-height: 1.5em; font-size: 1.5em; .wide03 { letter-spacing: 0.3em; margin-right: -0.3em; } .wide10 { letter-spacing: 1em; margin-right: -1em; } .dash { margin: 0 auto; } } &__caption { text-align: center; margin: 8px auto 1em; } &__linkItem { float: left; width: 50%; position: relative; &__linkText { position: absolute; z-index: 1; bottom: 2px; text-align: right; width: 100%; color: @white; &:after { content: "〉"; margin-left: 1em; } } &__image img { -webkit-filter: brightness(0.7); -moz-filter: brightness(0.7); -o-filter: brightness(0.7); -ms-filter: brightness(0.7); filter: brightness(0.7); } } } /*================== TopPage ==================*/ #main { .contentsArea { background: #a0caec; padding-bottom: 46px; margin-bottom: 20px; margin-top: 0; } .contents{ &__siteTitle { padding: 20px 20px 0; position: relative; z-index: 9; img { width: 60%; margin: auto; max-width: 200px; } } &__mainVisual { position: relative; width: 68%; max-width: 480px; min-width: 220px; border-radius: 100%; overflow: hidden; margin: -10px auto 50px; background: @white; z-index: 8; img { padding: 8px; border-radius: 100%; } &__yakata { width: 30%; margin: 0 auto; max-width: 200px; } } &__illustLists { position: absolute; top: 0; left: 0; height: 100%; width: 100%; max-height: 100vh; } &__illustList { width: 44%; position: absolute; max-width: 180px; &.fushime { right: 64%; top: 50px; } &.mijo { left: 68%; top: 50px; } &.jijo { right: 66%; top: 85vw; } &.izonsho { left: 64%; top: 85vw; } } &__textLists { position: relative; z-index: 2; width: 87%; margin: 0 0 40px auto; color: @color; line-height: 2em; list-style: outside; } &__textList br { display: none; } &__siteCatchPhrase { width: 100%; position: relative; img { width: 300px; margin: auto; } } } } .nav1 { display: none; } #about { .contentsArea { background: url("@{imgURL}sora.jpg") no-repeat; background-position: center -5px; background-size: auto 110%; padding: 50px 25px 70px; } .contents { &__header { color: @white; font-size: 1.5em; text-align: center; margin-bottom: 1.8em; } &__textArea p { text-shadow: 0px 0px 1px @white; line-height: 1.8em; br { display: none; } } &__movie { max-width: 640px; margin: 50px auto 0px auto; .contents__youtube { position: relative; width: 100%; padding-top: 56.25%; iframe{ position: absolute; top: 0; left: 0; width: 100% !important; height: 100% !important; } } } } } .nav2 { display: none; } #life { .contentsArea { padding: 16px 0; background: @theme-light; } .contents { &__linkItemWrap { position: relative; &>a { display: block; position: relative; z-index: 2; } } &__headerWrap { position: relative; z-index: 2; padding: 18px 10px; } &__linkItem { margin: 2vw 2%; width: 46%; height: 38vw; overflow: hidden; border-radius: 7px; box-shadow: 3px 3px 3px #777; &:first-child { border-top-left-radius: 0; box-shadow: none; } &:first-child:after { content: ""; display: block; border: solid 25px @theme-color; position: absolute; top: 0px; left: 0; z-index: 3; border-bottom-color: transparent; border-right-color: transparent; } &__mat { position: absolute; z-index: 1; top: 0; left: 0; } &__linkText { bottom: -2px; padding: 3px 0 6px; background: @white; color: @color; } &__image img { filter: none; } } } } #yoboku { .contentsArea { padding: 20px 10px; background: @white; } .contents { &__header { display: block; width: 55%; margin-left: 0; background: @white; position: relative; z-index: 2; &>img { width: 90%; max-width: 240px; } } &__headerWrap { margin: 0 auto 20px; width: 88%; position: relative; .dash { display: block; width: 100%; margin: 0 auto; position: absolute; top: 50%; left: 0; z-index: 1; } } &__image { overflow: hidden; margin-bottom: 20px; &>img { width: 100%; margin: -20px 0; } } &__second { width: 88%; max-width: 500px; margin: 0 auto; } } } #review { .contentsArea { background: @theme-light; } .contents { &__imageArea { margin-bottom: 20px; } &__images { width: 100%; display: table; } &__image { display: table-cell; vertical-align: top; border-left: solid 1px transparent; &:first-child { border: none; } img { width: 100%; } } &__header { color: @theme-shadow; } &__reviews { padding: 20px 10px; } &___review { background: @white; width: 100%; max-width: 500px; padding: 10px 30px; margin: 0 auto 20px; border-radius: 6px; &:last-child { margin-bottom: 0; } &>hr { display: none; } } } .contents__shuyoka-shiki { padding: 20px 10px; max-width: 500px; margin: auto; } } #language { .contentsArea { background: @white; padding: 20px 10px; } .contents { &__header { color: @theme-shadow; display: block; text-align: left; width: 60%; max-width: 200px; background: @white; position: relative; z-index: 2; margin-left: 0; } &__headerWrap { margin: 0 auto 20px; width: 88%; position: relative; .dash { display: block; width: 100%; margin: 0 auto; position: absolute; top: 50%; left: 0; z-index: 1; } } &__image { overflow: hidden; margin-bottom: 20px; &>img { width: 100%; margin: -10px 0; } } &__second { width: 88%; max-width: 500px; margin: 20px auto; } &__third { width: 88%; max-width: 500px; margin: 20px auto; } &__subHeading:before { content: "▲"; transform: rotate(90deg); display: inline-block; margin-right: 10px; font-size: 0.8em; } &__contactLang { margin: 8px 0 8px 20px; font-size: 0.9em; dd { margin-left: 1em; } } } } #apply { .contentsArea { background: @white; padding: 20px 10px; margin-bottom: 0; } .contents { width: 88%; margin: 0 auto; max-width: 500px; &__header { max-width: 180px; margin-bottom: 1em; width: 60%; } } } #apply ,#contact { .contents__header { &:before,&:after { content: ""; display: block; width: 100%; height: 2px; margin: 4px 0; background-image: gradient(left, @white 0%, @theme-shadow 50%, @white); background: -webkit-gradient(linear, left top, right bottom, from(@white),color-stop(0.5, @theme-shadow), to(@white)); background-image: -moz-linear-gradient(left, @white 0%, @theme-shadow 50%, @white); } } } #contact { .contentsArea { padding: 20px 10px; margin: 0 auto; background: @white; } .contents { width: 88%; margin: 0 auto; max-width: 500px; &__header { max-width: 200px;/*180px;*/ margin-bottom: 1em; width: 60%; } &__infoArea { width: 110%; margin-left: -5%; margin-top: 1em; background: @theme-light; padding: 14px 52px; border-radius: 7px; } &__info { &__title>h3:before { content: "▲"; transform: rotate(90deg); display: inline-block; margin-left: -1.5em; margin-right: 0.5em; font-size: 0.8em; } &__subTitle.circle:before { content: "◯"; } &__data { margin-bottom: 0.4em; &__indent{ padding-left: 1em; } &__hosoku { padding-left: 1em; text-indent: -1em; } } } } } .dash { border: transparent; border-top: dashed 2px @theme-shadow; margin: 20px auto; &.short { width: 88%; } } #map { .contentsArea { padding: 20px 10px; background: url("@{imgURL}yakata.png") @theme-light no-repeat; background-size: 35%; background-position-y: 10px; background-position-x: 5%; } .contents { &__header { color: @theme-shadow; margin: 0 auto 0.5em; } &__mapArea { position: relative; width: 100%; height: 100vw; max-height: 400px; iframe { width: 100%; height: 100%; position: absolute; top: 0; left: 0; } } } } /**** パンくず ****/ .topPage .breadcrumbsArea { display: none; } /*================== TopPage END ==================*/ /*================== DefaultPage ====================*/ .defaultPage { .contentsArea { max-width: @max-width - 50px; background: @white; padding: 20px; position: relative; &:first-child { margin-top: 0; } &:after { content: ""; border: solid 1.2em @theme-color; position: absolute; top: 0; left: 0; border-bottom-color: transparent; border-right-color: transparent; z-index: 9; } } .contents { &__headerWrap { position: relative; margin-bottom: 1.4em; .dash { position: absolute; top: -0.5em; left: 0; z-index: 1; width: 100%; } } &__header { margin-left: 0; text-align: left; padding: 0 10px 0 0; min-width: 100px; background: @white; position: relative; z-index: 2; max-width: 100%; display: inline-block; width: auto; font-size: 1.3em; color: @theme-shadow; } &__imageArea { overflow: hidden; width: 108%; margin: 1.4em -4%; /*&>img { margin: -20px 0; }*/ } &__textArea { &__ikoiLink { line-height: 1.24em; } } } #gyoji { .contents { &__imageArea { &>img { display: none; &:nth-of-type(2) { display: block; } } } &__subHeader { position: relative; margin-bottom: 0.1em; z-index: 1; &:before { display: block; content: ""; border: solid 0.8em @theme-light; border-bottom-color: transparent; border-right-color: transparent; position: absolute; top: 0; left: 0; z-index: -1; } } &__textArea>p { width: 88%; margin: 0 0 2em auto; } } } } /*================== DefaultPage END ==================*/ /*================== ShikiPage ====================*/ .shiki { .contentsAreaWrap { max-width: @max-width; margin-left: auto; margin-right: auto; } .contentsArea { background: @theme-light; padding: 5%; } .contents{ &__heading { max-width: 220px; display: block; width: 100%; } &__subHeading { font-size: 1.5em; line-height: 1.3em; } &__subText { font-size: 1.1em; text-align: right; } } } .container { h3 { margin: 1.4em 0; font-size: 1.36em; } p { text-indent: 1em; margin-bottom: 0.6em; } } /*================== ShikiPage END ==================*/ /**** footerNav ****/ .footerNav { background: @theme-light; padding: 20px; &__lists { width: 100%; max-width: 1000px; margin: 0 auto; letter-spacing: -0.4em; * { letter-spacing: 0; } } &__list { display: inline-block; width: 50%; padding: 4px 1%; img { margin: auto; } } } /**** SNS ****/ &.active{ &.snsArea-wrap{ height: @iconSize*3; transition: height 0.2s linear 0s; } .snsArea{ background: @theme-color; border-radius: 7px; &__lists{ display: block; } &-wrap{ background: @theme-color; height: auto; } &__share{ background-image: url("@{imgURL}sns-close.svg"); background-size: @iconSize - 18px; } } } .snsArea{ &__lists{ display: none; } &-wrap{ border-radius: 7px; bottom: 18px; display: block; left: 10px; height: @iconSize; overflow: hidden; position: fixed; width: @iconSize; transition: height 0.1s linear 0s; z-index: 8; } &__share{ background: url("@{imgURL}share.svg") no-repeat @theme-color; background-size: @iconSize - 4px; background-position: center; border-radius: 7px; height: @iconSize; width: @iconSize; display: block; } &__list{ &__linkArea { display: block; &__icon{ display: block; height: 40px; width: 40px; background-size: 28px; background-position: center; background-repeat: no-repeat; &.facebook { background-image: url("@{imgURL}facebook.png"); } &.twitter { background-image: url("@{imgURL}twitter.png"); } } } } } /**** footer ****/ .footer { background: @color; width: 100%; position: relative; z-index: 9; &Inner { width: 100%; background: @color; } &__tenrikyo { background: @color; &Logo { padding: 10px; img { width: 145px; margin: auto; display: block; } } } &__navArea { color: @white; margin: 10px 0; } &__nav { &__lists { width: auto; margin: auto; display: table; } &__list { border-left: solid 2px @white; display: table-cell; padding: 0 1em; &:last-child { border-right: solid 2px @white; } &>a { color: @bgColor; text-decoration: none; } } } &__copyright { color: @white; font-size: 10px; text-align: center; } } @media all and(max-width:350px){ /* width350px以下(iphone5sなど) */ .contents__linkItem__linkText { font-size: 0.86em; &:after { margin-left: 0em; } } #life { .contents__caption { margin: 0 auto; } .contents__headerWrap { padding: 10px; } } #contact { .contents__infoArea { padding: 14px 14px 14px 32px; } } } @media all and(min-width:481px){ body { font-size: @font-size_tab; line-height: @line-height_tab; } /**** nav ****/ .mobileNav { &__list { width: 31.33%; &:nth-child(3n+1) { margin-left: 0; margin-right: 1.5%; } &:nth-child(3n+2) { margin-left: 1.5%; margin-right: 1.5%; } &:nth-child(3n) { margin-left: 1.5%; margin-right: 0; } } } .menuButton { width: 40px; height: 38px; } /**** contents ****/ .contents { &__textArea { max-width: 500px; width: 70%; margin: auto; } &__header { max-width: 240px; } &__linkButton { width: 280px; padding: 14px 18px; &.ikoi { margin: 6px 0; display: inline-block; vertical-align: middle; } } } /*================== TopPage ==================*/ /**** main ****/ #main { .contents { &__illustList { max-width: 220px; &.fushime { top: 15vw; } &.mijo { top: 15vw; } &.jijo { top: 76vw; } &.izonsho { top: 76vw; } } &__siteTitle img { max-width: 340px; } &__textLists { font-size: 3vw; margin: 0 16vw 40px; width: auto; } &__siteCatchPhrase img { width: 80%; } } } /**** about ****/ #about { .contents__textArea { max-width: 500px; width: 70%; margin: auto; p { line-height: 1.9em; } } } /**** life ****/ #life { .contents { &__headerWrap { padding: 8vw 4vw; } &__linkItem { &:first-child:after { border-width: 6vw; } &__linkText { padding: 10px 0 16px; } } } } /*================== TopPage END ==================*/ /*================== DefaultPage ==================*/ .defaultPage { .contentsArea { width: 90%; max-width: 600px; padding: 40px; box-shadow: 2px 2px 5px #777; &:after { border-width: 1.6em; } } .contents { &__textArea { max-width: 600px; width: 100%; } &__imageArea { width: 104%; margin: 1.4em -2%; } &__header { font-size: 1.5em; min-width: 140px; } &__headerWrap .dash { top: -0.2em; } } } /*================== DefaultPage END==================*/ /**** footerNav ****/ .footerNav { &__list { width: 33.33%; } } } @media all and(min-width:769px){ body { min-width: @min-width_pc; font-size: @font-size_pc; } /**** header ****/ .header__tenrikyoLogo { max-width: @max-width; margin: 0 auto; } /**** nav ****/ .navArea { display: none; } /**** main ****/ .mainInner { padding-bottom: 60px; } /**** contents ****/ .contents { max-width: @max-width; margin: 0 auto; &__linkItem { width: 25%; border: solid 1px #777; border-right: none; &:last-child { border-right: solid 1px #777; } } &__linkButton { width: 240px; padding: 6px 10px; &__triangleArea { display: none; } } } .dash.short { width: 100%; } /*================== TopPage ==================*/ /**** main ****/ #main { .contentsArea { margin-bottom: 0; position: relative; z-index: 9; } .contents { &__siteTitle { padding-top: 40px; } &__mainVisual { max-width: 420px; margin-bottom: 18px; } &__illustList { &.fushime { top: 210px; right: 66%; } &.mijo { top: 200px; left: 67%; } &.jijo { top: 430px; right: 67%; } &.izonsho { top: 430px; left: 66%; } &.fushime:after,&.mijo:after { display: block; content: ""; height: 2px; border-top: dashed 2px @color; position: relative; width: 116%; } &.fushime:after { right: 100px; top: 4px; } &.mijo:after { left: 60px; top: 14px; } } &__textLists { position: absolute; top: 0; left: 0; width: 100%; height: 100%; margin: 0; font-size: 0.94em; list-style: none; } &__textList { position: absolute; &.fushime { top: 300px; left: 20px; width: 140px; text-align: left; } &.mijo { top: 333px; right: 4px; width: 154px; text-align: right; } &.jijo { top: 470px; left: 20px; width: 140px; text-align: left; } &.izonsho { top: 470px; right: 14px; width: 150px; text-align: right; } br { display: block; } } &__siteCatchPhrase img { max-width: 400px; } } } /**** nav1・nav2 ****/ .nav1,.nav2 { display: block; background: @white; box-shadow: 0px 1px 2px #777; position: relative; z-index: 8; &__lists { display: table; margin: 0 auto; padding: 8px 0; } &__list { display: table-cell; font-size: 1.06em; border-left: solid 2px @theme-shadow; &>a { color: @theme-color; letter-spacing: 0.5em; text-align: center; text-decoration: none; padding: 0 31px 0 40px; } &:last-child { border-right: solid 2px @theme-shadow; } } &.fixed { width: 100%; min-width: @min-width_pc; position: fixed; left: 0; background: rgba(255,255,255,0.96); z-index: 10; } } .nav1.fixed { top: 0; } .nav2.fixed { bottom: 0; } /**** about ****/ #about { .contentsArea { margin: 0 auto; position: relative; z-index: 7; background-size: cover; background-position: center; } .contents__textArea { max-width: 600px; p { line-height: 2em; text-align: center; br { display: block; } } } } /**** nav2 ****/ .nav2 { z-index: 6; &__list>a { letter-spacing: 0; padding: 0 30px; } } /**** Lessons ****/ #lessons { &.contentsAreaWrap { margin-top: 0px; } .contentsArea { margin: 0px auto 50px; } } /**** practice ****/ #practice { .contents { &__linkItems { width: 50%; margin: 0 auto; } &__linkItem { width: 50%; } } } /**** life ****/ #life { .contentsArea { padding: 40px 0 20px; } .contents { &__linkItem { width: 23%; height: 188px; margin: 0 1%; border: none; &:first-child:after { border-width: 30px; } } &__headerWrap { padding: 1em; } } } /**** yoboku ****/ #yoboku { .contentsArea { max-width: @max-width; padding: 20px; box-shadow: 2px 2px 5px @color; } .contents { &__first { display: table-cell; width: 50%; } &__second { display: table-cell; width: 50%; padding: 0 0 0 24px; vertical-align: top; } &__linkButton { position: absolute; top: 180px; left: 10px; margin: 0; } &__image { margin: 0; } &__headerWrap { width: 100%; } } .dash.short { display: none; } } /**** review ****/ #review { .contentsArea { background-image: url("@{imgURL}review.png") ; background-repeat: no-repeat; background-size: 1200px 700px; background-position: center top; } .contents { padding: 20px; &__imageArea { display: none; } &__header { display: table-cell; width: 20%; text-shadow: 1px 1px 0 @white; } &__reviews { display: table-cell; max-width: 100%; margin: 0; width: 70%; padding-right: 120px; padding-left: 40px; } &___review { margin: 0 0 1em; max-width: 100%; background: none; padding: 0; border-radius: 0; &>hr { display: block; } } } /**** shiki ****/ .contents__shuyoka-shiki { max-width: @max-width; .container { width: 70%; margin: 0 0 0 auto; } &.shiki { padding-right: 120px; } .contents { padding-top: 0; } } } /**** language ****/ #language { .contentsArea { max-width: @max-width; padding: 20px; box-shadow: 2px 2px 5px @color; } .contents { &__first { display: table-cell; width: 54%; } &__second { display: table-cell; width: 46%; padding: 0 12px 0 24px; } &__headerWrap { width: 100%; } &__header { width: 46%; } &__third { width: 100%; max-width: 100%; } &__contactLang { -webkit-column-count: 2; -moz-column-count: 2; column-count: 2; -webkit-column-rule: solid #777 2px; -moz-column-rule: solid #777 2px; column-rule: solid #777 2px; font-size: 1em; margin: 8px 20px; width: auto; } } .dash.short:last-child { display: none; } } .otherContents { max-width: @max-width; margin: 0px auto 60px; } /**** apply ****/ #apply { .contentsArea { width: 49%; float: left; box-shadow: 2px 2px 5px @color; margin: 0 0 20px; padding: 22px 22px 30px; } .contents { width: 96%; } } /**** contact ****/ #contact { .contentsArea { width: 49%; float: right; box-shadow: 2px 2px 5px @color; padding: 22px; } .contents { width: 96%; &__infoArea { width: 100%; margin: 24px 0 0; background: none; padding: 0 0 0 24px;/*24px 0 0 24px;*/ border-radius: 0; /*border-top: dashed 2px @theme-shadow;*/ } } } /**** map ****/ #map { .contentsArea { width: 49%; float: left; box-shadow: 2px 2px 5px @color; padding: 22px; margin: 0; } .contents__mapArea { max-height: 429px; } } /*================== TopPage END ==================*/ /*================== DefaultPage ==================*/ .defaultPage { &.navArea { display: block; &__topFixed { max-width: @max-width; margin: 0 auto; } } .home { display: block; &__link { color: @theme-shadow; background: none; box-shadow: none; border-radius: 0; font-size: 1.4em; font-weight: normal; padding: 0; } } .menuButton { display: none; } .pcNav { display: block; float: right; padding: 0; &__lists { display: table; } &__list { display: table-cell; letter-spacing: 0.5em; text-align: center; border-left: solid 2px @theme-shadow; padding: 0 20px 0 36px; &:last-child { border-right: solid 2px @theme-shadow; } &>a { padding: 0 10px 0 2px; text-decoration: none; color: @theme-shadow; font-size: 1.3em; } } } .contentsArea { width: 100%; max-width: @max-width - 50px; } .contents { &__headerWrap { width: 47%; float: left; } &__imageArea { width: 50%; margin: 1em 0 0 2%; float: right; img { margin: 0; } } &__textArea { width: 73%; margin-left: 0; max-width: 100%; .dash { display: none; } } } #gyoji { .contents { &__imageArea > img { display: block; margin-bottom: 4em; &:last-child { margin-bottom: 0; } } &__subHeader:before { display: none; } &__textArea > p { width: 92%; } } } } /*================== DefaultPage END ==================*/ /*================== ShikiPage ==================*/ .shiki{ .contentsAreaWrap { padding-left: 1em; padding-right: 1em; } .contentsArea { padding-top: 2em; } .contents { &__headingArea { display: table; width: 100%; } &__heading { display: table-cell; width: 30%; vertical-align: bottom; } &__subHeadingWrap { display: table-cell; vertical-align: bottom; width: 70%; position: relative; } &__subHeading { font-size: 2.2em; text-align: right; margin-bottom: 10px; } &__subText { margin-bottom: 1.4em; } } } /*================== ShikiPage END ==================*/ /**** SNS ****/ .snsArea{ display: block; &-wrap { background: @theme-color; border-radius: 10px; border-top-left-radius: inherit; border-bottom-left-radius: inherit; height: 80px; bottom: 70px; left: 0; padding: 0; z-index: 10; } &__share { display: none; } &__lists { display: block; text-align: center; } } /**** footerNav ****/ .footerNav { &__list { width: 20%; } } /**** footer ****/ .topPage { .footer { padding-bottom: 3em; } } } /*IE needs CSS*/ @media all and (-ms-high-contrast:none){ /**** hoverAction ****/ a:hover img{ opacity: 1; transition: all 0.3s linear; } #life .contents__linkItemWrap > a:hover { opacity: 0.76; transition: all 0.3s linear; } /**** Contents ****/ .contents__linkItem__image { background: #000; >img{ opacity: 0.76; } } #life .contents__linkItem__image { >img { opacity: 1; } } } /*追加*/ .kakomi{ margin:20px 0 20px -1em; padding:15px; border:1px solid #333; } .small_hosoku{ font-size:80%; } .banner_ws{ margin:20px 0 25px; } @media all and (min-width: 769px) { .banner_ws{ width:65%; } } .wp-pagenavi { text-align: center; } .shiki__archive{ margin: 0 auto; max-width: 80%; width: 300px; }