-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fc18957
commit 2d765ef
Showing
5 changed files
with
414 additions
and
1 deletion.
There are no files selected for viewing
File renamed without changes
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,268 @@ | ||
@charset "UTF-8"; | ||
|
||
.main { | ||
max-width: 1208px; | ||
/*1160+pad24+24*/ | ||
margin: 0 auto; | ||
} | ||
|
||
#nav-open { | ||
top: -144px; | ||
} | ||
|
||
.section-works1__top { | ||
padding: 0 24px; | ||
margin: 80px auto 120px auto; | ||
|
||
} | ||
|
||
.section-works1__title { | ||
width: 100%; | ||
margin: 0 auto; | ||
margin-bottom: 40px; | ||
text-align: left; | ||
flex-wrap: wrap; | ||
} | ||
|
||
.section-works1__title h1 { | ||
font-size: 2.2rem; | ||
line-height: 1.5; | ||
|
||
} | ||
|
||
.section-works1__title h2 { | ||
font-size: 1.8rem; | ||
line-height: 2.0rem; | ||
/* 100% */ | ||
padding-top: 10px; | ||
} | ||
|
||
.section-works1__title p { | ||
padding-top: 20px; | ||
line-height: 2.0rem; | ||
} | ||
|
||
.section-works1__image-body { | ||
width: 100%; | ||
height: 100%; | ||
margin: 0 auto; | ||
} | ||
|
||
.section-works1__image { | ||
display: block; | ||
width: 100%; | ||
height: 100%; | ||
object-fit: cover; | ||
object-position: 0% 0%; | ||
max-width: 500px; | ||
margin: 0 auto; | ||
} | ||
|
||
|
||
|
||
/*画面サイズ1060以上での指定*/ | ||
@media (min-width: 1060px) { | ||
.section-works1__top { | ||
display: flex; | ||
justify-content: center; | ||
padding: 0 150px; | ||
align-items: center; | ||
|
||
|
||
} | ||
|
||
.section-works1__title { | ||
width: 50%; | ||
margin: 0; | ||
display: block; | ||
|
||
} | ||
|
||
.section-works1__image-body { | ||
width: 50%; | ||
height: 100%; | ||
border-left: 1px solid #212427; | ||
margin: 0; | ||
} | ||
|
||
.section-works1__image { | ||
width: 80%; | ||
margin: 0 auto; | ||
display: block; | ||
} | ||
|
||
|
||
} | ||
|
||
|
||
|
||
.section-works1__poem { | ||
text-align: left; | ||
padding: 40px 24px 40px 24px; | ||
border-top: 2px dotted #030303; | ||
border-bottom: 2px dotted #030303; | ||
margin: 0 auto 120px auto; | ||
width: 80%; | ||
} | ||
|
||
.section-works1__poem p { | ||
line-height: 2.4rem; | ||
} | ||
|
||
/*画面サイズ1060以上での指定*/ | ||
@media (min-width: 1060px) { | ||
.section-works1__poem { | ||
border: none; | ||
-ms-writing-mode: tb-rl; | ||
/* IE対応 */ | ||
writing-mode: vertical-rl; | ||
text-orientation: upright; | ||
/* すべて縦方向に表示 英数字も縦に表示するなら upright、和文も横に表示するなら sideways を指定 */ | ||
padding: 40px 0; | ||
width: auto; | ||
} | ||
|
||
} | ||
|
||
/* | ||
.img-01,.img-02,.img-03,.img-04 { | ||
width: 130px; | ||
height: 130px; | ||
object-fit: cover; | ||
object-position: 0% 0%; | ||
} | ||
*/ | ||
.img-frame { | ||
position: relative; | ||
width: 100%; | ||
height: 600px; | ||
overflow: hidden; | ||
margin: 80px auto; | ||
} | ||
|
||
.img-01, | ||
.img-02, | ||
.img-03 { | ||
position: absolute; | ||
top: 0; | ||
left: 0; | ||
width: 100%; | ||
height: 100%; | ||
background-size: cover; | ||
background-repeat: no-repeat; | ||
|
||
display: block; | ||
|
||
} | ||
|
||
.img-01 { | ||
background-image: url('photo/04hidamari/hidamari01.JPG"'); | ||
animation: slide-animation-01 24s infinite; | ||
background-position: 50% 50%; | ||
} | ||
|
||
.img-02 { | ||
background-image: url('photo/04hidamari/hidamari02.JPG'); | ||
animation: slide-animation-02 24s infinite; | ||
background-position: 50% 50%;} | ||
|
||
.img-03 { | ||
background-image: url('photo/04hidamari/hidamari01.JPG"'); | ||
animation: slide-animation-01 24s infinite; | ||
background-position: 50% 50%; | ||
} | ||
|
||
.img-04 { | ||
background-image: url('photo/04hidamari/hidamari02.JPG"'); | ||
animation: slide-animation-02 24s infinite; | ||
background-position: 50% 50%; | ||
} | ||
|
||
|
||
|
||
|
||
@keyframes slide-animation-01 { | ||
0% { | ||
opacity: 1; | ||
transform: scale(1.0); | ||
} | ||
|
||
30% { | ||
opacity: 1; | ||
} | ||
|
||
40% { | ||
opacity: 0; | ||
transform: scale(1.15); | ||
} | ||
|
||
90% { | ||
opacity: 0 | ||
} | ||
|
||
100% { | ||
opacity: 1; | ||
transform: scale(1.0); | ||
} | ||
} | ||
|
||
@keyframes slide-animation-02 { | ||
0% { | ||
opacity: 0; | ||
} | ||
|
||
30% { | ||
opacity: 0; | ||
transform: scale(1.1); | ||
} | ||
|
||
40% { | ||
opacity: 1; | ||
} | ||
|
||
60% { | ||
opacity: 1; | ||
} | ||
|
||
70% { | ||
opacity: 0; | ||
transform: scale(1.0); | ||
} | ||
|
||
100% { | ||
opacity: 0; | ||
} | ||
} | ||
|
||
@keyframes slide-animation-03 { | ||
0% { | ||
opacity: 0; | ||
} | ||
|
||
60% { | ||
opacity: 0; | ||
transform: scale(1.0); | ||
} | ||
|
||
70% { | ||
opacity: 1; | ||
} | ||
|
||
90% { | ||
opacity: 1; | ||
} | ||
|
||
100% { | ||
opacity: 0; | ||
transform: scale(1.1); | ||
} | ||
} | ||
@media (min-width: 1060px) { | ||
.img-frame { | ||
height:800px; | ||
width: 100%; | ||
|
||
} | ||
|
||
} |
Oops, something went wrong.