/* Scss Document */ $color:#a08f1a; //サイトで良く使う色 $text:#525252; //基本的なテキストの色 //hoverアニメーションを使いたい場合に使用 //呼び出し方法(cssに指定) → @include ani; @mixin ani { transition: 0.3s ease-in-out; } //display:flex;を使用した場合等に使用(widthが30%から70%まで)画面幅が740pxで100%に変わる //呼び出し方法(htmlに指定) → .flex_30 ~ .flex_70 @for $i from 30 through 70 { .flex_#{$i} { width: 1% * $i; } } //padding-topとpadding-bottom(タブレットで全て80px、スマホで全て60px)←変更可能 //呼び出し方法(htmlに指定) → .padding100 ~ .padding300 $p: 100; @while $p < 310{ .padding#{$p}{ padding-top: $p + px; padding-bottom: $p + px; } $p: $p + 10; } //margin-topとmargin-bottom(タブレットで全て80px、スマホで全て60px)←変更可能 //呼び出し方法(htmlに指定) → .margin100 ~ .margin300 $m: 100; @while $m < 310{ .margin#{$m}{ margin-top: $m + px; margin-bottom: $m + px; } $m: $m + 10; } //padding-top(タブレットで全て80px、スマホで全て60px)←変更可能 //呼び出し方法(htmlに指定) → .pt-120 ~ .pt-300 $pt: 110; @while $pt < 310{ .pt-#{$pt}{ padding-top: $pt + px; } $pt: $pt + 10; } //padding-bottom(タブレットで全て80px、スマホで全て60px)←変更可能 //呼び出し方法(htmlに指定) → .pb-120 ~ .pb-300 $pb: 110; @while $pb < 310{ .pb-#{$pb}{ padding-bottom: $pb + px; } $pb: $pb + 10; } //margin-top(タブレットで全て80px、スマホで全て60px)←変更可能 //呼び出し方法(htmlに指定) → .mt-120 ~ .mt-300 $mt: 110; @while $mt < 310{ .mt-#{$mt}{ margin-top: $mt + px; } $mt: $mt + 10; } //margin-bottom(タブレットで全て80px、スマホで全て60px)←変更可能 //呼び出し方法(htmlに指定) → .mb-120 ~ .mb-300 $mb: 110; @while $mb < 310{ .mb-#{$mb}{ margin-bottom: $mb + px; } $mb: $mb + 10; } * { text-decoration: none !important; } .img100{ width: 100%; height: auto; } a{ transition: 0.3s ease-in-out; } a:hover{ opacity: 0.8; } .wrap{ flex-wrap: wrap; } .flex_center{ justify-content: center; } .mincho{ font-family: "notoserif"; } /** index **/ .itop1{ padding: 10px; } .itopleft ul li:nth-child(1){ width: 230px; } .itopleft ul li:nth-child(2){ width: 330px; padding-left: 15px; } .itopleft ul li img{ width: 100%; height: auto; } .itopright{ padding-right: 70px; } .itopright ul li:nth-child(2){ padding-left: 15px; } .itopright ul li img{ width: auto; height: 90px; } .flexslider{ position: relative; width: 100%; height: 86vh; } #fade1{ background-image: url(../images/fade1.jpg); background-size: cover; background-position: 50% 0; width: 100%; height: 86vh; } #fade2{ background-image: url(../images/fade2.jpg); background-size: cover; background-position: 50% 0; width: 100%; height: 86vh; } #fade1 img{ position: absolute; bottom: 8vw; left: 5vw; width: 28vw; height: auto; } #fade2 img{ position: absolute; bottom: 12vw; left: 6vw; width: 35vw; height: auto; } .i1{ position: relative; background: -moz-linear-gradient(top, #fff, #f7ecef); background: -webkit-linear-gradient(top, #fff, #f7ecef); background: linear-gradient(to bottom, #fff, #f7ecef); } .ikaza1{ position: absolute; top: 100px; left: 0; width: 30vw; height: auto; } .ikaza2{ position: absolute; top: 80px; right: 0; width: 25vw; height: auto; } .ikazasiro1{ position: absolute; bottom: 250px; left: 0; width: 20vw; height: auto; } .ikazasiro2{ position: absolute; bottom: 700px; right: 0; width: 15vw; height: auto; } .ikazasiro3{ position: absolute; bottom: 60px; right: 30vw; width: 15vw; height: auto; } .midashi30{ position: relative; font-size: 30px; font-family: "notoserif"; } .midashi40{ position: relative; font-size: 40px; font-family: "notoserif"; } .i1text{ position: relative; line-height: 2.4; } .i1text span{ font-size: 20px; } .imore a{ position: relative; display: block; margin: 0 auto; width: 250px; padding: 10px; text-align: center; background-color: #a3823b; color: #fff; font-family: "notoserif" } .imore a .imore2{ position: relative; left: 0; transition: 0.3s ease-in-out; } .imore a .imore3{ position: absolute; top: 11px; right: 80px; opacity: 0; transition: 0.3s ease-in-out; } .imore a:hover .imore2{ left: -10px; } .imore a:hover .imore3{ opacity: 1; } .i2{ position: relative; } .i2midashi{ text-align: center; font-family: "notoserif"; } .oud{ color: #a3823b; } .i2text{ line-height: 2.1; } .i2text span{ font-size: 20px; } .i21 ul li{ } .i21 ul li:nth-child(3){ width: 100%; display: block; margin: 0 auto; margin-top: -120px; margin-bottom: -120px; } .i2en{ background-color: #ffd8e4; width: 480px; height: 480px; border-radius: 50%; padding: 100px 4vw 0; } .i21 ul li:nth-child(3) .i2en{ display: block; margin: 0 auto; } .ih3{ text-align: center; } .ieng{ font-size: 14px; } .midashi24{ font-size: 24px; font-family: "notoserif"; } .midashi20{ font-size: 20px; font-family: "notoserif"; } .i3left img{ width: 100%; height: auto; } .pink{ color: #e292bc; } .i4back{ background-image: url(../images/igazou2.jpg); background-attachment: fixed; background-size: cover; background-position: 50% 0; width: 100%; height: 700px; } .i5{ background-image: url(../images/iback1.jpg); background-size: cover; background-position: 50% 0; width: 100%; } .i6border{ border: 1px solid #e292bc; padding: 80px 4%; } .i6left{ width: calc(100% - 440px); padding-right: 4%; } .i6right{ width: 440px; } .i6gazou{ position: relative; } .i6gazou img{ position: absolute; } .i7{ background-color: #6e615e; text-align: center; } .oud2{ color: #dabb79; line-height: 2.2; } .container800{ max-width: 800px; width: 94%; display: block; margin: 0 auto; } .i8{ padding: 0 4%; } .i8left iframe{ width: 100%; height: 560px } .flex_start{ justify-content: flex-start; } .i8table ul{ padding: 8px 15px; } .i8table ul li:nth-child(1){ width: 90px; } .itop a{ display: block; background-color: #fed8e3; padding: 15px 0; text-align: center; } .iflogo img{ width: 240px; height: auto; } .ifwhite img{ width: 360px; height: auto; } .ifright li{ padding: 0 10px; } .ifright img{ height: 70px; width: auto; } .junbi{ display: flex; align-items: center; justify-content: center; width: 100%; height: 100vh; font-size: 30px; } .ispfix{ display: none; } /** whitening **/ .topimg{ position: relative; background-size: cover; background-position: 50% 0; width: 100%; height: 480px; p{ padding-top: 200px; padding-left: 5vw; } img{ position: absolute; top: 260px; left: 30vw; height: 60px; width: auto; } } .wtopgazou{ background-image: url(../images/wtopgazou.jpg); } .w1{ background: linear-gradient(to bottom, #fff, #f7ecef); } .rela{ position: relative; } .rela99{ position: relative; z-index: 99; } .racep{ position: absolute; top: 60px; left: 40px; width: 28vw; height: auto; } .racew{ position: absolute; top: 200px; right: 40px; width: 28vw; height: auto; } .line1{ line-height: 1.6; } .block{ display: block; } .w12left{ background-image: url(../images/wback1.png); position: relative; background-size: cover; background-position: 50% 0; padding: 90px 4%; } .w12right{ background-image: url(../images/wback1.png); position: relative; background-size: cover; background-position: 50% 0; padding: 90px 4%; } .lh2{ line-height: 2.4; } .wst{ background-image: url(../images/wst.png); background-size: cover; background-position: 50% 0; } .order2_1 div:nth-child(1){ order: 2; } .order2_1 div:nth-child(2){ order: 1; } .woffice{ position: absolute; bottom: 0; right: -100px; height: 50px; width: auto; } .whome{ position: absolute; bottom: 0; left: -100px; height: 50px; width: auto; } .w3 ul li{ width: 50%; padding: 2%; } .w31{ img{ width: 100%; height: auto; } } .w31midashi{ background-color: #e292bc; color: #fff; padding: 10px 20px; img{ height: 30px; width: auto; margin-right: 20px; } } .a_start{ align-items: flex-start; } .wgara{ background-image: url(../images/wgara.jpg); background-size: contain; background-repeat: repeat; background-position: 50% 0; } .wgara2 ul li{ position: relative; width: 25%; padding: 20px 35px; img{ width: 100%; height: auto; } } .wyaji{ position: absolute; top: 10vw; right: -18px; width: 35px!important; height: auto; } .wnone4{ display: none; } .wnone8{ display: none; } .wgarah3 span{ position: relative; top: -2px; background-color: #a3823b; color: #fff; border-radius: 50%; width: 10px; height: 10px; padding: 5px 9px 5px 10px; font-size: 13px; } .wback2{ background-color: #6e615e; } .backw{ background-color: #fff; } .wback21{ padding: 60px 6%; } .wback22 ul{ position: relative; border-top: 1px solid #e292bc; padding: 20px 40px; } .wback22 ul li:nth-child(1){ width:calc(100% - 120px); } .wback22 ul li:nth-child(2){ width:100px; } .wback22 ul:last-child{ border-bottom: 1px solid #e292bc; } .wback23 ul{ position: relative; border-top: 1px solid #e292bc; padding: 20px 40px; } .wback23 ul:last-child{ border-bottom: 1px solid #e292bc; } .wfuki{ position: absolute; top: 20px; left: -130px; width: 130px; height: auto; } .serif{ font-family: "notoserif"; } .a_center{ align-items: center; } .wfeegazou{ position: relative; right: -150px; img{ height: 85px; width: auto; } } .wback3{ background-image: url(../images/wback3.jpg); background-size: cover; background-position: 50% 0; li{ width: 25%; padding: 0 5px; } img{ width: 100%; height: auto; } } .wnaname{ background-image: url(../images/wnaname.jpg); background-size: cover; background-position: 50% 0; } .wyoyaku a{ background-color: #e292bc; color: #fff; padding: 20px; text-align: center; display: block; margin: 0 auto; margin-top: 40px; max-width: 800px; width: 100%; transition: 0.3s ease-in-out; img{ position: relative; top: -3px; width: 40px; height: auto; } } .wyoyaku a:hover{ background-color: #eb52a2; opacity: 1; } /************************/ /* PC用 ------------------------------------------------------------*/ @media only screen and (max-width: 1680px) { .i21 ul li:nth-child(3) { width: 100%; display: block; margin: 0 auto; margin-top: -60px; margin-bottom: -60px; } } @media only screen and (max-width: 1500px) { .i6border{ border: 1px solid #e292bc; padding: 80px 4% 0; } .i6left{ width: calc(100% - 440px); padding-right: 4%; } .i6right{ width: 440px; } .i6gazou{ position: relative; } .i6gazou img{ position: static; } .wfuki { position: absolute; top: 20px; left: -60px; width: 130px; height: auto; } .wback22 ul { position: relative; border-top: 1px solid #e292bc; padding: 20px 40px 20px 80px; } } @media only screen and (max-width: 1200px) { .i2en{ background-color: #ffd8e4; width: 100%; height: auto; border-radius: 0; padding: 40px 3%; } .i21 ul li { width: 100%; display: block; margin: 10px auto; } .i21 ul li:nth-child(3) { width: 100%; display: block; margin: 10px auto; } .midashi24{ font-size: 18px; } .midashi20{ font-size: 16px; } .ifleft{ width: 100%; text-align: center; } .ifright{ width: 100%; margin-top: 40px; } .if1 ul{ justify-content: center; } .woffice { position: absolute; top: 22vw; bottom: auto; right: 0; height: 50px; width: auto; } .whome { position: absolute; top: 22vw; bottom: auto; left: 0; height: 50px; width: auto; } .wgara2 ul li{ position: relative; width: 33.333%; padding: 20px 35px; img{ width: 100%; height: auto; } } .wnone3{ display: none; } .wnone6{ display: none; } .wnone4{ display: block; } .f_start{ justify-content: flex-start; } .wfeegazou { position: static; } .wback3 li { width: 50%; padding: 2%; } } @media only screen and (max-width: 1024px) { $p: 100; @while $p < 310{ .padding#{$p}{ padding-top: 80px; padding-bottom: 80px; } $p: $p + 10; } $m: 100; @while $m < 310{ .margin#{$m}{ margin-top: 80px; margin-bottom: 80px; } $m: $m + 10; } $pt: 120; @while $pt < 310{ .pt-#{$pt}{ padding-top: 80px; } $pt: $pt + 10; } $pb: 120; @while $pb < 310{ .pb-#{$pb}{ padding-bottom: 80px; } $pb: $pb + 10; } $mt: 120; @while $mt < 310{ .mt-#{$mt}{ margin-top: 80px; } $mt: $mt + 10; } $mb: 120; @while $mb < 310{ .mb-#{$mb}{ margin-bottom: 80px; } $mb: $mb + 10; } /******************/ .itop1{ padding: 20px 10px; } .itopleft ul{ display: flex; justify-content: flex-start; } .itopleft ul li:nth-child(1){ width: 150px; } .itopleft ul li:nth-child(2){ width: 200px; padding-left: 15px; } .itopleft ul li img{ width: 100%; height: auto; } .itopright{ display: none; } .itopright ul li:nth-child(2){ padding-left: 15px; } .itopright ul li img{ width: auto; height: 90px; } .i4back{ background-image: url(../images/igazou2.jpg); background-attachment: fixed; background-size: cover; background-position: 50% 0; width: 100%; height: 500px; } .i6border{ border: 1px solid #e292bc; padding: 40px 3%; } .i6left{ width: 100%; padding-right: 0; margin-top: 20px; } .i6right{ width: 80%; display: block; margin: 0 auto; } .i6border ul{ display: flex!important; flex-direction: column-reverse!important; } .wgara2 ul li{ position: relative; width: 50%; padding: 2%; img{ width: 100%; height: auto; } } .wyaji{ display: none; } } @media only screen and (max-width: 740px) { @for $i from 30 through 70 { .flex_#{$i} { width: 100%; } } $p: 100; @while $p < 310{ .padding#{$p}{ padding-top: 60px; padding-bottom: 60px; } $p: $p + 10; } $m: 100; @while $m < 310{ .margin#{$m}{ margin-top: 60px; margin-bottom: 60px; } $m: $m + 10; } $pt: 110; @while $pt < 310{ .pt-#{$pt}{ padding-top: 60px; } $pt: $pt + 10; } $pb: 110; @while $pb < 300{ .pb-#{$pb}{ padding-bottom: 60px; } $pb: $pb + 10; } $mt: 110; @while $mt < 310{ .mt-#{$mt}{ margin-top: 60px; } $mt: $mt + 10; } $mb: 110; @while $mb < 310{ .mb-#{$mb}{ margin-bottom: 60px; } $mb: $mb + 10; } /*****************/ .itop1{ padding: 15px 5px; } .itopleft ul{ display: flex; justify-content: flex-start; } .itopleft ul li:nth-child(1){ width: 120px; } .itopleft ul li:nth-child(2){ /*width: 150px; padding-left: 15px;*/ width:180px; padding-left: 5px; } .itopleft ul li img{ width: 100%; height: auto; } .itopright{ display: none; } .itopright ul li:nth-child(2){ padding-left: 15px; } .itopright ul li img{ width: auto; height: 90px; } .flexslider{ position: relative; width: 100%; height: 380px; } #fade1{ background-image: url(../images/fade1.jpg); background-size: cover; background-position: 65% 0; width: 100%; height: 380px; } #fade2{ background-image: url(../images/fade2.jpg); background-size: cover; background-position: 50% 0; width: 100%; height: 380px; } #fade1 img{ position: absolute; bottom: 20px; left: 20px; width: 240px; height: auto; padding: 20px; background-color: rgba(254,216,227,0.7) } #fade2 img{ position: absolute; bottom: 20px; left: 20px; width: 300px; height: auto; padding: 20px; background-color: rgba(254,216,227,0.7) } .midashi40{ font-size: 24px; } .midashi30{ font-size: 20px; } .i1text span,.i2text span { font-size: 16px; } .i2midashi img{ width: 130px; height: auto; } .i4back{ background-image: url(../images/igazou2.jpg); background-attachment:unset; background-size: cover; background-position: 50% 0; width: 100%; height: 280px; } .i8left iframe{ width: 100%; height: 300px } .i8right{ padding-top: 20px; } .ih2 img{ width: 20px; height: auto; margin-right: 5px; } .ifright{ text-align: center; margin-top: 20px; } .ifright img { height: auto; width: 220px; margin: 5px 0; } .iflogo img{ width: 200px; height: auto; } .ifwhite img{ width: 300px; height: auto; } .junbi{ display: flex; align-items: center; justify-content: center; width: 100%; height: 100vh; font-size: 24px; } .ifall{ padding-bottom: 13vw; } .ispfix{ display: flex; position: fixed; bottom: 0; left: 0; width: 100%; } .ispfix a{ display: block; width: 50%; img{ width: 100%; height: auto; } } .topimg{ position: relative; background-size: cover; background-position: 50% 0; width: 100%; height: 300px; p{ padding-top: 130px; padding-left: 5vw; } img{ position: absolute; top: 160px; left: 50vw; height: 30px; width: auto; } } .w12left{ background-image: url(../images/wback1.png); position: relative; background-size: cover; background-position: 50% 0; padding: 80px 4%; margin-top: -60px; } .w12right{ background-image: url(../images/wback1.png); position: relative; background-size: cover; background-position: 50% 0; padding: 100px 4% 60px; margin-top: -140px; } .woffice { position: absolute; top: auto; bottom: 0; right: 0; height: 50px; width: auto; } .whome { position: absolute; top: auto; bottom: 0; right: 0; left: auto; height: 50px; width: auto; } .order2_1 div:nth-child(1){ order: 1; } .order2_1 div:nth-child(2){ order: 2; } .w3 ul li { width: 100%; padding: 2%; } .wgara2 ul li{ position: relative; width: 100%; padding: 3%; img{ width: 100%; height: auto; } } .wback21 h3{ text-align: center; } .wback22 ul { position: relative; border-top: 1px solid #e292bc; padding: 20px 4%; } .wback22 ul li:nth-child(1){ width: 100%; } .wback22 ul li:nth-child(2){ width: 100%; padding-top: 20px; text-align: right; } .wfuki { position: static; top: auto; bottom: 0; left: 0; width: 100px; height: auto; display: block; margin: 0 auto; margin-bottom: 10px; } .wback23 ul { position: relative; border-top: 1px solid #e292bc; padding: 20px; } .wback23 ul li{ width: 100%; } .wfeegazou{ text-align: right; } .wfeegazou img { height: auto; width: 100%; } .wyoyaku a { background-color: #e292bc; color: #fff; padding: 10px; text-align: center; display: block; margin: 0 auto; margin-top: 20px; max-width: 800px; width: 100%; transition: 0.3s ease-in-out; } .wback3 li { width: 100%; padding: 2%; } } /* スマートフォン 縦(ポートレート) */ @media only screen and (max-width: 480px) { /*****************/ }