Skip to content

Commit 95bbc58

Browse files
committed
update index page (top-page)
1 parent eb805f9 commit 95bbc58

8 files changed

Lines changed: 266 additions & 110 deletions

File tree

assets/scss/_common.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
body {
22
background-color: $body-color;
33
overflow-x: hidden;
4+
text-align: left;
45
}
56

67
::selection {
@@ -75,9 +76,11 @@ a:hover {
7576
.section {
7677
padding-top: 70px;
7778
padding-bottom: 70px;
79+
text-align: left;
7880

7981
&-title {
8082
margin-bottom: 30px;
83+
text-align: left;
8184
}
8285
}
8386

assets/scss/_custom.scss

Lines changed: 164 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -320,6 +320,170 @@ button.svelte-la9dd4:disabled {
320320
color: white !important;
321321
}
322322

323+
.container.wrap {
324+
display: flex;
325+
align-items: center;
326+
justify-content: space-between;
327+
max-width: 1140px;
328+
padding: 0;
329+
margin: 0 auto;
330+
background: #fff;
331+
border-bottom: 1px solid #eee;
332+
position: relative;
333+
334+
@media (max-width: 992px) {
335+
padding: 0 12px;
336+
}
337+
}
338+
323339
.dropdown {
324340
margin-right: 10px;
341+
}
342+
343+
.video-container {
344+
position: relative;
345+
width: 100%;
346+
padding-bottom: 56.25%; /* 16:9のアスペクト比 */
347+
height: 0;
348+
overflow: hidden;
349+
border-radius: 12px;
350+
box-shadow: 0 8px 24px rgba(0,0,0,0.12);
351+
352+
iframe {
353+
position: absolute;
354+
top: 0;
355+
left: 0;
356+
width: 100%;
357+
height: 100%;
358+
border: 0;
359+
border-radius: inherit;
360+
}
361+
}
362+
363+
.books-grid {
364+
display: grid;
365+
grid-template-columns: repeat(3, 1fr);
366+
gap: 15px;
367+
368+
@media (max-width: 576px) {
369+
gap: 10px;
370+
}
371+
}
372+
373+
.book-card {
374+
position: relative;
375+
transition: transform 0.3s ease;
376+
perspective: 1000px;
377+
378+
img {
379+
width: 100%;
380+
height: auto;
381+
box-shadow:
382+
0 4px 8px rgba(0,0,0,0.1),
383+
2px 8px 12px rgba(0,0,0,0.08),
384+
-20px 0 20px -20px rgba(0,0,0,0.3);
385+
transform: rotateY(2deg);
386+
transform-style: preserve-3d;
387+
transition: all 0.3s ease;
388+
}
389+
390+
&:hover {
391+
img {
392+
transform: rotateY(0deg) translateY(-5px);
393+
box-shadow:
394+
0 8px 16px rgba(0,0,0,0.15),
395+
4px 12px 20px rgba(0,0,0,0.12),
396+
-25px 0 25px -20px rgba(0,0,0,0.4);
397+
}
398+
}
399+
}
400+
401+
.featured-articles {
402+
margin-top: 15px;
403+
404+
.article-card {
405+
margin-bottom: 25px;
406+
407+
&:last-child {
408+
margin-bottom: 0;
409+
}
410+
411+
.article-link {
412+
display: flex;
413+
flex-direction: row-reverse;
414+
gap: 20px;
415+
text-decoration: none;
416+
color: inherit;
417+
418+
.article-content {
419+
flex: 1;
420+
display: flex;
421+
align-items: center;
422+
423+
h4 {
424+
margin: 0;
425+
font-size: 14px;
426+
line-height: 1.4;
427+
color: #333;
428+
}
429+
}
430+
431+
.article-image {
432+
width: 180px;
433+
flex-shrink: 0;
434+
435+
img {
436+
width: 100%;
437+
height: auto;
438+
aspect-ratio: 16/9;
439+
object-fit: cover;
440+
display: block;
441+
}
442+
}
443+
}
444+
}
445+
}
446+
447+
.newsletter-signup {
448+
.signup-form {
449+
.form-group {
450+
display: flex;
451+
align-items: center;
452+
gap: 12px;
453+
max-width: 100%;
454+
font-size: 14px;
455+
color: #666;
456+
}
457+
458+
.signup-text {
459+
white-space: nowrap;
460+
}
461+
462+
.form-input {
463+
width: 200px;
464+
border: 1px solid #e5e5e5;
465+
padding: 6px 12px;
466+
font-size: 14px;
467+
468+
&:focus {
469+
outline: none;
470+
border-color: #0aa8a7;
471+
}
472+
}
473+
474+
button {
475+
white-space: nowrap;
476+
background: none;
477+
color: #0aa8a7;
478+
border: none;
479+
padding: 6px 0;
480+
font-size: 14px;
481+
font-weight: 600;
482+
cursor: pointer;
483+
484+
&:hover {
485+
text-decoration: underline;
486+
}
487+
}
488+
}
325489
}

assets/scss/_typography.scss

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -55,15 +55,15 @@ body {
5555
line-height: 1.2;
5656
font-family: $primary-font;
5757
-webkit-font-smoothing: antialiased;
58-
font-size: 18px;
58+
font-size: 12px;
5959
color: $text-color;
6060
}
6161

6262
p,
6363
.paragraph {
6464
font-weight: 400;
6565
color: $text-color;
66-
font-size: 18px;
66+
font-size: 16px;
6767
line-height: 1.7;
6868
font-family: $primary-font;
6969
}
@@ -86,42 +86,42 @@ h6, .h6 {
8686

8787
h1,
8888
.h1 {
89-
font-size: 48px;
89+
font-size: 32px;
9090

9191
@include tablet {
92-
font-size: 40px;
92+
font-size: 28px;
9393
}
9494
}
9595

9696
h2,
9797
.h2 {
98-
font-size: 38px;
98+
font-size: 28px;
9999

100100
@include tablet {
101-
font-size: 30px;
101+
font-size: 24px;
102102
}
103103
}
104104

105105
h3,
106106
.h3 {
107-
font-size: 24px;
107+
font-size: 20px;
108108
}
109109

110110
h4,
111111
.h4 {
112-
font-size: 20px;
112+
font-size: 16px;
113113
}
114114

115115
h5,
116116
.h5 {
117-
font-size: 16px;
117+
font-size: 14px;
118118
}
119119

120120
h6,
121121
.h6 {
122-
font-size: 15px;
122+
font-size: 12px;
123123
}
124124

125125
.display-3{
126-
font-size: 3.5rem;
126+
font-size: 2.5rem;
127127
}

0 commit comments

Comments
 (0)