display: flex;
padding: 50px 0;
justify-content: space-between;
+ flex-direction: column;
+ align-items: center;
+
+ @include rwd($break-flow) {
+ flex-direction: row;
+ align-items: flex-start;
+ }
h2 {
margin: 0;
width: 100%;
&:nth-child(1) {
+ > div {
+ display: flex;
+ flex-wrap: wrap;
- div {
- display: flex;
+ @include rwd($break-wide) {
+ flex-wrap: nowrap;
+ }
}
h2 {
}
.l-author__photo {
- width: 100%;
- max-width: 238px;
+ flex-shrink: 0;
+ width: calc(50% - 24px);
+ @include rwd($break-wide) {
+ width: 238px;
+ }
+
+ img {
+ width:100%;
+ }
}
}
&:nth-child(2) {
- max-width: 415px;
- padding-top: 48px;
- padding-left: 32px;
+ max-width: 415px - 32px;
+ padding-top: 48px;
+ @include rwd($break-flow) {
+ max-width: 415px;
+ padding-left: 32px;
+ }
}
}
}
.l-author__info {
- min-width: 364px;
+ display: contents;
+ min-width: 364px;
+ @include rwd($break-wide) {
+ display: block;
+ }
h3 {
margin: 0;
line-height: 140%;
letter-spacing: -0.01em;
color: #007880;
+
+ width: 40%;
}
p {
margin-top: 20px;
}
.l-author__photo {
- margin: 0;
- margin-right: 50px;
+ margin: 0;
+ margin-right: 16px;
+ @include rwd($break-wide) {
+ margin-right: 50px;
+ }
img {
border-radius: 10px;
overflow: hidden;
.l-author__quotes__slider__item {
max-width: 336px;
outline: 0;
+
+ .verse-indent {
+ padding-left: 1em;
+ &.verse-indent-2 { padding-left: 1.1em; }
+ &.verse-indent-3 { padding-left: 1.2em; }
+ &.verse-indent-4 { padding-left: 1.3em; }
+ &.verse-indent-5 { padding-left: 1.4em; }
+ &.verse-indent-6 { padding-left: 1.5em; }
+ &.verse-indent-7 { padding-left: 1.6em; }
+ &.verse-indent-8 { padding-left: 1.7em; }
+ &.verse-indent-9 { padding-left: 1.8em; }
+ &.verse-indent-10 { padding-left: 1.9em; }
+ &.verse-indent-11 { padding-left: 2em; }
+ &.verse-indent-12 { padding-left: 2.1em; }
+ }
+ .verse-cont { padding-left: 2.1em; }
+ .verse-p { padding-left: 1em; }
+ .verse-right { text-align: right; }
+ .verse-center { text-align: center; }
}