diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..cbb7b3a --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,3 @@ +{ + "liveServer.settings.port": 5502 +} \ No newline at end of file diff --git a/copy.html b/copy.html new file mode 100644 index 0000000..544c88d --- /dev/null +++ b/copy.html @@ -0,0 +1,391 @@ + + + + + + 東京都立大学システムデザイン学部インダストリアルアート学科 + + + + + + + + + + +
+ loading +
+ + + + + +
+
+ +
+ +
+ + + + + + + + +
+
+
+ + + + + + + + + + \ No newline at end of file diff --git a/docs/html/2dcg.html b/docs/html/2dcg.html new file mode 100644 index 0000000..82907b3 --- /dev/null +++ b/docs/html/2dcg.html @@ -0,0 +1,33 @@ + + + + + + 東京都立大学システムデザイン学部インダストリアルアート学科 + + + + +

2次元コンピュータグラフィック

+ +

1年次2次元コンピュータグラフィック基礎の作品です。illustratorで作成されています。

+

*現在は開講されていない旧課程の科目です。

+ +

関連スタジオ

+
+

ヴィジュアルコミュニケーションデザインスタジオ

+

エディティングスタジオ

+

インタラクティブアートスタジオ

+

インタラクティブアートスタジオ

+

ネットワークデザインスタジオ

+

ソフトウェアデザインスタジオ

+
+

担当教員

+
+

日高良佑

+
+ + + + + \ No newline at end of file diff --git a/docs/html/d-pro01.html b/docs/html/d-pro01.html new file mode 100644 index 0000000..9b6df35 --- /dev/null +++ b/docs/html/d-pro01.html @@ -0,0 +1,30 @@ + + + + + + 東京都立大学システムデザイン学部インダストリアルアート学科 + + + + +

デザインプログラミング2018最終課題

+ +

1年次デザインプログラミングの作品です。processingで製作しています。

+ +

関連スタジオ

+
+

インタラクティブアートスタジオ

+

インタフェースデザインスタジオ

+

ネットワークデザインスタジオ

+

ソフトウェアデザインスタジオ

+
+

担当教員

+
+

安藤大地

+
+ + + + + \ No newline at end of file diff --git a/docs/html/editorial.html b/docs/html/editorial.html new file mode 100644 index 0000000..8070bce --- /dev/null +++ b/docs/html/editorial.html @@ -0,0 +1,450 @@ + + + + + + + 東京都立大学システムデザイン学部インダストリアルアート学科 + + + + + + + + + + +
+ loading +
+ + + + + +
+ + +
+ + + + + + + + +
+
+
+ + + + + +

トップへもどる

+ +
+ + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/html/equipment.html b/docs/html/equipment.html new file mode 100644 index 0000000..8463eb9 --- /dev/null +++ b/docs/html/equipment.html @@ -0,0 +1,415 @@ + + + + + + + 東京都立大学システムデザイン学部インダストリアルアート学科 + + + + + + + + + + +
+ loading +
+ + + + + +
+ + +
+ + + + + + + + +
+
+
+ + + + + +

トップへもどる

+ +
+ + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/html/ergonomics.html b/docs/html/ergonomics.html new file mode 100644 index 0000000..7154f50 --- /dev/null +++ b/docs/html/ergonomics.html @@ -0,0 +1,386 @@ + + + + + + + 東京都立大学システムデザイン学部インダストリアルアート学科 + + + + + + + + + + +
+ loading +
+ + + + + +
+ + +
+ + + + + + + + +
+
+
+ + + + + +

トップへもどる

+ +
+ + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/html/form.html b/docs/html/form.html new file mode 100644 index 0000000..b342ace --- /dev/null +++ b/docs/html/form.html @@ -0,0 +1,20 @@ + + + + + + 東京都立大学システムデザイン学部インダストリアルアート学科 + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/html/iaLib.html b/docs/html/iaLib.html new file mode 100644 index 0000000..9edd765 --- /dev/null +++ b/docs/html/iaLib.html @@ -0,0 +1,197 @@ + + + + + + + 東京都立大学システムデザイン学部インダストリアルアート学科 + + + + + + + +
+ loading +
+ +
+ + +
+ + + + + + + + +
+
+ +
+ + + + +

トップへもどる

+ +
+ + + + + + + \ No newline at end of file diff --git a/docs/html/interactive.html b/docs/html/interactive.html new file mode 100644 index 0000000..0d2f36d --- /dev/null +++ b/docs/html/interactive.html @@ -0,0 +1,391 @@ + + + + + + + 東京都立大学システムデザイン学部インダストリアルアート学科 + + + + + + + + + + +
+ loading +
+ + + + + +
+ + +
+ + + + + + + + +
+
+
+ + + + + +

トップへもどる

+ +
+ + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/html/interface.html b/docs/html/interface.html new file mode 100644 index 0000000..c3d4c22 --- /dev/null +++ b/docs/html/interface.html @@ -0,0 +1,365 @@ + + + + + + + 東京都立大学システムデザイン学部インダストリアルアート学科 + + + + + + + + + + +
+ loading +
+ + + + + +
+ + +
+ + + + + + + + +
+
+
+ + + + + +

トップへもどる

+ +
+ + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/html/interior.html b/docs/html/interior.html new file mode 100644 index 0000000..9be3be8 --- /dev/null +++ b/docs/html/interior.html @@ -0,0 +1,429 @@ + + + + + + + 東京都立大学システムデザイン学部インダストリアルアート学科 + + + + + + + + + + +
+ loading +
+ + + + + +
+ + +
+ + + + + + + + +
+
+
+ + + + + +

トップへもどる

+ +
+ + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/html/kinematograph.html b/docs/html/kinematograph.html new file mode 100644 index 0000000..88e75cd --- /dev/null +++ b/docs/html/kinematograph.html @@ -0,0 +1,430 @@ + + + + + + + 東京都立大学システムデザイン学部インダストリアルアート学科 + + + + + + + + + + +
+ loading +
+ + + + + +
+ + +
+ + + + + + + + +
+
+
+ + + + + +

トップへもどる

+ +
+ + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/html/network.html b/docs/html/network.html new file mode 100644 index 0000000..719de7c --- /dev/null +++ b/docs/html/network.html @@ -0,0 +1,372 @@ + + + + + + + 東京都立大学システムデザイン学部インダストリアルアート学科 + + + + + + + + + + +
+ loading +
+ + + + + +
+ + +
+ + + + + + + + +
+
+
+ + + + + +

トップへもどる

+ +
+ + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/html/pm2.html b/docs/html/pm2.html new file mode 100644 index 0000000..144bd1e --- /dev/null +++ b/docs/html/pm2.html @@ -0,0 +1,371 @@ + + + + + + + 東京都立大学システムデザイン学部インダストリアルアート学科 + + + + + + + + + + +
+ loading +
+ + + + + +
+ + +
+ + + + + + + + +
+
+
+ + + + + +

トップへもどる

+ +
+ + + + + + + \ No newline at end of file diff --git a/docs/html/software.html b/docs/html/software.html new file mode 100644 index 0000000..b04d876 --- /dev/null +++ b/docs/html/software.html @@ -0,0 +1,371 @@ + + + + + + + 東京都立大学システムデザイン学部インダストリアルアート学科 + + + + + + + + + + +
+ loading +
+ + + + + +
+ + +
+ + + + + + + + +
+
+
+ + + + + +

トップへもどる

+ +
+ + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/html/space01.html b/docs/html/space01.html new file mode 100644 index 0000000..96310e5 --- /dev/null +++ b/docs/html/space01.html @@ -0,0 +1,29 @@ + + + + + + 東京都立大学システムデザイン学部インダストリアルアート学科 + + + + +

スペースデザイン基礎課題

+ + +

2年次スペースデザイン基礎の作品です。

+ +

関連スタジオ

+
+

空間デザインスタジオ

+

インテリアデザインスタジオ

+
+

関連教員

+
+

ヴァール アダムス

+
+ + + + + \ No newline at end of file diff --git a/docs/html/spatial.html b/docs/html/spatial.html new file mode 100644 index 0000000..09e4340 --- /dev/null +++ b/docs/html/spatial.html @@ -0,0 +1,400 @@ + + + + + + + 東京都立大学システムデザイン学部インダストリアルアート学科 + + + + + + + + + + +
+ loading +
+ + + + + +
+ + +
+ + + + + + + + +
+
+
+ + + + + +

トップへもどる

+ +
+ + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/html/transportation.html b/docs/html/transportation.html new file mode 100644 index 0000000..e263acb --- /dev/null +++ b/docs/html/transportation.html @@ -0,0 +1,395 @@ + + + + + + + 東京都立大学システムデザイン学部インダストリアルアート学科 + + + + + + + + + + +
+ loading +
+ + + + + +
+ + +
+ + + + + + + + +
+
+
+ + + + + + +

トップへもどる

+ +
+ + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/html/tum.html b/docs/html/tum.html new file mode 100644 index 0000000..519dead --- /dev/null +++ b/docs/html/tum.html @@ -0,0 +1,38 @@ + + + + + + 東京都立大学システムデザイン学部インダストリアルアート学科 + + + + +

新しいタンブラーの提案

+ + +

1年次基礎造形Bの課題です。

+ +

関連スタジオ

+
+

製品・サービスデザインスタジオ

+

インタフェースデザインスタジオ

+

トランスポーテーションデザインスタジオ

+

インタラクティブアートスタジオ

+

ヴィジュアルコミュニケーションデザインスタジオ

+

エディティングスタジオ

+

エルゴノミックデザインスタジオ

+

空間デザインスタジオ

+

インテリアデザインスタジオ

+ +
+

担当教員

+
+

茂木龍太

+

土屋真

+
+ + + + + \ No newline at end of file diff --git a/docs/html/visual.html b/docs/html/visual.html new file mode 100644 index 0000000..91d3906 --- /dev/null +++ b/docs/html/visual.html @@ -0,0 +1,391 @@ + + + + + + + 東京都立大学システムデザイン学部インダストリアルアート学科 + + + + + + + + + + +
+ loading +
+ + + + + +
+ + +
+ + + + + + + + +
+
+
+ + + + + +

トップへもどる

+ +
+ + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/html/work.html b/docs/html/work.html new file mode 100644 index 0000000..6266f64 --- /dev/null +++ b/docs/html/work.html @@ -0,0 +1,1485 @@ + + + + + + 東京都立大学システムデザイン学部インダストリアルアート学科 + + + + + + + + +
+ loading +
+ +
+ + +
+ + + + + + + + +
+
+
+ + + + +

トップへもどる

+ +
+ + + + + + + + \ No newline at end of file diff --git a/docs/image/2dcg-01.jpg b/docs/image/2dcg-01.jpg new file mode 100644 index 0000000..e56d604 Binary files /dev/null and b/docs/image/2dcg-01.jpg differ diff --git a/docs/image/courcemodel2_3-01.png b/docs/image/courcemodel2_3-01.png new file mode 100644 index 0000000..100b037 Binary files /dev/null and b/docs/image/courcemodel2_3-01.png differ diff --git a/docs/image/courcemodel2_3-02.png b/docs/image/courcemodel2_3-02.png new file mode 100644 index 0000000..79c36ac Binary files /dev/null and b/docs/image/courcemodel2_3-02.png differ diff --git a/docs/image/d-pro01.png b/docs/image/d-pro01.png new file mode 100644 index 0000000..751272e Binary files /dev/null and b/docs/image/d-pro01.png differ diff --git a/docs/image/editorial.png b/docs/image/editorial.png new file mode 100644 index 0000000..6195a60 Binary files /dev/null and b/docs/image/editorial.png differ diff --git a/docs/image/equipment.png b/docs/image/equipment.png new file mode 100644 index 0000000..f05fc22 Binary files /dev/null and b/docs/image/equipment.png differ diff --git a/docs/image/ergonomics.png b/docs/image/ergonomics.png new file mode 100644 index 0000000..5ca5d6a Binary files /dev/null and b/docs/image/ergonomics.png differ diff --git a/docs/image/header.png b/docs/image/header.png new file mode 100644 index 0000000..5d66732 Binary files /dev/null and b/docs/image/header.png differ diff --git a/docs/image/iaLib.jpg b/docs/image/iaLib.jpg new file mode 100644 index 0000000..3600311 Binary files /dev/null and b/docs/image/iaLib.jpg differ diff --git a/docs/image/iconB1/2DCG_icon.png b/docs/image/iconB1/2DCG_icon.png new file mode 100644 index 0000000..56bc2f6 Binary files /dev/null and b/docs/image/iconB1/2DCG_icon.png differ diff --git "a/docs/image/iconB1/\343\202\242\343\203\213\345\237\272\347\244\216_icon.png" "b/docs/image/iconB1/\343\202\242\343\203\213\345\237\272\347\244\216_icon.png" new file mode 100644 index 0000000..45d63e3 Binary files /dev/null and "b/docs/image/iconB1/\343\202\242\343\203\213\345\237\272\347\244\216_icon.png" differ diff --git "a/docs/image/iconB1/\343\203\207\343\202\266\343\203\227\343\203\255_icon.png" "b/docs/image/iconB1/\343\203\207\343\202\266\343\203\227\343\203\255_icon.png" new file mode 100644 index 0000000..6f4f942 Binary files /dev/null and "b/docs/image/iconB1/\343\203\207\343\202\266\343\203\227\343\203\255_icon.png" differ diff --git "a/docs/image/iconB1/\343\203\211\343\203\255A_icon.png" "b/docs/image/iconB1/\343\203\211\343\203\255A_icon.png" new file mode 100644 index 0000000..ebcc231 Binary files /dev/null and "b/docs/image/iconB1/\343\203\211\343\203\255A_icon.png" differ diff --git "a/docs/image/iconB1/\343\203\211\343\203\255B.png" "b/docs/image/iconB1/\343\203\211\343\203\255B.png" new file mode 100644 index 0000000..53f0670 Binary files /dev/null and "b/docs/image/iconB1/\343\203\211\343\203\255B.png" differ diff --git "a/docs/image/iconB1/\343\203\211\343\203\255C_icon.png" "b/docs/image/iconB1/\343\203\211\343\203\255C_icon.png" new file mode 100644 index 0000000..e1c5115 Binary files /dev/null and "b/docs/image/iconB1/\343\203\211\343\203\255C_icon.png" differ diff --git "a/docs/image/iconB1/\343\203\211\343\203\255C_\343\203\206\343\203\254\343\203\257\343\203\274\343\202\257_icon.png" "b/docs/image/iconB1/\343\203\211\343\203\255C_\343\203\206\343\203\254\343\203\257\343\203\274\343\202\257_icon.png" new file mode 100644 index 0000000..a1e27c0 Binary files /dev/null and "b/docs/image/iconB1/\343\203\211\343\203\255C_\343\203\206\343\203\254\343\203\257\343\203\274\343\202\257_icon.png" differ diff --git "a/docs/image/iconB1/\345\237\272\347\244\216\351\200\240\345\275\242A1_icon.png" "b/docs/image/iconB1/\345\237\272\347\244\216\351\200\240\345\275\242A1_icon.png" new file mode 100644 index 0000000..18412c9 Binary files /dev/null and "b/docs/image/iconB1/\345\237\272\347\244\216\351\200\240\345\275\242A1_icon.png" differ diff --git "a/docs/image/iconB1/\345\237\272\347\244\216\351\200\240\345\275\242A2_icon.png" "b/docs/image/iconB1/\345\237\272\347\244\216\351\200\240\345\275\242A2_icon.png" new file mode 100644 index 0000000..dd28848 Binary files /dev/null and "b/docs/image/iconB1/\345\237\272\347\244\216\351\200\240\345\275\242A2_icon.png" differ diff --git "a/docs/image/iconB1/\345\237\272\347\244\216\351\200\240\345\275\242B_icon.png" "b/docs/image/iconB1/\345\237\272\347\244\216\351\200\240\345\275\242B_icon.png" new file mode 100644 index 0000000..6c13814 Binary files /dev/null and "b/docs/image/iconB1/\345\237\272\347\244\216\351\200\240\345\275\242B_icon.png" differ diff --git "a/docs/image/iconB1/\345\237\272\347\244\216\351\200\240\345\275\242B_\343\202\277\343\203\263\343\203\226\343\203\251\343\203\274_icon.png" "b/docs/image/iconB1/\345\237\272\347\244\216\351\200\240\345\275\242B_\343\202\277\343\203\263\343\203\226\343\203\251\343\203\274_icon.png" new file mode 100644 index 0000000..ff92d07 Binary files /dev/null and "b/docs/image/iconB1/\345\237\272\347\244\216\351\200\240\345\275\242B_\343\202\277\343\203\263\343\203\226\343\203\251\343\203\274_icon.png" differ diff --git "a/docs/image/iconB1/\345\237\272\347\244\216\351\200\240\345\275\242C_icon.png" "b/docs/image/iconB1/\345\237\272\347\244\216\351\200\240\345\275\242C_icon.png" new file mode 100644 index 0000000..5a8432a Binary files /dev/null and "b/docs/image/iconB1/\345\237\272\347\244\216\351\200\240\345\275\242C_icon.png" differ diff --git a/docs/image/iconB2/SpaceDesign1-2-1_icon.png b/docs/image/iconB2/SpaceDesign1-2-1_icon.png new file mode 100644 index 0000000..2d7ae7c Binary files /dev/null and b/docs/image/iconB2/SpaceDesign1-2-1_icon.png differ diff --git a/docs/image/iconB2/gra_icon.png b/docs/image/iconB2/gra_icon.png new file mode 100644 index 0000000..2981f52 Binary files /dev/null and b/docs/image/iconB2/gra_icon.png differ diff --git a/docs/image/iconB2/kim_icon.png b/docs/image/iconB2/kim_icon.png new file mode 100644 index 0000000..516105b Binary files /dev/null and b/docs/image/iconB2/kim_icon.png differ diff --git "a/docs/image/iconB2/web\345\237\272\347\244\216_icon.png" "b/docs/image/iconB2/web\345\237\272\347\244\216_icon.png" new file mode 100644 index 0000000..bde5c33 Binary files /dev/null and "b/docs/image/iconB2/web\345\237\272\347\244\216_icon.png" differ diff --git "a/docs/image/iconB2/\343\202\244\343\203\263\343\203\206_icon.png" "b/docs/image/iconB2/\343\202\244\343\203\263\343\203\206_icon.png" new file mode 100644 index 0000000..d8af8ee Binary files /dev/null and "b/docs/image/iconB2/\343\202\244\343\203\263\343\203\206_icon.png" differ diff --git "a/docs/image/iconB2/\343\202\271\343\203\232\343\203\274\343\202\271_icon.png" "b/docs/image/iconB2/\343\202\271\343\203\232\343\203\274\343\202\271_icon.png" new file mode 100644 index 0000000..0e2bd9f Binary files /dev/null and "b/docs/image/iconB2/\343\202\271\343\203\232\343\203\274\343\202\271_icon.png" differ diff --git "a/docs/image/iconB2/\343\203\210\343\203\251\343\203\235_icon.png" "b/docs/image/iconB2/\343\203\210\343\203\251\343\203\235_icon.png" new file mode 100644 index 0000000..f920859 Binary files /dev/null and "b/docs/image/iconB2/\343\203\210\343\203\251\343\203\235_icon.png" differ diff --git "a/docs/image/iconB2/\343\203\227\343\203\255\343\203\210\343\202\277\343\202\244\343\203\227_icon.png" "b/docs/image/iconB2/\343\203\227\343\203\255\343\203\210\343\202\277\343\202\244\343\203\227_icon.png" new file mode 100644 index 0000000..a909c75 Binary files /dev/null and "b/docs/image/iconB2/\343\203\227\343\203\255\343\203\210\343\202\277\343\202\244\343\203\227_icon.png" differ diff --git "a/docs/image/iconB2/\343\203\227\343\203\255\345\237\272\347\244\216_icon.png" "b/docs/image/iconB2/\343\203\227\343\203\255\345\237\272\347\244\216_icon.png" new file mode 100644 index 0000000..a01904b Binary files /dev/null and "b/docs/image/iconB2/\343\203\227\343\203\255\345\237\272\347\244\216_icon.png" differ diff --git "a/docs/image/iconB2/\344\272\272\351\226\223\345\267\245\345\255\246_icon.png" "b/docs/image/iconB2/\344\272\272\351\226\223\345\267\245\345\255\246_icon.png" new file mode 100644 index 0000000..8dfefe9 Binary files /dev/null and "b/docs/image/iconB2/\344\272\272\351\226\223\345\267\245\345\255\246_icon.png" differ diff --git "a/docs/image/iconB2/\345\275\271\343\201\253\347\253\213\343\201\237\343\201\252\343\201\204\346\251\237\346\242\260_icon.png" "b/docs/image/iconB2/\345\275\271\343\201\253\347\253\213\343\201\237\343\201\252\343\201\204\346\251\237\346\242\260_icon.png" new file mode 100644 index 0000000..bcb48b4 Binary files /dev/null and "b/docs/image/iconB2/\345\275\271\343\201\253\347\253\213\343\201\237\343\201\252\343\201\204\346\251\237\346\242\260_icon.png" differ diff --git "a/docs/image/iconB2/\346\230\240\345\203\217\345\237\272\347\244\216_icon.png" "b/docs/image/iconB2/\346\230\240\345\203\217\345\237\272\347\244\216_icon.png" new file mode 100644 index 0000000..0a61ce6 Binary files /dev/null and "b/docs/image/iconB2/\346\230\240\345\203\217\345\237\272\347\244\216_icon.png" differ diff --git a/docs/image/iconB3/LIvingDesignB180122_icon.png b/docs/image/iconB3/LIvingDesignB180122_icon.png new file mode 100644 index 0000000..65a6779 Binary files /dev/null and b/docs/image/iconB3/LIvingDesignB180122_icon.png differ diff --git a/docs/image/iconB3/maya_icon.png b/docs/image/iconB3/maya_icon.png new file mode 100644 index 0000000..92ec76e Binary files /dev/null and b/docs/image/iconB3/maya_icon.png differ diff --git a/docs/image/iconB3/mc_icon.png b/docs/image/iconB3/mc_icon.png new file mode 100644 index 0000000..936d1f7 Binary files /dev/null and b/docs/image/iconB3/mc_icon.png differ diff --git a/docs/image/iconB3/net_icon.png b/docs/image/iconB3/net_icon.png new file mode 100644 index 0000000..1bb78c5 Binary files /dev/null and b/docs/image/iconB3/net_icon.png differ diff --git a/docs/image/iconB3/yamijenga_icon.png b/docs/image/iconB3/yamijenga_icon.png new file mode 100644 index 0000000..3c5f324 Binary files /dev/null and b/docs/image/iconB3/yamijenga_icon.png differ diff --git "a/docs/image/iconB3/\343\202\244\343\202\257\343\202\244\343\203\203\343\203\227\343\203\241\343\203\263\343\203\210_icon.png" "b/docs/image/iconB3/\343\202\244\343\202\257\343\202\244\343\203\203\343\203\227\343\203\241\343\203\263\343\203\210_icon.png" new file mode 100644 index 0000000..07f6c88 Binary files /dev/null and "b/docs/image/iconB3/\343\202\244\343\202\257\343\202\244\343\203\203\343\203\227\343\203\241\343\203\263\343\203\210_icon.png" differ diff --git "a/docs/image/iconB3/\343\202\244\343\203\263\343\202\277\343\203\251\343\202\257\343\203\206\343\202\243\343\203\226_icon.png" "b/docs/image/iconB3/\343\202\244\343\203\263\343\202\277\343\203\251\343\202\257\343\203\206\343\202\243\343\203\226_icon.png" new file mode 100644 index 0000000..5800fc4 Binary files /dev/null and "b/docs/image/iconB3/\343\202\244\343\203\263\343\202\277\343\203\251\343\202\257\343\203\206\343\202\243\343\203\226_icon.png" differ diff --git "a/docs/image/iconB3/\343\202\250\343\203\207\343\202\243_icon.png" "b/docs/image/iconB3/\343\202\250\343\203\207\343\202\243_icon.png" new file mode 100644 index 0000000..e0848c8 Binary files /dev/null and "b/docs/image/iconB3/\343\202\250\343\203\207\343\202\243_icon.png" differ diff --git "a/docs/image/iconB3/\343\202\260\343\203\251\343\203\203\343\203\225\343\202\243\343\203\203\343\202\257_icon.png" "b/docs/image/iconB3/\343\202\260\343\203\251\343\203\203\343\203\225\343\202\243\343\203\203\343\202\257_icon.png" new file mode 100644 index 0000000..38f3302 Binary files /dev/null and "b/docs/image/iconB3/\343\202\260\343\203\251\343\203\203\343\203\225\343\202\243\343\203\203\343\202\257_icon.png" differ diff --git "a/docs/image/iconB3/\343\202\271\343\203\210\343\203\251\343\203\206\343\202\270\343\203\203\343\202\257_icon.png" "b/docs/image/iconB3/\343\202\271\343\203\210\343\203\251\343\203\206\343\202\270\343\203\203\343\202\257_icon.png" new file mode 100644 index 0000000..a5f77b4 Binary files /dev/null and "b/docs/image/iconB3/\343\202\271\343\203\210\343\203\251\343\203\206\343\202\270\343\203\203\343\202\257_icon.png" differ diff --git "a/docs/image/iconB3/\343\202\271\343\203\232\343\203\274\343\202\271_icon.png" "b/docs/image/iconB3/\343\202\271\343\203\232\343\203\274\343\202\271_icon.png" new file mode 100644 index 0000000..598e1e1 Binary files /dev/null and "b/docs/image/iconB3/\343\202\271\343\203\232\343\203\274\343\202\271_icon.png" differ diff --git "a/docs/image/iconB3/\343\203\210\343\203\251\343\203\235_icon.png" "b/docs/image/iconB3/\343\203\210\343\203\251\343\203\235_icon.png" new file mode 100644 index 0000000..62b6e6c Binary files /dev/null and "b/docs/image/iconB3/\343\203\210\343\203\251\343\203\235_icon.png" differ diff --git "a/docs/image/iconB3/\346\230\240\345\203\217\342\205\241_icon.png" "b/docs/image/iconB3/\346\230\240\345\203\217\342\205\241_icon.png" new file mode 100644 index 0000000..5004de4 Binary files /dev/null and "b/docs/image/iconB3/\346\230\240\345\203\217\342\205\241_icon.png" differ diff --git a/docs/image/interactive.png b/docs/image/interactive.png new file mode 100644 index 0000000..32992a2 Binary files /dev/null and b/docs/image/interactive.png differ diff --git a/docs/image/interface.png b/docs/image/interface.png new file mode 100644 index 0000000..613899d Binary files /dev/null and b/docs/image/interface.png differ diff --git a/docs/image/interior.png b/docs/image/interior.png new file mode 100644 index 0000000..5497faf Binary files /dev/null and b/docs/image/interior.png differ diff --git a/docs/image/kinematograph.png b/docs/image/kinematograph.png new file mode 100644 index 0000000..e6cd856 Binary files /dev/null and b/docs/image/kinematograph.png differ diff --git a/docs/image/loading.gif b/docs/image/loading.gif new file mode 100644 index 0000000..d953188 Binary files /dev/null and b/docs/image/loading.gif differ diff --git a/docs/image/mark.ico b/docs/image/mark.ico new file mode 100644 index 0000000..51dfd6a Binary files /dev/null and b/docs/image/mark.ico differ diff --git a/docs/image/network.png b/docs/image/network.png new file mode 100644 index 0000000..958bc9c Binary files /dev/null and b/docs/image/network.png differ diff --git a/docs/image/pm.jpg b/docs/image/pm.jpg new file mode 100644 index 0000000..19ef02e Binary files /dev/null and b/docs/image/pm.jpg differ diff --git a/docs/image/pm00.jpg b/docs/image/pm00.jpg new file mode 100644 index 0000000..2134873 Binary files /dev/null and b/docs/image/pm00.jpg differ diff --git a/docs/image/pm01.jpg b/docs/image/pm01.jpg new file mode 100644 index 0000000..5642819 Binary files /dev/null and b/docs/image/pm01.jpg differ diff --git a/docs/image/pm02.jpg b/docs/image/pm02.jpg new file mode 100644 index 0000000..7305bb1 Binary files /dev/null and b/docs/image/pm02.jpg differ diff --git a/docs/image/pm03.jpg b/docs/image/pm03.jpg new file mode 100644 index 0000000..fcc4c0d Binary files /dev/null and b/docs/image/pm03.jpg differ diff --git a/docs/image/pm04.jpg b/docs/image/pm04.jpg new file mode 100644 index 0000000..9685492 Binary files /dev/null and b/docs/image/pm04.jpg differ diff --git a/docs/image/software.png b/docs/image/software.png new file mode 100644 index 0000000..550fd50 Binary files /dev/null and b/docs/image/software.png differ diff --git a/docs/image/space01.JPG b/docs/image/space01.JPG new file mode 100644 index 0000000..21a6097 Binary files /dev/null and b/docs/image/space01.JPG differ diff --git a/docs/image/space02.png b/docs/image/space02.png new file mode 100644 index 0000000..5fd1d6d Binary files /dev/null and b/docs/image/space02.png differ diff --git a/docs/image/spatial.png b/docs/image/spatial.png new file mode 100644 index 0000000..cafdfd4 Binary files /dev/null and b/docs/image/spatial.png differ diff --git a/docs/image/transportation.png b/docs/image/transportation.png new file mode 100644 index 0000000..0f6f9cf Binary files /dev/null and b/docs/image/transportation.png differ diff --git a/docs/image/tum01.jpg b/docs/image/tum01.jpg new file mode 100644 index 0000000..44bdeed Binary files /dev/null and b/docs/image/tum01.jpg differ diff --git a/docs/image/tum02.jpg b/docs/image/tum02.jpg new file mode 100644 index 0000000..2c206ed Binary files /dev/null and b/docs/image/tum02.jpg differ diff --git a/docs/image/visual.png b/docs/image/visual.png new file mode 100644 index 0000000..b53e4f5 Binary files /dev/null and b/docs/image/visual.png differ diff --git a/docs/image/workB1/2DCG_1.jpg b/docs/image/workB1/2DCG_1.jpg new file mode 100644 index 0000000..4c4bdfe Binary files /dev/null and b/docs/image/workB1/2DCG_1.jpg differ diff --git a/docs/image/workB1/2DCG_2.jpg b/docs/image/workB1/2DCG_2.jpg new file mode 100644 index 0000000..b65ae99 Binary files /dev/null and b/docs/image/workB1/2DCG_2.jpg differ diff --git "a/docs/image/workB1/\343\202\242\343\203\213\345\237\272\347\244\216.jpg" "b/docs/image/workB1/\343\202\242\343\203\213\345\237\272\347\244\216.jpg" new file mode 100644 index 0000000..9d93786 Binary files /dev/null and "b/docs/image/workB1/\343\202\242\343\203\213\345\237\272\347\244\216.jpg" differ diff --git "a/docs/image/workB1/\343\203\207\343\202\266\343\203\227\343\203\2551.png" "b/docs/image/workB1/\343\203\207\343\202\266\343\203\227\343\203\2551.png" new file mode 100644 index 0000000..751272e Binary files /dev/null and "b/docs/image/workB1/\343\203\207\343\202\266\343\203\227\343\203\2551.png" differ diff --git "a/docs/image/workB1/\343\203\207\343\202\266\343\203\227\343\203\2552.jpg" "b/docs/image/workB1/\343\203\207\343\202\266\343\203\227\343\203\2552.jpg" new file mode 100644 index 0000000..ab9a46f Binary files /dev/null and "b/docs/image/workB1/\343\203\207\343\202\266\343\203\227\343\203\2552.jpg" differ diff --git "a/docs/image/workB1/\343\203\207\343\202\266\343\203\227\343\203\2553.jpg" "b/docs/image/workB1/\343\203\207\343\202\266\343\203\227\343\203\2553.jpg" new file mode 100644 index 0000000..b263498 Binary files /dev/null and "b/docs/image/workB1/\343\203\207\343\202\266\343\203\227\343\203\2553.jpg" differ diff --git "a/docs/image/workB1/\343\203\211\343\203\255A_1.jpg" "b/docs/image/workB1/\343\203\211\343\203\255A_1.jpg" new file mode 100644 index 0000000..f9207b0 Binary files /dev/null and "b/docs/image/workB1/\343\203\211\343\203\255A_1.jpg" differ diff --git "a/docs/image/workB1/\343\203\211\343\203\255A_2.jpg" "b/docs/image/workB1/\343\203\211\343\203\255A_2.jpg" new file mode 100644 index 0000000..9d30944 Binary files /dev/null and "b/docs/image/workB1/\343\203\211\343\203\255A_2.jpg" differ diff --git "a/docs/image/workB1/\343\203\211\343\203\255B.jpg" "b/docs/image/workB1/\343\203\211\343\203\255B.jpg" new file mode 100644 index 0000000..ddb5403 Binary files /dev/null and "b/docs/image/workB1/\343\203\211\343\203\255B.jpg" differ diff --git "a/docs/image/workB1/\343\203\211\343\203\255C_\343\202\263\343\203\263\343\202\273\343\203\227\343\203\210.png" "b/docs/image/workB1/\343\203\211\343\203\255C_\343\202\263\343\203\263\343\202\273\343\203\227\343\203\210.png" new file mode 100644 index 0000000..d69a8eb Binary files /dev/null and "b/docs/image/workB1/\343\203\211\343\203\255C_\343\202\263\343\203\263\343\202\273\343\203\227\343\203\210.png" differ diff --git "a/docs/image/workB1/\343\203\211\343\203\255C_\343\203\206\343\203\254\343\203\257\343\203\274\343\202\257_1.jpg" "b/docs/image/workB1/\343\203\211\343\203\255C_\343\203\206\343\203\254\343\203\257\343\203\274\343\202\257_1.jpg" new file mode 100644 index 0000000..cfe1cce Binary files /dev/null and "b/docs/image/workB1/\343\203\211\343\203\255C_\343\203\206\343\203\254\343\203\257\343\203\274\343\202\257_1.jpg" differ diff --git "a/docs/image/workB1/\343\203\211\343\203\255C_\343\203\206\343\203\254\343\203\257\343\203\274\343\202\257_2.jpg" "b/docs/image/workB1/\343\203\211\343\203\255C_\343\203\206\343\203\254\343\203\257\343\203\274\343\202\257_2.jpg" new file mode 100644 index 0000000..cd456fc Binary files /dev/null and "b/docs/image/workB1/\343\203\211\343\203\255C_\343\203\206\343\203\254\343\203\257\343\203\274\343\202\257_2.jpg" differ diff --git "a/docs/image/workB1/\343\203\211\343\203\255C_\345\233\263\351\235\242.png" "b/docs/image/workB1/\343\203\211\343\203\255C_\345\233\263\351\235\242.png" new file mode 100644 index 0000000..13f7291 Binary files /dev/null and "b/docs/image/workB1/\343\203\211\343\203\255C_\345\233\263\351\235\242.png" differ diff --git "a/docs/image/workB1/\343\203\211\343\203\255C_\347\267\221\345\234\260\343\201\256\347\217\276\347\212\266.png" "b/docs/image/workB1/\343\203\211\343\203\255C_\347\267\221\345\234\260\343\201\256\347\217\276\347\212\266.png" new file mode 100644 index 0000000..6b50545 Binary files /dev/null and "b/docs/image/workB1/\343\203\211\343\203\255C_\347\267\221\345\234\260\343\201\256\347\217\276\347\212\266.png" differ diff --git "a/docs/image/workB1/\343\203\211\343\203\255C_\350\200\203\345\257\237.png" "b/docs/image/workB1/\343\203\211\343\203\255C_\350\200\203\345\257\237.png" new file mode 100644 index 0000000..705cc81 Binary files /dev/null and "b/docs/image/workB1/\343\203\211\343\203\255C_\350\200\203\345\257\237.png" differ diff --git "a/docs/image/workB1/\345\237\272\347\244\216\351\200\240\345\275\242A.jpg" "b/docs/image/workB1/\345\237\272\347\244\216\351\200\240\345\275\242A.jpg" new file mode 100644 index 0000000..5438376 Binary files /dev/null and "b/docs/image/workB1/\345\237\272\347\244\216\351\200\240\345\275\242A.jpg" differ diff --git "a/docs/image/workB1/\345\237\272\347\244\216\351\200\240\345\275\242A_2.jpg" "b/docs/image/workB1/\345\237\272\347\244\216\351\200\240\345\275\242A_2.jpg" new file mode 100644 index 0000000..2c42a98 Binary files /dev/null and "b/docs/image/workB1/\345\237\272\347\244\216\351\200\240\345\275\242A_2.jpg" differ diff --git "a/docs/image/workB1/\345\237\272\347\244\216\351\200\240\345\275\242A_3.jpg" "b/docs/image/workB1/\345\237\272\347\244\216\351\200\240\345\275\242A_3.jpg" new file mode 100644 index 0000000..841e3bc Binary files /dev/null and "b/docs/image/workB1/\345\237\272\347\244\216\351\200\240\345\275\242A_3.jpg" differ diff --git "a/docs/image/workB1/\345\237\272\347\244\216\351\200\240\345\275\242B.jpg" "b/docs/image/workB1/\345\237\272\347\244\216\351\200\240\345\275\242B.jpg" new file mode 100644 index 0000000..728e798 Binary files /dev/null and "b/docs/image/workB1/\345\237\272\347\244\216\351\200\240\345\275\242B.jpg" differ diff --git "a/docs/image/workB1/\345\237\272\347\244\216\351\200\240\345\275\242B_2.jpg" "b/docs/image/workB1/\345\237\272\347\244\216\351\200\240\345\275\242B_2.jpg" new file mode 100644 index 0000000..42929b5 Binary files /dev/null and "b/docs/image/workB1/\345\237\272\347\244\216\351\200\240\345\275\242B_2.jpg" differ diff --git "a/docs/image/workB1/\345\237\272\347\244\216\351\200\240\345\275\242B_\343\202\277\343\203\263\343\203\226\343\203\251\343\203\274_1.jpg" "b/docs/image/workB1/\345\237\272\347\244\216\351\200\240\345\275\242B_\343\202\277\343\203\263\343\203\226\343\203\251\343\203\274_1.jpg" new file mode 100644 index 0000000..44bdeed Binary files /dev/null and "b/docs/image/workB1/\345\237\272\347\244\216\351\200\240\345\275\242B_\343\202\277\343\203\263\343\203\226\343\203\251\343\203\274_1.jpg" differ diff --git "a/docs/image/workB1/\345\237\272\347\244\216\351\200\240\345\275\242B_\343\202\277\343\203\263\343\203\226\343\203\251\343\203\274_2.jpg" "b/docs/image/workB1/\345\237\272\347\244\216\351\200\240\345\275\242B_\343\202\277\343\203\263\343\203\226\343\203\251\343\203\274_2.jpg" new file mode 100644 index 0000000..2c206ed Binary files /dev/null and "b/docs/image/workB1/\345\237\272\347\244\216\351\200\240\345\275\242B_\343\202\277\343\203\263\343\203\226\343\203\251\343\203\274_2.jpg" differ diff --git "a/docs/image/workB1/\345\237\272\347\244\216\351\200\240\345\275\242C.JPG" "b/docs/image/workB1/\345\237\272\347\244\216\351\200\240\345\275\242C.JPG" new file mode 100644 index 0000000..5151a35 Binary files /dev/null and "b/docs/image/workB1/\345\237\272\347\244\216\351\200\240\345\275\242C.JPG" differ diff --git a/docs/image/workB2/SpaceDesign.JPG b/docs/image/workB2/SpaceDesign.JPG new file mode 100644 index 0000000..ca22a24 Binary files /dev/null and b/docs/image/workB2/SpaceDesign.JPG differ diff --git a/docs/image/workB2/SpaceDesign1-2-1.jpg b/docs/image/workB2/SpaceDesign1-2-1.jpg new file mode 100644 index 0000000..983486d Binary files /dev/null and b/docs/image/workB2/SpaceDesign1-2-1.jpg differ diff --git a/docs/image/workB2/gra.jpg b/docs/image/workB2/gra.jpg new file mode 100644 index 0000000..acd99ac Binary files /dev/null and b/docs/image/workB2/gra.jpg differ diff --git a/docs/image/workB2/gra_2.jpg b/docs/image/workB2/gra_2.jpg new file mode 100644 index 0000000..f528ab3 Binary files /dev/null and b/docs/image/workB2/gra_2.jpg differ diff --git a/docs/image/workB2/kim.png b/docs/image/workB2/kim.png new file mode 100644 index 0000000..0448f22 Binary files /dev/null and b/docs/image/workB2/kim.png differ diff --git "a/docs/image/workB2/web\345\237\272\347\244\216.png" "b/docs/image/workB2/web\345\237\272\347\244\216.png" new file mode 100644 index 0000000..d664ca1 Binary files /dev/null and "b/docs/image/workB2/web\345\237\272\347\244\216.png" differ diff --git "a/docs/image/workB2/web\345\237\272\347\244\216_2.png" "b/docs/image/workB2/web\345\237\272\347\244\216_2.png" new file mode 100644 index 0000000..d116a19 Binary files /dev/null and "b/docs/image/workB2/web\345\237\272\347\244\216_2.png" differ diff --git "a/docs/image/workB2/\343\202\244\343\203\263\343\203\206.jpg" "b/docs/image/workB2/\343\202\244\343\203\263\343\203\206.jpg" new file mode 100644 index 0000000..fd6a0f4 Binary files /dev/null and "b/docs/image/workB2/\343\202\244\343\203\263\343\203\206.jpg" differ diff --git "a/docs/image/workB2/\343\202\271\343\203\232\343\203\274\343\202\2712.JPG" "b/docs/image/workB2/\343\202\271\343\203\232\343\203\274\343\202\2712.JPG" new file mode 100644 index 0000000..21a6097 Binary files /dev/null and "b/docs/image/workB2/\343\202\271\343\203\232\343\203\274\343\202\2712.JPG" differ diff --git "a/docs/image/workB2/\343\202\271\343\203\232\343\203\274\343\202\2713.jpg" "b/docs/image/workB2/\343\202\271\343\203\232\343\203\274\343\202\2713.jpg" new file mode 100644 index 0000000..9577b22 Binary files /dev/null and "b/docs/image/workB2/\343\202\271\343\203\232\343\203\274\343\202\2713.jpg" differ diff --git "a/docs/image/workB2/\343\203\210\343\203\251\343\203\235.png" "b/docs/image/workB2/\343\203\210\343\203\251\343\203\235.png" new file mode 100644 index 0000000..db58ca5 Binary files /dev/null and "b/docs/image/workB2/\343\203\210\343\203\251\343\203\235.png" differ diff --git "a/docs/image/workB2/\343\203\227\343\203\255\343\203\210\343\202\277\343\202\244\343\203\227_1.png" "b/docs/image/workB2/\343\203\227\343\203\255\343\203\210\343\202\277\343\202\244\343\203\227_1.png" new file mode 100644 index 0000000..1bba297 Binary files /dev/null and "b/docs/image/workB2/\343\203\227\343\203\255\343\203\210\343\202\277\343\202\244\343\203\227_1.png" differ diff --git "a/docs/image/workB2/\343\203\227\343\203\255\343\203\210\343\202\277\343\202\244\343\203\227_2.png" "b/docs/image/workB2/\343\203\227\343\203\255\343\203\210\343\202\277\343\202\244\343\203\227_2.png" new file mode 100644 index 0000000..62cec16 Binary files /dev/null and "b/docs/image/workB2/\343\203\227\343\203\255\343\203\210\343\202\277\343\202\244\343\203\227_2.png" differ diff --git "a/docs/image/workB2/\343\203\227\343\203\255\343\203\210\343\202\277\343\202\244\343\203\227_3.png" "b/docs/image/workB2/\343\203\227\343\203\255\343\203\210\343\202\277\343\202\244\343\203\227_3.png" new file mode 100644 index 0000000..b3edd49 Binary files /dev/null and "b/docs/image/workB2/\343\203\227\343\203\255\343\203\210\343\202\277\343\202\244\343\203\227_3.png" differ diff --git "a/docs/image/workB2/\343\203\227\343\203\255\343\203\210\343\202\277\343\202\244\343\203\227_4.png" "b/docs/image/workB2/\343\203\227\343\203\255\343\203\210\343\202\277\343\202\244\343\203\227_4.png" new file mode 100644 index 0000000..ee61be8 Binary files /dev/null and "b/docs/image/workB2/\343\203\227\343\203\255\343\203\210\343\202\277\343\202\244\343\203\227_4.png" differ diff --git "a/docs/image/workB2/\343\203\227\343\203\255\345\237\272\347\244\216.png" "b/docs/image/workB2/\343\203\227\343\203\255\345\237\272\347\244\216.png" new file mode 100644 index 0000000..7e65d9f Binary files /dev/null and "b/docs/image/workB2/\343\203\227\343\203\255\345\237\272\347\244\216.png" differ diff --git "a/docs/image/workB2/\344\272\272\351\226\223\345\267\245\345\255\246_1.jpg" "b/docs/image/workB2/\344\272\272\351\226\223\345\267\245\345\255\246_1.jpg" new file mode 100644 index 0000000..1a27929 Binary files /dev/null and "b/docs/image/workB2/\344\272\272\351\226\223\345\267\245\345\255\246_1.jpg" differ diff --git "a/docs/image/workB2/\344\272\272\351\226\223\345\267\245\345\255\246_2.png" "b/docs/image/workB2/\344\272\272\351\226\223\345\267\245\345\255\246_2.png" new file mode 100644 index 0000000..39bb6cb Binary files /dev/null and "b/docs/image/workB2/\344\272\272\351\226\223\345\267\245\345\255\246_2.png" differ diff --git "a/docs/image/workB2/\344\272\272\351\226\223\345\267\245\345\255\246_3.png" "b/docs/image/workB2/\344\272\272\351\226\223\345\267\245\345\255\246_3.png" new file mode 100644 index 0000000..193872b Binary files /dev/null and "b/docs/image/workB2/\344\272\272\351\226\223\345\267\245\345\255\246_3.png" differ diff --git "a/docs/image/workB2/\344\272\272\351\226\223\345\267\245\345\255\246_4.png" "b/docs/image/workB2/\344\272\272\351\226\223\345\267\245\345\255\246_4.png" new file mode 100644 index 0000000..52b26d6 Binary files /dev/null and "b/docs/image/workB2/\344\272\272\351\226\223\345\267\245\345\255\246_4.png" differ diff --git "a/docs/image/workB2/\345\275\271\343\201\253\347\253\213\343\201\237\343\201\252\343\201\204\346\251\237\346\242\260 5\347\217\255_\343\203\232\343\203\274\343\202\270_1.jpg" "b/docs/image/workB2/\345\275\271\343\201\253\347\253\213\343\201\237\343\201\252\343\201\204\346\251\237\346\242\260 5\347\217\255_\343\203\232\343\203\274\343\202\270_1.jpg" new file mode 100644 index 0000000..15f9431 Binary files /dev/null and "b/docs/image/workB2/\345\275\271\343\201\253\347\253\213\343\201\237\343\201\252\343\201\204\346\251\237\346\242\260 5\347\217\255_\343\203\232\343\203\274\343\202\270_1.jpg" differ diff --git "a/docs/image/workB2/\345\275\271\343\201\253\347\253\213\343\201\237\343\201\252\343\201\204\346\251\237\346\242\260 5\347\217\255_\343\203\232\343\203\274\343\202\270_2.jpg" "b/docs/image/workB2/\345\275\271\343\201\253\347\253\213\343\201\237\343\201\252\343\201\204\346\251\237\346\242\260 5\347\217\255_\343\203\232\343\203\274\343\202\270_2.jpg" new file mode 100644 index 0000000..7ad3d0e Binary files /dev/null and "b/docs/image/workB2/\345\275\271\343\201\253\347\253\213\343\201\237\343\201\252\343\201\204\346\251\237\346\242\260 5\347\217\255_\343\203\232\343\203\274\343\202\270_2.jpg" differ diff --git "a/docs/image/workB2/\345\275\271\343\201\253\347\253\213\343\201\237\343\201\252\343\201\204\346\251\237\346\242\260 5\347\217\255_\343\203\232\343\203\274\343\202\270_3.jpg" "b/docs/image/workB2/\345\275\271\343\201\253\347\253\213\343\201\237\343\201\252\343\201\204\346\251\237\346\242\260 5\347\217\255_\343\203\232\343\203\274\343\202\270_3.jpg" new file mode 100644 index 0000000..11d1a27 Binary files /dev/null and "b/docs/image/workB2/\345\275\271\343\201\253\347\253\213\343\201\237\343\201\252\343\201\204\346\251\237\346\242\260 5\347\217\255_\343\203\232\343\203\274\343\202\270_3.jpg" differ diff --git "a/docs/image/workB2/\345\275\271\343\201\253\347\253\213\343\201\237\343\201\252\343\201\204\346\251\237\346\242\260 5\347\217\255_\343\203\232\343\203\274\343\202\270_4.jpg" "b/docs/image/workB2/\345\275\271\343\201\253\347\253\213\343\201\237\343\201\252\343\201\204\346\251\237\346\242\260 5\347\217\255_\343\203\232\343\203\274\343\202\270_4.jpg" new file mode 100644 index 0000000..26f65a2 Binary files /dev/null and "b/docs/image/workB2/\345\275\271\343\201\253\347\253\213\343\201\237\343\201\252\343\201\204\346\251\237\346\242\260 5\347\217\255_\343\203\232\343\203\274\343\202\270_4.jpg" differ diff --git "a/docs/image/workB2/\345\275\271\343\201\253\347\253\213\343\201\237\343\201\252\343\201\204\346\251\237\346\242\260.jpg" "b/docs/image/workB2/\345\275\271\343\201\253\347\253\213\343\201\237\343\201\252\343\201\204\346\251\237\346\242\260.jpg" new file mode 100644 index 0000000..67526d5 Binary files /dev/null and "b/docs/image/workB2/\345\275\271\343\201\253\347\253\213\343\201\237\343\201\252\343\201\204\346\251\237\346\242\260.jpg" differ diff --git "a/docs/image/workB2/\346\230\240\345\203\217\345\237\272\347\244\216.png" "b/docs/image/workB2/\346\230\240\345\203\217\345\237\272\347\244\216.png" new file mode 100644 index 0000000..4b15c13 Binary files /dev/null and "b/docs/image/workB2/\346\230\240\345\203\217\345\237\272\347\244\216.png" differ diff --git a/docs/image/workB3/Kinect_1.png b/docs/image/workB3/Kinect_1.png new file mode 100644 index 0000000..bca40d7 Binary files /dev/null and b/docs/image/workB3/Kinect_1.png differ diff --git a/docs/image/workB3/Kinect_2.jpg b/docs/image/workB3/Kinect_2.jpg new file mode 100644 index 0000000..f4d9fd9 Binary files /dev/null and b/docs/image/workB3/Kinect_2.jpg differ diff --git a/docs/image/workB3/LIvingDesignB180122.png b/docs/image/workB3/LIvingDesignB180122.png new file mode 100644 index 0000000..1fb4f74 Binary files /dev/null and b/docs/image/workB3/LIvingDesignB180122.png differ diff --git a/docs/image/workB3/maya_1.PNG b/docs/image/workB3/maya_1.PNG new file mode 100644 index 0000000..dd254ce Binary files /dev/null and b/docs/image/workB3/maya_1.PNG differ diff --git a/docs/image/workB3/maya_2.PNG b/docs/image/workB3/maya_2.PNG new file mode 100644 index 0000000..a9747fc Binary files /dev/null and b/docs/image/workB3/maya_2.PNG differ diff --git a/docs/image/workB3/mc_1.PNG b/docs/image/workB3/mc_1.PNG new file mode 100644 index 0000000..5ed85a7 Binary files /dev/null and b/docs/image/workB3/mc_1.PNG differ diff --git a/docs/image/workB3/mc_2.PNG b/docs/image/workB3/mc_2.PNG new file mode 100644 index 0000000..01ab807 Binary files /dev/null and b/docs/image/workB3/mc_2.PNG differ diff --git a/docs/image/workB3/net_1.png b/docs/image/workB3/net_1.png new file mode 100644 index 0000000..86217c3 Binary files /dev/null and b/docs/image/workB3/net_1.png differ diff --git a/docs/image/workB3/net_2.png b/docs/image/workB3/net_2.png new file mode 100644 index 0000000..41a2d2c Binary files /dev/null and b/docs/image/workB3/net_2.png differ diff --git a/docs/image/workB3/net_3.png b/docs/image/workB3/net_3.png new file mode 100644 index 0000000..0053d40 Binary files /dev/null and b/docs/image/workB3/net_3.png differ diff --git a/docs/image/workB3/net_4.png b/docs/image/workB3/net_4.png new file mode 100644 index 0000000..a22cbe7 Binary files /dev/null and b/docs/image/workB3/net_4.png differ diff --git a/docs/image/workB3/net_5.png b/docs/image/workB3/net_5.png new file mode 100644 index 0000000..0a27e62 Binary files /dev/null and b/docs/image/workB3/net_5.png differ diff --git a/docs/image/workB3/yamijenga.jpg b/docs/image/workB3/yamijenga.jpg new file mode 100644 index 0000000..abe67f5 Binary files /dev/null and b/docs/image/workB3/yamijenga.jpg differ diff --git a/docs/image/workB3/yamijenga_2.jpg b/docs/image/workB3/yamijenga_2.jpg new file mode 100644 index 0000000..7bc76c6 Binary files /dev/null and b/docs/image/workB3/yamijenga_2.jpg differ diff --git a/docs/image/workB3/yamijenga_3.jpg b/docs/image/workB3/yamijenga_3.jpg new file mode 100644 index 0000000..48c73d0 Binary files /dev/null and b/docs/image/workB3/yamijenga_3.jpg differ diff --git "a/docs/image/workB3/\343\202\244\343\202\257\343\202\244\343\203\203\343\203\227\343\203\241\343\203\263\343\203\210_1.jpg" "b/docs/image/workB3/\343\202\244\343\202\257\343\202\244\343\203\203\343\203\227\343\203\241\343\203\263\343\203\210_1.jpg" new file mode 100644 index 0000000..a007d8b Binary files /dev/null and "b/docs/image/workB3/\343\202\244\343\202\257\343\202\244\343\203\203\343\203\227\343\203\241\343\203\263\343\203\210_1.jpg" differ diff --git "a/docs/image/workB3/\343\202\244\343\202\257\343\202\244\343\203\203\343\203\227\343\203\241\343\203\263\343\203\210_2.jpg" "b/docs/image/workB3/\343\202\244\343\202\257\343\202\244\343\203\203\343\203\227\343\203\241\343\203\263\343\203\210_2.jpg" new file mode 100644 index 0000000..61414c8 Binary files /dev/null and "b/docs/image/workB3/\343\202\244\343\202\257\343\202\244\343\203\203\343\203\227\343\203\241\343\203\263\343\203\210_2.jpg" differ diff --git "a/docs/image/workB3/\343\202\244\343\202\257\343\202\244\343\203\203\343\203\227\343\203\241\343\203\263\343\203\210_3.jpg" "b/docs/image/workB3/\343\202\244\343\202\257\343\202\244\343\203\203\343\203\227\343\203\241\343\203\263\343\203\210_3.jpg" new file mode 100644 index 0000000..86cb9aa Binary files /dev/null and "b/docs/image/workB3/\343\202\244\343\202\257\343\202\244\343\203\203\343\203\227\343\203\241\343\203\263\343\203\210_3.jpg" differ diff --git "a/docs/image/workB3/\343\202\244\343\202\257\343\202\244\343\203\203\343\203\227\343\203\241\343\203\263\343\203\210_4.jpg" "b/docs/image/workB3/\343\202\244\343\202\257\343\202\244\343\203\203\343\203\227\343\203\241\343\203\263\343\203\210_4.jpg" new file mode 100644 index 0000000..bce3539 Binary files /dev/null and "b/docs/image/workB3/\343\202\244\343\202\257\343\202\244\343\203\203\343\203\227\343\203\241\343\203\263\343\203\210_4.jpg" differ diff --git "a/docs/image/workB3/\343\202\250\343\203\207\343\202\243.JPG" "b/docs/image/workB3/\343\202\250\343\203\207\343\202\243.JPG" new file mode 100644 index 0000000..caff74e Binary files /dev/null and "b/docs/image/workB3/\343\202\250\343\203\207\343\202\243.JPG" differ diff --git "a/docs/image/workB3/\343\202\260\343\203\251\343\203\203\343\203\225\343\202\243\343\203\203\343\202\2571.jpeg" "b/docs/image/workB3/\343\202\260\343\203\251\343\203\203\343\203\225\343\202\243\343\203\203\343\202\2571.jpeg" new file mode 100644 index 0000000..77a4ba4 Binary files /dev/null and "b/docs/image/workB3/\343\202\260\343\203\251\343\203\203\343\203\225\343\202\243\343\203\203\343\202\2571.jpeg" differ diff --git "a/docs/image/workB3/\343\202\260\343\203\251\343\203\225\343\202\243\343\203\203\343\202\257.jpg" "b/docs/image/workB3/\343\202\260\343\203\251\343\203\225\343\202\243\343\203\203\343\202\257.jpg" new file mode 100644 index 0000000..b9aa6c2 Binary files /dev/null and "b/docs/image/workB3/\343\202\260\343\203\251\343\203\225\343\202\243\343\203\203\343\202\257.jpg" differ diff --git "a/docs/image/workB3/\343\202\271\343\203\210\343\203\251\343\203\206\343\202\270\343\203\203\343\202\257.png" "b/docs/image/workB3/\343\202\271\343\203\210\343\203\251\343\203\206\343\202\270\343\203\203\343\202\257.png" new file mode 100644 index 0000000..afb88a6 Binary files /dev/null and "b/docs/image/workB3/\343\202\271\343\203\210\343\203\251\343\203\206\343\202\270\343\203\203\343\202\257.png" differ diff --git "a/docs/image/workB3/\343\202\271\343\203\232\343\203\274\343\202\271_\343\203\232\343\203\274\343\202\270_01.jpg" "b/docs/image/workB3/\343\202\271\343\203\232\343\203\274\343\202\271_\343\203\232\343\203\274\343\202\270_01.jpg" new file mode 100644 index 0000000..3ed1ddb Binary files /dev/null and "b/docs/image/workB3/\343\202\271\343\203\232\343\203\274\343\202\271_\343\203\232\343\203\274\343\202\270_01.jpg" differ diff --git "a/docs/image/workB3/\343\202\271\343\203\232\343\203\274\343\202\271_\343\203\232\343\203\274\343\202\270_02.jpg" "b/docs/image/workB3/\343\202\271\343\203\232\343\203\274\343\202\271_\343\203\232\343\203\274\343\202\270_02.jpg" new file mode 100644 index 0000000..efa4e41 Binary files /dev/null and "b/docs/image/workB3/\343\202\271\343\203\232\343\203\274\343\202\271_\343\203\232\343\203\274\343\202\270_02.jpg" differ diff --git "a/docs/image/workB3/\343\202\271\343\203\232\343\203\274\343\202\271_\343\203\232\343\203\274\343\202\270_04.jpg" "b/docs/image/workB3/\343\202\271\343\203\232\343\203\274\343\202\271_\343\203\232\343\203\274\343\202\270_04.jpg" new file mode 100644 index 0000000..ff3d438 Binary files /dev/null and "b/docs/image/workB3/\343\202\271\343\203\232\343\203\274\343\202\271_\343\203\232\343\203\274\343\202\270_04.jpg" differ diff --git "a/docs/image/workB3/\343\202\271\343\203\232\343\203\274\343\202\271_\343\203\232\343\203\274\343\202\270_05.jpg" "b/docs/image/workB3/\343\202\271\343\203\232\343\203\274\343\202\271_\343\203\232\343\203\274\343\202\270_05.jpg" new file mode 100644 index 0000000..855298e Binary files /dev/null and "b/docs/image/workB3/\343\202\271\343\203\232\343\203\274\343\202\271_\343\203\232\343\203\274\343\202\270_05.jpg" differ diff --git "a/docs/image/workB3/\343\202\271\343\203\232\343\203\274\343\202\271_\343\203\232\343\203\274\343\202\270_06.jpg" "b/docs/image/workB3/\343\202\271\343\203\232\343\203\274\343\202\271_\343\203\232\343\203\274\343\202\270_06.jpg" new file mode 100644 index 0000000..79bdea8 Binary files /dev/null and "b/docs/image/workB3/\343\202\271\343\203\232\343\203\274\343\202\271_\343\203\232\343\203\274\343\202\270_06.jpg" differ diff --git "a/docs/image/workB3/\343\202\271\343\203\232\343\203\274\343\202\271_\343\203\232\343\203\274\343\202\270_12.jpg" "b/docs/image/workB3/\343\202\271\343\203\232\343\203\274\343\202\271_\343\203\232\343\203\274\343\202\270_12.jpg" new file mode 100644 index 0000000..0fd90b7 Binary files /dev/null and "b/docs/image/workB3/\343\202\271\343\203\232\343\203\274\343\202\271_\343\203\232\343\203\274\343\202\270_12.jpg" differ diff --git "a/docs/image/workB3/\343\203\210\343\203\251\343\203\235.jpg" "b/docs/image/workB3/\343\203\210\343\203\251\343\203\235.jpg" new file mode 100644 index 0000000..c6a9bb6 Binary files /dev/null and "b/docs/image/workB3/\343\203\210\343\203\251\343\203\235.jpg" differ diff --git "a/docs/image/workB3/\346\230\240\345\203\217\342\205\241_1.PNG" "b/docs/image/workB3/\346\230\240\345\203\217\342\205\241_1.PNG" new file mode 100644 index 0000000..566e7d0 Binary files /dev/null and "b/docs/image/workB3/\346\230\240\345\203\217\342\205\241_1.PNG" differ diff --git "a/docs/image/workB3/\346\230\240\345\203\217\342\205\241_2.PNG" "b/docs/image/workB3/\346\230\240\345\203\217\342\205\241_2.PNG" new file mode 100644 index 0000000..0d27f66 Binary files /dev/null and "b/docs/image/workB3/\346\230\240\345\203\217\342\205\241_2.PNG" differ diff --git "a/docs/image/\343\201\277\343\202\223\343\201\252\343\201\256\345\233\263\346\233\270visual-02.jpg" "b/docs/image/\343\201\277\343\202\223\343\201\252\343\201\256\345\233\263\346\233\270visual-02.jpg" new file mode 100644 index 0000000..c304140 Binary files /dev/null and "b/docs/image/\343\201\277\343\202\223\343\201\252\343\201\256\345\233\263\346\233\270visual-02.jpg" differ diff --git "a/docs/image/\345\255\246\350\262\273.png" "b/docs/image/\345\255\246\350\262\273.png" new file mode 100644 index 0000000..12cf60e Binary files /dev/null and "b/docs/image/\345\255\246\350\262\273.png" differ diff --git a/docs/index.html b/docs/index.html index 02c5eff..7d7c2a2 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1,17 +1,2405 @@ - - - 東京都立大学システムデザイン学部インダストリアルアート学科 - - - -

東京都立大学システムデザイン学部インダストリアルアート学科

-

Department of Industrial Art

-

Faculty of Systems Design, Tokyo Metropolitan University

-
Google SheetのデータをJSONで取得できるAPIを使ってサイトを構築しています。
-
-

+
+
+  
+  
+  東京都立大学システムデザイン学部インダストリアルアート学科
+  
+  
+  
+  
+  
+
+
+
+
+
+  
+ +
+ loading +
+ +
+ + + + + + + +
+ + + + +
    +
  • +

    English

    + +
  • +
  • +
+ + + +
+
+ + - - + + + + \ No newline at end of file diff --git a/docs/js/index.js b/docs/js/index.js index 430abd4..7b9e553 100644 --- a/docs/js/index.js +++ b/docs/js/index.js @@ -1,34 +1,820 @@ const uri = 'https://script.google.com/macros/s/AKfycbxyacpN8y4nxSAnU0Eji6E_rBRDFTY7YoWWFa0clY5ELRhskgpt/exec'; + const id = '1BpGnuwC4lZf9G2yFyiSrxbJuGO8gviV8mr-I2D3x4vA'; -const sheet = 'studio'; +const sheet = 'Studio'; +const sheet2 = "group4-faculty"; +const sheet3 = 'group4-link'; const endpoint = `${uri}?id=${id}&sheet=${sheet}`; +const endpoint2 = `${uri}?id=${id}&sheet=${sheet2}`; +const endpoint3 = `${uri}?id=${id}&sheet=${sheet3}`; +var langMode = 0; + +var showloading = document.getElementById('showloading'); +var contents = document.getElementById('mainContent'); +window.addEventListener('load', stopload); +function stopload() { + showloading.classList.add('fadeout-bg'); + contents.classList.remove('hidden'); +} + const renderJson = (json) => { const studios = json.records; - studios.forEach(studio => { - const studioDiv = document.createElement('div'); - const studioTitle = document.createElement("span"); - studioTitle.className = 'studio-title'; - studioTitle.textContent = studio['name-ja']; - const studioTitleEn = document.createElement("span"); - studioTitleEn.className = 'studio-title-en'; - studioTitleEn.textContent = studio['name-en']; - studioDiv.appendChild(studioTitle); - studioDiv.appendChild(studioTitleEn); - document.getElementById('studios').appendChild(studioDiv); - }); + studios.pop(); + studios.forEach(studios => { + const nomalStudioDiv = document.createElement('div'); + const nomalStudioLink = document.createElement("p"); + const nomalStudioImage = document.createElement("img"); + + //スタジオ名(日本語)のクラス + nomalStudioLink.className = 'studio-title'; + //nomalStudioLink.href = "./html/" + studios['name-short'].toString() + ".html"; + + nomalStudioLink.textContent = studios['name-ja']; + nomalStudioImage.onclick = function () { + var langControll; + if (langMode == 0) { + langControll = "?lang=0"; + } else if (langMode == 2) { + langControll = "?lang=2"; + } + location.href = "./html/" + studios['name-short'].toString() + ".html" + langControll; + }; + nomalStudioLink.onclick = function () { + var langControll; + if (langMode == 0) { + langControll = "?lang=0"; + } else if (langMode == 2) { + langControll = "?lang=2"; + } + location.href = "./html/" + studios['name-short'].toString() + ".html" + langControll; + }; + //nomalStudioLink.id = studios['name-short']; + //stnameja.push(studios['name-short']); + //スタジオ写真のクラス + nomalStudioImage.className = 'studio-photo1'; + nomalStudioImage.src = studios['photo1']; + + const englishStudioDiv = document.createElement('div'); + const englishStudioLink = document.createElement("a"); + const englishStudioImage = document.createElement("img"); + + //スタジオ名(英語)のクラス + englishStudioLink.className = 'studio-title-en'; + englishStudioImage.onclick = function () { + var langControll; + langControll = "?lang=1"; + location.href = "./html/" + studios['name-short'].toString() + ".html" + langControll; + }; + englishStudioLink.onclick = function () { + var langControll; + langControll = "?lang=1"; + location.href = "./html/" + studios['name-short'].toString() + ".html" + langControll; + }; + //englishStudioLink.href = "./html/" + studios['name-short'].toString() + ".html"; + //stnameen.push(studios['name-short']); + //スタジオ写真(英語)のクラス + englishStudioLink.textContent = studios['name-en']; + englishStudioImage.src = studios['photo2']; + englishStudioImage.className = 'studio-photo2'; + + + nomalStudioDiv.appendChild(nomalStudioImage); + nomalStudioDiv.appendChild(nomalStudioLink); + document.getElementById('nomalStudios').appendChild(nomalStudioDiv); + englishStudioDiv.appendChild(englishStudioImage); + englishStudioDiv.appendChild(englishStudioLink); + document.getElementById('englishStudios').appendChild(englishStudioDiv); + + }); + document.getElementById('result').textContent = JSON.stringify(json, null, 2); } + +const renderJson2 = (json) => { + const faculty = json.records; + faculty.pop(); + faculty.forEach(faculty => { + const nomalFacultyDiv = document.createElement('div'); + const nomalFacultyTextDiv = document.createElement('div'); + const nomalFacultyname = document.createElement("span"); + const nomalFacultynameEn = document.createElement("span"); + const nomalFacultyTitle = document.createElement("span"); + const nomalFacultyStudio = document.createElement("span"); + const nomalFacultyMajor = document.createElement("span"); + const nomalFacultyImage = document.createElement("img"); + const nomalFacultyLink = document.createElement("span"); + const nomalFacultyLink2 = document.createElement("a"); + //nomal~のところは全部日本語版サイト。 + //○○.classNameのところ、上から順に、教員名(日本語)、教員名(英語)、教授か助教かとか、所属スタジオ、教員の専攻、写真 + nomalFacultyTextDiv.className = 'text-box' + nomalFacultyname.className = 'faculty-name'; + nomalFacultynameEn.className = 'faculty-name-2'; + nomalFacultyTitle.className = 'faculty-title'; + nomalFacultyStudio.className = 'faculty-studio'; + nomalFacultyMajor.className = 'faculty-major'; + nomalFacultyImage.className = "faculty-image"; + nomalFacultyLink.className = 'faculty-link' + nomalFacultyname.textContent = faculty['f-faculty-ja']; + nomalFacultynameEn.textContent = faculty['f-faculty-en']; + nomalFacultyTitle.textContent = faculty['f-faculty-title-ja']; + nomalFacultyStudio.textContent = faculty['f-studio-ja']; + nomalFacultyMajor.textContent = faculty['major-ja']; + if (faculty['f-link'] != "") { + nomalFacultyLink2.textContent = "外部サイト:" + faculty['f-link-name']; + nomalFacultyLink2.href = faculty['f-link']; + } + nomalFacultyImage.src = faculty['faculty-photo']; + + const englishFacultyDiv = document.createElement('div'); + const englishFacultyTextDiv = document.createElement('div'); + const englishFacultyname = document.createElement("span"); + const englishFacultynameJa = document.createElement("span"); + const englishFacultyTitle = document.createElement("span"); + const englishFacultyStudio = document.createElement("span"); + const englishFacultyMajor = document.createElement("span"); + const englishFacultyImage = document.createElement("img"); + const englishFacultyLink = document.createElement("span"); + const englishFacultyLink2 = document.createElement("a"); + //english~のところは全部日本語版サイト。 + //○○.classNameのところ、上から順に、教員名(英語)、教員名(日本語)、教授か助教かとか、所属スタジオ、教員の専攻、写真 + englishFacultyTextDiv.className = 'text-box' + englishFacultyname.className = 'faculty-name-en'; + englishFacultynameJa.className = 'faculty-name-en2'; + englishFacultyTitle.className = 'faculty-title-en'; + englishFacultyStudio.className = 'faculty-studio-en'; + englishFacultyMajor.className = 'faculty-major-en'; + englishFacultyImage.className = "faculty-image-en"; + englishFacultyLink.className = 'faculty-link-en' + englishFacultyname.textContent = faculty['f-faculty-en']; + englishFacultynameJa.textContent = faculty['f-faculty-ja']; + englishFacultyTitle.textContent = faculty['f-faculty-title-en']; + englishFacultyStudio.textContent = faculty['f-studio-en']; + englishFacultyMajor.textContent = faculty['major-en']; + englishFacultyImage.src = faculty['faculty-photo']; + if (faculty['f-link'] != "") { + englishFacultyLink2.textContent = "official site:" + faculty['f-link-name']; + englishFacultyLink2.href = faculty['f-link']; + } + + nomalFacultyDiv.appendChild(nomalFacultyImage); + nomalFacultyDiv.appendChild(nomalFacultyTextDiv); + nomalFacultyTextDiv.appendChild(nomalFacultyname); + nomalFacultyTextDiv.appendChild(nomalFacultyTitle); + nomalFacultyTextDiv.appendChild(nomalFacultynameEn); + nomalFacultyTextDiv.appendChild(nomalFacultyStudio); + nomalFacultyTextDiv.appendChild(nomalFacultyMajor); + nomalFacultyLink.appendChild(nomalFacultyLink2); + nomalFacultyTextDiv.appendChild(nomalFacultyLink); + document.getElementById('nomalFaculty').appendChild(nomalFacultyDiv); + englishFacultyDiv.appendChild(englishFacultyImage); + englishFacultyDiv.appendChild(englishFacultyTextDiv) + englishFacultyTextDiv.appendChild(englishFacultyname); + englishFacultyTextDiv.appendChild(englishFacultyTitle); + englishFacultyTextDiv.appendChild(englishFacultynameJa); + englishFacultyTextDiv.appendChild(englishFacultyStudio); + englishFacultyTextDiv.appendChild(englishFacultyMajor); + englishFacultyLink.appendChild(englishFacultyLink2); + englishFacultyTextDiv.appendChild(englishFacultyLink); + document.getElementById('englishFaculty').appendChild(englishFacultyDiv); + }); + + document.getElementById('result').textContent = JSON.stringify(json, null, 2); +} + +const renderJson3 = (json) => { + const link = json.records; + link.pop(); + link.forEach(link => { + const nomalLinkDiv = document.createElement('div'); + const nomalLinkTitle = document.createElement("a"); + const nomalLink = document.createElement("a"); + const nomalLinkImage = document.createElement("img"); + nomalLinkTitle.textContent = link['name-ja']; + //関連コンテンツ名のクラス + nomalLinkTitle.className = 'link-title'; + nomalLinkTitle.onclick = function () { + var langControll; + if (langMode == 0) { + langControll = "?lang=0"; + } else if (langMode == 2) { + langControll = "?lang=2"; + } + location.href = link['link'] + langControll; + }; + nomalLink.onclick = function () { + var langControll; + if (langMode == 0) { + langControll = "?lang=0"; + } else if (langMode == 2) { + langControll = "?lang=2"; + } + location.href = link['link'] + langControll; + }; + + nomalLinkImage.src = link['photo']; + //関連コンテンツ画像のクラス + nomalLinkImage.className = 'link-image'; + + nomalLink.appendChild(nomalLinkImage); + nomalLinkDiv.appendChild(nomalLink); + nomalLinkDiv.appendChild(nomalLinkTitle); + //nomalStudioDiv.appendChild(nomalStudioLink); + document.getElementById('nomalLink').appendChild(nomalLinkDiv); + + const englishLinkDiv = document.createElement('div'); + const englishLinkTitle = document.createElement("a"); + const englishLink = document.createElement("a"); + const englishLinkImage = document.createElement("img"); + englishLinkTitle.textContent = link['name-en']; + //関連コンテンツ名のクラス + englishLinkTitle.className = 'link-title'; + englishLinkTitle.onclick = function () { + var langControll; + langControll = "?lang=1"; + location.href = link['link'] + langControll; + }; + englishLink.onclick = function () { + var langControll; + langControll = "?lang=1"; + location.href = link['link'] + langControll; + }; + + englishLinkImage.src = link['photo']; + //関連コンテンツ画像のクラス + englishLinkImage.className = 'link-image'; + + englishLink.appendChild(englishLinkImage); + englishLinkDiv.appendChild(englishLink); + englishLinkDiv.appendChild(englishLinkTitle); + //nomalStudioDiv.appendChild(nomalStudioLink); + document.getElementById('englishLink').appendChild(englishLinkDiv); + + + }); + + document.getElementById('result').textContent = JSON.stringify(json, null, 2); +} + +//初回読み込み時の言語 +window.onload = function () { + var langBotton = document.getElementById("button"); + var langBotton2 = document.getElementById("button2"); + + if (document.URL.match("/?lang=0")) { + + } + else if (document.URL.match("/?lang=1")) { + langBotton.classList.remove('open'); + langBotton.classList.add('close'); + langMode = 1; + //langBottonWork.classList.remove('open'); + //langBottonWork.classList.add('close'); + + document.getElementById('nomalButton').style.display = "none"; + document.getElementById('englishButton').style.display = "block"; + document.getElementById('nomalButton2').style.display = "block"; + document.getElementById('easyButton2').style.display = "none"; + + document.getElementById('nomalRec').style.display = "none"; + document.getElementById('englishRec').style.display = "block"; + document.getElementById('easyRec').style.display = "none"; + document.getElementById('nomalLang').style.display = "none"; + document.getElementById('englishLang').style.display = "block"; + document.getElementById('easyLang').style.display = "none"; + + document.getElementById('nomalTitle').style.display = "none"; + document.getElementById('easyTitle').style.display = "none"; + document.getElementById('englishTitle').style.display = "block"; + document.getElementById('englishTitle2').style.display = "block"; + + document.getElementById('nomalCopy').style.display = "none"; + document.getElementById('englishCopy').style.display = "block"; + document.getElementById('easyCopy').style.display = "none"; + + for (var i = 0; i <= 8; i++) { + document.getElementById('nomalSubtitle' + (i + 1).toString()).style.display = "none"; + document.getElementById('easySubtitle' + (i + 1).toString()).style.display = "none"; + document.getElementById('englishSubtitle' + (i + 1).toString()).style.display = "block"; + } + + for (var i = 0; i <= 8; i++) { + document.getElementById('nomalContentsTitle' + (i + 1).toString()).style.display = "none"; + document.getElementById('englishContentsTitle' + (i + 1).toString()).style.display = "block"; + document.getElementById('easyContentsTitle' + (i + 1).toString()).style.display = "none"; + } + + document.getElementById('nomalText').style.display = "none"; + document.getElementById('englishText').style.display = "block"; + document.getElementById('easyText').style.display = "none"; + + //document.getElementById('nomalWorkTitle').style.display = "none"; + //document.getElementById('englishWorkTitle').style.display = "block"; + document.getElementById('nomalWorkText').style.display = "none"; + document.getElementById('englishWorkText').style.display = "block"; + document.getElementById('easyWorkText').style.display = "none"; + + document.getElementById('nomalCurrText').style.display = "none"; + document.getElementById('englishCurrText').style.display = "block"; + document.getElementById('easyCurrText').style.display = "none"; + //document.getElementById('nomalWorkReturn').style.display = "none"; + //document.getElementById('englishWorkReturn').style.display = "block"; + + document.getElementById('nomalStudios').style.display = "none"; + document.getElementById('englishStudios').style.display = "flex"; + + // document.getElementById('nomalCapSt').style.display = "none"; + // document.getElementById('englishCapSt').style.display = "block"; + // document.getElementById('easyCapSt').style.display = "none"; + + document.getElementById('nomalFaculty').style.display = "none"; + document.getElementById('englishFaculty').style.display = "flex"; + + document.getElementById('nomalLink').style.display = "none"; + document.getElementById('englishLink').style.display = "flex"; + + document.getElementById('nomalAdmissionText').style.display = "none"; + document.getElementById('englishAdmissionText').style.display = "block"; + document.getElementById('easyAdmissionText').style.display = "none"; + + document.getElementById('nomalQText').style.display = "none"; + document.getElementById('englishQText').style.display = "block"; + document.getElementById('easyQText').style.display = "none"; + + document.getElementById('nomalAcText').style.display = "none"; + document.getElementById('englishAcText').style.display = "block"; + document.getElementById('easyAcText').style.display = "none"; + } + + else if (document.URL.match("/?lang=2")) { + langBotton2.classList.remove('open'); + langBotton2.classList.add('close'); + langMode = 2; + //langBottonWork.classList.remove('open'); + //langBottonWork.classList.add('close'); + + document.getElementById('nomalButton').style.display = "block"; + document.getElementById('englishButton').style.display = "none"; + document.getElementById('nomalButton2').style.display = "none"; + document.getElementById('easyButton2').style.display = "block"; + + document.getElementById('nomalRec').style.display = "none"; + document.getElementById('englishRec').style.display = "none"; + document.getElementById('easyRec').style.display = "block"; + document.getElementById('nomalLang').style.display = "none"; + document.getElementById('englishLang').style.display = "none"; + document.getElementById('easyLang').style.display = "block"; + + document.getElementById('nomalTitle').style.display = "none"; + document.getElementById('easyTitle').style.display = "block"; + document.getElementById('englishTitle').style.display = "none"; + document.getElementById('englishTitle2').style.display = "none"; + + document.getElementById('nomalCopy').style.display = "none"; + document.getElementById('englishCopy').style.display = "none"; + document.getElementById('easyCopy').style.display = "block"; + + for (var i = 0; i <= 8; i++) { + document.getElementById('easySubtitle' + (i + 1).toString()).style.display = "block"; + document.getElementById('nomalSubtitle' + (i + 1).toString()).style.display = "none"; + document.getElementById('englishSubtitle' + (i + 1).toString()).style.display = "none"; + } + + for (var i = 0; i <= 8; i++) { + document.getElementById('nomalContentsTitle' + (i + 1).toString()).style.display = "none"; + document.getElementById('englishContentsTitle' + (i + 1).toString()).style.display = "none"; + document.getElementById('easyContentsTitle' + (i + 1).toString()).style.display = "block"; + } + + document.getElementById('nomalText').style.display = "none"; + document.getElementById('englishText').style.display = "none"; + document.getElementById('easyText').style.display = "block"; + + //document.getElementById('nomalWorkTitle').style.display = "none"; + //document.getElementById('englishWorkTitle').style.display = "block"; + document.getElementById('nomalWorkText').style.display = "none"; + document.getElementById('englishWorkText').style.display = "none"; + document.getElementById('easyWorkText').style.display = "block"; + + document.getElementById('nomalCurrText').style.display = "none"; + document.getElementById('englishCurrText').style.display = "none"; + document.getElementById('easyCurrText').style.display = "block"; + //document.getElementById('nomalWorkReturn').style.display = "none"; + //document.getElementById('englishWorkReturn').style.display = "block"; + + document.getElementById('nomalStudios').style.display = "flex"; + document.getElementById('englishStudios').style.display = "none"; + + // document.getElementById('nomalCapSt').style.display = "none"; + // document.getElementById('englishCapSt').style.display = "none"; + // document.getElementById('easyCapSt').style.display = "block"; + + document.getElementById('nomalFaculty').style.display = "flex"; + document.getElementById('englishFaculty').style.display = "none"; + + document.getElementById('nomalLink').style.display = "flex"; + document.getElementById('englishLink').style.display = "none"; + + document.getElementById('nomalAdmissionText').style.display = "none"; + document.getElementById('englishAdmissionText').style.display = "none"; + document.getElementById('easyAdmissionText').style.display = "block"; + + document.getElementById('nomalQText').style.display = "none"; + document.getElementById('englishQText').style.display = "none"; + document.getElementById('easyQText').style.display = "block"; + + document.getElementById('nomalAcText').style.display = "none"; + document.getElementById('englishAcText').style.display = "none"; + document.getElementById('easyAcText').style.display = "block"; + } +}; + + +//この辺から下は言語切り替え +document.getElementById("button").onclick = function () { + var langBotton = document.getElementById("button"); + var langBottonClass = langBotton.getAttribute("class"); + //ボタンで言葉の切り替え(英語) + if (langBottonClass == "open") { + langBotton.classList.remove('open'); + langBotton.classList.add('close'); + langMode = 1; + //langBottonWork.classList.remove('open'); + //langBottonWork.classList.add('close'); + + document.getElementById('nomalButton').style.display = "none"; + document.getElementById('englishButton').style.display = "block"; + document.getElementById('nomalButton2').style.display = "block"; + document.getElementById('easyButton2').style.display = "none"; + + document.getElementById('nomalRec').style.display = "none"; + document.getElementById('englishRec').style.display = "block"; + document.getElementById('easyRec').style.display = "none"; + document.getElementById('nomalLang').style.display = "none"; + document.getElementById('englishLang').style.display = "block"; + document.getElementById('easyLang').style.display = "none"; + + document.getElementById('nomalTitle').style.display = "none"; + document.getElementById('easyTitle').style.display = "none"; + document.getElementById('englishTitle').style.display = "block"; + document.getElementById('englishTitle2').style.display = "block"; + + document.getElementById('nomalCopy').style.display = "none"; + document.getElementById('englishCopy').style.display = "block"; + document.getElementById('easyCopy').style.display = "none"; + + for (var i = 0; i <= 8; i++) { + document.getElementById('nomalSubtitle' + (i + 1).toString()).style.display = "none"; + document.getElementById('easySubtitle' + (i + 1).toString()).style.display = "none"; + document.getElementById('englishSubtitle' + (i + 1).toString()).style.display = "block"; + } + + for (var i = 0; i <= 8; i++) { + document.getElementById('nomalContentsTitle' + (i + 1).toString()).style.display = "none"; + document.getElementById('englishContentsTitle' + (i + 1).toString()).style.display = "block"; + document.getElementById('easyContentsTitle' + (i + 1).toString()).style.display = "none"; + } + + document.getElementById('nomalText').style.display = "none"; + document.getElementById('englishText').style.display = "block"; + document.getElementById('easyText').style.display = "none"; + + //document.getElementById('nomalWorkTitle').style.display = "none"; + //document.getElementById('englishWorkTitle').style.display = "block"; + document.getElementById('nomalWorkText').style.display = "none"; + document.getElementById('englishWorkText').style.display = "block"; + document.getElementById('easyWorkText').style.display = "none"; + + document.getElementById('nomalCurrText').style.display = "none"; + document.getElementById('englishCurrText').style.display = "block"; + document.getElementById('easyCurrText').style.display = "none"; + //document.getElementById('nomalWorkReturn').style.display = "none"; + //document.getElementById('englishWorkReturn').style.display = "block"; + + document.getElementById('nomalStudios').style.display = "none"; + document.getElementById('englishStudios').style.display = "flex"; + + // document.getElementById('nomalCapSt').style.display = "none"; + // document.getElementById('englishCapSt').style.display = "block"; + // document.getElementById('easyCapSt').style.display = "none"; + + document.getElementById('nomalFaculty').style.display = "none"; + document.getElementById('englishFaculty').style.display = "flex"; + + document.getElementById('nomalLink').style.display = "none"; + document.getElementById('englishLink').style.display = "flex"; + + document.getElementById('nomalAdmissionText').style.display = "none"; + document.getElementById('englishAdmissionText').style.display = "block"; + document.getElementById('easyAdmissionText').style.display = "none"; + + document.getElementById('nomalQText').style.display = "none"; + document.getElementById('englishQText').style.display = "block"; + document.getElementById('easyQText').style.display = "none"; + + document.getElementById('nomalAcText').style.display = "none"; + document.getElementById('englishAcText').style.display = "block"; + document.getElementById('easyAcText').style.display = "none"; + + } else if (langBottonClass == "close") { + langMode = 0; + langBotton.classList.remove('close'); + langBotton.classList.add('open'); + //langBottonWork.classList.remove('close'); + //langBottonWork.classList.add('open'); + document.getElementById('nomalButton').style.display = "block"; + document.getElementById('englishButton').style.display = "none"; + document.getElementById('nomalButton2').style.display = "block"; + document.getElementById('easyButton2').style.display = "none"; + + document.getElementById('nomalRec').style.display = "block"; + document.getElementById('englishRec').style.display = "none"; + document.getElementById('easyRec').style.display = "none"; + document.getElementById('nomalLang').style.display = "block"; + document.getElementById('englishLang').style.display = "none"; + document.getElementById('easyLang').style.display = "none"; + + document.getElementById('nomalTitle').style.display = "block"; + document.getElementById('easyTitle').style.display = "none"; + document.getElementById('englishTitle').style.display = "none"; + document.getElementById('englishTitle2').style.display = "none"; + + document.getElementById('nomalCopy').style.display = "block"; + document.getElementById('englishCopy').style.display = "none"; + document.getElementById('easyCopy').style.display = "none"; + + for (var i = 0; i <= 8; i++) { + document.getElementById('nomalSubtitle' + (i + 1).toString()).style.display = "block"; + document.getElementById('easySubtitle' + (i + 1).toString()).style.display = "none"; + document.getElementById('englishSubtitle' + (i + 1).toString()).style.display = "none"; + } + + for (var i = 0; i <= 8; i++) { + document.getElementById('nomalContentsTitle' + (i + 1).toString()).style.display = "block"; + document.getElementById('englishContentsTitle' + (i + 1).toString()).style.display = "none"; + document.getElementById('easyContentsTitle' + (i + 1).toString()).style.display = "none"; + } + + document.getElementById('nomalText').style.display = "block"; + document.getElementById('englishText').style.display = "none"; + document.getElementById('easyText').style.display = "none"; + + //document.getElementById('nomalWorkTitle').style.display = "block"; + //document.getElementById('englishWorkTitle').style.display = "none"; + document.getElementById('nomalWorkText').style.display = "block"; + document.getElementById('englishWorkText').style.display = "none"; + document.getElementById('easyWorkText').style.display = "none"; + + document.getElementById('nomalCurrText').style.display = "block"; + document.getElementById('englishCurrText').style.display = "none"; + document.getElementById('easyCurrText').style.display = "none"; + //document.getElementById('nomalWorkReturn').style.display = "block"; + //document.getElementById('englishWorkReturn').style.display = "none"; + + document.getElementById('nomalStudios').style.display = "flex"; + document.getElementById('englishStudios').style.display = "none"; + + // document.getElementById('nomalCapSt').style.display = "bock"; + // document.getElementById('englishCapSt').style.display = "none"; + // document.getElementById('easyCapSt').style.display = "none"; + + // document.getElementById('nomalCapSt').style.display = "flex"; + // document.getElementById('easyCapSt').style.display = "none"; + + document.getElementById('nomalFaculty').style.display = "flex"; + document.getElementById('englishFaculty').style.display = "none"; + + document.getElementById('nomalLink').style.display = "flex"; + document.getElementById('englishLink').style.display = "none"; + + document.getElementById('nomalAdmissionText').style.display = "block"; + document.getElementById('englishAdmissionText').style.display = "none"; + document.getElementById('easyAdmissionText').style.display = "none"; + + document.getElementById('nomalQText').style.display = "block"; + document.getElementById('englishQText').style.display = "none"; + document.getElementById('easyQText').style.display = "none"; + + document.getElementById('nomalAcText').style.display = "block"; + document.getElementById('englishAcText').style.display = "none"; + document.getElementById('easyAcText').style.display = "none"; + } + +}; + +//やさしいにほんご +document.getElementById("button2").onclick = function () { + var langBotton2 = document.getElementById("button2"); + var langBotton2Class = langBotton2.getAttribute("class"); + //var langBottonWork = document.getElementById("buttonWork"); + //var langBottonWorkClass = langBotton.getAttribute("class"); + + if (langBotton2Class == "open") { + langBotton2.classList.remove('open'); + langBotton2.classList.add('close'); + langMode = 2; + //langBottonWork.classList.remove('open'); + //langBottonWork.classList.add('close'); + + document.getElementById('nomalButton').style.display = "block"; + document.getElementById('englishButton').style.display = "none"; + document.getElementById('nomalButton2').style.display = "none"; + document.getElementById('easyButton2').style.display = "block"; + + document.getElementById('nomalRec').style.display = "none"; + document.getElementById('englishRec').style.display = "none"; + document.getElementById('easyRec').style.display = "block"; + document.getElementById('nomalLang').style.display = "none"; + document.getElementById('englishLang').style.display = "none"; + document.getElementById('easyLang').style.display = "block"; + + document.getElementById('nomalTitle').style.display = "none"; + document.getElementById('easyTitle').style.display = "block"; + document.getElementById('englishTitle').style.display = "none"; + document.getElementById('englishTitle2').style.display = "none"; + + document.getElementById('nomalCopy').style.display = "none"; + document.getElementById('englishCopy').style.display = "none"; + document.getElementById('easyCopy').style.display = "block"; + + for (var i = 0; i <= 8; i++) { + document.getElementById('easySubtitle' + (i + 1).toString()).style.display = "block"; + document.getElementById('nomalSubtitle' + (i + 1).toString()).style.display = "none"; + document.getElementById('englishSubtitle' + (i + 1).toString()).style.display = "none"; + } + + for (var i = 0; i <= 8; i++) { + document.getElementById('nomalContentsTitle' + (i + 1).toString()).style.display = "none"; + document.getElementById('englishContentsTitle' + (i + 1).toString()).style.display = "none"; + document.getElementById('easyContentsTitle' + (i + 1).toString()).style.display = "block"; + } + + document.getElementById('nomalText').style.display = "none"; + document.getElementById('englishText').style.display = "none"; + document.getElementById('easyText').style.display = "block"; + + //document.getElementById('nomalWorkTitle').style.display = "none"; + //document.getElementById('englishWorkTitle').style.display = "block"; + document.getElementById('nomalWorkText').style.display = "none"; + document.getElementById('englishWorkText').style.display = "none"; + document.getElementById('easyWorkText').style.display = "block"; + + document.getElementById('nomalCurrText').style.display = "none"; + document.getElementById('englishCurrText').style.display = "none"; + document.getElementById('easyCurrText').style.display = "block"; + //document.getElementById('nomalWorkReturn').style.display = "none"; + //document.getElementById('englishWorkReturn').style.display = "block"; + + document.getElementById('nomalStudios').style.display = "flex"; + document.getElementById('englishStudios').style.display = "none"; + + // document.getElementById('nomalCapSt').style.display = "none"; + // document.getElementById('englishCapSt').style.display = "none"; + // document.getElementById('easyCapSt').style.display = "block"; + + document.getElementById('nomalFaculty').style.display = "flex"; + document.getElementById('englishFaculty').style.display = "none"; + + document.getElementById('nomalLink').style.display = "flex"; + document.getElementById('englishLink').style.display = "none"; + + document.getElementById('nomalAdmissionText').style.display = "none"; + document.getElementById('englishAdmissionText').style.display = "none"; + document.getElementById('easyAdmissionText').style.display = "block"; + + document.getElementById('nomalQText').style.display = "none"; + document.getElementById('englishQText').style.display = "none"; + document.getElementById('easyQText').style.display = "block"; + + document.getElementById('nomalAcText').style.display = "none"; + document.getElementById('englishAcText').style.display = "none"; + document.getElementById('easyAcText').style.display = "block"; + + } else if (langBotton2Class == "close") { + langMode = 0; + langBotton2.classList.remove('close'); + langBotton2.classList.add('open'); + //langBottonWork.classList.remove('close'); + //langBottonWork.classList.add('open'); + document.getElementById('nomalButton').style.display = "block"; + document.getElementById('englishButton').style.display = "none"; + document.getElementById('nomalButton2').style.display = "block"; + document.getElementById('easyButton2').style.display = "none"; + + document.getElementById('nomalRec').style.display = "block"; + document.getElementById('englishRec').style.display = "none"; + document.getElementById('easyRec').style.display = "none"; + document.getElementById('nomalLang').style.display = "block"; + document.getElementById('englishLang').style.display = "none"; + document.getElementById('easyLang').style.display = "none"; + + document.getElementById('nomalTitle').style.display = "block"; + document.getElementById('easyTitle').style.display = "none"; + document.getElementById('englishTitle').style.display = "none"; + document.getElementById('englishTitle2').style.display = "none"; + + document.getElementById('nomalCopy').style.display = "block"; + document.getElementById('englishCopy').style.display = "none"; + document.getElementById('easyCopy').style.display = "none"; + + for (var i = 0; i <= 8; i++) { + document.getElementById('nomalSubtitle' + (i + 1).toString()).style.display = "block"; + document.getElementById('easySubtitle' + (i + 1).toString()).style.display = "none"; + document.getElementById('englishSubtitle' + (i + 1).toString()).style.display = "none"; + } + + for (var i = 0; i <= 8; i++) { + document.getElementById('nomalContentsTitle' + (i + 1).toString()).style.display = "block"; + document.getElementById('englishContentsTitle' + (i + 1).toString()).style.display = "none"; + document.getElementById('easyContentsTitle' + (i + 1).toString()).style.display = "none"; + } + + document.getElementById('nomalText').style.display = "block"; + document.getElementById('englishText').style.display = "none"; + document.getElementById('easyText').style.display = "none"; + + //document.getElementById('nomalWorkTitle').style.display = "block"; + //document.getElementById('englishWorkTitle').style.display = "none"; + document.getElementById('nomalWorkText').style.display = "block"; + document.getElementById('englishWorkText').style.display = "none"; + document.getElementById('easyWorkText').style.display = "none"; + + document.getElementById('nomalCurrText').style.display = "block"; + document.getElementById('englishCurrText').style.display = "none"; + document.getElementById('easyCurrText').style.display = "none"; + //document.getElementById('nomalWorkReturn').style.display = "block"; + //document.getElementById('englishWorkReturn').style.display = "none"; + + document.getElementById('nomalStudios').style.display = "flex"; + document.getElementById('englishStudios').style.display = "none"; + + // document.getElementById('nomalCapSt').style.display = "block"; + // document.getElementById('englishCapSt').style.display = "none"; + // document.getElementById('easyCapSt').style.display = "none"; + + document.getElementById('nomalFaculty').style.display = "flex"; + document.getElementById('englishFaculty').style.display = "none"; + + document.getElementById('nomalLink').style.display = "flex"; + document.getElementById('englishLink').style.display = "none"; + + document.getElementById('nomalAdmissionText').style.display = "block"; + document.getElementById('englishAdmissionText').style.display = "none"; + document.getElementById('easyAdmissionText').style.display = "none"; + + document.getElementById('nomalQText').style.display = "block"; + document.getElementById('englishQText').style.display = "none"; + document.getElementById('easyQText').style.display = "none"; + + document.getElementById('nomalAcText').style.display = "block"; + document.getElementById('englishAcText').style.display = "none"; + document.getElementById('easyAcText').style.display = "none"; + } +}; + +document.getElementById("moreBtnWork").onclick = function () { + var langControll; + if (langMode == 0) { + langControll = "?lang=0"; + } else if (langMode == 1) { + langControll = "?lang=1"; + } else if (langMode == 2) { + langControll = "?lang=2"; + } + location.href = "./html/work.html" + langControll; +}; + +//function jumppage(studioname) { + + + + const getData = async () => { - try{ - const response = await fetch(endpoint); - if(response.ok){ + try { + const response = await fetch(endpoint); + if (response.ok) { let jsonResponse = await response.json(); - renderJson(jsonResponse); + renderJson(jsonResponse); + } + + + const response2 = await fetch(endpoint2); + if (response2.ok) { + let jsonResponse2 = await response2.json(); + renderJson2(jsonResponse2); } + + const response3 = await fetch(endpoint3); + if (response3.ok) { + let jsonResponse3 = await response3.json(); + renderJson3(jsonResponse3); + } + + + } - catch(error){ + catch (error) { console.log(error); } } diff --git a/docs/js/js2.js b/docs/js/js2.js new file mode 100644 index 0000000..9a323a2 --- /dev/null +++ b/docs/js/js2.js @@ -0,0 +1,609 @@ +const uri = 'https://script.google.com/macros/s/AKfycbxyacpN8y4nxSAnU0Eji6E_rBRDFTY7YoWWFa0clY5ELRhskgpt/exec'; + +const id = '1BpGnuwC4lZf9G2yFyiSrxbJuGO8gviV8mr-I2D3x4vA'; +const sheet = 'Studio'; +var langMode = 0; +//const sheet2 = "Faculty"; +const endpoint = `${uri}?id=${id}&sheet=${sheet}`; +//const endpoint2 = `${uri}?id=${id}&sheet=${sheet2}`; + +var showloading = document.getElementById('showloading'); +var contents = document.getElementById('mainContent'); +window.addEventListener('load', stopload); +function stopload() { + showloading.classList.add('fadeout-bg'); + contents.classList.remove('hidden'); +} + + +const renderJson = (json) => { + const studios = json.records; + studios.pop(); + studios.forEach(studios => { + const nomalStudioDiv = document.createElement('div'); + //const nomalStudioTitle = document.createElement("span"); + const nomalStudioLink = document.createElement("a"); + const nomalStudioImage = document.createElement("img"); + const nomalStudioLinkName = document.createElement("span"); + // nomalStudioLinkName.className = 'nomalCap'; + //リンクと画像にクラス名(日本語版サイト) + nomalStudioLink.className = 'studio-link'; + nomalStudioImage.className = 'studio-image'; + nomalStudioLink.onclick = function () { + var langControll; + if (langMode == 0) { + langControll = "?lang=0"; + } else if (langMode == 2) { + langControll = "?lang=2"; + } + location.href = studios['name-short'].toString() + ".html" + langControll; + }; + nomalStudioLinkName.textContent = studios['name-ja']; + nomalStudioImage.src = "../image/" + studios['name-short'].toString() + ".png"; + if (document.URL.match(studios['name-short'].toString())) { + nomalStudioDiv.style.border = "solid 3px #0000c0"; + } + nomalStudioDiv.onmouseover = function () { + nomalStudioDiv.style.border = "solid 3px #ffffff"; + }; + nomalStudioDiv.onmouseout = function () { + if (document.URL.match(studios['name-short'].toString())) { + nomalStudioDiv.style.border = "solid 3px #0000c0"; + } else { + nomalStudioDiv.style.border = "solid 3px #E4EBEF"; + } + }; + + //nomalStudioLink.textContent = studios['name-ja']; + //nomalStudioImage.src = studios['photo1']; + + const englishStudioDiv = document.createElement('div'); + const englishStudioLink = document.createElement("a"); + const englishStudioImage = document.createElement("img"); + const englishStudioLinkName = document.createElement("span"); + // englishStudioLinkName.className = 'englishCap'; + if (document.URL.match(studios['name-short'].toString())) { + englishStudioDiv.style.border = "solid 3px #0000c0"; + } + englishStudioDiv.onmouseover = function () { + englishStudioDiv.style.border = "solid 3px #ffffff"; + }; + englishStudioDiv.onmouseout = function () { + if (document.URL.match(studios['name-short'].toString())) { + englishStudioDiv.style.border = "solid 3px #0000c0"; + } else { + englishStudioDiv.style.border = "solid 3px #E4EBEF"; + } + }; + //リンクと画像にクラス名(英語版サイト)。でもこれ英語と日本語で分けなくても良かったかも。 + englishStudioLink.className = 'studio-link-en'; + englishStudioImage.className = 'studio-image-en' + englishStudioLinkName.textContent = studios['name-en']; + englishStudioLink.onclick = function () { + var langControll; + langControll = "?lang=1"; + location.href = studios['name-short'].toString() + ".html" + langControll; + }; + //englishStudioLink.textContent = studios['name-en']; + englishStudioImage.src = "../image/" + studios['name-short'].toString() + ".png"; + + nomalStudioLink.appendChild(nomalStudioImage); + nomalStudioDiv.appendChild(nomalStudioLink); + nomalStudioDiv.appendChild(nomalStudioLinkName); + document.getElementById('nomalStudios').appendChild(nomalStudioDiv); + //englishStudioDiv.appendChild(englishStudioTitle); + englishStudioLink.appendChild(englishStudioImage); + englishStudioDiv.appendChild(englishStudioLink); + englishStudioDiv.appendChild(englishStudioLinkName); + document.getElementById('englishStudios').appendChild(englishStudioDiv); + + }); + + document.getElementById('result').textContent = JSON.stringify(json, null, 2); +} + + +//初回読み込み時の言語 +window.onload = function () { + var langBotton = document.getElementById("button"); + var langBotton2 = document.getElementById("button2"); + + if (document.URL.match("/?lang=0")) { + + } + else if (document.URL.match("/?lang=1")) { + langMode = 1; + langBotton.classList.remove('open'); + langBotton.classList.add('close'); + + for (var i = 0; i <= 8; i++) { + document.getElementById('nomalSubtitle' + (i + 1).toString()).style.display = "none"; + document.getElementById('easySubtitle' + (i + 1).toString()).style.display = "none"; + document.getElementById('englishSubtitle' + (i + 1).toString()).style.display = "block"; + } + + document.getElementById('nomalButton').style.display = "none"; + document.getElementById('englishButton').style.display = "block"; + document.getElementById('nomalButton2').style.display = "block"; + document.getElementById('easyButton2').style.display = "none"; + + document.getElementById('nomalRec').style.display = "none"; + document.getElementById('englishRec').style.display = "block"; + document.getElementById('easyRec').style.display = "none"; + document.getElementById('nomalLang').style.display = "none"; + document.getElementById('englishLang').style.display = "block"; + document.getElementById('easyLang').style.display = "none"; + + + document.getElementById('nomalTitle').style.display = "none"; + document.getElementById('englishTitle').style.display = "block"; + document.getElementById('easyTitle').style.display = "none"; + + document.getElementById('nomalFaculty').style.display = "none"; + document.getElementById('englishFaculty').style.display = "block"; + document.getElementById('easyFaculty').style.display = "none"; + + document.getElementById('nomalCore').style.display = "none"; + document.getElementById('englishCore').style.display = "block"; + + document.getElementById('nomalText').style.display = "none"; + document.getElementById('englishText').style.display = "block"; + document.getElementById('easyText').style.display = "none"; + + document.getElementById('nomalReturn').style.display = "none"; + document.getElementById('englishReturn').style.display = "block"; + + document.getElementById('nomalContentsTitle4').style.display = "none"; + document.getElementById('englishContentsTitle4').style.display = "block"; + document.getElementById('easyContentsTitle4').style.display = "none"; + + document.getElementById('nomalStudios').style.display = "none"; + document.getElementById('englishStudios').style.display = "block"; + } + + else if (document.URL.match("/?lang=2")) { + langBotton2.classList.remove('open'); + langBotton2.classList.add('close'); + langMode = 2; + + for (var i = 0; i <= 8; i++) { + document.getElementById('nomalSubtitle' + (i + 1).toString()).style.display = "none"; + document.getElementById('easySubtitle' + (i + 1).toString()).style.display = "block"; + document.getElementById('englishSubtitle' + (i + 1).toString()).style.display = "none"; + } + + document.getElementById('nomalButton').style.display = "block"; + document.getElementById('englishButton').style.display = "none"; + document.getElementById('nomalButton2').style.display = "none"; + document.getElementById('easyButton2').style.display = "block"; + + document.getElementById('nomalRec').style.display = "none"; + document.getElementById('englishRec').style.display = "none"; + document.getElementById('easyRec').style.display = "block"; + document.getElementById('nomalLang').style.display = "none"; + document.getElementById('englishLang').style.display = "none"; + document.getElementById('easyLang').style.display = "block"; + + + document.getElementById('nomalTitle').style.display = "none"; + document.getElementById('englishTitle').style.display = "none"; + document.getElementById('easyTitle').style.display = "block"; + + document.getElementById('nomalFaculty').style.display = "none"; + document.getElementById('englishFaculty').style.display = "none"; + document.getElementById('easyFaculty').style.display = "block"; + + document.getElementById('nomalCore').style.display = "block"; + document.getElementById('englishCore').style.display = "none"; + + document.getElementById('nomalText').style.display = "none"; + document.getElementById('englishText').style.display = "none"; + document.getElementById('easyText').style.display = "block"; + + document.getElementById('nomalReturn').style.display = "block"; + document.getElementById('englishReturn').style.display = "none"; + + document.getElementById('nomalContentsTitle4').style.display = "none"; + document.getElementById('englishContentsTitle4').style.display = "none"; + document.getElementById('easyContentsTitle4').style.display = "block"; + + document.getElementById('nomalStudios').style.display = "block"; + document.getElementById('englishStudios').style.display = "none"; + } +}; + +/* +document.getElementById('nomalStudios').onmouseover = function () { + document.getElementByClassName('nomalCap').style.display = "block"; +}; +document.getElementById('nomalStudios').onmouseout = function () { + document.getElementByClassName('nomalCap').style.display = "none"; +}; + +document.getElementById('englishStudios').onmouseover = function () { + document.getElementByClassName('englishCap').style.display = "block"; +}; +document.getElementById('englishStudios').onmouseout = function () { + document.getElementByClassName('englishCap').style.display = "none"; +}; +*/ + +/* +document.getElementById('nomalStudios').onmouseover = function () { + if (langMode == 0) { + document.getElementByClassName('nomalCap').style.display = "block"; + } +}; + +document.getElementById('englishStudios').onmouseover = function () { + if (langMode == 1) { + document.getElementByClassName('englishCap').style.display = "block"; + } +};*/ + + + + +//ページ内の切り替え +document.getElementById("button").onclick = function () { + var langBotton = document.getElementById("button"); + var langBottonClass = langBotton.getAttribute("class"); + //var langBottonWork = document.getElementById("buttonWork"); + //var langBottonWorkClass = langBotton.getAttribute("class"); + + if (langBottonClass == "open") { + langBotton.classList.remove('open'); + langBotton.classList.add('close'); + langMode = 1; + + for (var i = 0; i <= 8; i++) { + document.getElementById('nomalSubtitle' + (i + 1).toString()).style.display = "none"; + document.getElementById('easySubtitle' + (i + 1).toString()).style.display = "none"; + document.getElementById('englishSubtitle' + (i + 1).toString()).style.display = "block"; + } + //langBottonWork.classList.remove('open'); + //langBottonWork.classList.add('close'); + + document.getElementById('nomalButton').style.display = "none"; + document.getElementById('englishButton').style.display = "block"; + document.getElementById('nomalButton2').style.display = "block"; + document.getElementById('easyButton2').style.display = "none"; + + document.getElementById('nomalRec').style.display = "none"; + document.getElementById('englishRec').style.display = "block"; + document.getElementById('easyRec').style.display = "none"; + document.getElementById('nomalLang').style.display = "none"; + document.getElementById('englishLang').style.display = "block"; + document.getElementById('easyLang').style.display = "none"; + + + document.getElementById('nomalTitle').style.display = "none"; + document.getElementById('englishTitle').style.display = "block"; + document.getElementById('easyTitle').style.display = "none"; + + document.getElementById('nomalFaculty').style.display = "none"; + document.getElementById('englishFaculty').style.display = "block"; + document.getElementById('easyFaculty').style.display = "none"; + + document.getElementById('nomalCore').style.display = "none"; + document.getElementById('englishCore').style.display = "block"; + + document.getElementById('nomalText').style.display = "none"; + document.getElementById('englishText').style.display = "block"; + document.getElementById('easyText').style.display = "none"; + + document.getElementById('nomalReturn').style.display = "none"; + document.getElementById('englishReturn').style.display = "block"; + + document.getElementById('nomalContentsTitle4').style.display = "none"; + document.getElementById('englishContentsTitle4').style.display = "block"; + document.getElementById('easyContentsTitle4').style.display = "none"; + + document.getElementById('nomalStudios').style.display = "none"; + document.getElementById('englishStudios').style.display = "inline-block"; + + } else if (langBottonClass == "close") { + langBotton.classList.remove('close'); + langBotton.classList.add('open'); + langMode = 0; + + for (var i = 0; i <= 8; i++) { + document.getElementById('nomalSubtitle' + (i + 1).toString()).style.display = "block"; + document.getElementById('easySubtitle' + (i + 1).toString()).style.display = "none"; + document.getElementById('englishSubtitle' + (i + 1).toString()).style.display = "none"; + } + //langBottonWork.classList.remove('close'); + //langBottonWork.classList.add('open'); + document.getElementById('nomalButton').style.display = "block"; + document.getElementById('englishButton').style.display = "none"; + document.getElementById('nomalButton2').style.display = "block"; + document.getElementById('easyButton2').style.display = "none"; + + document.getElementById('nomalRec').style.display = "block"; + document.getElementById('englishRec').style.display = "none"; + document.getElementById('easyRec').style.display = "none"; + document.getElementById('nomalLang').style.display = "block"; + document.getElementById('englishLang').style.display = "none"; + document.getElementById('easyLang').style.display = "none"; + + document.getElementById('nomalTitle').style.display = "block"; + document.getElementById('englishTitle').style.display = "none"; + document.getElementById('easyTitle').style.display = "none"; + + document.getElementById('nomalFaculty').style.display = "block"; + document.getElementById('englishFaculty').style.display = "none"; + document.getElementById('easyFaculty').style.display = "none"; + + document.getElementById('nomalCore').style.display = "block"; + document.getElementById('englishCore').style.display = "none"; + + document.getElementById('nomalText').style.display = "block"; + document.getElementById('englishText').style.display = "none"; + document.getElementById('easyText').style.display = "none"; + + document.getElementById('nomalReturn').style.display = "block"; + document.getElementById('englishReturn').style.display = "none"; + + document.getElementById('nomalContentsTitle4').style.display = "block"; + document.getElementById('englishContentsTitle4').style.display = "none"; + document.getElementById('easyContentsTitle4').style.display = "none"; + + document.getElementById('nomalStudios').style.display = "inline-block"; + document.getElementById('englishStudios').style.display = "none"; + } +}; + +//やさしいにほんご +document.getElementById("button2").onclick = function () { + var langBotton2 = document.getElementById("button2"); + var langBotton2Class = langBotton2.getAttribute("class"); + + if (langBotton2Class == "open") { + langBotton2.classList.remove('open'); + langBotton2.classList.add('close'); + langMode = 2; + + for (var i = 0; i <= 8; i++) { + document.getElementById('nomalSubtitle' + (i + 1).toString()).style.display = "none"; + document.getElementById('easySubtitle' + (i + 1).toString()).style.display = "block"; + document.getElementById('englishSubtitle' + (i + 1).toString()).style.display = "none"; + } + + document.getElementById('nomalButton').style.display = "block"; + document.getElementById('englishButton').style.display = "none"; + document.getElementById('nomalButton2').style.display = "none"; + document.getElementById('easyButton2').style.display = "block"; + + document.getElementById('nomalRec').style.display = "none"; + document.getElementById('englishRec').style.display = "none"; + document.getElementById('easyRec').style.display = "block"; + document.getElementById('nomalLang').style.display = "none"; + document.getElementById('englishLang').style.display = "none"; + document.getElementById('easyLang').style.display = "block"; + + document.getElementById('nomalTitle').style.display = "none"; + document.getElementById('englishTitle').style.display = "none"; + document.getElementById('easyTitle').style.display = "block"; + + document.getElementById('nomalFaculty').style.display = "none"; + document.getElementById('englishFaculty').style.display = "none"; + document.getElementById('easyFaculty').style.display = "block"; + + document.getElementById('nomalCore').style.display = "block"; + document.getElementById('englishCore').style.display = "none"; + + document.getElementById('nomalText').style.display = "none"; + document.getElementById('englishText').style.display = "none"; + document.getElementById('easyText').style.display = "block"; + + document.getElementById('nomalReturn').style.display = "block"; + document.getElementById('englishReturn').style.display = "none"; + + document.getElementById('nomalContentsTitle4').style.display = "none"; + document.getElementById('englishContentsTitle4').style.display = "none"; + document.getElementById('easyContentsTitle4').style.display = "block"; + + document.getElementById('nomalStudios').style.display = "inline-block"; + document.getElementById('englishStudios').style.display = "none"; + + } else if (langBotton2Class == "close") { + langMode = 0; + langBotton2.classList.remove('close'); + langBotton2.classList.add('open'); + + for (var i = 0; i <= 8; i++) { + document.getElementById('nomalSubtitle' + (i + 1).toString()).style.display = "block"; + document.getElementById('easySubtitle' + (i + 1).toString()).style.display = "none"; + document.getElementById('englishSubtitle' + (i + 1).toString()).style.display = "none"; + } + + document.getElementById('nomalButton').style.display = "block"; + document.getElementById('englishButton').style.display = "none"; + document.getElementById('nomalButton2').style.display = "block"; + document.getElementById('easyButton2').style.display = "none"; + + document.getElementById('nomalRec').style.display = "block"; + document.getElementById('englishRec').style.display = "none"; + document.getElementById('easyRec').style.display = "none"; + document.getElementById('nomalLang').style.display = "block"; + document.getElementById('englishLang').style.display = "none"; + document.getElementById('easyLang').style.display = "none"; + + document.getElementById('nomalTitle').style.display = "block"; + document.getElementById('englishTitle').style.display = "none"; + document.getElementById('easyTitle').style.display = "none"; + + document.getElementById('nomalFaculty').style.display = "block"; + document.getElementById('englishFaculty').style.display = "none"; + document.getElementById('easyFaculty').style.display = "none"; + + document.getElementById('nomalCore').style.display = "block"; + document.getElementById('englishCore').style.display = "none"; + + document.getElementById('nomalText').style.display = "block"; + document.getElementById('englishText').style.display = "none"; + document.getElementById('easyText').style.display = "none"; + + document.getElementById('nomalReturn').style.display = "block"; + document.getElementById('englishReturn').style.display = "none"; + + document.getElementById('nomalContentsTitle4').style.display = "block"; + document.getElementById('englishContentsTitle4').style.display = "none"; + document.getElementById('easyContentsTitle4').style.display = "none"; + + document.getElementById('nomalStudios').style.display = "inline-block"; + document.getElementById('englishStudios').style.display = "none"; + } +}; + + +const getData = async () => { + try { + const response = await fetch(endpoint); + if (response.ok) { + let jsonResponse = await response.json(); + renderJson(jsonResponse); + } + + + } + catch (error) { + console.log(error); + } +} + +getData(); + +//headerのページ遷移時と言語情報渡し + +document.getElementById("head-aboutus").onclick = function () { + var langControll; + if (langMode == 0) { + langControll = "?lang=0"; + } else if (langMode == 1) { + langControll = "?lang=1"; + } else if (langMode == 2) { + langControll = "?lang=2"; + } + location.href = "../index.html" + langControll + "#aboutus"; +}; + +document.getElementById("head-work").onclick = function () { + var langControll; + if (langMode == 0) { + langControll = "?lang=0"; + } else if (langMode == 1) { + langControll = "?lang=1"; + } else if (langMode == 2) { + langControll = "?lang=2"; + } + location.href = "../index.html" + langControll + "#works"; +}; + +document.getElementById("head-curriculm").onclick = function () { + var langControll; + if (langMode == 0) { + langControll = "?lang=0"; + } else if (langMode == 1) { + langControll = "?lang=1"; + } else if (langMode == 2) { + langControll = "?lang=2"; + } + location.href = "../index.html" + langControll + "#curriculum"; +}; + +document.getElementById("head-studios").onclick = function () { + var langControll; + if (langMode == 0) { + langControll = "?lang=0"; + } else if (langMode == 1) { + langControll = "?lang=1"; + } else if (langMode == 2) { + langControll = "?lang=2"; + } + location.href = "../index.html" + langControll + "#studios"; +}; + +document.getElementById("head-faculty").onclick = function () { + var langControll; + if (langMode == 0) { + langControll = "?lang=0"; + } else if (langMode == 1) { + langControll = "?lang=1"; + } else if (langMode == 2) { + langControll = "?lang=2"; + } + location.href = "../index.html" + langControll + "#faculty"; +}; + +document.getElementById("head-column").onclick = function () { + var langControll; + if (langMode == 0) { + langControll = "?lang=0"; + } else if (langMode == 1) { + langControll = "?lang=1"; + } else if (langMode == 2) { + langControll = "?lang=2"; + } + location.href = "../index.html" + langControll + "#column"; +}; + +document.getElementById("head-admission").onclick = function () { + var langControll; + if (langMode == 0) { + langControll = "?lang=0"; + } else if (langMode == 1) { + langControll = "?lang=1"; + } else if (langMode == 2) { + langControll = "?lang=2"; + } + location.href = "../index.html" + langControll + "#admission"; +}; + +document.getElementById("head-question").onclick = function () { + var langControll; + if (langMode == 0) { + langControll = "?lang=0"; + } else if (langMode == 1) { + langControll = "?lang=1"; + } else if (langMode == 2) { + langControll = "?lang=2"; + } + location.href = "../index.html" + langControll + "#question"; +}; + +document.getElementById("head-question").onclick = function () { + var langControll; + if (langMode == 0) { + langControll = "?lang=0"; + } else if (langMode == 1) { + langControll = "?lang=1"; + } else if (langMode == 2) { + langControll = "?lang=2"; + } + location.href = "../index.html" + langControll + "#question"; +}; + +document.getElementById("head-access").onclick = function () { + var langControll; + if (langMode == 0) { + langControll = "?lang=0"; + } else if (langMode == 1) { + langControll = "?lang=1"; + } else if (langMode == 2) { + langControll = "?lang=2"; + } + location.href = "../index.html" + langControll + "#access"; +}; + +document.getElementById("back").onclick = function () { + var langControll; + if (langMode == 0) { + langControll = "?lang=0"; + } else if (langMode == 1) { + langControll = "?lang=1"; + } else if (langMode == 2) { + langControll = "?lang=2"; + } + location.href = "../index.html" + langControll; +}; diff --git a/docs/js/jsBook.js b/docs/js/jsBook.js new file mode 100644 index 0000000..ccd5f5f --- /dev/null +++ b/docs/js/jsBook.js @@ -0,0 +1,428 @@ +const uri = 'https://script.google.com/macros/s/AKfycbxyacpN8y4nxSAnU0Eji6E_rBRDFTY7YoWWFa0clY5ELRhskgpt/exec'; + +const id = '1BpGnuwC4lZf9G2yFyiSrxbJuGO8gviV8mr-I2D3x4vA'; +const sheet = 'group4-book'; +//const sheet2 = "Faculty"; +const endpoint = `${uri}?id=${id}&sheet=${sheet}`; +//const endpoint2 = `${uri}?id=${id}&sheet=${sheet2}`; +var langMode = 0; + +var showloading = document.getElementById('showloading'); +var contents = document.getElementById('mainContent'); +window.addEventListener('load', stopload); +function stopload() { + showloading.classList.add('fadeout-bg'); + contents.classList.remove('hidden'); +} + +const renderJson = (json) => { + const books = json.records; + books.pop(); + books.forEach(books => { + const bookDiv = document.createElement('div'); + const bookTitle = document.createElement("span"); + const bookWriter = document.createElement("span"); + const bookTeacher = document.createElement("span"); + const bookReason = document.createElement("span"); + const bookTextDiv = document.createElement("div"); + const bookAbout = document.createElement("span"); + const bookLink = document.createElement("a"); + const bookLink2 = document.createElement("a"); + //const nomalStudioImage = document.createElement("img"); + + //題名、著者、推薦者、推薦理由、本の概要、リンク1、リンク2のクラス名 + bookTitle.className = 'book-title'; + bookWriter.className = 'book-writer'; + bookTeacher.className = 'book-teacher'; + bookReason.className = 'book-reason'; + bookTextDiv.className = 'book-text-box' + bookAbout.className = 'book-about'; + bookLink.className = 'book-link'; + bookLink2.className = 'book-link2'; + + bookTitle.textContent = "題名:" + books['book-title']; + bookWriter.textContent = "著者:" + books['book-writer']; + bookTeacher.textContent = "推薦者:" + books['book-teacher']; + bookReason.textContent = "推薦理由:" + books['book-reason']; + bookAbout.textContent = "概要:" + books['book-about']; + bookLink.href = books['book-link1']; + bookLink.textContent = "購入はこちら:" + books['book-link1']; + bookLink2.href = books['book-link2']; + bookLink2.textContent = books['book-link2']; + + bookDiv.appendChild(bookTitle); + bookDiv.appendChild(bookWriter); + bookDiv.appendChild(bookReason); + bookDiv.appendChild(bookTeacher); + // bookDiv.appendChild(bookReason); + bookDiv.appendChild(bookTextDiv); + bookTextDiv.appendChild(bookAbout); + bookTextDiv.appendChild(bookLink); + bookTextDiv.appendChild(bookLink2); + document.getElementById('book').appendChild(bookDiv); + //englishStudioDiv.appendChild(englishStudioTitle); + }); + + document.getElementById('result').textContent = JSON.stringify(json, null, 2); +} + + + +const getData = async () => { + try { + const response = await fetch(endpoint); + if (response.ok) { + let jsonResponse = await response.json(); + renderJson(jsonResponse); + } + } + catch (error) { + console.log(error); + } +} + +getData(); + +//初回読み込み時の言語 +window.onload = function () { + var langBotton = document.getElementById("button"); + var langBotton2 = document.getElementById("button2"); + + if (document.URL.match("/?lang=0")) { + + } + else if (document.URL.match("/?lang=1")) { + langMode = 1; + langBotton.classList.remove('open'); + langBotton.classList.add('close'); + + for (var i = 0; i <= 8; i++) { + document.getElementById('nomalSubtitle' + (i + 1).toString()).style.display = "none"; + document.getElementById('easySubtitle' + (i + 1).toString()).style.display = "none"; + document.getElementById('englishSubtitle' + (i + 1).toString()).style.display = "block"; + } + + document.getElementById('nomalButton').style.display = "none"; + document.getElementById('englishButton').style.display = "block"; + document.getElementById('nomalButton2').style.display = "block"; + document.getElementById('easyButton2').style.display = "none"; + + document.getElementById('nomalRec').style.display = "none"; + document.getElementById('englishRec').style.display = "block"; + document.getElementById('easyRec').style.display = "none"; + document.getElementById('nomalLang').style.display = "none"; + document.getElementById('englishLang').style.display = "block"; + document.getElementById('easyLang').style.display = "none"; + + document.getElementById('nomalf').style.display = "none"; + document.getElementById('englishf').style.display = "block"; + document.getElementById('easyf').style.display = "none"; + + document.getElementById('nomalReturn').style.display = "none"; + document.getElementById('englishReturn').style.display = "block"; + } + + else if (document.URL.match("/?lang=2")) { + langBotton2.classList.remove('open'); + langBotton2.classList.add('close'); + langMode = 2; + + for (var i = 0; i <= 8; i++) { + document.getElementById('nomalSubtitle' + (i + 1).toString()).style.display = "none"; + document.getElementById('easySubtitle' + (i + 1).toString()).style.display = "block"; + document.getElementById('englishSubtitle' + (i + 1).toString()).style.display = "none"; + } + + document.getElementById('nomalButton').style.display = "block"; + document.getElementById('englishButton').style.display = "none"; + document.getElementById('nomalButton2').style.display = "none"; + document.getElementById('easyButton2').style.display = "block"; + + document.getElementById('nomalRec').style.display = "none"; + document.getElementById('englishRec').style.display = "none"; + document.getElementById('easyRec').style.display = "block"; + document.getElementById('nomalLang').style.display = "none"; + document.getElementById('englishLang').style.display = "none"; + document.getElementById('easyLang').style.display = "block"; + + document.getElementById('nomalf').style.display = "none"; + document.getElementById('englishf').style.display = "none"; + document.getElementById('easyf').style.display = "block"; + + document.getElementById('nomalReturn').style.display = "block"; + document.getElementById('englishReturn').style.display = "none"; + + } +}; + +//ページ内の切り替え +document.getElementById("button").onclick = function () { + var langBotton = document.getElementById("button"); + var langBottonClass = langBotton.getAttribute("class"); + //var langBottonWork = document.getElementById("buttonWork"); + //var langBottonWorkClass = langBotton.getAttribute("class"); + + if (langBottonClass == "open") { + langBotton.classList.remove('open'); + langBotton.classList.add('close'); + langMode = 1; + + for (var i = 0; i <= 8; i++) { + document.getElementById('nomalSubtitle' + (i + 1).toString()).style.display = "none"; + document.getElementById('easySubtitle' + (i + 1).toString()).style.display = "none"; + document.getElementById('englishSubtitle' + (i + 1).toString()).style.display = "block"; + } + //langBottonWork.classList.remove('open'); + //langBottonWork.classList.add('close'); + + document.getElementById('nomalButton').style.display = "none"; + document.getElementById('englishButton').style.display = "block"; + document.getElementById('nomalButton2').style.display = "block"; + document.getElementById('easyButton2').style.display = "none"; + + document.getElementById('nomalRec').style.display = "none"; + document.getElementById('englishRec').style.display = "block"; + document.getElementById('easyRec').style.display = "none"; + document.getElementById('nomalLang').style.display = "none"; + document.getElementById('englishLang').style.display = "block"; + document.getElementById('easyLang').style.display = "none"; + + document.getElementById('nomalf').style.display = "none"; + document.getElementById('englishf').style.display = "block"; + document.getElementById('easyf').style.display = "none"; + + document.getElementById('nomalReturn').style.display = "none"; + document.getElementById('englishReturn').style.display = "block"; + + } else if (langBottonClass == "close") { + langBotton.classList.remove('close'); + langBotton.classList.add('open'); + langMode = 0; + + for (var i = 0; i <= 8; i++) { + document.getElementById('nomalSubtitle' + (i + 1).toString()).style.display = "block"; + document.getElementById('easySubtitle' + (i + 1).toString()).style.display = "none"; + document.getElementById('englishSubtitle' + (i + 1).toString()).style.display = "none"; + } + //langBottonWork.classList.remove('close'); + //langBottonWork.classList.add('open'); + document.getElementById('nomalButton').style.display = "block"; + document.getElementById('englishButton').style.display = "none"; + document.getElementById('nomalButton2').style.display = "block"; + document.getElementById('easyButton2').style.display = "none"; + + document.getElementById('nomalRec').style.display = "block"; + document.getElementById('englishRec').style.display = "none"; + document.getElementById('easyRec').style.display = "none"; + document.getElementById('nomalLang').style.display = "block"; + document.getElementById('englishLang').style.display = "none"; + document.getElementById('easyLang').style.display = "none"; + + document.getElementById('nomalf').style.display = "block"; + document.getElementById('englishf').style.display = "none"; + document.getElementById('easyf').style.display = "none"; + + document.getElementById('nomalReturn').style.display = "block"; + document.getElementById('englishReturn').style.display = "none"; + } +}; + +//やさしいにほんご +document.getElementById("button2").onclick = function () { + var langBotton2 = document.getElementById("button2"); + var langBotton2Class = langBotton2.getAttribute("class"); + + if (langBotton2Class == "open") { + langBotton2.classList.remove('open'); + langBotton2.classList.add('close'); + langMode = 2; + + for (var i = 0; i <= 8; i++) { + document.getElementById('nomalSubtitle' + (i + 1).toString()).style.display = "none"; + document.getElementById('easySubtitle' + (i + 1).toString()).style.display = "block"; + document.getElementById('englishSubtitle' + (i + 1).toString()).style.display = "none"; + } + + document.getElementById('nomalButton').style.display = "block"; + document.getElementById('englishButton').style.display = "none"; + document.getElementById('nomalButton2').style.display = "none"; + document.getElementById('easyButton2').style.display = "block"; + + document.getElementById('nomalRec').style.display = "none"; + document.getElementById('englishRec').style.display = "none"; + document.getElementById('easyRec').style.display = "block"; + document.getElementById('nomalLang').style.display = "none"; + document.getElementById('englishLang').style.display = "none"; + document.getElementById('easyLang').style.display = "block"; + + document.getElementById('nomalf').style.display = "none"; + document.getElementById('englishf').style.display = "none"; + document.getElementById('easyf').style.display = "block"; + + document.getElementById('nomalReturn').style.display = "block"; + document.getElementById('englishReturn').style.display = "none"; + + } else if (langBotton2Class == "close") { + langMode = 0; + langBotton2.classList.remove('close'); + langBotton2.classList.add('open'); + + for (var i = 0; i <= 8; i++) { + document.getElementById('nomalSubtitle' + (i + 1).toString()).style.display = "block"; + document.getElementById('easySubtitle' + (i + 1).toString()).style.display = "none"; + document.getElementById('englishSubtitle' + (i + 1).toString()).style.display = "none"; + } + + document.getElementById('nomalButton').style.display = "block"; + document.getElementById('englishButton').style.display = "none"; + document.getElementById('nomalButton2').style.display = "block"; + document.getElementById('easyButton2').style.display = "none"; + + document.getElementById('nomalRec').style.display = "block"; + document.getElementById('englishRec').style.display = "none"; + document.getElementById('easyRec').style.display = "none"; + document.getElementById('nomalLang').style.display = "block"; + document.getElementById('englishLang').style.display = "none"; + document.getElementById('easyLang').style.display = "none"; + + document.getElementById('nomalf').style.display = "block"; + document.getElementById('englishf').style.display = "none"; + document.getElementById('easyf').style.display = "none"; + + document.getElementById('nomalReturn').style.display = "block"; + document.getElementById('englishReturn').style.display = "none"; + } +}; + +//headerのページ遷移時と言語情報渡し +document.getElementById("head-aboutus").onclick = function () { + var langControll; + if (langMode == 0) { + langControll = "?lang=0"; + } else if (langMode == 1) { + langControll = "?lang=1"; + } else if (langMode == 2) { + langControll = "?lang=2"; + } + location.href = "../index.html" + langControll + "#aboutus"; +}; + +document.getElementById("head-work").onclick = function () { + var langControll; + if (langMode == 0) { + langControll = "?lang=0"; + } else if (langMode == 1) { + langControll = "?lang=1"; + } else if (langMode == 2) { + langControll = "?lang=2"; + } + location.href = "../index.html" + langControll + "#works"; +}; + +document.getElementById("head-curriculm").onclick = function () { + var langControll; + if (langMode == 0) { + langControll = "?lang=0"; + } else if (langMode == 1) { + langControll = "?lang=1"; + } else if (langMode == 2) { + langControll = "?lang=2"; + } + location.href = "../index.html" + langControll + "#curriculum"; +}; + +document.getElementById("head-studios").onclick = function () { + var langControll; + if (langMode == 0) { + langControll = "?lang=0"; + } else if (langMode == 1) { + langControll = "?lang=1"; + } else if (langMode == 2) { + langControll = "?lang=2"; + } + location.href = "../index.html" + langControll + "#studios"; +}; + +document.getElementById("head-faculty").onclick = function () { + var langControll; + if (langMode == 0) { + langControll = "?lang=0"; + } else if (langMode == 1) { + langControll = "?lang=1"; + } else if (langMode == 2) { + langControll = "?lang=2"; + } + location.href = "../index.html" + langControll + "#faculty"; +}; + +document.getElementById("head-column").onclick = function () { + var langControll; + if (langMode == 0) { + langControll = "?lang=0"; + } else if (langMode == 1) { + langControll = "?lang=1"; + } else if (langMode == 2) { + langControll = "?lang=2"; + } + location.href = "../index.html" + langControll + "#column"; +}; + +document.getElementById("head-admission").onclick = function () { + var langControll; + if (langMode == 0) { + langControll = "?lang=0"; + } else if (langMode == 1) { + langControll = "?lang=1"; + } else if (langMode == 2) { + langControll = "?lang=2"; + } + location.href = "../index.html" + langControll + "#admission"; +}; + +document.getElementById("head-question").onclick = function () { + var langControll; + if (langMode == 0) { + langControll = "?lang=0"; + } else if (langMode == 1) { + langControll = "?lang=1"; + } else if (langMode == 2) { + langControll = "?lang=2"; + } + location.href = "../index.html" + langControll + "#question"; +}; + +document.getElementById("head-question").onclick = function () { + var langControll; + if (langMode == 0) { + langControll = "?lang=0"; + } else if (langMode == 1) { + langControll = "?lang=1"; + } else if (langMode == 2) { + langControll = "?lang=2"; + } + location.href = "../index.html" + langControll + "#question"; +}; + +document.getElementById("head-access").onclick = function () { + var langControll; + if (langMode == 0) { + langControll = "?lang=0"; + } else if (langMode == 1) { + langControll = "?lang=1"; + } else if (langMode == 2) { + langControll = "?lang=2"; + } + location.href = "../index.html" + langControll + "#access"; +}; + +document.getElementById("back").onclick = function () { + var langControll; + if (langMode == 0) { + langControll = "?lang=0"; + } else if (langMode == 1) { + langControll = "?lang=1"; + } else if (langMode == 2) { + langControll = "?lang=2"; + } + location.href = "../index.html" + langControll; +}; diff --git a/docs/js/work.js b/docs/js/work.js new file mode 100644 index 0000000..2cf46fe --- /dev/null +++ b/docs/js/work.js @@ -0,0 +1,497 @@ +var url = location.href; +var langMode = 0; + +var showloading = document.getElementById('showloading'); +var contents = document.getElementById('mainContent'); +window.addEventListener('load', stopload); +function stopload() { + showloading.classList.add('fadeout-bg'); + contents.classList.remove('hidden'); +} + +window.onload = function () { + var langBotton = document.getElementById("button"); + var langBotton2 = document.getElementById("button2"); + + if (document.URL.match("/?lang=0")) { + + } + else if (document.URL.match("/?lang=1")) { + langMode = 1; + langBotton.classList.remove('open'); + langBotton.classList.add('close'); + //langBottonWork.classList.remove('open'); + //langBottonWork.classList.add('close'); + for (var i = 0; i <= 8; i++) { + document.getElementById('nomalSubtitle' + (i + 1).toString()).style.display = "none"; + document.getElementById('easySubtitle' + (i + 1).toString()).style.display = "none"; + document.getElementById('englishSubtitle' + (i + 1).toString()).style.display = "block"; + } + + for (var i = 0; i <= 2; i++) { + document.getElementById('nomalGrade' + (i + 1).toString()).style.display = "none"; + document.getElementById('easyGrade' + (i + 1).toString()).style.display = "none"; + document.getElementById('englishGrade' + (i + 1).toString()).style.display = "block"; + } + + document.getElementById('nomalButton').style.display = "none"; + document.getElementById('englishButton').style.display = "block"; + document.getElementById('nomalButton2').style.display = "block"; + document.getElementById('easyButton2').style.display = "none"; + + document.getElementById('nomalRec').style.display = "none"; + document.getElementById('englishRec').style.display = "block"; + document.getElementById('easyRec').style.display = "none"; + document.getElementById('nomalLang').style.display = "none"; + document.getElementById('englishLang').style.display = "block"; + document.getElementById('easyLang').style.display = "none"; + + document.getElementById('nomalTitle').style.display = "none"; + document.getElementById('englishTitle').style.display = "block"; + document.getElementById('easyTitle').style.display = "none"; + + document.getElementById('nomalCap').style.display = "none"; + document.getElementById('englishCap').style.display = "block"; + document.getElementById('easyCap').style.display = "none"; + + document.getElementById('nomalCom').style.display = "none"; + document.getElementById('englishCom').style.display = "block"; + document.getElementById('easyCom').style.display = "none"; + + document.getElementById('nomalReturn').style.display = "none"; + document.getElementById('englishReturn').style.display = "block"; + + for (var i = 0; i <= 35; i++) { + document.getElementById('nomalm' + (i + 1).toString()).style.display = "none"; + document.getElementById('englishm' + (i + 1).toString()).style.display = "block"; + } + } + else if (document.URL.match("/?lang=2")) { + langMode = 2; + langBotton2.classList.remove('open'); + langBotton2.classList.add('close'); + //langBottonWork.classList.remove('open'); + //langBottonWork.classList.add('close'); + for (var i = 0; i <= 8; i++) { + document.getElementById('nomalSubtitle' + (i + 1).toString()).style.display = "none"; + document.getElementById('easySubtitle' + (i + 1).toString()).style.display = "block"; + document.getElementById('englishSubtitle' + (i + 1).toString()).style.display = "none"; + } + + for (var i = 0; i <= 2; i++) { + document.getElementById('nomalGrade' + (i + 1).toString()).style.display = "none"; + document.getElementById('easyGrade' + (i + 1).toString()).style.display = "block"; + document.getElementById('englishGrade' + (i + 1).toString()).style.display = "none"; + } + + document.getElementById('nomalButton').style.display = "block"; + document.getElementById('englishButton').style.display = "none"; + document.getElementById('nomalButton2').style.display = "none"; + document.getElementById('easyButton2').style.display = "block"; + + document.getElementById('nomalRec').style.display = "none"; + document.getElementById('englishRec').style.display = "none"; + document.getElementById('easyRec').style.display = "block"; + document.getElementById('nomalLang').style.display = "none"; + document.getElementById('englishLang').style.display = "none"; + document.getElementById('easyLang').style.display = "block"; + + document.getElementById('nomalTitle').style.display = "none"; + document.getElementById('englishTitle').style.display = "none"; + document.getElementById('easyTitle').style.display = "block"; + + document.getElementById('nomalCap').style.display = "none"; + document.getElementById('englishCap').style.display = "none"; + document.getElementById('easyCap').style.display = "block"; + + document.getElementById('nomalCom').style.display = "none"; + document.getElementById('englishCom').style.display = "none"; + document.getElementById('easyCom').style.display = "block"; + + document.getElementById('nomalReturn').style.display = "block"; + document.getElementById('englishReturn').style.display = "none"; + + for (var i = 0; i <= 35; i++) { + document.getElementById('nomalm' + (i + 1).toString()).style.display = "block"; + document.getElementById('englishm' + (i + 1).toString()).style.display = "none"; + } + } +}; + +//言語切り替え +document.getElementById("button").onclick = function () { + var langBotton = document.getElementById("button"); + var langBottonClass = langBotton.getAttribute("class"); + //var langBottonWork = document.getElementById("buttonWork"); + //var langBottonWorkClass = langBotton.getAttribute("class"); + + if (langBottonClass == "open") { + langMode = 1; + langBotton.classList.remove('open'); + langBotton.classList.add('close'); + //langBottonWork.classList.remove('open'); + //langBottonWork.classList.add('close'); + for (var i = 0; i <= 8; i++) { + document.getElementById('nomalSubtitle' + (i + 1).toString()).style.display = "none"; + document.getElementById('easySubtitle' + (i + 1).toString()).style.display = "none"; + document.getElementById('englishSubtitle' + (i + 1).toString()).style.display = "block"; + } + + for (var i = 0; i <= 2; i++) { + document.getElementById('nomalGrade' + (i + 1).toString()).style.display = "none"; + document.getElementById('easyGrade' + (i + 1).toString()).style.display = "none"; + document.getElementById('englishGrade' + (i + 1).toString()).style.display = "block"; + } + + document.getElementById('nomalButton').style.display = "none"; + document.getElementById('englishButton').style.display = "block"; + document.getElementById('nomalButton2').style.display = "block"; + document.getElementById('easyButton2').style.display = "none"; + + document.getElementById('nomalRec').style.display = "none"; + document.getElementById('englishRec').style.display = "block"; + document.getElementById('easyRec').style.display = "none"; + document.getElementById('nomalLang').style.display = "none"; + document.getElementById('englishLang').style.display = "block"; + document.getElementById('easyLang').style.display = "none"; + //document.getElementById('nomalButtonWork').style.display = "none"; + //document.getElementById('englishButtonWork').style.display = "block"; + + + document.getElementById('nomalTitle').style.display = "none"; + document.getElementById('englishTitle').style.display = "block"; + document.getElementById('easyTitle').style.display = "none"; + + document.getElementById('nomalCap').style.display = "none"; + document.getElementById('englishCap').style.display = "block"; + document.getElementById('easyCap').style.display = "none"; + + document.getElementById('nomalCom').style.display = "none"; + document.getElementById('englishCom').style.display = "block"; + document.getElementById('easyCom').style.display = "none"; + + for (var i = 0; i <= 35; i++) { + document.getElementById('nomalm' + (i + 1).toString()).style.display = "none"; + document.getElementById('englishm' + (i + 1).toString()).style.display = "block"; + } + + document.getElementById('nomalReturn').style.display = "none"; + document.getElementById('englishReturn').style.display = "block"; + + + } else if (langBottonClass == "close") { + langMode = 0; + langBotton.classList.remove('close'); + langBotton.classList.add('open'); + //langBottonWork.classList.remove('close'); + //langBottonWork.classList.add('open'); + document.getElementById('nomalButton').style.display = "block"; + document.getElementById('englishButton').style.display = "none"; + document.getElementById('nomalButton2').style.display = "block"; + document.getElementById('easyButton2').style.display = "none"; + + document.getElementById('nomalRec').style.display = "block"; + document.getElementById('englishRec').style.display = "none"; + document.getElementById('easyRec').style.display = "none"; + document.getElementById('nomalLang').style.display = "block"; + document.getElementById('englishLang').style.display = "none"; + document.getElementById('easyLang').style.display = "none"; + + for (var i = 0; i <= 8; i++) { + document.getElementById('nomalSubtitle' + (i + 1).toString()).style.display = "block"; + document.getElementById('easySubtitle' + (i + 1).toString()).style.display = "none"; + document.getElementById('englishSubtitle' + (i + 1).toString()).style.display = "none"; + } + + for (var i = 0; i <= 2; i++) { + document.getElementById('nomalGrade' + (i + 1).toString()).style.display = "block"; + document.getElementById('easyGrade' + (i + 1).toString()).style.display = "none"; + document.getElementById('englishGrade' + (i + 1).toString()).style.display = "none"; + } + + + document.getElementById('nomalTitle').style.display = "block"; + document.getElementById('englishTitle').style.display = "none"; + document.getElementById('easyTitle').style.display = "none"; + + document.getElementById('nomalCap').style.display = "block"; + document.getElementById('englishCap').style.display = "none"; + document.getElementById('easyCap').style.display = "none"; + + document.getElementById('nomalCom').style.display = "block"; + document.getElementById('englishCom').style.display = "none"; + document.getElementById('easyCom').style.display = "none"; + + document.getElementById('nomalReturn').style.display = "block"; + document.getElementById('englishReturn').style.display = "none"; + + for (var i = 0; i <= 35; i++) { + document.getElementById('nomalm' + (i + 1).toString()).style.display = "block"; + document.getElementById('englishm' + (i + 1).toString()).style.display = "none"; + } + + } + + // モーダル + // ---------------------------------------- + // 二重スクロールバー防止 + // ---------------------------------------- + var body = document.body; + var checkbox = document.getElementsByClassName('modalCheck'); + for (var i = 0; i < checkbox.length; i++) { + checkbox[i].addEventListener('click', function () { + if (this.checked) { + body.style.overflow = 'hidden'; + } else { + body.style.overflow = 'visible'; + } + }); + } + +}; + +document.getElementById("button2").onclick = function () { + var langBotton2 = document.getElementById("button2"); + var langBottonClass2 = langBotton2.getAttribute("class"); + //var langBottonWork = document.getElementById("buttonWork"); + //var langBottonWorkClass = langBotton.getAttribute("class"); + + if (langBottonClass2 == "open") { + langMode = 2; + langBotton2.classList.remove('open'); + langBotton2.classList.add('close'); + //langBottonWork.classList.remove('open'); + //langBottonWork.classList.add('close'); + for (var i = 0; i <= 8; i++) { + document.getElementById('nomalSubtitle' + (i + 1).toString()).style.display = "none"; + document.getElementById('easySubtitle' + (i + 1).toString()).style.display = "block"; + document.getElementById('englishSubtitle' + (i + 1).toString()).style.display = "none"; + } + + for (var i = 0; i <= 2; i++) { + document.getElementById('nomalGrade' + (i + 1).toString()).style.display = "none"; + document.getElementById('easyGrade' + (i + 1).toString()).style.display = "block"; + document.getElementById('englishGrade' + (i + 1).toString()).style.display = "none"; + } + + document.getElementById('nomalButton').style.display = "block"; + document.getElementById('englishButton').style.display = "none"; + document.getElementById('nomalButton2').style.display = "none"; + document.getElementById('easyButton2').style.display = "block"; + + document.getElementById('nomalRec').style.display = "none"; + document.getElementById('englishRec').style.display = "none"; + document.getElementById('easyRec').style.display = "block"; + document.getElementById('nomalLang').style.display = "none"; + document.getElementById('englishLang').style.display = "none"; + document.getElementById('easyLang').style.display = "block"; + //document.getElementById('nomalButtonWork').style.display = "none"; + //document.getElementById('englishButtonWork').style.display = "block"; + + + document.getElementById('nomalTitle').style.display = "none"; + document.getElementById('englishTitle').style.display = "none"; + document.getElementById('easyTitle').style.display = "block"; + + document.getElementById('nomalCap').style.display = "none"; + document.getElementById('englishCap').style.display = "none"; + document.getElementById('easyCap').style.display = "block"; + + document.getElementById('nomalCom').style.display = "none"; + document.getElementById('englishCom').style.display = "none"; + document.getElementById('easyCom').style.display = "block"; + + document.getElementById('nomalReturn').style.display = "block"; + document.getElementById('englishReturn').style.display = "none"; + + for (var i = 0; i <= 35; i++) { + document.getElementById('nomalm' + (i + 1).toString()).style.display = "block"; + document.getElementById('englishm' + (i + 1).toString()).style.display = "none"; + } + + + } else if (langBottonClass2 == "close") { + langMode = 0; + langBotton2.classList.remove('close'); + langBotton2.classList.add('open'); + //langBottonWork.classList.remove('close'); + //langBottonWork.classList.add('open'); + document.getElementById('nomalButton').style.display = "block"; + document.getElementById('englishButton').style.display = "none"; + document.getElementById('nomalButton2').style.display = "block"; + document.getElementById('easyButton2').style.display = "none"; + + document.getElementById('nomalRec').style.display = "block"; + document.getElementById('englishRec').style.display = "none"; + document.getElementById('easyRec').style.display = "none"; + document.getElementById('nomalLang').style.display = "block"; + document.getElementById('englishLang').style.display = "none"; + document.getElementById('easyLang').style.display = "none"; + + for (var i = 0; i <= 8; i++) { + document.getElementById('nomalSubtitle' + (i + 1).toString()).style.display = "block"; + document.getElementById('easySubtitle' + (i + 1).toString()).style.display = "none"; + document.getElementById('englishSubtitle' + (i + 1).toString()).style.display = "none"; + } + + for (var i = 0; i <= 2; i++) { + document.getElementById('nomalGrade' + (i + 1).toString()).style.display = "block"; + document.getElementById('easyGrade' + (i + 1).toString()).style.display = "none"; + document.getElementById('englishGrade' + (i + 1).toString()).style.display = "none"; + } + + document.getElementById('nomalTitle').style.display = "block"; + document.getElementById('englishTitle').style.display = "none"; + document.getElementById('easyTitle').style.display = "none"; + + document.getElementById('nomalCap').style.display = "block"; + document.getElementById('englishCap').style.display = "none"; + document.getElementById('easyCap').style.display = "none"; + + document.getElementById('nomalCom').style.display = "block"; + document.getElementById('englishCom').style.display = "none"; + document.getElementById('easyCom').style.display = "none"; + + document.getElementById('nomalReturn').style.display = "block"; + document.getElementById('englishReturn').style.display = "none"; + + for (var i = 0; i <= 35; i++) { + document.getElementById('nomalm' + (i + 1).toString()).style.display = "block"; + document.getElementById('englishm' + (i + 1).toString()).style.display = "none"; + } + + } +}; + +//headerのページ遷移時と言語情報渡し +document.getElementById("head-aboutus").onclick = function () { + var langControll; + if (langMode == 0) { + langControll = "?lang=0"; + } else if (langMode == 1) { + langControll = "?lang=1"; + } else if (langMode == 2) { + langControll = "?lang=2"; + } + location.href = "../index.html" + langControll + "#aboutus"; +}; + +document.getElementById("head-work").onclick = function () { + var langControll; + if (langMode == 0) { + langControll = "?lang=0"; + } else if (langMode == 1) { + langControll = "?lang=1"; + } else if (langMode == 2) { + langControll = "?lang=2"; + } + location.href = "../index.html" + langControll + "#works"; +}; + +document.getElementById("head-curriculm").onclick = function () { + var langControll; + if (langMode == 0) { + langControll = "?lang=0"; + } else if (langMode == 1) { + langControll = "?lang=1"; + } else if (langMode == 2) { + langControll = "?lang=2"; + } + location.href = "../index.html" + langControll + "#curriculum"; +}; + +document.getElementById("head-studios").onclick = function () { + var langControll; + if (langMode == 0) { + langControll = "?lang=0"; + } else if (langMode == 1) { + langControll = "?lang=1"; + } else if (langMode == 2) { + langControll = "?lang=2"; + } + location.href = "../index.html" + langControll + "#studios"; +}; + +document.getElementById("head-faculty").onclick = function () { + var langControll; + if (langMode == 0) { + langControll = "?lang=0"; + } else if (langMode == 1) { + langControll = "?lang=1"; + } else if (langMode == 2) { + langControll = "?lang=2"; + } + location.href = "../index.html" + langControll + "#faculty"; +}; + +document.getElementById("head-column").onclick = function () { + var langControll; + if (langMode == 0) { + langControll = "?lang=0"; + } else if (langMode == 1) { + langControll = "?lang=1"; + } else if (langMode == 2) { + langControll = "?lang=2"; + } + location.href = "../index.html" + langControll + "#column"; +}; + +document.getElementById("head-admission").onclick = function () { + var langControll; + if (langMode == 0) { + langControll = "?lang=0"; + } else if (langMode == 1) { + langControll = "?lang=1"; + } else if (langMode == 2) { + langControll = "?lang=2"; + } + location.href = "../index.html" + langControll + "#admission"; +}; + +document.getElementById("head-question").onclick = function () { + var langControll; + if (langMode == 0) { + langControll = "?lang=0"; + } else if (langMode == 1) { + langControll = "?lang=1"; + } else if (langMode == 2) { + langControll = "?lang=2"; + } + location.href = "../index.html" + langControll + "#question"; +}; + +document.getElementById("head-question").onclick = function () { + var langControll; + if (langMode == 0) { + langControll = "?lang=0"; + } else if (langMode == 1) { + langControll = "?lang=1"; + } else if (langMode == 2) { + langControll = "?lang=2"; + } + location.href = "../index.html" + langControll + "#question"; +}; + +document.getElementById("head-access").onclick = function () { + var langControll; + if (langMode == 0) { + langControll = "?lang=0"; + } else if (langMode == 1) { + langControll = "?lang=1"; + } else if (langMode == 2) { + langControll = "?lang=2"; + } + location.href = "../index.html" + langControll + "#access"; +}; + +document.getElementById("back").onclick = function () { + var langControll; + if (langMode == 0) { + langControll = "?lang=0"; + } else if (langMode == 1) { + langControll = "?lang=1"; + } else if (langMode == 2) { + langControll = "?lang=2"; + } + location.href = "../index.html" + langControll; +}; \ No newline at end of file diff --git a/docs/sass/editorial.css b/docs/sass/editorial.css new file mode 100644 index 0000000..c9a7fdd --- /dev/null +++ b/docs/sass/editorial.css @@ -0,0 +1,190 @@ +body { + font-family: sans-serif; + font-size: 20px; +} + +.wrap { + overflow: hidden; +} + +#showloading { + width: 100%; + height: 100vh; + background-color: #073a49; + position: relative; +} + +#showloading img { + position: absolute; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); + -webkit-transform: translate(-50%, -50%); + -moz-transform: translate(-50%, -50%); + -ms-transform: translate(-50%, -50%); + -o-transform: translate(-50%, -50%); +} + +.hidden { + display: none; +} + +/*========== header nav ==========*/ +header { + position: fixed; + top: 0; + background: #fff; + width: 100%; + height: 80px; + z-index: 10; +} + +header .left_h { + width: 80%; + height: 80px; + float: left; +} + +header .left_h nav ul { + padding-left: -50px; +} + +header .left_h nav ul li { + list-style: none; + display: inline-block; + font-size: 1.0rem; +} + +@media screen and (max-width: 1310px) { + header .left_h nav ul li { + font-size: 0.65rem; + } +} + +@media screen and (max-width: 992px) { + header .left_h nav ul li { + font-size: 0.6rem; + } +} + +header .left_h nav ul li a { + text-decoration: none; + color: #363636; + line-height: 80px; + display: block; + padding: 0 0.5rem; +} + +@media screen and (max-width: 1310px) { + header .left_h nav ul li a { + padding: 0 0.3rem; + } +} + +header .left_h nav ul li a:hover { + opacity: 0.5; +} + +header .right_h { + width: 20%; + height: 80px; + float: right; + text-align: center; + position: relative; +} + +header label { + display: inline-block; + float: right; + margin-left: 5px; + width: 7rem; + line-height: 80px; + color: #000; + background: #C3C3C3; + cursor: pointer; +} + +@media screen and (max-width: 1310px) { + header label { + width: 5.5rem; + } +} + +header label a { + text-decoration: none; + color: #363636; +} + +header input { + display: none; +} + +header .right_h ul { + position: absolute; + top: 80px; + right: 0; + width: 7rem; + margin: 0; + padding: 0; + background: #C3C3C3; + list-style: none; +} + +@media screen and (max-width: 1310px) { + header .right_h ul { + width: 5.5rem; + } +} + +header .right_h li { + height: 0; + overflow: hidden; + -webkit-transition: all 0.5s; + -moz-transition: all 0.5s; + -ms-transition: all 0.5s; + -o-transition: all 0.5s; + transition: all 0.5s; +} + +header #type1:checked ~ #links1 li { + height: 70px; + opacity: 1; + cursor: pointer; +} + +.wraper { + min-height: 90vh; +} + +.wraper .first-text { + width: 40%; + float: left; +} + +.wraper #studios { + width: 60%; + float: right; +} + +.wraper #studios h3 { + color: red; +} + +.wraper #studios div { + width: 100%; +} + +.wraper #studios div div { + width: 16%; +} + +.wraper #studios div div a img { + display: block; + width: 90%; + margin: 0 auto; +} + +.wraper #studios div div span { + font-size: 0.4rem; + text-align: center; +} diff --git a/docs/sass/editorial.min.css b/docs/sass/editorial.min.css new file mode 100644 index 0000000..3c44669 --- /dev/null +++ b/docs/sass/editorial.min.css @@ -0,0 +1 @@ +body{font-family:sans-serif;font-size:20px}.wrap{overflow:hidden}#showloading{width:100%;height:100vh;background-color:#073a49;position:relative}#showloading img{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);-webkit-transform:translate(-50%, -50%);-moz-transform:translate(-50%, -50%);-ms-transform:translate(-50%, -50%);-o-transform:translate(-50%, -50%)}.hidden{display:none}header{position:fixed;top:0;background:#fff;width:100%;height:80px;z-index:10}header .left_h{width:80%;height:80px;float:left}header .left_h nav ul{padding-left:-50px}header .left_h nav ul li{list-style:none;display:inline-block;font-size:1.0rem}@media screen and (max-width: 1310px){header .left_h nav ul li{font-size:0.65rem}}@media screen and (max-width: 992px){header .left_h nav ul li{font-size:0.6rem}}header .left_h nav ul li a{text-decoration:none;color:#363636;line-height:80px;display:block;padding:0 0.5rem}@media screen and (max-width: 1310px){header .left_h nav ul li a{padding:0 0.3rem}}header .left_h nav ul li a:hover{opacity:0.5}header .right_h{width:20%;height:80px;float:right;text-align:center;position:relative}header label{display:inline-block;float:right;margin-left:5px;width:7rem;line-height:80px;color:#000;background:#C3C3C3;cursor:pointer}@media screen and (max-width: 1310px){header label{width:5.5rem}}header label a{text-decoration:none;color:#363636}header input{display:none}header .right_h ul{position:absolute;top:80px;right:0;width:7rem;margin:0;padding:0;background:#C3C3C3;list-style:none}@media screen and (max-width: 1310px){header .right_h ul{width:5.5rem}}header .right_h li{height:0;overflow:hidden;-webkit-transition:all 0.5s;-moz-transition:all 0.5s;-ms-transition:all 0.5s;-o-transition:all 0.5s;transition:all 0.5s}header #type1:checked ~ #links1 li{height:70px;opacity:1;cursor:pointer}.wraper{min-height:90vh}.wraper .first-text{width:40%;float:left}.wraper #studios{width:60%;float:right}.wraper #studios h3{color:red}.wraper #studios div{width:100%}.wraper #studios div div{width:16%}.wraper #studios div div a img{display:block;width:90%;margin:0 auto}.wraper #studios div div span{font-size:0.4rem;text-align:center} diff --git a/docs/sass/editorial.scss b/docs/sass/editorial.scss new file mode 100644 index 0000000..21867f2 --- /dev/null +++ b/docs/sass/editorial.scss @@ -0,0 +1,197 @@ +$breakpoints: ( + 'sm': 'screen and (max-width: 576px)', + 'md': 'screen and (max-width: 768px)', + 'lg': 'screen and (max-width: 992px)', + // header用 + 'xl': 'screen and (max-width: 1310px)', +) !default; + +//メディアクエリ用のmixinを定義。デフォ値はmd +@mixin mq($breakpoint: md) { +//map-get(マップ型変数, キー)で値を取得 + @media #{map-get($breakpoints, $breakpoint)} { + @content; + } +} + +// ==================== + +body { + font-family: sans-serif; + font-size: 20px; +} +.wrap{ + overflow: hidden; +} + +#showloading { +width: 100%; +height: 100vh; +background-color: #073a49; +position: relative; +} + +#showloading img { + position: absolute; + top: 50%; + left: 50%; + transform: translate(-50%,-50%); + -webkit-transform: translate(-50%,-50%); + -moz-transform: translate(-50%,-50%); + -ms-transform: translate(-50%,-50%); + -o-transform: translate(-50%,-50%); +} + +.hidden { +display: none; +} + +/*========== header nav ==========*/ +header { + position: fixed; + top: 0; + background: #fff; + width: 100%; + height: 80px; + z-index: 10; + .left_h{ + width: 80%; + height: 80px; + float: left; + nav{ + ul { + padding-left: -50px; + li{ + list-style: none; + display: inline-block; + font-size: 1.0rem; + @include mq(xl){ + font-size: 0.65rem; + // padding: 0 0.3rem; + } + @include mq(lg){ + font-size: 0.6rem; + } + a{ + text-decoration: none; + color: #363636; + line-height: 80px; + display: block; + padding: 0 0.5rem; + // font-size: 1.0rem; + @include mq(xl){ + // font-size: 0.75rem; + padding: 0 0.3rem; + } + @include mq(lg){ + // font-size: 0.7rem; + } + &:hover{ + opacity: 0.5; + } + } + } + } + } + } + +.right_h{ + width: 20%; + height: 80px; + float: right; + text-align: center; + position: relative; +} +label { + display: inline-block; + float: right; + margin-left: 5px; + width: 7rem; + @include mq(xl){ + width: 5.5rem; + } + line-height: 80px; + // margin: 0 0 4px 0; + // padding : 15px; + // line-height: 1; + color :#000; + background: #C3C3C3; + cursor :pointer; + a{ + text-decoration: none; + color: #363636; + } +} + +input { + display: none; +} +.right_h ul { + position: absolute; + top: 80px; + right: 0; + width: 7rem; + @include mq(xl){ + width: 5.5rem; + } + margin: 0; + padding: 0; + background :#C3C3C3; + list-style: none; +} + +.right_h li { + height: 0; + overflow: hidden; + -webkit-transition: all 0.5s; + -moz-transition: all 0.5s; + -ms-transition: all 0.5s; + -o-transition: all 0.5s; + transition: all 0.5s; +} + +#type1:checked ~ #links1 li{ + height: 70px; + opacity: 1; + cursor :pointer; + // padding: 0.3rem 0; +} + +} +// button +// .open{ +// margin-top: 80px; +// } + + +.wraper{ + min-height: 90vh; + .first-text{ + width: 40%; + float: left; + } + #studios{ + width: 60%; + float: right; + h3{ + color: red; + } + div{ + width: 100%; + div{ + width: 16%; + a{ + img{ + display: block; + width: 90%; + margin: 0 auto; + } + } + span{ + font-size: 0.4rem; + text-align: center; + } + } + } + } +} diff --git a/docs/sass/faculty.css b/docs/sass/faculty.css new file mode 100644 index 0000000..e408361 --- /dev/null +++ b/docs/sass/faculty.css @@ -0,0 +1,838 @@ +@charset "UTF-8"; +body { + font-family: 'Hiragino Kaku Gothic ProN','ヒラギノ角ゴ ProN W3',sans-serif; + font-size: 10px; + font-weight: normal; + width: 100%; +} + +@media screen and (min-width: 992px) { + body { + font-size: 12px; + } +} + +.wrap { + overflow: hidden; +} + +#showloading { + width: 100%; + height: 100vh; + + background-color: #000000; + position: fixed; + z-index: 20; + +} + +#showloading img { + position: fixed; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); + -webkit-transform: translate(-50%, -50%); + -moz-transform: translate(-50%, -50%); + -ms-transform: translate(-50%, -50%); + -o-transform: translate(-50%, -50%); + z-index: 20; +} + +.fadeout-bg { + transition-property: opacity; + transition-delay: .2s; + transition-duration: .1s; + opacity: 0; + pointer-events: none; +} + +.hidden { + display: none; +} + +header { + width: 100%; + height: 80px; + position: fixed; + background: #fff; + z-index: 10; + /*チェックボックス等は非表示に*/ + /*アイコンのスペース*/ + /*ハンバーガーアイコンをCSSだけで表現*/ + /*閉じる用の薄黒カバー*/ + /*中身*/ + /*チェックが入ったらもろもろ表示*/ +} + +header #nav-drawer { + position: relative; + padding-left: 30px; +} + +header .nav-unshown { + display: none; +} + +header #nav-open { + display: inline-block; + width: 80px; + height: 80px; + vertical-align: middle; +} + +@media screen and (min-width: 992px) { + header #nav-open { + display: none; + } +} + +header #nav-open span, header #nav-open span:before, header #nav-open span:after { + position: absolute; + height: 3px; + /*線の太さ*/ + width: 25px; + /*長さ*/ + border-radius: 3px; + background: #2B2845; + display: block; + content: ''; + cursor: pointer; + margin-top: 30px; +} + +header #nav-open span:before { + bottom: -8px; +} + +header #nav-open span:after { + bottom: -16px; +} + +header #nav-close { + display: none; + /*はじめは隠しておく*/ + position: fixed; + z-index: 99; + top: 0; + /*全体に広がるように*/ + left: 0; + width: 100%; + height: 100%; + background: black; + opacity: 0; + transition: .3s ease-in-out; +} + +@media screen and (max-width: 992px) { + header #nav-content { + overflow: auto; + position: fixed; + top: 0; + left: 0; + z-index: 9999; + /*最前面に*/ + width: 70%; + /*右側に隙間を作る(閉じるカバーを表示)*/ + max-width: 330px; + /*最大幅(調整してください)*/ + height: 100vh; + background: #2B2845; + /*背景色*/ + transition: .3s ease-in-out; + /*滑らかに表示*/ + -webkit-transform: translateX(-105%); + transform: translateX(-105%); + /*左に隠しておく*/ + } +} + +header #nav-input:checked ~ #nav-close { + display: block; + /*カバーを表示*/ + opacity: .5; +} + +header #nav-input:checked ~ #nav-content { + -webkit-transform: translateX(0%); + transform: translateX(0%); + /*中身を表示(右へスライド)*/ + box-shadow: 6px 0 25px rgba(0, 0, 0, 0.15); +} + +header .left_h { + width: 60%; + float: left; +} + +@media screen and (min-width: 992px) { + header .left_h { + width: 80%; + } +} + +header .left_h nav ul li { + list-style: none; +} + +@media screen and (min-width: 992px) { + header .left_h nav ul li { + display: inline-block; + } +} + +header .left_h nav ul li a { + text-decoration: none; + font-size: 1.2rem; + color: #fff; +} + +@media screen and (min-width: 992px) { + header .left_h nav ul li a { + color: #363636; + font-size: 0.5rem; + line-height: 80px; + } +} + +@media screen and (min-width: 1200px) { + header .left_h nav ul li a { + color: #363636; + font-size: 0.9rem; + line-height: 80px; + } +} + +header .left_h nav ul li a h3 { + margin-top: 1rem; + padding-left: 1rem; + cursor: pointer; +} + +header .left_h nav ul li a h3:hover { + opacity: 0.5; +} + +@media screen and (min-width: 992px) { + header .left_h nav ul li a h3 { + margin: 0; + } +} + +header .right_h { + width: 40%; + float: right; + font-weight: bold; +} + +@media screen and (min-width: 992px) { + header .right_h { + width: 20%; + } +} + +header .right_h label { + display: inline-block; + width: 3.7rem; + text-align: center; + float: right; + color: #363636; + background: #C3C3C3; + line-height: 80px; + margin-left: 2%; + font-size: 1rem; + cursor: pointer; +} + +@media screen and (min-width: 576px) { + header .right_h label { + width: 5.0rem; + } +} + +header .right_h label a { + text-decoration: none; + color: #363636; +} + +header .right_h input { + display: none; +} + +header .right_h ul { + position: absolute; + top: 80px; + right: 0; + width: 3.7rem; + font-size: 1rem; + margin: 0; + padding: 0; + background: #C3C3C3; + list-style: none; + text-align: center; +} + +@media screen and (min-width: 576px) { + header .right_h ul { + width: 5.0rem; + } +} + +header .right_h li { + height: 0; + overflow: hidden; + -webkit-transition: all 0.5s; + -moz-transition: all 0.5s; + -ms-transition: all 0.5s; + -o-transition: all 0.5s; + transition: all 0.5s; +} + +header .right_h #type1:checked ~ #links1 li { + height: 60px; + opacity: 1; + cursor: pointer; +} + +.wraper { + width: 100%; + padding: 1rem 1.5rem; + min-height: 100vh; + background: #E4EBEF; + font-weight: normal; +} + +@media screen and (min-width: 992px) { + .wraper { + padding: 2rem 3rem; + } +} + +.wraper .first_box { + width: 100%; + overflow: hidden; + margin-top: 1rem; + margin-bottom: 2rem; +} + +.wraper .first_box #studios { + width: 100%; + margin-bottom: 2rem; +} + +@media screen and (min-width: 768px) { + .wraper .first_box #studios { + width: 40%; + float: right; + } +} + +.wraper .first_box #studios h3 { + margin-top: 0.5rem; + font-size: 0.9rem; +} + +@media screen and (min-width: 992px) { + .wraper .first_box #studios h3 { + font-size: 1.7rem; + } +} + +.wraper .first_box #studios div { + width: 100%; +} + +.wraper .first_box #studios div div { + width: 15%; + display: inline-block; +} + +.wraper .first_box #studios div div a { + display: block; + width: 100%; + position: relative; +} + +.wraper .first_box #studios div div a:before { + content: ""; + display: block; + padding-top: 100%; +} + +.wraper .first_box #studios div div a img { + position: absolute; + width: 100%; + height: 100%; + top: 0; + right: 0; + bottom: 0; + left: 0; + margin: auto; + object-fit: cover; +} + +.wraper .first_box #studios div div span { + font-size: 0.2rem; + text-align: center; +} + +.wraper .first_box .faculty_title { + width: 100%; +} + +@media screen and (min-width: 768px) { + .wraper .first_box .faculty_title { + width: 60%; + float: left; + } +} + +.wraper .first_box .faculty_title h1 { + font-size: 1.3rem; +} + +@media screen and (min-width: 768px) { + .wraper .first_box .faculty_title h1 { + font-size: 1.6rem; + margin-bottom: 1rem; + } +} + +@media screen and (min-width: 992px) { + .wraper .first_box .faculty_title h1 { + font-size: 2.1rem; + } +} + +@media screen and (min-width: 992px) { + .wraper .first_box .faculty_title h1 { + font-size: 2.8rem; + } +} + +.wraper .first_box .faculty_title h4 { + font-size: 1.0rem; +} + +@media screen and (min-width: 768px) { + .wraper .first_box .faculty_title h4 { + font-size: 1.3rem; + margin-bottom: 1rem; + } +} + +@media screen and (min-width: 992px) { + .wraper .first_box .faculty_title h4 { + font-size: 1.7rem; + } +} + +.wraper .second_box { + width: 100%; + overflow: hidden; + /* サムネイル */ +} + +.wraper .second_box .right_box { + width: 100%; +} + +@media screen and (min-width: 768px) { + .wraper .second_box .right_box { + width: 25%; + text-align: right; + float: right; + } +} + +.wraper .second_box .right_box h3 { + font-size: 1rem; + font-weight: normal; + padding-bottom: 1rem; + display: inline-block; +} + +@media screen and (min-width: 768px) { + .wraper .second_box .right_box h3 { + display: block; + font-size: 1.5rem; + } +} + +@media screen and (min-width: 1200px) { + .wraper .second_box .right_box h3 { + font-size: 2.0rem; + } +} + +.wraper .second_box .right_box h5 { + font-size: 0.8rem; + font-weight: normal; + display: inline-block; + padding-left: 1rem; +} + +@media screen and (min-width: 768px) { + .wraper .second_box .right_box h5 { + display: block; + font-size: 1.2rem; + margin-bottom: 1rem; + } +} + +@media screen and (min-width: 1200px) { + .wraper .second_box .right_box h5 { + font-size: 1.5rem; + } +} + +.wraper .second_box .right_box .insta_btn { + display: inline-block; + text-align: center; + /*中央揃え*/ + color: #2e6ca5; + /*文字色*/ + text-decoration: none; + /*下線消す*/ + margin-bottom: 2rem; +} + +.wraper .second_box .right_box .insta_btn:hover { + /*ホバー時*/ + color: #668ad8; + /*文字色*/ + transition: .5s; + /*ゆっくり変化*/ +} + +.wraper .second_box .right_box .insta_btn .insta { + /*アイコンの背景*/ + position: relative; + /*相対配置*/ + display: inline-block; + width: 50px; + /*幅*/ + height: 50px; + /*高さ*/ + background: -webkit-linear-gradient(135deg, #427eff 0%, #f13f79 70%) no-repeat; + background: linear-gradient(135deg, #427eff 0%, #f13f79 70%) no-repeat; + /*グラデーション①*/ + overflow: hidden; + /*はみ出た部分を隠す*/ + border-radius: 13px; + /*角丸に*/ +} + +.wraper .second_box .right_box .insta_btn .insta:before { + /*グラデーションを重ねるため*/ + content: ''; + position: absolute; + /*絶対配置*/ + top: 23px; + /*ずらす*/ + left: -18px; + /*ずらす*/ + width: 60px; + /*グラデーションカバーの幅*/ + height: 60px; + /*グラデーションカバーの高さ*/ + background: -webkit-radial-gradient(#ffdb2c 10%, rgba(255, 105, 34, 0.65) 55%, rgba(255, 88, 96, 0) 70%); + background: radial-gradient(#ffdb2c 10%, rgba(255, 105, 34, 0.65) 55%, rgba(255, 88, 96, 0) 70%); + /*グラデーション②*/ +} + +.wraper .second_box .right_box .insta_btn .fa-instagram { + /*アイコン*/ + color: #FFF; + /*白に*/ + position: relative; + /*z-indexを使うため*/ + z-index: 2; + /*グラデーションより前に*/ + font-size: 35px; + /*アイコンサイズ*/ + line-height: 50px; + /*高さと合わせる*/ +} + + +.wraper .second_box .right_box .twitter-btn { + display: inline-block; + text-align: center; + /*中央揃え*/ + color: #2e6ca5; + /*文字色*/ + text-decoration: none; + /*下線消す*/ + margin-bottom: 2rem; +} + +.wraper .second_box .right_box .twitter-btn:hover { + /*ホバー時*/ + color: #668ad8; + /*文字色*/ + transition: .5s; + /*ゆっくり変化*/ +} + +.wraper .second_box .right_box .twitter-btn .twitter { + /*アイコンの背景*/ + position: relative; + /*相対配置*/ + display: inline-block; + width: 50px; + /*幅*/ + height: 50px; + /*高さ*/ + background: #00acee; + /*グラデーション①*/ + overflow: hidden; + /*はみ出た部分を隠す*/ + border-radius: 13px; + /*角丸に*/ +} + +.wraper .second_box .right_box .twitter-btn .fa-twitter { + /*アイコン*/ + color: #FFF; + /*白に*/ + position: relative; + /*z-indexを使うため*/ + z-index: 2; + /*グラデーションより前に*/ + font-size: 35px; + /*アイコンサイズ*/ + line-height: 50px; + /*高さと合わせる*/ +} + + +.wraper .second_box .right_box .link_btn { + display: inline-block; + text-align: center; + /*中央揃え*/ + color: #2e6ca5; + /*文字色*/ + text-decoration: none; + /*下線消す*/ + margin-bottom: 2rem; +} + +.wraper .second_box .right_box .link_btn:hover { + /*ホバー時*/ + color: #668ad8; + /*文字色*/ + transition: .5s; + /*ゆっくり変化*/ +} + +.wraper .second_box .right_box .link_btn .linker { + /*アイコンの背景*/ + position: relative; + /*相対配置*/ + display: inline-block; + width: 50px; + /*幅*/ + height: 50px; + /*高さ*/ + /*グラデーション①*/ + overflow: hidden; + /*はみ出た部分を隠す*/ + border-radius: 13px; + /*角丸に*/ +} + +.wraper .second_box .right_box .link_btn .fa-window-restore { + /*アイコン*/ + color:#2B2845; + /*白に*/ + position: relative; + /*z-indexを使うため*/ + z-index: 2; + /*グラデーションより前に*/ + font-size: 35px; + /*アイコンサイズ*/ + line-height: 50px; + /*高さと合わせる*/ +} + +.wraper .second_box .cp_cssslider { + width: 100%; + padding-top: 350px; + /* 画像の高さ */ + position: relative; + text-align: center; + margin-bottom: 3rem; +} + +@media screen and (min-width: 768px) { + .wraper .second_box .cp_cssslider { + width: 75%; + float: left; + } +} + +@media screen and (min-width: 576px) { + .wraper .second_box .cp_cssslider { + padding-top: 500px; + } +} + +@media screen and (min-width: 768px) { + .wraper .second_box .cp_cssslider { + padding-top: 510px; + } +} + +@media screen and (min-width: 992px) { + .wraper .second_box .cp_cssslider { + padding-top: 600px; + } +} + +@media screen and (min-width: 1200px) { + .wraper .second_box .cp_cssslider { + padding-top: 800px; + } +} + +.wraper .second_box .cp_cssslider > img { + width: 100%; + position: absolute; + left: 0; + top: 0; + transition: all 0.5s; + border-radius: 3px; + box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.3); +} + +.wraper .second_box .cp_cssslider input[name='cp_switch'] { + display: none; +} + +.wraper .second_box .cp_cssslider label { + border: 2px solid #ffffff; + display: inline-block; + width: 24%; + cursor: pointer; + transition: all 0.5s ease; + opacity: 0.6; + border-radius: 3px; +} + +.wraper .second_box .cp_cssslider label:hover { + opacity: 0.9; +} + +.wraper .second_box .cp_cssslider label img { + display: block; + width: 100%; + border-radius: 2px; +} + +.wraper .second_box .cp_cssslider input[name='cp_switch']:checked + label { + border: 2px solid #FF7043; + opacity: 1; +} + +.wraper .second_box .cp_cssslider input[name='cp_switch'] ~ img { + opacity: 0; +} + +.wraper .second_box .cp_cssslider input[name='cp_switch']:checked + label + img { + opacity: 1; +} + +.wraper .text { + width: 75%; + margin: 0 auto 2rem; + font-size: 0.4rem; +} + +@media screen and (min-width: 768px) { + .wraper .text { + font-size: 0.8rem; + } +} + +@media screen and (min-width: 992px) { + .wraper .text { + font-size: 1.2rem; + } +} + +a.toTop { + z-index: 20; + position: fixed; + bottom: 2rem; + right: 2rem; + background: #2B2845; + color: #FFFFFF; + text-align: center; + width: 12rem; + padding: 1.0rem 0.3rem; + text-decoration: none; +} + +a.toTop:hover { + opacity: 0.5; +} + +/* ========== footer ========== */ +footer { + width: 100%; + background: #2B2845; + padding: 1rem 0; +} + +footer p { + text-align: center !important; + color: #FFFFFF; + margin-bottom: 0.3rem; +} + +/*吹き出し*/ +.wraper .first_box #nomalStudios > div,.wraper .first_box #englishStudios > div{ + display: inline-block; +} + +/* ツールチップ部分を隠す */ +.wraper .first_box #nomalStudios > div span ,.wraper .first_box #englishStudios > div span{ + display: none; +} + +/* マウスオーバー */ +.wraper .first_box #nomalStudios > div:hover, .wraper .first_box #englishStudios > div:hover { + position: relative; + color: #333; +} + +/* マウスオーバー時にツールチップを表示 */ +.wraper .first_box #nomalStudios > div:hover span,.wraper .first_box #englishStudios > div:hover span { + display: block; /* ボックス要素にする */ + position: absolute; + top: 25px; + right:40px; + font-size: 65%; + color: #fff; + background-color: rgb(53, 61, 104); + width: 190px; + padding: 5px; + border-radius:3px; + z-index:100; +} + +.wraper .first_box #nomalStudios > div span:before,.wraper .first_box #englishStudios > div span:before{ + content:''; + display:block; + position:absolute; /* relativeからの絶対位置 */ + height:0; + width:0; + top:0px; + right:-2px; + border:10px transparent solid; + border-right-width:0; + border-left-color:rgb(53, 61, 104); + transform:rotate(90deg); + z-index:100; +} +/*吹き出しここまで*/ \ No newline at end of file diff --git a/docs/sass/faculty.min.css b/docs/sass/faculty.min.css new file mode 100644 index 0000000..5f451c3 --- /dev/null +++ b/docs/sass/faculty.min.css @@ -0,0 +1 @@ +body{font-family:'Hiragino Kaku Gothic ProN','ヒラギノ角ゴ ProN W3',sans-serif;font-size:10px;font-weight:normal;width:100%}@media screen and (min-width: 992px){body{font-size:12px}}.wrap{overflow:hidden}#showloading{width:100%;height:100vh;background-color:#073a49;position:relative}#showloading img{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);-webkit-transform:translate(-50%, -50%);-moz-transform:translate(-50%, -50%);-ms-transform:translate(-50%, -50%);-o-transform:translate(-50%, -50%)}.hidden{display:none}header{width:100%;height:80px;position:fixed;background:#fff;z-index:10}header #nav-drawer{position:relative;padding-left:30px}header .nav-unshown{display:none}header #nav-open{display:inline-block;width:80px;height:80px;vertical-align:middle}@media screen and (min-width: 992px){header #nav-open{display:none}}header #nav-open span,header #nav-open span:before,header #nav-open span:after{position:absolute;height:3px;width:25px;border-radius:3px;background:#2B2845;display:block;content:'';cursor:pointer;margin-top:30px}header #nav-open span:before{bottom:-8px}header #nav-open span:after{bottom:-16px}header #nav-close{display:none;position:fixed;z-index:99;top:0;left:0;width:100%;height:100%;background:black;opacity:0;transition:.3s ease-in-out}@media screen and (max-width: 992px){header #nav-content{overflow:auto;position:fixed;top:0;left:0;z-index:9999;width:70%;max-width:330px;height:100vh;background:#2B2845;transition:.3s ease-in-out;-webkit-transform:translateX(-105%);transform:translateX(-105%)}}header #nav-input:checked ~ #nav-close{display:block;opacity:.5}header #nav-input:checked ~ #nav-content{-webkit-transform:translateX(0%);transform:translateX(0%);box-shadow:6px 0 25px rgba(0,0,0,0.15)}header .left_h{width:60%;float:left}@media screen and (min-width: 992px){header .left_h{width:80%}}header .left_h nav ul li{list-style:none}@media screen and (min-width: 992px){header .left_h nav ul li{display:inline-block}}header .left_h nav ul li a{text-decoration:none;font-size:1.2rem;color:#fff}@media screen and (min-width: 992px){header .left_h nav ul li a{color:#363636;font-size:0.5rem;line-height:80px}}@media screen and (min-width: 1200px){header .left_h nav ul li a{color:#363636;font-size:0.9rem;line-height:80px}}header .left_h nav ul li a h3{margin-top:1rem;padding-left:1rem;cursor:pointer}header .left_h nav ul li a h3:hover{opacity:0.5}@media screen and (min-width: 992px){header .left_h nav ul li a h3{margin:0}}header .right_h{width:40%;float:right;font-weight:bold}@media screen and (min-width: 992px){header .right_h{width:20%}}header .right_h label{display:inline-block;width:3.7rem;text-align:center;float:right;color:#363636;background:#C3C3C3;line-height:80px;margin-left:2%;font-size:1rem;cursor:pointer}@media screen and (min-width: 576px){header .right_h label{width:5.0rem}}header .right_h label a{text-decoration:none;color:#363636}header .right_h input{display:none}header .right_h ul{position:absolute;top:80px;right:0;width:3.7rem;font-size:1rem;margin:0;padding:0;background:#C3C3C3;list-style:none;text-align:center}@media screen and (min-width: 576px){header .right_h ul{width:5.0rem}}header .right_h li{height:0;overflow:hidden;-webkit-transition:all 0.5s;-moz-transition:all 0.5s;-ms-transition:all 0.5s;-o-transition:all 0.5s;transition:all 0.5s}header .right_h #type1:checked ~ #links1 li{height:60px;opacity:1;cursor:pointer}.wraper{width:100%;padding:1rem 1.5rem;min-height:100vh;background:#E4EBEF;font-weight:normal}@media screen and (min-width: 992px){.wraper{padding:2rem 3rem}}.wraper .first_box{width:100%;overflow:hidden;margin-top:1rem;margin-bottom:2rem}.wraper .first_box #studios{width:100%;margin-bottom:2rem}@media screen and (min-width: 768px){.wraper .first_box #studios{width:40%;float:right}}.wraper .first_box #studios h3{margin-top:0.5rem;font-size:0.9rem}@media screen and (min-width: 992px){.wraper .first_box #studios h3{font-size:1.7rem}}.wraper .first_box #studios div{width:100%}.wraper .first_box #studios div div{width:15%;display:inline-block}.wraper .first_box #studios div div a{display:block;width:100%;position:relative}.wraper .first_box #studios div div a:before{content:"";display:block;padding-top:100%}.wraper .first_box #studios div div a img{position:absolute;width:100%;height:100%;top:0;right:0;bottom:0;left:0;margin:auto;object-fit:cover}.wraper .first_box #studios div div span{font-size:0.2rem;text-align:center}.wraper .first_box .faculty_title{width:100%}@media screen and (min-width: 768px){.wraper .first_box .faculty_title{width:60%;float:left}}.wraper .first_box .faculty_title h1{font-size:1.3rem}@media screen and (min-width: 768px){.wraper .first_box .faculty_title h1{font-size:1.6rem;margin-bottom:1rem}}@media screen and (min-width: 992px){.wraper .first_box .faculty_title h1{font-size:2.1rem}}@media screen and (min-width: 992px){.wraper .first_box .faculty_title h1{font-size:2.8rem}}.wraper .first_box .faculty_title h4{font-size:1.0rem}@media screen and (min-width: 768px){.wraper .first_box .faculty_title h4{font-size:1.3rem;margin-bottom:1rem}}@media screen and (min-width: 992px){.wraper .first_box .faculty_title h4{font-size:1.7rem}}.wraper .second_box{width:100%;overflow:hidden}.wraper .second_box .right_box{width:100%}@media screen and (min-width: 768px){.wraper .second_box .right_box{width:25%;text-align:right;float:right}}.wraper .second_box .right_box h3{font-size:1rem;font-weight:normal;padding-bottom:1rem;display:inline-block}@media screen and (min-width: 768px){.wraper .second_box .right_box h3{display:block;font-size:1.5rem}}@media screen and (min-width: 1200px){.wraper .second_box .right_box h3{font-size:2.0rem}}.wraper .second_box .right_box h5{font-size:0.8rem;font-weight:normal;display:inline-block;padding-left:1rem}@media screen and (min-width: 768px){.wraper .second_box .right_box h5{display:block;font-size:1.2rem;margin-bottom:1rem}}@media screen and (min-width: 1200px){.wraper .second_box .right_box h5{font-size:1.5rem}}.wraper .second_box .right_box .insta_btn{display:inline-block;text-align:center;color:#2e6ca5;text-decoration:none;margin-bottom:2rem}.wraper .second_box .right_box .insta_btn:hover{color:#668ad8;transition:.5s}.wraper .second_box .right_box .insta_btn .insta{position:relative;display:inline-block;width:50px;height:50px;background:-webkit-linear-gradient(135deg, #427eff 0%, #f13f79 70%) no-repeat;background:linear-gradient(135deg, #427eff 0%, #f13f79 70%) no-repeat;overflow:hidden;border-radius:13px}.wraper .second_box .right_box .insta_btn .insta:before{content:'';position:absolute;top:23px;left:-18px;width:60px;height:60px;background:-webkit-radial-gradient(#ffdb2c 10%, rgba(255,105,34,0.65) 55%, rgba(255,88,96,0) 70%);background:radial-gradient(#ffdb2c 10%, rgba(255,105,34,0.65) 55%, rgba(255,88,96,0) 70%)}.wraper .second_box .right_box .insta_btn .fa-instagram{color:#FFF;position:relative;z-index:2;font-size:35px;line-height:50px}.wraper .second_box .cp_cssslider{width:100%;padding-top:350px;position:relative;text-align:center;margin-bottom:3rem}@media screen and (min-width: 768px){.wraper .second_box .cp_cssslider{width:75%;float:left}}@media screen and (min-width: 576px){.wraper .second_box .cp_cssslider{padding-top:500px}}@media screen and (min-width: 768px){.wraper .second_box .cp_cssslider{padding-top:510px}}@media screen and (min-width: 992px){.wraper .second_box .cp_cssslider{padding-top:600px}}@media screen and (min-width: 1200px){.wraper .second_box .cp_cssslider{padding-top:800px}}.wraper .second_box .cp_cssslider>img{width:100%;position:absolute;left:0;top:0;transition:all 0.5s;border-radius:3px;box-shadow:0px 0px 5px 0px rgba(0,0,0,0.3)}.wraper .second_box .cp_cssslider input[name='cp_switch']{display:none}.wraper .second_box .cp_cssslider label{border:2px solid #ffffff;display:inline-block;width:24%;cursor:pointer;transition:all 0.5s ease;opacity:0.6;border-radius:3px}.wraper .second_box .cp_cssslider label:hover{opacity:0.9}.wraper .second_box .cp_cssslider label img{display:block;width:100%;border-radius:2px}.wraper .second_box .cp_cssslider input[name='cp_switch']:checked+label{border:2px solid #FF7043;opacity:1}.wraper .second_box .cp_cssslider input[name='cp_switch'] ~ img{opacity:0}.wraper .second_box .cp_cssslider input[name='cp_switch']:checked+label+img{opacity:1}.wraper .text{width:75%;margin:0 auto 2rem;font-size:0.4rem}@media screen and (min-width: 768px){.wraper .text{font-size:0.8rem}}@media screen and (min-width: 992px){.wraper .text{font-size:1.2rem}}a.toTop{z-index:20;position:fixed;bottom:2rem;right:2rem;background:#2B2845;color:#FFFFFF;text-align:center;width:12rem;padding:1.0rem 0.3rem;text-decoration:none}a.toTop:hover{opacity:0.5}footer{width:100%;background:#2B2845;padding:1rem 0}footer p{text-align:center !important;color:#FFFFFF;margin-bottom:0.3rem} diff --git a/docs/sass/faculty.scss b/docs/sass/faculty.scss new file mode 100644 index 0000000..e5bc3f4 --- /dev/null +++ b/docs/sass/faculty.scss @@ -0,0 +1,599 @@ +$breakpoints: ( + 'sm': 'screen and (min-width: 576px)', + 'md': 'screen and (min-width: 768px)', + 'lg': 'screen and (min-width: 992px)', + 'xl': 'screen and (min-width: 1200px)' +) !default; + +//メディアクエリ用のmixinを定義。デフォ値はmd +@mixin mq($breakpoint: md) { +//map-get(マップ型変数, キー)で値を取得 + @media #{map-get($breakpoints, $breakpoint)} { + @content; + } +} + +$textCol: #363636; +$purple: #2B2845; + + + +body{ + font-family: 'Hiragino Kaku Gothic ProN','ヒラギノ角ゴ ProN W3',sans-serif; + font-size: 10px; + font-weight: normal; + width: 100%; + @include mq(lg){ + font-size: 12px; + } +} +.wrap{ + overflow: hidden; +} + +#showloading { +width: 100%; +height: 100vh; +background-color: #073a49; +position: relative; +} + +#showloading img { + position: absolute; + top: 50%; + left: 50%; + transform: translate(-50%,-50%); + -webkit-transform: translate(-50%,-50%); + -moz-transform: translate(-50%,-50%); + -ms-transform: translate(-50%,-50%); + -o-transform: translate(-50%,-50%); +} + +.hidden { +display: none; +} + + +// ========== header ========== +header{ + width: 100%; + height: 80px; + position: fixed; + background: #fff; + z-index: 10; + #nav-drawer { + position: relative; + padding-left: 30px; + } + + /*チェックボックス等は非表示に*/ + .nav-unshown { + display:none; + } + + /*アイコンのスペース*/ + #nav-open { + display: inline-block; + width: 80px; + height: 80px; + vertical-align: middle; + @include mq(lg){ + display: none; + } + } + + /*ハンバーガーアイコンをCSSだけで表現*/ + #nav-open span, #nav-open span:before, #nav-open span:after { + position: absolute; + height: 3px;/*線の太さ*/ + width: 25px;/*長さ*/ + border-radius: 3px; + background: $purple; + display: block; + content: ''; + cursor: pointer; + margin-top: 30px; + } + #nav-open span:before { + bottom: -8px; + } + #nav-open span:after { + bottom: -16px; + } + + /*閉じる用の薄黒カバー*/ + #nav-close { + display: none;/*はじめは隠しておく*/ + position: fixed; + z-index: 99; + top: 0;/*全体に広がるように*/ + left: 0; + width: 100%; + height: 100%; + background: black; + opacity: 0; + transition: .3s ease-in-out; + } + + /*中身*/ + @media screen and (max-width:992px) { + #nav-content { + overflow: auto; + position: fixed; + top: 0; + left: 0; + z-index: 9999;/*最前面に*/ + width: 70%;/*右側に隙間を作る(閉じるカバーを表示)*/ + max-width: 330px;/*最大幅(調整してください)*/ + height: 100vh; + background: $purple;/*背景色*/ + transition: .3s ease-in-out;/*滑らかに表示*/ + -webkit-transform: translateX(-105%); + transform: translateX(-105%);/*左に隠しておく*/ + } +} + + /*チェックが入ったらもろもろ表示*/ + #nav-input:checked ~ #nav-close { + display: block;/*カバーを表示*/ + opacity: .5; + } + + #nav-input:checked ~ #nav-content { + -webkit-transform: translateX(0%); + transform: translateX(0%);/*中身を表示(右へスライド)*/ + box-shadow: 6px 0 25px rgba(0,0,0,.15); + } + + + + .left_h{ + width: 60%; + float: left; + @include mq(lg){ + width: 80%; + } + nav{ + ul{ + li{ + list-style: none; + @include mq(lg){ + display: inline-block; + } + a{ + text-decoration: none; + font-size: 1.2rem; + color: #fff; + @include mq(lg){ + color: $textCol; + font-size: 0.5rem; + line-height: 80px; + } + @include mq(xl){ + color: $textCol; + font-size: 0.9rem; + line-height: 80px; + } + h3{ + margin-top: 1rem; + padding-left: 1rem; + cursor: pointer; + &:hover{ + opacity: 0.5; + } + @include mq(lg){ + margin: 0; + } + } + } + } + } + } + + } + .right_h{ + width: 40%; + float: right; + font-weight: bold; + @include mq(lg){ + width: 20%; + } +label { + display: inline-block; + width: 3.7rem; + @include mq(sm){ + width: 5.0rem; + } + text-align: center; + float: right; + color :$textCol; + background: #C3C3C3; + line-height: 80px; + margin-left: 2%; + font-size: 1rem; + cursor :pointer; + a{ + text-decoration: none; + color: $textCol; + } +} +input { + display: none; +} +ul { + position: absolute; + top: 80px; + right: 0; + width: 3.7rem; + @include mq(sm){ + width: 5.0rem; + } + font-size: 1rem; + margin: 0; + padding: 0; + background :#C3C3C3; + list-style: none; + text-align: center; +} + +li { + height: 0; + overflow: hidden; + -webkit-transition: all 0.5s; + -moz-transition: all 0.5s; + -ms-transition: all 0.5s; + -o-transition: all 0.5s; + transition: all 0.5s; +} + +#type1:checked ~ #links1 li{ + height: 60px; + opacity: 1; + cursor :pointer; + // padding: 0.3rem 0; +} + } +} +// button +// .open{ +// margin-top: 80px; +// } + +// button +// .open{ +// margin-top: 80px; +// } + +// ================== +.wraper { + width: 100%; + padding: 1rem 1.5rem; + min-height: 100vh; + background: #E4EBEF; + font-weight: normal; + + @include mq(lg) { + padding: 2rem 3rem; + } + + .first_box { + width: 100%; + overflow: hidden; + margin-top: 1rem; + margin-bottom: 2rem; + + #studios { + width: 100%; + margin-bottom: 2rem; + + @include mq() { + width: 40%; + float: right; + } + + h3 { + margin-top: 0.5rem; + font-size: 0.9rem; + + @include mq(lg) { + font-size: 1.7rem; + } + } + + div { //normalStudios + width: 100%; + + div { + width: 15%; + // height: 4rem; + display: inline-block; + + a { + display: block; + width: 100%; + padding: 2px; + position: relative; + + &:before { + content: ""; + display: block; + padding-top: 100%; + } + + img { + position: absolute; + width: 100%; + height: 100%; + top: 0; + right: 0; + bottom: 0; + left: 0; + margin: auto; + object-fit: cover; + } + } + + span { + font-size: 0.2rem; + text-align: center; + } + } + } + } + + .faculty_title { + width: 100%; + + @include mq() { + width: 60%; + float: left; + } + + h1 { + font-size: 1.3rem; + + @include mq() { + font-size: 1.6rem; + margin-bottom: 1rem; + } + + @include mq(lg) { + font-size: 2.1rem; + } + + @include mq(lg) { + font-size: 2.8rem; + } + } + + h4 { + font-size: 1.0rem; + + @include mq() { + font-size: 1.3rem; + margin-bottom: 1rem; + } + + @include mq(lg) { + font-size: 1.7rem; + } + } + } + } + + .second_box { + width: 100%; + overflow: hidden; + + .right_box { + width: 100%; + + @include mq() { + width: 25%; + text-align: right; + float: right; + } + + h3 { + font-size: 1rem; + font-weight: normal; + padding-bottom: 1rem; + display: inline-block; + + @include mq() { + display: block; + font-size: 1.5rem; + } + + @include mq(xl) { + font-size: 2.0rem; + } + } + + h5 { + font-size: 0.8rem; + font-weight: normal; + display: inline-block; + padding-left: 1rem; + + @include mq() { + display: block; + font-size: 1.2rem; + margin-bottom: 1rem; + } + + @include mq(xl) { + font-size: 1.5rem; + } + } + + .insta_btn { + display: inline-block; + text-align: center; /*中央揃え*/ + color: #2e6ca5; /*文字色*/ + text-decoration: none; /*下線消す*/ + margin-bottom: 2rem; + } + + .insta_btn:hover { /*ホバー時*/ + color: #668ad8; /*文字色*/ + transition: .5s; /*ゆっくり変化*/ + } + + .insta_btn .insta { /*アイコンの背景*/ + position: relative; /*相対配置*/ + display: inline-block; + width: 50px; /*幅*/ + height: 50px; /*高さ*/ + background: -webkit-linear-gradient(135deg, #427eff 0%, #f13f79 70%) no-repeat; + background: linear-gradient(135deg, #427eff 0%, #f13f79 70%) no-repeat; /*グラデーション①*/ + overflow: hidden; /*はみ出た部分を隠す*/ + border-radius: 13px; /*角丸に*/ + } + + .insta_btn .insta:before { /*グラデーションを重ねるため*/ + content: ''; + position: absolute; /*絶対配置*/ + top: 23px; /*ずらす*/ + left: -18px; /*ずらす*/ + width: 60px; /*グラデーションカバーの幅*/ + height: 60px; /*グラデーションカバーの高さ*/ + background: -webkit-radial-gradient(#ffdb2c 10%, rgba(255, 105, 34, 0.65) 55%, rgba(255, 88, 96, 0) 70%); + background: radial-gradient(#ffdb2c 10%, rgba(255, 105, 34, 0.65) 55%, rgba(255, 88, 96, 0) 70%); /*グラデーション②*/ + } + + .insta_btn .fa-instagram { /*アイコン*/ + color: #FFF; /*白に*/ + position: relative; /*z-indexを使うため*/ + z-index: 2; /*グラデーションより前に*/ + font-size: 35px; /*アイコンサイズ*/ + line-height: 50px; /*高さと合わせる*/ + } + } + + + .cp_cssslider { + width: 100%; + // float: left; + @include mq() { + width: 75%; + float: left; + } + + padding-top: 350px; /* 画像の高さ */ + @include mq(sm) { + padding-top: 500px; + } + + @include mq(md) { + padding-top: 510px; + } + + @include mq(lg) { + padding-top: 600px; + } + + @include mq(xl) { + padding-top: 800px; + } + + position: relative; + text-align: center; + margin-bottom: 3rem; + } + + .cp_cssslider > img { + width: 100%; + position: absolute; + left: 0; + top: 0; + transition: all 0.5s; + border-radius: 3px; + box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.3); + } + + .cp_cssslider input[name='cp_switch'] { + display: none; + } + /* サムネイル */ + .cp_cssslider label { + // margin: 15px 5px 0 5px; + border: 2px solid #ffffff; + display: inline-block; + width: 24%; + cursor: pointer; + transition: all 0.5s ease; + opacity: 0.6; + border-radius: 3px; + } + + .cp_cssslider label:hover { + opacity: 0.9; + } + + .cp_cssslider label img { + display: block; + // width: 100px; + width: 100%; + border-radius: 2px; + } + + .cp_cssslider input[name='cp_switch']:checked + label { + border: 2px solid #FF7043; + opacity: 1; + } + + .cp_cssslider input[name='cp_switch'] ~ img { + opacity: 0; + } + + .cp_cssslider input[name='cp_switch']:checked + label + img { + opacity: 1; + } + } + + .text { + width: 75%; + margin: 0 auto 2rem; + font-size: 0.4rem; + + @include mq(md) { + font-size: 0.8rem; + } + + @include mq(lg) { + font-size: 1.2rem; + } + } +} + + // ========== toTop ========== + a.toTop{ + z-index: 20; + position: fixed; + bottom: 2rem; + right: 2rem; + background: #2B2845; + color: #FFFFFF; + text-align: center; + width: 12rem; + padding: 1.0rem 0.3rem; + text-decoration: none; + &:hover{ + opacity: 0.5; + } + } + + + +/* ========== footer ========== */ +footer{ + width: 100%; + background: #2B2845; + padding: 1rem 0; + p{ + text-align: center!important; + color: #FFFFFF; + margin-bottom: 0.3rem; + } +} \ No newline at end of file diff --git a/docs/sass/iaLib.css b/docs/sass/iaLib.css new file mode 100644 index 0000000..5e3befe --- /dev/null +++ b/docs/sass/iaLib.css @@ -0,0 +1,506 @@ +@charset "UTF-8"; +body { + font-family: 'Hiragino Kaku Gothic ProN','ヒラギノ角ゴ ProN W3',sans-serif; + font-size: 10px; + font-weight: normal; + width: 100%; +} + +@media screen and (min-width: 992px) { + body { + font-size: 12px; + } +} + +.wrap { + overflow: hidden; +} + +#showloading { + width: 100%; + height: 100vh; + background-color: #000000; + position: fixed; + z-index: 20; +} + +#showloading img { + position: fixed; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); + -webkit-transform: translate(-50%, -50%); + -moz-transform: translate(-50%, -50%); + -ms-transform: translate(-50%, -50%); + -o-transform: translate(-50%, -50%); + z-index: 20; +} + +.fadeout-bg { + transition-property: opacity; + transition-delay: .2s; + transition-duration: .1s; + opacity: 0; + pointer-events: none; +} + +.hidden { + display: none; +} + +header { + width: 100%; + height: 80px; + position: fixed; + background: #fff; + z-index: 10; + /*チェックボックス等は非表示に*/ + /*アイコンのスペース*/ + /*ハンバーガーアイコンをCSSだけで表現*/ + /*閉じる用の薄黒カバー*/ + /*中身*/ + /*チェックが入ったらもろもろ表示*/ +} + +header #nav-drawer { + position: relative; + padding-left: 30px; +} + +header .nav-unshown { + display: none; +} + +header #nav-open { + display: inline-block; + width: 80px; + height: 80px; + vertical-align: middle; +} + +@media screen and (min-width: 992px) { + header #nav-open { + display: none; + } +} + +header #nav-open span, header #nav-open span:before, header #nav-open span:after { + position: absolute; + height: 3px; + /*線の太さ*/ + width: 25px; + /*長さ*/ + border-radius: 3px; + background: #2B2845; + display: block; + content: ''; + cursor: pointer; + margin-top: 30px; +} + +header #nav-open span:before { + bottom: -8px; +} + +header #nav-open span:after { + bottom: -16px; +} + +header #nav-close { + display: none; + /*はじめは隠しておく*/ + position: fixed; + z-index: 99; + top: 0; + /*全体に広がるように*/ + left: 0; + width: 100%; + height: 100%; + background: black; + opacity: 0; + transition: .3s ease-in-out; +} + +@media screen and (max-width: 992px) { + header #nav-content { + overflow: auto; + position: fixed; + top: 0; + left: 0; + z-index: 9999; + /*最前面に*/ + width: 70%; + /*右側に隙間を作る(閉じるカバーを表示)*/ + max-width: 330px; + /*最大幅(調整してください)*/ + height: 100vh; + background: #2B2845; + /*背景色*/ + transition: .3s ease-in-out; + /*滑らかに表示*/ + -webkit-transform: translateX(-105%); + transform: translateX(-105%); + /*左に隠しておく*/ + } +} + +header #nav-input:checked ~ #nav-close { + display: block; + /*カバーを表示*/ + opacity: .5; +} + +header #nav-input:checked ~ #nav-content { + -webkit-transform: translateX(0%); + transform: translateX(0%); + /*中身を表示(右へスライド)*/ + box-shadow: 6px 0 25px rgba(0, 0, 0, 0.15); +} + +header .left_h { + width: 60%; + float: left; +} + +@media screen and (min-width: 992px) { + header .left_h { + width: 80%; + } +} + +header .left_h nav ul li { + list-style: none; +} + +@media screen and (min-width: 992px) { + header .left_h nav ul li { + display: inline-block; + } +} + +header .left_h nav ul li a { + text-decoration: none; + font-size: 1.2rem; + color: #fff; +} + +@media screen and (min-width: 992px) { + header .left_h nav ul li a { + color: #363636; + font-size: 0.5rem; + line-height: 80px; + } +} + +@media screen and (min-width: 1200px) { + header .left_h nav ul li a { + color: #363636; + font-size: 0.9rem; + line-height: 80px; + } +} + +header .left_h nav ul li a h3 { + margin-top: 1rem; + padding-left: 1rem; + cursor: pointer; +} + +header .left_h nav ul li a h3:hover { + opacity: 0.5; +} + +@media screen and (min-width: 992px) { + header .left_h nav ul li a h3 { + margin: 0; + } +} + +header .right_h { + width: 40%; + float: right; + font-weight: bold; +} + +@media screen and (min-width: 992px) { + header .right_h { + width: 20%; + } +} + +header .right_h label { + display: inline-block; + width: 3.7rem; + text-align: center; + float: right; + color: #363636; + background: #C3C3C3; + line-height: 80px; + margin-left: 2%; + font-size: 1rem; + cursor: pointer; +} + +@media screen and (min-width: 576px) { + header .right_h label { + width: 5.0rem; + } +} + +header .right_h label a { + text-decoration: none; + color: #363636; +} + +header .right_h input { + display: none; +} + +header .right_h ul { + position: absolute; + top: 80px; + right: 0; + width: 3.7rem; + font-size: 1rem; + margin: 0; + padding: 0; + background: #C3C3C3; + list-style: none; + text-align: center; +} + +@media screen and (min-width: 576px) { + header .right_h ul { + width: 5.0rem; + } +} + +header .right_h li { + height: 0; + overflow: hidden; + -webkit-transition: all 0.5s; + -moz-transition: all 0.5s; + -ms-transition: all 0.5s; + -o-transition: all 0.5s; + transition: all 0.5s; +} + +header .right_h #type1:checked ~ #links1 li { + height: 60px; + opacity: 1; + cursor: pointer; +} + +.main-visual { + width: 100%; + height: 600px; + background-image: url(../image/みんなの図書visual-02.jpg); + background-size: cover; + background-position: center; +} + +@media screen and (min-width: 992px) { + .main-visual { + height: 800px; + } +} + +.first-text { + padding: 3rem 3rem; +} + +.first-text h3 { + font-size: 1.3rem; + margin-bottom: 1rem; +} + +@media screen and (min-width: 768px) { + .first-text h3 { + font-size: 1.6rem; + } +} + +@media screen and (min-width: 992px) { + .first-text h3 { + font-size: 2.0rem; + } +} + +.first-text h5 { + font-size: 1.0rem; +} + +@media screen and (min-width: 768px) { + .first-text h5 { + font-size: 1.2rem; + padding-left: 2rem; + } +} + +@media screen and (min-width: 992px) { + .first-text h5 { + font-size: 1.5rem; + } +} + +.first-text a { + text-decoration: none; + font-size: 1.3rem; +} + +#book div { + background: #E4EBEF; + margin-bottom: 2rem; + padding: 3rem 1.5rem; + color: #363636; +} + +@media screen and (min-width: 768px) { + #book div { + padding: 3rem 3.0rem; + } +} + +#book div span { + display: block; +} + +#book div .book-title { + border-bottom: 1px solid #363636; + display: inline-block; + font-size: 0.6rem; +} + +@media screen and (min-width: 768px) { + #book div .book-title { + font-size: 1.3rem; + } +} + +@media screen and (min-width: 992px) { + #book div .book-title { + font-size: 1.7rem; + } +} + +#book div .book-writer { + margin-bottom: 2.0rem; + font-size: 0.4rem; +} + +@media screen and (min-width: 768px) { + #book div .book-writer { + font-size: 1.0rem; + } +} + +@media screen and (min-width: 992px) { + #book div .book-writer { + font-size: 1.3rem; + } +} + +#book div .book-reason { + font-size: 0.6rem; + padding-left: 0.5rem; + margin-bottom: 1.5rem; + display: inline-block; +} + +@media screen and (min-width: 768px) { + #book div .book-reason { + font-size: 1.1rem; + padding-left: 1rem; + } +} + +@media screen and (min-width: 992px) { + #book div .book-reason { + font-size: 1.3rem; + } +} + +#book div .book-teacher { + display: inline-block; + padding-left: 0.5rem; + font-size: 0.4rem; +} + +@media screen and (min-width: 768px) { + #book div .book-teacher { + font-size: 0.8rem; + } +} + +@media screen and (min-width: 992px) { + #book div .book-teacher { + font-size: 1.0rem; + } +} + +#book div .book-text-box { + margin: 0 auto; +} + +#book div .book-text-box .book-about { + margin-bottom: 1rem; + word-break: break-all; + font-size: 0.5rem; +} + +@media screen and (min-width: 768px) { + #book div .book-text-box .book-about { + font-size: 1.2rem; + } +} + +#book div .book-text-box .book-link, #book div .book-text-box .book-link2 { + color: #363636; + text-decoration: none; + display: inline-block; + word-break: break-all; + font-size: 0.5rem; +} + +@media screen and (min-width: 768px) { + #book div .book-text-box .book-link, #book div .book-text-box .book-link2 { + font-size: 1.2rem; + } +} + +#book div .book-text-box .book-link:hover, #book div .book-text-box .book-link2:hover { + opacity: 0.5; +} + +#book div .book-text-box .book-link { + margin-bottom: 0.5rem; +} + +a.toTop { + position: fixed; + bottom: 2rem; + right: 2rem; + background: #2B2845; + color: #FFFFFF; + text-align: center; + width: 12rem; + padding: 1.0rem 0.3rem; + text-decoration: none; +} + +a.toTop:hover { + opacity: 0.5; +} + +/* ========== footer ========== */ +footer { + width: 100%; + background: #2B2845; + padding: 1rem 0; +} + +footer p { + text-align: center !important; + color: #FFFFFF; + margin-bottom: 0.3rem; +} diff --git a/docs/sass/iaLib.min.css b/docs/sass/iaLib.min.css new file mode 100644 index 0000000..cae3529 --- /dev/null +++ b/docs/sass/iaLib.min.css @@ -0,0 +1 @@ +body{font-family:'Hiragino Kaku Gothic ProN','ヒラギノ角ゴ ProN W3',sans-serif;font-size:10px;font-weight:normal;width:100%}@media screen and (min-width: 992px){body{font-size:12px}}.wrap{overflow:hidden}#showloading{width:100%;height:100vh;background-color:#073a49;position:relative}#showloading img{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);-webkit-transform:translate(-50%, -50%);-moz-transform:translate(-50%, -50%);-ms-transform:translate(-50%, -50%);-o-transform:translate(-50%, -50%)}.hidden{display:none}header{width:100%;height:80px;position:fixed;background:#fff;z-index:10}header #nav-drawer{position:relative;padding-left:30px}header .nav-unshown{display:none}header #nav-open{display:inline-block;width:80px;height:80px;vertical-align:middle}@media screen and (min-width: 992px){header #nav-open{display:none}}header #nav-open span,header #nav-open span:before,header #nav-open span:after{position:absolute;height:3px;width:25px;border-radius:3px;background:#2B2845;display:block;content:'';cursor:pointer;margin-top:30px}header #nav-open span:before{bottom:-8px}header #nav-open span:after{bottom:-16px}header #nav-close{display:none;position:fixed;z-index:99;top:0;left:0;width:100%;height:100%;background:black;opacity:0;transition:.3s ease-in-out}@media screen and (max-width: 992px){header #nav-content{overflow:auto;position:fixed;top:0;left:0;z-index:9999;width:70%;max-width:330px;height:100vh;background:#2B2845;transition:.3s ease-in-out;-webkit-transform:translateX(-105%);transform:translateX(-105%)}}header #nav-input:checked ~ #nav-close{display:block;opacity:.5}header #nav-input:checked ~ #nav-content{-webkit-transform:translateX(0%);transform:translateX(0%);box-shadow:6px 0 25px rgba(0,0,0,0.15)}header .left_h{width:60%;float:left}@media screen and (min-width: 992px){header .left_h{width:80%}}header .left_h nav ul li{list-style:none}@media screen and (min-width: 992px){header .left_h nav ul li{display:inline-block}}header .left_h nav ul li a{text-decoration:none;font-size:1.2rem;color:#fff}@media screen and (min-width: 992px){header .left_h nav ul li a{color:#363636;font-size:0.5rem;line-height:80px}}@media screen and (min-width: 1200px){header .left_h nav ul li a{color:#363636;font-size:0.9rem;line-height:80px}}header .left_h nav ul li a h3{margin-top:1rem;padding-left:1rem;cursor:pointer}header .left_h nav ul li a h3:hover{opacity:0.5}@media screen and (min-width: 992px){header .left_h nav ul li a h3{margin:0}}header .right_h{width:40%;float:right;font-weight:bold}@media screen and (min-width: 992px){header .right_h{width:20%}}header .right_h label{display:inline-block;width:3.7rem;text-align:center;float:right;color:#363636;background:#C3C3C3;line-height:80px;margin-left:2%;font-size:1rem;cursor:pointer}@media screen and (min-width: 576px){header .right_h label{width:5.0rem}}header .right_h label a{text-decoration:none;color:#363636}header .right_h input{display:none}header .right_h ul{position:absolute;top:80px;right:0;width:3.7rem;font-size:1rem;margin:0;padding:0;background:#C3C3C3;list-style:none;text-align:center}@media screen and (min-width: 576px){header .right_h ul{width:5.0rem}}header .right_h li{height:0;overflow:hidden;-webkit-transition:all 0.5s;-moz-transition:all 0.5s;-ms-transition:all 0.5s;-o-transition:all 0.5s;transition:all 0.5s}header .right_h #type1:checked ~ #links1 li{height:60px;opacity:1;cursor:pointer}.main-visual{width:100%;height:600px;background-image:url(../image/みんなの図書visual-02.jpg);background-size:cover;background-position:center}@media screen and (min-width: 992px){.main-visual{height:800px}}.first-text{padding:3rem 3rem}.first-text h3{font-size:1.3rem;margin-bottom:1rem}@media screen and (min-width: 768px){.first-text h3{font-size:1.6rem}}@media screen and (min-width: 992px){.first-text h3{font-size:2.0rem}}.first-text h5{font-size:1.0rem}@media screen and (min-width: 768px){.first-text h5{font-size:1.2rem;padding-left:2rem}}@media screen and (min-width: 992px){.first-text h5{font-size:1.5rem}}.first-text a{text-decoration:none;font-size:1.3rem}#book div{background:#E4EBEF;margin-bottom:2rem;padding:3rem 1.5rem;color:#363636}@media screen and (min-width: 768px){#book div{padding:3rem 3.0rem}}#book div span{display:block}#book div .book-title{border-bottom:1px solid #363636;display:inline-block;font-size:0.6rem}@media screen and (min-width: 768px){#book div .book-title{font-size:1.3rem}}@media screen and (min-width: 992px){#book div .book-title{font-size:1.7rem}}#book div .book-writer{margin-bottom:2.0rem;font-size:0.4rem}@media screen and (min-width: 768px){#book div .book-writer{font-size:1.0rem}}@media screen and (min-width: 992px){#book div .book-writer{font-size:1.3rem}}#book div .book-reason{font-size:0.6rem;padding-left:0.5rem;margin-bottom:1.5rem;display:inline-block}@media screen and (min-width: 768px){#book div .book-reason{font-size:1.1rem;padding-left:1rem}}@media screen and (min-width: 992px){#book div .book-reason{font-size:1.3rem}}#book div .book-teacher{display:inline-block;padding-left:0.5rem;font-size:0.4rem}@media screen and (min-width: 768px){#book div .book-teacher{font-size:0.8rem}}@media screen and (min-width: 992px){#book div .book-teacher{font-size:1.0rem}}#book div .book-text-box{margin:0 auto}#book div .book-text-box .book-about{margin-bottom:1rem;word-break:break-all;font-size:0.5rem}@media screen and (min-width: 768px){#book div .book-text-box .book-about{font-size:1.2rem}}#book div .book-text-box .book-link,#book div .book-text-box .book-link2{color:#363636;text-decoration:none;display:inline-block;word-break:break-all;font-size:0.5rem}@media screen and (min-width: 768px){#book div .book-text-box .book-link,#book div .book-text-box .book-link2{font-size:1.2rem}}#book div .book-text-box .book-link:hover,#book div .book-text-box .book-link2:hover{opacity:0.5}#book div .book-text-box .book-link{margin-bottom:0.5rem}a.toTop{position:fixed;bottom:2rem;right:2rem;background:#2B2845;color:#FFFFFF;text-align:center;width:12rem;padding:1.0rem 0.3rem;text-decoration:none}a.toTop:hover{opacity:0.5}footer{width:100%;background:#2B2845;padding:1rem 0}footer p{text-align:center !important;color:#FFFFFF;margin-bottom:0.3rem} diff --git a/docs/sass/iaLib.scss b/docs/sass/iaLib.scss new file mode 100644 index 0000000..889f3ae --- /dev/null +++ b/docs/sass/iaLib.scss @@ -0,0 +1,415 @@ +$breakpoints: ( + 'sm': 'screen and (min-width: 576px)', + 'md': 'screen and (min-width: 768px)', + 'lg': 'screen and (min-width: 992px)', + 'xl': 'screen and (min-width: 1200px)' +) !default; + +//メディアクエリ用のmixinを定義。デフォ値はmd +@mixin mq($breakpoint: md) { +//map-get(マップ型変数, キー)で値を取得 + @media #{map-get($breakpoints, $breakpoint)} { + @content; + } +} + +$textCol: #363636; +$purple: #2B2845; + + + +body{ + font-family: 'Hiragino Kaku Gothic ProN','ヒラギノ角ゴ ProN W3',sans-serif; + font-size: 10px; + font-weight: normal; + width: 100%; + @include mq(lg){ + font-size: 12px; + } +} +.wrap{ + overflow: hidden; +} + +#showloading { +width: 100%; +height: 100vh; +background-color: #073a49; +position: relative; +} + +#showloading img { + position: absolute; + top: 50%; + left: 50%; + transform: translate(-50%,-50%); + -webkit-transform: translate(-50%,-50%); + -moz-transform: translate(-50%,-50%); + -ms-transform: translate(-50%,-50%); + -o-transform: translate(-50%,-50%); +} + +.hidden { +display: none; +} + + +// ========== header ========== +header{ + width: 100%; + height: 80px; + position: fixed; + background: #fff; + z-index: 10; + #nav-drawer { + position: relative; + padding-left: 30px; + } + + /*チェックボックス等は非表示に*/ + .nav-unshown { + display:none; + } + + /*アイコンのスペース*/ + #nav-open { + display: inline-block; + width: 80px; + height: 80px; + vertical-align: middle; + @include mq(lg){ + display: none; + } + } + + /*ハンバーガーアイコンをCSSだけで表現*/ + #nav-open span, #nav-open span:before, #nav-open span:after { + position: absolute; + height: 3px;/*線の太さ*/ + width: 25px;/*長さ*/ + border-radius: 3px; + background: $purple; + display: block; + content: ''; + cursor: pointer; + margin-top: 30px; + } + #nav-open span:before { + bottom: -8px; + } + #nav-open span:after { + bottom: -16px; + } + + /*閉じる用の薄黒カバー*/ + #nav-close { + display: none;/*はじめは隠しておく*/ + position: fixed; + z-index: 99; + top: 0;/*全体に広がるように*/ + left: 0; + width: 100%; + height: 100%; + background: black; + opacity: 0; + transition: .3s ease-in-out; + } + + /*中身*/ + @media screen and (max-width:992px) { + #nav-content { + overflow: auto; + position: fixed; + top: 0; + left: 0; + z-index: 9999;/*最前面に*/ + width: 70%;/*右側に隙間を作る(閉じるカバーを表示)*/ + max-width: 330px;/*最大幅(調整してください)*/ + height: 100vh; + background: $purple;/*背景色*/ + transition: .3s ease-in-out;/*滑らかに表示*/ + -webkit-transform: translateX(-105%); + transform: translateX(-105%);/*左に隠しておく*/ + } +} + + /*チェックが入ったらもろもろ表示*/ + #nav-input:checked ~ #nav-close { + display: block;/*カバーを表示*/ + opacity: .5; + } + + #nav-input:checked ~ #nav-content { + -webkit-transform: translateX(0%); + transform: translateX(0%);/*中身を表示(右へスライド)*/ + box-shadow: 6px 0 25px rgba(0,0,0,.15); + } + + + + .left_h{ + width: 60%; + float: left; + @include mq(lg){ + width: 80%; + } + nav{ + ul{ + li{ + list-style: none; + @include mq(lg){ + display: inline-block; + } + a{ + text-decoration: none; + font-size: 1.2rem; + color: #fff; + @include mq(lg){ + color: $textCol; + font-size: 0.5rem; + line-height: 80px; + } + @include mq(xl){ + color: $textCol; + font-size: 0.9rem; + line-height: 80px; + } + h3{ + margin-top: 1rem; + padding-left: 1rem; + cursor: pointer; + &:hover{ + opacity: 0.5; + } + @include mq(lg){ + margin: 0; + } + } + } + } + } + } + + } + .right_h{ + width: 40%; + float: right; + font-weight: bold; + @include mq(lg){ + width: 20%; + } +label { + display: inline-block; + width: 3.7rem; + @include mq(sm){ + width: 5.0rem; + } + text-align: center; + float: right; + color :$textCol; + background: #C3C3C3; + line-height: 80px; + margin-left: 2%; + font-size: 1rem; + cursor :pointer; + a{ + text-decoration: none; + color: $textCol; + } +} +input { + display: none; +} +ul { + position: absolute; + top: 80px; + right: 0; + width: 3.7rem; + @include mq(sm){ + width: 5.0rem; + } + font-size: 1rem; + margin: 0; + padding: 0; + background :#C3C3C3; + list-style: none; + text-align: center; +} + +li { + height: 0; + overflow: hidden; + -webkit-transition: all 0.5s; + -moz-transition: all 0.5s; + -ms-transition: all 0.5s; + -o-transition: all 0.5s; + transition: all 0.5s; +} + +#type1:checked ~ #links1 li{ + height: 60px; + opacity: 1; + cursor :pointer; + // padding: 0.3rem 0; +} + } +} +// button +// .open{ +// margin-top: 80px; +// } + +// ============ =========== +.main-visual{ + width: 100%; + height: 600px; + @include mq(lg){ + height: 800px; + } + background-image: url(../image/みんなの図書visual-02.jpg); + background-size: cover; + background-position: center; +} +.first-text{ + padding: 3rem 3rem; + h3{ + font-size: 1.3rem; + margin-bottom: 1rem; + @include mq(md){ + font-size: 1.6rem; + } + @include mq(lg){ + font-size: 2.0rem; + } + } + h5{ + font-size: 1.0rem; + @include mq(md){ + font-size: 1.2rem; + padding-left: 2rem; + } + @include mq(lg){ + font-size: 1.5rem; + } + } + a{ + text-decoration: none; + // color: #000; + font-size: 1.3rem; + } +} + + +#book div{ + background: #E4EBEF; + margin-bottom: 2rem; + padding: 3rem 1.5rem; + color: #363636; + @include mq(md){ + padding: 3rem 3.0rem; + } + span{ + display: block; + } + .book-title{ + border-bottom: 1px solid #363636; + display: inline-block; + font-size: 0.6rem; + @include mq(md){ + font-size:1.3rem; + } + @include mq(lg){ + font-size:1.7rem; + } + + } + .book-writer{ + margin-bottom: 2.0rem; + font-size: 0.4rem; + @include mq(md){ + font-size:1.0rem; + } + @include mq(lg){ + font-size:1.3rem; + } + } + .book-reason{ + font-size: 0.6rem; + padding-left: 0.5rem; + margin-bottom: 1.5rem; + display: inline-block; + @include mq(md){ + font-size:1.1rem; + padding-left: 1rem; + } + @include mq(lg){ + font-size:1.3rem; + } + } + .book-teacher{ + display: inline-block; + padding-left: 0.5rem; + font-size: 0.4rem; + @include mq(md){ + font-size:0.8rem; + } + @include mq(lg){ + font-size:1.0rem; + } + } + .book-text-box{ + margin: 0 auto; + .book-about{ + margin-bottom: 1rem; + word-break: break-all; + font-size: 0.5rem; + @include mq(md){ + font-size:1.2rem; + } + } + .book-link, .book-link2{ + color: #363636; + text-decoration: none; + display: inline-block; + word-break: break-all; + font-size: 0.5rem; + @include mq(md){ + font-size:1.2rem; + } + &:hover{ + opacity: 0.5; + } + } + .book-link{ + margin-bottom: 0.5rem; + } + } +} + +// ========== toTop ========== +a.toTop{ + position: fixed; + bottom: 2rem; + right: 2rem; + background: #2B2845; + color: #FFFFFF; + text-align: center; + width: 12rem; + padding: 1.0rem 0.3rem; + text-decoration: none; + &:hover{ + opacity: 0.5; + } +} + +/* ========== footer ========== */ +footer{ + width: 100%; + background: #2B2845; + padding: 1rem 0; + p{ + text-align: center!important; + color: #FFFFFF; + margin-bottom: 0.3rem; + } +} \ No newline at end of file diff --git a/docs/sass/reset.css b/docs/sass/reset.css new file mode 100644 index 0000000..95021d5 --- /dev/null +++ b/docs/sass/reset.css @@ -0,0 +1,216 @@ +@charset "UTF-8"; +/*! + * ress.css • v2.0.4 + * MIT License + * github.com/filipelinhares/ress + */ +html { + box-sizing: border-box; + -webkit-text-size-adjust: 100%; + word-break: normal; + -moz-tab-size: 4; + tab-size: 4; +} + +*, :after, :before { + background-repeat: no-repeat; + box-sizing: inherit; +} + +:after, :before { + text-decoration: inherit; + vertical-align: inherit; +} + +* { + padding: 0; + margin: 0; +} + +hr { + overflow: visible; + height: 0; +} + +details, main { + display: block; +} + +summary { + display: list-item; +} + +small { + font-size: 80%; +} + +[hidden] { + display: none; +} + +abbr[title] { + border-bottom: none; + text-decoration: underline; + text-decoration: underline dotted; +} + +a { + background-color: transparent; +} + +a:active, a:hover { + outline-width: 0; +} + +code, kbd, pre, samp { + font-family: monospace,monospace; +} + +pre { + font-size: 1em; +} + +b, strong { + font-weight: bolder; +} + +sub, sup { + font-size: 75%; + line-height: 0; + position: relative; + vertical-align: baseline; +} + +sub { + bottom: -.25em; +} + +sup { + top: -.5em; +} + +input { + border-radius: 0; +} + +[disabled] { + cursor: default; +} + +[type=number]::-webkit-inner-spin-button, [type=number]::-webkit-outer-spin-button { + height: auto; +} + +[type=search] { + -webkit-appearance: textfield; + outline-offset: -2px; +} + +[type=search]::-webkit-search-decoration { + -webkit-appearance: none; +} + +textarea { + overflow: auto; + resize: vertical; +} + +button, input, optgroup, select, textarea { + font: inherit; +} + +optgroup { + font-weight: 700; +} + +button { + overflow: visible; +} + +button, select { + text-transform: none; +} + +[role=button], [type=button], [type=reset], [type=submit], button { + cursor: pointer; + color: inherit; +} + +[type=button]::-moz-focus-inner, [type=reset]::-moz-focus-inner, [type=submit]::-moz-focus-inner, button::-moz-focus-inner { + border-style: none; + padding: 0; +} + +[type=button]::-moz-focus-inner, [type=reset]::-moz-focus-inner, [type=submit]::-moz-focus-inner, button:-moz-focusring { + outline: 1px dotted ButtonText; +} + +[type=reset], [type=submit], button, html [type=button] { + -webkit-appearance: button; +} + +button, input, select, textarea { + background-color: transparent; + border-style: none; +} + +select { + -moz-appearance: none; + -webkit-appearance: none; +} + +select::-ms-expand { + display: none; +} + +select::-ms-value { + color: currentColor; +} + +legend { + border: 0; + color: inherit; + display: table; + white-space: normal; + max-width: 100%; +} + +::-webkit-file-upload-button { + -webkit-appearance: button; + color: inherit; + font: inherit; +} + +img { + border-style: none; +} + +progress { + vertical-align: baseline; +} + +svg:not([fill]) { + fill: currentColor; +} + +@media screen { + [hidden~=screen] { + display: inherit; + } + [hidden~=screen]:not(:active):not(:focus):not(:target) { + position: absolute !important; + clip: rect(0 0 0 0) !important; + } +} + +[aria-busy=true] { + cursor: progress; +} + +[aria-controls] { + cursor: pointer; +} + +[aria-disabled] { + cursor: default; +} diff --git a/docs/sass/reset.min.css b/docs/sass/reset.min.css new file mode 100644 index 0000000..8034a13 --- /dev/null +++ b/docs/sass/reset.min.css @@ -0,0 +1,5 @@ +/*! + * ress.css • v2.0.4 + * MIT License + * github.com/filipelinhares/ress + */html{box-sizing:border-box;-webkit-text-size-adjust:100%;word-break:normal;-moz-tab-size:4;tab-size:4}*,:after,:before{background-repeat:no-repeat;box-sizing:inherit}:after,:before{text-decoration:inherit;vertical-align:inherit}*{padding:0;margin:0}hr{overflow:visible;height:0}details,main{display:block}summary{display:list-item}small{font-size:80%}[hidden]{display:none}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}a{background-color:transparent}a:active,a:hover{outline-width:0}code,kbd,pre,samp{font-family:monospace,monospace}pre{font-size:1em}b,strong{font-weight:bolder}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}input{border-radius:0}[disabled]{cursor:default}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}textarea{overflow:auto;resize:vertical}button,input,optgroup,select,textarea{font:inherit}optgroup{font-weight:700}button{overflow:visible}button,select{text-transform:none}[role=button],[type=button],[type=reset],[type=submit],button{cursor:pointer;color:inherit}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button:-moz-focusring{outline:1px dotted ButtonText}[type=reset],[type=submit],button,html [type=button]{-webkit-appearance:button}button,input,select,textarea{background-color:transparent;border-style:none}select{-moz-appearance:none;-webkit-appearance:none}select::-ms-expand{display:none}select::-ms-value{color:currentColor}legend{border:0;color:inherit;display:table;white-space:normal;max-width:100%}::-webkit-file-upload-button{-webkit-appearance:button;color:inherit;font:inherit}img{border-style:none}progress{vertical-align:baseline}svg:not([fill]){fill:currentColor}@media screen{[hidden~=screen]{display:inherit}[hidden~=screen]:not(:active):not(:focus):not(:target){position:absolute !important;clip:rect(0 0 0 0) !important}}[aria-busy=true]{cursor:progress}[aria-controls]{cursor:pointer}[aria-disabled]{cursor:default} diff --git a/docs/sass/reset.scss b/docs/sass/reset.scss new file mode 100644 index 0000000..4f96343 --- /dev/null +++ b/docs/sass/reset.scss @@ -0,0 +1,5 @@ +/*! + * ress.css • v2.0.4 + * MIT License + * github.com/filipelinhares/ress + */html{box-sizing:border-box;-webkit-text-size-adjust:100%;word-break:normal;-moz-tab-size:4;tab-size:4}*,:after,:before{background-repeat:no-repeat;box-sizing:inherit}:after,:before{text-decoration:inherit;vertical-align:inherit}*{padding:0;margin:0}hr{overflow:visible;height:0}details,main{display:block}summary{display:list-item}small{font-size:80%}[hidden]{display:none}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}a{background-color:transparent}a:active,a:hover{outline-width:0}code,kbd,pre,samp{font-family:monospace,monospace}pre{font-size:1em}b,strong{font-weight:bolder}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}input{border-radius:0}[disabled]{cursor:default}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}textarea{overflow:auto;resize:vertical}button,input,optgroup,select,textarea{font:inherit}optgroup{font-weight:700}button{overflow:visible}button,select{text-transform:none}[role=button],[type=button],[type=reset],[type=submit],button{cursor:pointer;color:inherit}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button:-moz-focusring{outline:1px dotted ButtonText}[type=reset],[type=submit],button,html [type=button]{-webkit-appearance:button}button,input,select,textarea{background-color:transparent;border-style:none}select{-moz-appearance:none;-webkit-appearance:none}select::-ms-expand{display:none}select::-ms-value{color:currentColor}legend{border:0;color:inherit;display:table;white-space:normal;max-width:100%}::-webkit-file-upload-button{-webkit-appearance:button;color:inherit;font:inherit}img{border-style:none}progress{vertical-align:baseline}svg:not([fill]){fill:currentColor}@media screen{[hidden~=screen]{display:inherit}[hidden~=screen]:not(:active):not(:focus):not(:target){position:absolute!important;clip:rect(0 0 0 0)!important}}[aria-busy=true]{cursor:progress}[aria-controls]{cursor:pointer}[aria-disabled]{cursor:default} \ No newline at end of file diff --git a/docs/sass/style.css b/docs/sass/style.css new file mode 100644 index 0000000..7588046 --- /dev/null +++ b/docs/sass/style.css @@ -0,0 +1,567 @@ +body { + font-family: sans-serif; + font-size: 20px; +} + +@media screen and (max-width: 992px) { + body { + font-size: 15px; + } +} + +@media screen and (max-width: 769px) { + body { + font-size: 5px; + } +} + +.wrap { + overflow: hidden; +} + +#showloading { + width: 100%; + height: 100vh; + background-color: #000000; + position: relative; +} + +#showloading img { + position: absolute; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); + -webkit-transform: translate(-50%, -50%); + -moz-transform: translate(-50%, -50%); + -ms-transform: translate(-50%, -50%); + -o-transform: translate(-50%, -50%); +} + +.hidden { + display: none; +} + +/*========== header nav ==========*/ +header { + position: fixed; + top: 0; + background: #fff; + width: 100%; + height: 80px; + z-index: 10; +} + +header .left_h { + width: 82%; + height: 80px; + float: left; +} + +header .left_h nav ul { + padding-left: -50px; +} + +header .left_h nav ul li { + list-style: none; + display: inline-block; + font-size: 1.0rem; +} + +@media screen and (max-width: 1310px) { + header .left_h nav ul li { + font-size: 0.65rem; + } +} + +@media screen and (max-width: 992px) { + header .left_h nav ul li { + font-size: 0.3rem; + } +} + +header .left_h nav ul li a { + text-decoration: none; + color: #363636; + line-height: 80px; + display: block; + padding: 0 0.5rem; +} + +header .left_h nav ul li a:hover { + opacity: 0.5; +} + +header .right_h { + width: 18%; + height: 80px; + float: right; + text-align: center; + position: relative; +} + +header label { + display: inline-block; + float: right; + margin-left: 5px; + width: 7rem; + line-height: 80px; + color: #000; + background: #C3C3C3; + cursor: pointer; +} + +@media screen and (max-width: 1310px) { + header label { + width: 5.0rem; + } +} + +@media screen and (max-width: 992px) { + header label { + width: 4rem; + } +} + +header label a { + text-decoration: none; + color: #363636; +} + +header input { + display: none; +} + +header .right_h ul { + position: absolute; + top: 80px; + right: 0; + width: 7rem; + margin: 0; + padding: 0; + background: #C3C3C3; + list-style: none; +} + +@media screen and (max-width: 1310px) { + header .right_h ul { + width: 5.0rem; + } +} + +@media screen and (max-width: 992px) { + header .right_h ul { + width: 4rem; + } +} + +header .right_h li { + height: 0; + overflow: hidden; + -webkit-transition: all 0.5s; + -moz-transition: all 0.5s; + -ms-transition: all 0.5s; + -o-transition: all 0.5s; + transition: all 0.5s; +} + +header #type1:checked ~ #links1 li { + height: 70px; + opacity: 1; + cursor: pointer; +} + +/* ========== main-visual ========== */ +.main-visual { + z-index: 0 !important; + width: 100%; + height: 800px; + background-image: url(../image/header.png); + background-size: cover; + background-position: right bottom; + color: #fff; + position: relative; +} + +.main-visual h1 { + color: #fff; + padding-top: 7rem; + padding-left: 5rem; + font-size: 3rem; + z-index: 1; + line-height: 8rem; + font-weight: normal; +} + +.main-visual #englishTitle { + line-height: normal; +} + +.main-visual #englishTitle2 { + padding-top: 3rem; + padding-left: 5rem; +} + +.main-visual h3 { + position: absolute; + bottom: 3rem; + right: 3rem; + font-size: 2rem; + z-index: 1; + font-weight: normal; +} + +.main-visual h3 .second_line { + margin-left: 5rem; +} + +.main-visual h3 .third_line { + margin-left: 8rem; +} + +/* ========== common section title ========== */ +.section_title { + color: #363636; + text-align: center; + margin-top: 10rem; + margin-bottom: 5rem; + font-size: 3rem; + position: relative; + display: inline-block; + padding-left: 0.2rem; + padding-right: 0.2rem; +} + +/* ========== aboutus ========== */ +#aboutus p { + display: block; + background: #E4EBEF; + padding: 50px 100px; +} + +/* ========== works ========== */ +#works img { + width: 33rem; + height: 33rem; + padding-bottom: 2rem; +} + +#works .frame { + border: 1px solid #707070; + padding: 3rem 0; +} + +#works .frame .container { + display: inline-flex; + flex-wrap: wrap; + justify-content: space-around; +} + +#works .frame .moreBtn { + text-align: center; +} + +#works .frame .moreBtn p { + text-decoration: none; + color: #363636; + background: #CFCFCF; + display: block; + width: 15%; + padding: 1.3rem 0; + margin: 0 auto; + cursor: pointer; +} + +#works .frame .moreBtn p:hover { + opacity: 0.7; +} + +/* ========== curriculum ========== */ +#curriculum .bg-gray { + text-align: center; + background: #E4EBEF; +} + +#curriculum .bg-gray p { + display: block; + padding: 50px 100px; + text-align: left; +} + +#curriculum .bg-gray img { + width: 70%; + padding-bottom: 3rem; +} + +/* ========== studios ========== */ +.bg_blue { + background: #E4EBEF; + padding: 2rem 6%; +} + +#nomalStudios, #englishStudios { + flex-wrap: wrap; + justify-content: space-between; +} + +#nomalStudios > div { + margin: 1em 0; + background: #FFFFFF; + min-height: 3em; + width: 25rem; + display: inline-block; + text-align: center; + padding-bottom: 0.8rem; +} + +#englishStudios > div { + margin: 1em 0; + background: #FFFFFF; + min-height: 3em; + width: 25rem; + display: inline-block; + text-align: center; + padding-bottom: 0.8rem; +} + +.studio-title { + font-weight: bold; + text-decoration: none; + color: #363636; + font-size: 1rem; + cursor: pointer; +} + +.studio-title:hover { + opacity: 0.5; +} + +.studio-title-en { + margin-left: 1em; + font-weight: 100; + opacity: 0.75; + text-decoration: none; + color: #363636; + font-size: 1rem; + cursor: pointer; +} + +.studio-title-en:hover { + opacity: 0.5; +} + +pre#result { + background-color: #444; + color: #fff; + font-family: monospace; + font-size: 9px; +} + +.studio-photo1, .studio-photo2 { + width: 25rem; + height: 18rem; + object-fit: cover; + cursor: pointer; + transition-duration: 0.3s; +} + +/* +#nomalStudios:hover img, #englishStudios:hover img { + opacity: 0.5; +}*/ + +#nomalFaculty, #englishFaculty { + border: 1px solid #707070; + flex-wrap: wrap; + justify-content: space-between; + padding: 0 2rem; + color: #2E2E2E; +} + +#nomalFaculty > div { + margin: 1em 0; + padding: 1rem; + min-height: 3em; + width: 33%; + display: inline-block; + overflow: hidden; +} + +#englishFaculty > div { + margin: 1em 0; + padding: 1rem; + min-height: 3em; + width: 33%; + display: inline-block; +} + +.text-box { + width: 67%; + float: left; +} + +.faculty-image, .faculty-image-en { + float: left; + width: 33%; +} + +#faculty span { + display: inline-block; + margin: 0.2rem 1rem; + font-size: 0.8rem; +} + +.faculty-name, .faculty-name-en { + font-weight: bold; +} + +#faculty span.faculty-name-2, .faculty-name-en2 { + display: block; +} + +.faculty-link a { + color: #2E2E2E; + text-decoration: none; +} + +.faculty-link a:hover { + opacity: 0.5; +} + +.faculty-link-en a { + color: #2E2E2E; + text-decoration: none; +} + +.faculty-link-en a:hover { + opacity: 0.5; +} + +#column { + text-align: center; +} + +#nomalLink, #englishLink { + overflow-x: scroll; + -webkit-overflow-scrolling: touch; + margin: 2rem; +} + +#column > div > div { + width: 23rem; + display: inline-block; + text-align: center; + margin: 2rem; +} + +.link-image { + width: 23rem; + height: 23rem; +} + +.link-title { + display: inline-block; + color: #2E2E2E; + text-decoration: none; + padding: 0.5rem 0; + cursor: pointer; +} + +.link-title:hover { + opacity: 0.5; +} + +/* ========== admission ==========*/ +#nomalAdmissionText, #englishAdmissionText, #easyAdmissionText { + background: #E4EBEF; + padding: 50px 100px; + width: 100%; +} + +#nomalAdmissionText, #englishAdmissionText, #easyAdmissionText h4 { + font-size: 1.5rem; + margin-top: 1rem; +} + +#nomalAdmissionText, #englishAdmissionText, #easyAdmissionText p, ol, ul { + padding-left: 3rem; + /* padding-bottom: 20px; */ +} + +#nomalAdmissionText, #englishAdmissionText, #easyAdmissionText > img { + display: block; + margin: 0.3rem auto 1rem; +} + +#nomalAdmissionText, #englishAdmissionText, #easyAdmissionText a { + color: #2E2E2E; + text-decoration: none; +} + +#adcontent img { + display: block; + margin: 0.5rem auto 1rem; +} + +#adcontenten img { + display: block; + margin: 0.5rem auto 1rem; +} + +#adcontenten a { + text-decoration: none; + color: #2E2E2E; +} + +#adcontenteas img { + display: block; + margin: 0.5rem auto 1rem; +} + +/* ========== question ========== */ +#question #nomalQText, #englishQText, #easyQText { + background: #E4EBEF; + padding: 3rem 5rem; +} + +#question #nomalQText h4, #englishQText h4, #easyQText h4 { + margin-top: 1rem; +} + +#question #nomalQText a, #englishQText a, #easyQText a { + text-decoration: none; + color: #2E2E2E; +} + +#question #nomalQText a:hover, #englishQText a:hover, #easyQText a:hover { + opacity: 0.5; +} + +#nomalAcText, #englishAcText, #easyAcText { + padding: 2rem 3rem; + color: #2E2E2E; +} + +#nomalAcText ul, #englishAcText ul, #easyAcText ul { + list-style: none; +} + +#nomalAcText h4, #nomalAcText > p, #englishAcText h4, #englishAcText > p, #easyAcText h4, #easyAcText > p { + padding-left: 3rem; +} + +#nomalAcText h4, #englishAcText h4, #easyAcText h4 { + padding-top: 0.3rem; +} + +/* ========== footer ========== */ +footer { + width: 100%; + background: #2B2845; + padding: 1rem 0; +} + +footer p { + text-align: center !important; + color: #FFFFFF; + margin-bottom: 0.3rem; +} diff --git a/docs/sass/style.min.css b/docs/sass/style.min.css new file mode 100644 index 0000000..3022234 --- /dev/null +++ b/docs/sass/style.min.css @@ -0,0 +1 @@ +body{font-family:sans-serif;font-size:20px}@media screen and (max-width: 992px){body{font-size:15px}}@media screen and (max-width: 769px){body{font-size:5px}}.wrap{overflow:hidden}#showloading{width:100%;height:100vh;background-color:#073a49;position:relative}#showloading img{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);-webkit-transform:translate(-50%, -50%);-moz-transform:translate(-50%, -50%);-ms-transform:translate(-50%, -50%);-o-transform:translate(-50%, -50%)}.hidden{display:none}header{position:fixed;top:0;background:#fff;width:100%;height:80px;z-index:10}header .left_h{width:82%;height:80px;float:left}header .left_h nav ul{padding-left:-50px}header .left_h nav ul li{list-style:none;display:inline-block;font-size:1.0rem}@media screen and (max-width: 1310px){header .left_h nav ul li{font-size:0.65rem}}@media screen and (max-width: 992px){header .left_h nav ul li{font-size:0.3rem}}header .left_h nav ul li a{text-decoration:none;color:#363636;line-height:80px;display:block;padding:0 0.5rem}header .left_h nav ul li a:hover{opacity:0.5}header .right_h{width:18%;height:80px;float:right;text-align:center;position:relative}header label{display:inline-block;float:right;margin-left:5px;width:7rem;line-height:80px;color:#000;background:#C3C3C3;cursor:pointer}@media screen and (max-width: 1310px){header label{width:5.0rem}}@media screen and (max-width: 992px){header label{width:4rem}}header label a{text-decoration:none;color:#363636}header input{display:none}header .right_h ul{position:absolute;top:80px;right:0;width:7rem;margin:0;padding:0;background:#C3C3C3;list-style:none}@media screen and (max-width: 1310px){header .right_h ul{width:5.0rem}}@media screen and (max-width: 992px){header .right_h ul{width:4rem}}header .right_h li{height:0;overflow:hidden;-webkit-transition:all 0.5s;-moz-transition:all 0.5s;-ms-transition:all 0.5s;-o-transition:all 0.5s;transition:all 0.5s}header #type1:checked ~ #links1 li{height:70px;opacity:1;cursor:pointer}.main-visual{z-index:0 !important;width:100%;height:800px;background-image:url(../image/header.png);background-size:cover;background-position:right bottom;color:#fff;position:relative}.main-visual h1{color:#fff;padding-top:7rem;padding-left:5rem;font-size:3rem;z-index:1;line-height:8rem;font-weight:normal}.main-visual #englishTitle{line-height:normal}.main-visual #englishTitle2{padding-top:3rem;padding-left:5rem}.main-visual h3{position:absolute;bottom:3rem;right:3rem;font-size:2rem;z-index:1;font-weight:normal}.main-visual h3 .second_line{margin-left:5rem}.main-visual h3 .third_line{margin-left:8rem}.section_title{color:#363636;text-align:center;margin-top:10rem;margin-bottom:5rem;font-size:3rem;position:relative;display:inline-block;padding-left:0.2rem;padding-right:0.2rem}#aboutus p{display:block;background:#E4EBEF;padding:50px 100px}#works img{width:33rem;height:33rem;padding-bottom:2rem}#works .frame{border:1px solid #707070;padding:3rem 0}#works .frame .container{display:inline-flex;flex-wrap:wrap;justify-content:space-around}#works .frame .moreBtn{text-align:center}#works .frame .moreBtn p{text-decoration:none;color:#363636;background:#CFCFCF;display:block;width:15%;padding:1.3rem 0;margin:0 auto;cursor:pointer}#works .frame .moreBtn p:hover{opacity:0.7}#curriculum .bg-gray{text-align:center;background:#E4EBEF}#curriculum .bg-gray p{display:block;padding:50px 100px;text-align:left}#curriculum .bg-gray img{width:70%;padding-bottom:3rem}.bg_blue{background:#E4EBEF;padding:2rem 6%}#nomalStudios,#englishStudios{flex-wrap:wrap;justify-content:space-between}#nomalStudios>div{margin:1em 0;background:#FFFFFF;min-height:3em;width:25rem;display:inline-block;text-align:center;padding-bottom:0.8rem}#englishStudios>div{margin:1em 0;background:#FFFFFF;min-height:3em;width:25rem;display:inline-block;text-align:center;padding-bottom:0.8rem}.studio-title{font-weight:bold;text-decoration:none;color:#363636;font-size:1rem;cursor:pointer}.studio-title:hover{opacity:0.5}.studio-title-en{margin-left:1em;font-weight:100;opacity:0.75;text-decoration:none;color:#363636;font-size:1rem;cursor:pointer}.studio-title-en:hover{opacity:0.5}pre#result{background-color:#444;color:#fff;font-family:monospace;font-size:9px}.studio-photo1,.studio-photo2{width:25rem;height:18rem;object-fit:cover}#nomalFaculty,#englishFaculty{border:1px solid #707070;flex-wrap:wrap;justify-content:space-between;padding:0 2rem;color:#2E2E2E}#nomalFaculty>div{margin:1em 0;padding:1rem;min-height:3em;width:33%;display:inline-block;overflow:hidden}#englishFaculty>div{margin:1em 0;padding:1rem;min-height:3em;width:33%;display:inline-block}.text-box{width:67%;float:left}.faculty-image,.faculty-image-en{float:left;width:33%}#faculty span{display:inline-block;margin:0.2rem 1rem;font-size:0.8rem}.faculty-name,.faculty-name-en{font-weight:bold}#faculty span.faculty-name-2,.faculty-name-en2{display:block}.faculty-link a{color:#2E2E2E;text-decoration:none}.faculty-link a:hover{opacity:0.5}.faculty-link-en a{color:#2E2E2E;text-decoration:none}.faculty-link-en a:hover{opacity:0.5}#column{text-align:center}#nomalLink,#englishLink{overflow-x:scroll;-webkit-overflow-scrolling:touch;margin:2rem}#column>div>div{width:23rem;display:inline-block;text-align:center;margin:2rem}.link-image{width:23rem;height:23rem}.link-title{display:inline-block;color:#2E2E2E;text-decoration:none;padding:0.5rem 0;cursor:pointer}.link-title:hover{opacity:0.5}#nomalAdmissionText,#englishAdmissionText,#easyAdmissionText{background:#E4EBEF;padding:50px 100px;width:100%}#nomalAdmissionText,#englishAdmissionText,#easyAdmissionText h4{font-size:1.5rem;margin-top:1rem}#nomalAdmissionText,#englishAdmissionText,#easyAdmissionText p,ol,ul{padding-left:3rem}#nomalAdmissionText,#englishAdmissionText,#easyAdmissionText>img{display:block;margin:0.3rem auto 1rem}#nomalAdmissionText,#englishAdmissionText,#easyAdmissionText a{color:#2E2E2E;text-decoration:none}#adcontent img{display:block;margin:0.5rem auto 1rem}#adcontenten img{display:block;margin:0.5rem auto 1rem}#adcontenten a{text-decoration:none;color:#2E2E2E}#adcontenteas img{display:block;margin:0.5rem auto 1rem}#question #nomalQText,#englishQText,#easyQText{background:#E4EBEF;padding:3rem 5rem}#question #nomalQText h4,#englishQText h4,#easyQText h4{margin-top:1rem}#question #nomalQText a,#englishQText a,#easyQText a{text-decoration:none;color:#2E2E2E}#question #nomalQText a:hover,#englishQText a:hover,#easyQText a:hover{opacity:0.5}#nomalAcText,#englishAcText,#easyAcText{padding:2rem 3rem;color:#2E2E2E}#nomalAcText ul,#englishAcText ul,#easyAcText ul{list-style:none}#nomalAcText h4,#nomalAcText>p,#englishAcText h4,#englishAcText>p,#easyAcText h4,#easyAcText>p{padding-left:3rem}#nomalAcText h4,#englishAcText h4,#easyAcText h4{padding-top:0.3rem}footer{width:100%;background:#2B2845;padding:1rem 0}footer p{text-align:center !important;color:#FFFFFF;margin-bottom:0.3rem} diff --git a/docs/sass/style.scss b/docs/sass/style.scss new file mode 100644 index 0000000..9024f29 --- /dev/null +++ b/docs/sass/style.scss @@ -0,0 +1,563 @@ +$breakpoints: ( + 'sm': 'screen and (max-width: 576px)', + 'md': 'screen and (max-width: 769px)', + 'lg': 'screen and (max-width: 992px)', + // header用 + 'xl': 'screen and (max-width: 1310px)', +) !default; + +//メディアクエリ用のmixinを定義。デフォ値はmd +@mixin mq($breakpoint: md) { +//map-get(マップ型変数, キー)で値を取得 + @media #{map-get($breakpoints, $breakpoint)} { + @content; + } +} + +// ==================== + +body { + font-family: sans-serif; + font-size: 20px; + @include mq(lg){ + font-size: 15px; + } + @include mq(md){ + font-size: 5px; + } +} +.wrap{ + overflow: hidden; +} + +#showloading { +width: 100%; +height: 100vh; +background-color: #073a49; +position: relative; +} + +#showloading img { + position: absolute; + top: 50%; + left: 50%; + transform: translate(-50%,-50%); + -webkit-transform: translate(-50%,-50%); + -moz-transform: translate(-50%,-50%); + -ms-transform: translate(-50%,-50%); + -o-transform: translate(-50%,-50%); +} + +.hidden { +display: none; +} + +/*========== header nav ==========*/ +header { + position: fixed; + top: 0; + background: #fff; + width: 100%; + height: 80px; + z-index: 10; + .left_h{ + width: 82%; + height: 80px; + float: left; + nav{ + ul { + padding-left: -50px; + li{ + list-style: none; + display: inline-block; + font-size: 1.0rem; + @include mq(xl){ + font-size: 0.65rem; + // padding: 0 0.3rem; + } + @include mq(lg){ + font-size: 0.3rem; + } + // @include mq(sm){ + // font-size: 0.2rem; + // } + a{ + text-decoration: none; + color: #363636; + line-height: 80px; + display: block; + padding: 0 0.5rem; + // font-size: 1.0rem; + // @include mq(xl){ + // // font-size: 0.75rem; + // padding: 0 0.3rem; + // } + // @include mq(lg){ + // font-size: 1px; + // } + &:hover{ + opacity: 0.5; + } + } + } + } + } + } + +.right_h{ + width: 18%; + // @include mq(xl){ + // width: 5.5rem; + // } + height: 80px; + float: right; + text-align: center; + position: relative; +} +label { + display: inline-block; + float: right; + margin-left: 5px; + width: 7rem; + @include mq(xl){ + width: 5.0rem; + } + @include mq(lg){ + width: 4rem; + } + line-height: 80px; + // margin: 0 0 4px 0; + // padding : 15px; + // line-height: 1; + color :#000; + background: #C3C3C3; + cursor :pointer; + a{ + text-decoration: none; + color: #363636; + } +} + +input { + display: none; +} +.right_h ul { + position: absolute; + top: 80px; + right: 0; + width: 7rem; + @include mq(xl){ + width: 5.0rem; + } + @include mq(lg){ + width: 4rem; + } + margin: 0; + padding: 0; + background :#C3C3C3; + list-style: none; +} + +.right_h li { + height: 0; + overflow: hidden; + -webkit-transition: all 0.5s; + -moz-transition: all 0.5s; + -ms-transition: all 0.5s; + -o-transition: all 0.5s; + transition: all 0.5s; + +} + +#type1:checked ~ #links1 li{ + height: 70px; + opacity: 1; + cursor :pointer; + // padding: 0.3rem 0; +} + +} + +// button +// .open{ +// margin-top: 80px; +// } + +/* ========== main-visual ========== */ +.main-visual{ + z-index: 0 !important; + width: 100%; + height: 800px; + background-image: url(../image/header.png); + background-size: cover; + background-position: right bottom; + color: #fff; + position: relative; + h1{ + color: #fff; + padding-top: 7rem; + padding-left: 5rem; + font-size: 3rem; + z-index: 1; + line-height: 8rem; + font-weight: normal; + } + #englishTitle{ + line-height: normal; + } + #englishTitle2{ + padding-top: 3rem; + padding-left: 5rem; + } + h3{ + position: absolute; + bottom: 3rem; + right: 3rem; + font-size: 2rem; + z-index: 1; + font-weight: normal; + .second_line{ + margin-left: 5rem; + } + .third_line{ + margin-left: 8rem; + } + } +} + +/* ========== common section title ========== */ +// [id^="nomalContentsTitle"] { + .section_title{ + color: #363636; + text-align: center; + margin-top: 10rem; + margin-bottom: 5rem; + font-size: 3rem; + position: relative; + display: inline-block; + padding-left: 0.2rem; + padding-right: 0.2rem; + // &:before, &:after{ + // content: ''; + // position: absolute; + // top: 50%; + // display: inline-block; + // width: 45px; + // height: 1px; + // background-color: black; + // } + // &:before{ + // left: 30rem; + // } + // &:after{ + // right: 30rem; + // } +} + +/* ========== aboutus ========== */ +#aboutus p{ + display: block; + background: #E4EBEF; + padding: 50px 100px; +} + +/* ========== works ========== */ +#works { + img{ + width: 33rem; + height: 33rem; + padding-bottom: 2rem; + } + .frame{ + border: 1px solid #707070; + padding: 3rem 0; + .container{ + display: inline-flex; + flex-wrap: wrap; + justify-content: space-around; + } + .moreBtn{ + text-align: center; + p{ + text-decoration: none; + color: #363636; + background: #CFCFCF; + display: block; + width: 15%; + padding: 1.3rem 0; + margin: 0 auto; + cursor: pointer; + &:hover{ + opacity: 0.7; + } + // p{ + // background: #CFCFCF; + // padding: 1rem 5rem; + // margin-top: 3rem; + // } + } + } + } +} + +/* ========== curriculum ========== */ +#curriculum { + .bg-gray{ + text-align: center; + background: #E4EBEF; + p{ + display: block; + padding: 50px 100px; + text-align: left; + } + img{ + width: 70%; + padding-bottom: 3rem; + } + } +} + +/* ========== studios ========== */ +.bg_blue{ + background: #E4EBEF; + padding: 2rem 6%; +} +#nomalStudios, #englishStudios{ + flex-wrap: wrap; + justify-content: space-between; +} +#nomalStudios > div { + margin: 1em 0; + background: #FFFFFF; + min-height: 3em; + width: 25rem; + display: inline-block; + text-align: center; + padding-bottom: 0.8rem; +} +#englishStudios > div { + margin: 1em 0; + background: #FFFFFF; + min-height: 3em; + width: 25rem; + display: inline-block; + text-align: center; + padding-bottom: 0.8rem; +} + +.studio-title { + font-weight: bold; + text-decoration: none; + color: #363636; + font-size: 1rem; + cursor: pointer; + &:hover{ + opacity: 0.5; + } +} +.studio-title-en { + margin-left: 1em; + font-weight: 100; + opacity: 0.75; + text-decoration: none; + color: #363636; + font-size: 1rem; + cursor: pointer; + &:hover{ + opacity: 0.5; + } +} +pre#result { + background-color: #444; + color: #fff; + font-family: monospace; + font-size: 9px; +} + +.studio-photo1,.studio-photo2{ + width: 25rem; + height: 18rem; + object-fit: cover; +} + +// ========== faculty ========== +#nomalFaculty, #englishFaculty{ + border: 1px solid #707070; + flex-wrap: wrap; + justify-content: space-between; + padding: 0 2rem; + color: #2E2E2E; +} +#nomalFaculty > div { + margin: 1em 0; + padding: 1rem; + min-height: 3em; + width: 33%; + display: inline-block; + overflow: hidden; +} +#englishFaculty > div { + margin: 1em 0; + padding: 1rem; + min-height: 3em; + width: 33%; + display: inline-block; +} +.text-box{ + width: 67%; + float: left; +} +.faculty-image,.faculty-image-en{ + float: left; + width: 33%; + // height: 30%; +} +#faculty span{ + display: inline-block; + margin: 0.2rem 1rem; + font-size: 0.8rem; +} +.faculty-name, .faculty-name-en{ + font-weight: bold; +} +#faculty span.faculty-name-2, .faculty-name-en2{ + display: block; +} +.faculty-link a{ + color: #2E2E2E; + text-decoration: none; + &:hover{ + opacity: 0.5; + } +} +.faculty-link-en a{ + color: #2E2E2E; + text-decoration: none; + &:hover{ + opacity: 0.5; + } +} + +// ========== column ========== +#column{ + text-align: center; +} +#nomalLink,#englishLink{ + overflow-x: scroll; + -webkit-overflow-scrolling: touch; + margin: 2rem; +} +#column > div > div{ + width: 23rem; + display: inline-block; + text-align: center; + margin: 2rem; +} +.link-image{ + width: 23rem; + height: 23rem; +} +.link-title{ + display: inline-block; + color: #2E2E2E; + text-decoration: none; + padding: 0.5rem 0; + cursor: pointer; + &:hover{ + opacity: 0.5; + } +} + +/* ========== admission ==========*/ +#nomalAdmissionText ,#englishAdmissionText ,#easyAdmissionText{ + background: #E4EBEF; + padding: 50px 100px; + width: 100%; +} +#nomalAdmissionText,#englishAdmissionText,#easyAdmissionText h4{ + font-size: 1.5rem; + margin-top: 1rem; +} +#nomalAdmissionText,#englishAdmissionText,#easyAdmissionText p, ol, ul{ + padding-left: 3rem; + /* padding-bottom: 20px; */ +} +#nomalAdmissionText,#englishAdmissionText,#easyAdmissionText > img{ + display: block; + // width: 70%; + margin: 0.3rem auto 1rem; +} +#nomalAdmissionText,#englishAdmissionText,#easyAdmissionText a{ + color: #2E2E2E; + text-decoration: none; +} +#adcontent img{ + display: block; + margin: 0.5rem auto 1rem; +} +#adcontenten img{ + display: block; + margin: 0.5rem auto 1rem; +} +#adcontenten a{ + text-decoration: none; + color: #2E2E2E; +} +#adcontenteas img{ + display: block; + margin: 0.5rem auto 1rem; +} + +/* ========== question ========== */ +#question #nomalQText,#englishQText,#easyQText{ + background: #E4EBEF; + padding: 3rem 5rem; + h4{ + margin-top: 1rem; + } + a{ + text-decoration: none; + color: #2E2E2E; + &:hover{ + opacity: 0.5; + } + } +} + +// ========== access ========= +#access{ + +} + +// ========== AcText ========== +#nomalAcText, #englishAcText, #easyAcText{ + padding: 2rem 3rem; + color: #2E2E2E; + ul{ + list-style: none; + li{ + p{ + + } + } + } + h4, > p{ + padding-left: 3rem; + } + h4{ + padding-top: 0.3rem; + } +} + + +/* ========== footer ========== */ +footer{ + width: 100%; + background: #2B2845; + padding: 1rem 0; + p{ + text-align: center!important; + color: #FFFFFF; + margin-bottom: 0.3rem; + } +} \ No newline at end of file diff --git a/docs/sass/transpotation.css b/docs/sass/transpotation.css new file mode 100644 index 0000000..ff6b676 --- /dev/null +++ b/docs/sass/transpotation.css @@ -0,0 +1,677 @@ +@charset "UTF-8"; +body { + font-family: 'Hiragino Kaku Gothic ProN','ヒラギノ角ゴ ProN W3',sans-serif; + font-size: 10px; + font-weight: normal; + width: 100%; +} + +@media screen and (min-width: 992px) { + body { + font-size: 12px; + } +} + +.wrap { + overflow: hidden; +} + +#showloading { + width: 100%; + height: 100vh; + background-color: #073a49; + position: relative; +} + +#showloading img { + position: absolute; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); + -webkit-transform: translate(-50%, -50%); + -moz-transform: translate(-50%, -50%); + -ms-transform: translate(-50%, -50%); + -o-transform: translate(-50%, -50%); +} + +.hidden { + display: none; +} + +header { + width: 100%; + height: 80px; + position: fixed; + background: #fff; + z-index: 10; + /*チェックボックス等は非表示に*/ + /*アイコンのスペース*/ + /*ハンバーガーアイコンをCSSだけで表現*/ + /*閉じる用の薄黒カバー*/ + /*中身*/ + /*チェックが入ったらもろもろ表示*/ +} + +header #nav-drawer { + position: relative; + padding-left: 30px; +} + +header .nav-unshown { + display: none; +} + +header #nav-open { + display: inline-block; + width: 80px; + height: 80px; + vertical-align: middle; +} + +@media screen and (min-width: 992px) { + header #nav-open { + display: none; + } +} + +header #nav-open span, header #nav-open span:before, header #nav-open span:after { + position: absolute; + height: 3px; + /*線の太さ*/ + width: 25px; + /*長さ*/ + border-radius: 3px; + background: #2B2845; + display: block; + content: ''; + cursor: pointer; + margin-top: 30px; +} + +header #nav-open span:before { + bottom: -8px; +} + +header #nav-open span:after { + bottom: -16px; +} + +header #nav-close { + display: none; + /*はじめは隠しておく*/ + position: fixed; + z-index: 99; + top: 0; + /*全体に広がるように*/ + left: 0; + width: 100%; + height: 100%; + background: black; + opacity: 0; + transition: .3s ease-in-out; +} + +@media screen and (max-width: 992px) { + header #nav-content { + overflow: auto; + position: fixed; + top: 0; + left: 0; + z-index: 9999; + /*最前面に*/ + width: 70%; + /*右側に隙間を作る(閉じるカバーを表示)*/ + max-width: 330px; + /*最大幅(調整してください)*/ + height: 100vh; + background: #2B2845; + /*背景色*/ + transition: .3s ease-in-out; + /*滑らかに表示*/ + -webkit-transform: translateX(-105%); + transform: translateX(-105%); + /*左に隠しておく*/ + } +} + +header #nav-input:checked ~ #nav-close { + display: block; + /*カバーを表示*/ + opacity: .5; +} + +header #nav-input:checked ~ #nav-content { + -webkit-transform: translateX(0%); + transform: translateX(0%); + /*中身を表示(右へスライド)*/ + box-shadow: 6px 0 25px rgba(0, 0, 0, 0.15); +} + +header .left_h { + width: 60%; + float: left; +} + +@media screen and (min-width: 992px) { + header .left_h { + width: 80%; + } +} + +header .left_h nav ul li { + list-style: none; +} + +@media screen and (min-width: 992px) { + header .left_h nav ul li { + display: inline-block; + } +} + +header .left_h nav ul li a { + text-decoration: none; + font-size: 1.2rem; + color: #fff; +} + +@media screen and (min-width: 992px) { + header .left_h nav ul li a { + color: #363636; + font-size: 0.5rem; + line-height: 80px; + } +} + +@media screen and (min-width: 1200px) { + header .left_h nav ul li a { + color: #363636; + font-size: 0.9rem; + line-height: 80px; + } +} + +header .left_h nav ul li a h3 { + margin-top: 1rem; + padding-left: 1rem; + cursor: pointer; +} + +header .left_h nav ul li a h3:hover { + opacity: 0.5; +} + +@media screen and (min-width: 992px) { + header .left_h nav ul li a h3 { + margin: 0; + } +} + +header .right_h { + width: 40%; + float: right; + font-weight: bold; +} + +@media screen and (min-width: 992px) { + header .right_h { + width: 20%; + } +} + +header .right_h label { + display: inline-block; + width: 3.7rem; + text-align: center; + float: right; + color: #363636; + background: #C3C3C3; + line-height: 80px; + margin-left: 2%; + font-size: 1rem; + cursor: pointer; +} + +@media screen and (min-width: 576px) { + header .right_h label { + width: 5.0rem; + } +} + +header .right_h label a { + text-decoration: none; + color: #363636; +} + +header .right_h input { + display: none; +} + +header .right_h ul { + position: absolute; + top: 80px; + right: 0; + width: 3.7rem; + font-size: 1rem; + margin: 0; + padding: 0; + background: #C3C3C3; + list-style: none; + text-align: center; +} + +@media screen and (min-width: 576px) { + header .right_h ul { + width: 5.0rem; + } +} + +header .right_h li { + height: 0; + overflow: hidden; + -webkit-transition: all 0.5s; + -moz-transition: all 0.5s; + -ms-transition: all 0.5s; + -o-transition: all 0.5s; + transition: all 0.5s; +} + +header .right_h #type1:checked ~ #links1 li { + height: 60px; + opacity: 1; + cursor: pointer; +} + +.wraper { + width: 100%; + padding: 1rem 1.5rem; + min-height: 100vh; + background: #E4EBEF; + font-weight: normal; +} + +@media screen and (min-width: 992px) { + .wraper { + padding: 2rem 3rem; + } +} + +.wraper .first_box { + width: 100%; + overflow: hidden; + margin-top: 1rem; + margin-bottom: 2rem; +} + +.wraper .first_box #studios { + width: 100%; + margin-bottom: 2rem; +} + +@media screen and (min-width: 768px) { + .wraper .first_box #studios { + width: 40%; + float: right; + } +} + +.wraper .first_box #studios h3 { + margin-top: 0.5rem; + font-size: 0.9rem; +} + +@media screen and (min-width: 992px) { + .wraper .first_box #studios h3 { + font-size: 1.7rem; + } +} + +.wraper .first_box #studios div { + width: 100%; +} + +.wraper .first_box #studios div div { + width: 15%; + display: inline-block; +} + +.wraper .first_box #studios div div a { + display: block; + width: 100%; + position: relative; +} + +.wraper .first_box #studios div div a:before { + content: ""; + display: block; + padding-top: 100%; +} + +.wraper .first_box #studios div div a img { + position: absolute; + width: 100%; + height: 100%; + top: 0; + right: 0; + bottom: 0; + left: 0; + margin: auto; + object-fit: cover; +} + +.wraper .first_box #studios div div span { + font-size: 0.2rem; + text-align: center; +} + +.wraper .first_box .faculty_title { + width: 100%; +} + +@media screen and (min-width: 768px) { + .wraper .first_box .faculty_title { + width: 60%; + float: left; + } +} + +.wraper .first_box .faculty_title h1 { + font-size: 1.3rem; +} + +@media screen and (min-width: 768px) { + .wraper .first_box .faculty_title h1 { + font-size: 1.6rem; + margin-bottom: 1rem; + } +} + +@media screen and (min-width: 992px) { + .wraper .first_box .faculty_title h1 { + font-size: 2.1rem; + } +} + +@media screen and (min-width: 992px) { + .wraper .first_box .faculty_title h1 { + font-size: 2.6rem; + } +} + +.wraper .first_box .faculty_title h4 { + font-size: 1.0rem; +} + +@media screen and (min-width: 768px) { + .wraper .first_box .faculty_title h4 { + font-size: 1.3rem; + margin-bottom: 1rem; + } +} + +@media screen and (min-width: 992px) { + .wraper .first_box .faculty_title h4 { + font-size: 1.7rem; + } +} + +.wraper .second_box { + width: 100%; + overflow: hidden; + /* サムネイル */ +} + +.wraper .second_box .right_box { + width: 100%; +} + +@media screen and (min-width: 768px) { + .wraper .second_box .right_box { + width: 25%; + text-align: right; + float: right; + } +} + +.wraper .second_box .right_box h3 { + font-size: 1rem; + font-weight: normal; + padding-bottom: 1rem; + display: inline-block; +} + +@media screen and (min-width: 768px) { + .wraper .second_box .right_box h3 { + display: block; + font-size: 1.5rem; + } +} + +@media screen and (min-width: 1200px) { + .wraper .second_box .right_box h3 { + font-size: 2.0rem; + } +} + +.wraper .second_box .right_box h5 { + font-size: 0.8rem; + font-weight: normal; + display: inline-block; + padding-left: 1rem; +} + +@media screen and (min-width: 768px) { + .wraper .second_box .right_box h5 { + display: block; + font-size: 1.2rem; + margin-bottom: 1rem; + } +} + +@media screen and (min-width: 1200px) { + .wraper .second_box .right_box h5 { + font-size: 1.5rem; + } +} + +.wraper .second_box .right_box .insta_btn { + display: inline-block; + text-align: center; + /*中央揃え*/ + color: #2e6ca5; + /*文字色*/ + text-decoration: none; + /*下線消す*/ + margin-bottom: 2rem; +} + +.wraper .second_box .right_box .insta_btn:hover { + /*ホバー時*/ + color: #668ad8; + /*文字色*/ + transition: .5s; + /*ゆっくり変化*/ +} + +.wraper .second_box .right_box .insta_btn .insta { + /*アイコンの背景*/ + position: relative; + /*相対配置*/ + display: inline-block; + width: 50px; + /*幅*/ + height: 50px; + /*高さ*/ + background: -webkit-linear-gradient(135deg, #427eff 0%, #f13f79 70%) no-repeat; + background: linear-gradient(135deg, #427eff 0%, #f13f79 70%) no-repeat; + /*グラデーション①*/ + overflow: hidden; + /*はみ出た部分を隠す*/ + border-radius: 13px; + /*角丸に*/ +} + +.wraper .second_box .right_box .insta_btn .insta:before { + /*グラデーションを重ねるため*/ + content: ''; + position: absolute; + /*絶対配置*/ + top: 23px; + /*ずらす*/ + left: -18px; + /*ずらす*/ + width: 60px; + /*グラデーションカバーの幅*/ + height: 60px; + /*グラデーションカバーの高さ*/ + background: -webkit-radial-gradient(#ffdb2c 10%, rgba(255, 105, 34, 0.65) 55%, rgba(255, 88, 96, 0) 70%); + background: radial-gradient(#ffdb2c 10%, rgba(255, 105, 34, 0.65) 55%, rgba(255, 88, 96, 0) 70%); + /*グラデーション②*/ +} + +.wraper .second_box .right_box .insta_btn .fa-instagram { + /*アイコン*/ + color: #FFF; + /*白に*/ + position: relative; + /*z-indexを使うため*/ + z-index: 2; + /*グラデーションより前に*/ + font-size: 35px; + /*アイコンサイズ*/ + line-height: 50px; + /*高さと合わせる*/ +} + +.wraper .second_box .cp_cssslider { + width: 100%; + padding-top: 350px; + /* 画像の高さ */ + position: relative; + text-align: center; + margin-bottom: 3rem; +} + +@media screen and (min-width: 768px) { + .wraper .second_box .cp_cssslider { + width: 75%; + float: left; + } +} + +@media screen and (min-width: 576px) { + .wraper .second_box .cp_cssslider { + padding-top: 500px; + } +} + +@media screen and (min-width: 768px) { + .wraper .second_box .cp_cssslider { + padding-top: 510px; + } +} + +@media screen and (min-width: 992px) { + .wraper .second_box .cp_cssslider { + padding-top: 600px; + } +} + +@media screen and (min-width: 1200px) { + .wraper .second_box .cp_cssslider { + padding-top: 800px; + } +} + +.wraper .second_box .cp_cssslider > img { + width: 100%; + position: absolute; + left: 0; + top: 0; + transition: all 0.5s; + border-radius: 3px; + box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.3); +} + +.wraper .second_box .cp_cssslider input[name='cp_switch'] { + display: none; +} + +.wraper .second_box .cp_cssslider label { + border: 2px solid #ffffff; + display: inline-block; + width: 24%; + cursor: pointer; + transition: all 0.5s ease; + opacity: 0.6; + border-radius: 3px; +} + +.wraper .second_box .cp_cssslider label:hover { + opacity: 0.9; +} + +.wraper .second_box .cp_cssslider label img { + display: block; + width: 100%; + border-radius: 2px; +} + +.wraper .second_box .cp_cssslider input[name='cp_switch']:checked + label { + border: 2px solid #FF7043; + opacity: 1; +} + +.wraper .second_box .cp_cssslider input[name='cp_switch'] ~ img { + opacity: 0; +} + +.wraper .second_box .cp_cssslider input[name='cp_switch']:checked + label + img { + opacity: 1; +} + +.wraper .text { + width: 75%; + margin: 0 auto 2rem; + font-size: 0.4rem; +} + +@media screen and (min-width: 768px) { + .wraper .text { + font-size: 0.8rem; + } +} + +@media screen and (min-width: 992px) { + .wraper .text { + font-size: 1.2rem; + } +} + +a.toTop { + position: fixed; + bottom: 2rem; + right: 2rem; + background: #2B2845; + color: #FFFFFF; + text-align: center; + width: 12rem; + padding: 1.0rem 0.3rem; + text-decoration: none; +} + +a.toTop:hover { + opacity: 0.5; +} + +/* ========== footer ========== */ +footer { + width: 100%; + background: #2B2845; + padding: 1rem 0; +} + +footer p { + text-align: center !important; + color: #FFFFFF; + margin-bottom: 0.3rem; +} diff --git a/docs/sass/transpotation.min.css b/docs/sass/transpotation.min.css new file mode 100644 index 0000000..63b12b4 --- /dev/null +++ b/docs/sass/transpotation.min.css @@ -0,0 +1 @@ +body{font-family:'Hiragino Kaku Gothic ProN','ヒラギノ角ゴ ProN W3',sans-serif;font-size:10px;font-weight:normal;width:100%}@media screen and (min-width: 992px){body{font-size:12px}}.wrap{overflow:hidden}#showloading{width:100%;height:100vh;background-color:#073a49;position:relative}#showloading img{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);-webkit-transform:translate(-50%, -50%);-moz-transform:translate(-50%, -50%);-ms-transform:translate(-50%, -50%);-o-transform:translate(-50%, -50%)}.hidden{display:none}header{width:100%;height:80px;position:fixed;background:#fff;z-index:10}header #nav-drawer{position:relative;padding-left:30px}header .nav-unshown{display:none}header #nav-open{display:inline-block;width:80px;height:80px;vertical-align:middle}@media screen and (min-width: 992px){header #nav-open{display:none}}header #nav-open span,header #nav-open span:before,header #nav-open span:after{position:absolute;height:3px;width:25px;border-radius:3px;background:#2B2845;display:block;content:'';cursor:pointer;margin-top:30px}header #nav-open span:before{bottom:-8px}header #nav-open span:after{bottom:-16px}header #nav-close{display:none;position:fixed;z-index:99;top:0;left:0;width:100%;height:100%;background:black;opacity:0;transition:.3s ease-in-out}@media screen and (max-width: 992px){header #nav-content{overflow:auto;position:fixed;top:0;left:0;z-index:9999;width:70%;max-width:330px;height:100vh;background:#2B2845;transition:.3s ease-in-out;-webkit-transform:translateX(-105%);transform:translateX(-105%)}}header #nav-input:checked ~ #nav-close{display:block;opacity:.5}header #nav-input:checked ~ #nav-content{-webkit-transform:translateX(0%);transform:translateX(0%);box-shadow:6px 0 25px rgba(0,0,0,0.15)}header .left_h{width:60%;float:left}@media screen and (min-width: 992px){header .left_h{width:80%}}header .left_h nav ul li{list-style:none}@media screen and (min-width: 992px){header .left_h nav ul li{display:inline-block}}header .left_h nav ul li a{text-decoration:none;font-size:1.2rem;color:#fff}@media screen and (min-width: 992px){header .left_h nav ul li a{color:#363636;font-size:0.5rem;line-height:80px}}@media screen and (min-width: 1200px){header .left_h nav ul li a{color:#363636;font-size:0.9rem;line-height:80px}}header .left_h nav ul li a h3{margin-top:1rem;padding-left:1rem;cursor:pointer}header .left_h nav ul li a h3:hover{opacity:0.5}@media screen and (min-width: 992px){header .left_h nav ul li a h3{margin:0}}header .right_h{width:40%;float:right;font-weight:bold}@media screen and (min-width: 992px){header .right_h{width:20%}}header .right_h label{display:inline-block;width:3.7rem;text-align:center;float:right;color:#363636;background:#C3C3C3;line-height:80px;margin-left:2%;font-size:1rem;cursor:pointer}@media screen and (min-width: 576px){header .right_h label{width:5.0rem}}header .right_h label a{text-decoration:none;color:#363636}header .right_h input{display:none}header .right_h ul{position:absolute;top:80px;right:0;width:3.7rem;font-size:1rem;margin:0;padding:0;background:#C3C3C3;list-style:none;text-align:center}@media screen and (min-width: 576px){header .right_h ul{width:5.0rem}}header .right_h li{height:0;overflow:hidden;-webkit-transition:all 0.5s;-moz-transition:all 0.5s;-ms-transition:all 0.5s;-o-transition:all 0.5s;transition:all 0.5s}header .right_h #type1:checked ~ #links1 li{height:60px;opacity:1;cursor:pointer}.wraper{width:100%;padding:1rem 1.5rem;min-height:100vh;background:#E4EBEF;font-weight:normal}@media screen and (min-width: 992px){.wraper{padding:2rem 3rem}}.wraper .first_box{width:100%;overflow:hidden;margin-top:1rem;margin-bottom:2rem}.wraper .first_box #studios{width:100%;margin-bottom:2rem}@media screen and (min-width: 768px){.wraper .first_box #studios{width:40%;float:right}}.wraper .first_box #studios h3{margin-top:0.5rem;font-size:0.9rem}@media screen and (min-width: 992px){.wraper .first_box #studios h3{font-size:1.7rem}}.wraper .first_box #studios div{width:100%}.wraper .first_box #studios div div{width:15%;display:inline-block}.wraper .first_box #studios div div a{display:block;width:100%;position:relative}.wraper .first_box #studios div div a:before{content:"";display:block;padding-top:100%}.wraper .first_box #studios div div a img{position:absolute;width:100%;height:100%;top:0;right:0;bottom:0;left:0;margin:auto;object-fit:cover}.wraper .first_box #studios div div span{font-size:0.2rem;text-align:center}.wraper .first_box .faculty_title{width:100%}@media screen and (min-width: 768px){.wraper .first_box .faculty_title{width:60%;float:left}}.wraper .first_box .faculty_title h1{font-size:1.3rem}@media screen and (min-width: 768px){.wraper .first_box .faculty_title h1{font-size:1.6rem;margin-bottom:1rem}}@media screen and (min-width: 992px){.wraper .first_box .faculty_title h1{font-size:2.1rem}}@media screen and (min-width: 992px){.wraper .first_box .faculty_title h1{font-size:2.6rem}}.wraper .first_box .faculty_title h4{font-size:1.0rem}@media screen and (min-width: 768px){.wraper .first_box .faculty_title h4{font-size:1.3rem;margin-bottom:1rem}}@media screen and (min-width: 992px){.wraper .first_box .faculty_title h4{font-size:1.7rem}}.wraper .second_box{width:100%;overflow:hidden}.wraper .second_box .right_box{width:100%}@media screen and (min-width: 768px){.wraper .second_box .right_box{width:25%;text-align:right;float:right}}.wraper .second_box .right_box h3{font-size:1rem;font-weight:normal;padding-bottom:1rem;display:inline-block}@media screen and (min-width: 768px){.wraper .second_box .right_box h3{display:block;font-size:1.5rem}}@media screen and (min-width: 1200px){.wraper .second_box .right_box h3{font-size:2.0rem}}.wraper .second_box .right_box h5{font-size:0.8rem;font-weight:normal;display:inline-block;padding-left:1rem}@media screen and (min-width: 768px){.wraper .second_box .right_box h5{display:block;font-size:1.2rem;margin-bottom:1rem}}@media screen and (min-width: 1200px){.wraper .second_box .right_box h5{font-size:1.5rem}}.wraper .second_box .right_box .insta_btn{display:inline-block;text-align:center;color:#2e6ca5;text-decoration:none;margin-bottom:2rem}.wraper .second_box .right_box .insta_btn:hover{color:#668ad8;transition:.5s}.wraper .second_box .right_box .insta_btn .insta{position:relative;display:inline-block;width:50px;height:50px;background:-webkit-linear-gradient(135deg, #427eff 0%, #f13f79 70%) no-repeat;background:linear-gradient(135deg, #427eff 0%, #f13f79 70%) no-repeat;overflow:hidden;border-radius:13px}.wraper .second_box .right_box .insta_btn .insta:before{content:'';position:absolute;top:23px;left:-18px;width:60px;height:60px;background:-webkit-radial-gradient(#ffdb2c 10%, rgba(255,105,34,0.65) 55%, rgba(255,88,96,0) 70%);background:radial-gradient(#ffdb2c 10%, rgba(255,105,34,0.65) 55%, rgba(255,88,96,0) 70%)}.wraper .second_box .right_box .insta_btn .fa-instagram{color:#FFF;position:relative;z-index:2;font-size:35px;line-height:50px}.wraper .second_box .cp_cssslider{width:100%;padding-top:350px;position:relative;text-align:center;margin-bottom:3rem}@media screen and (min-width: 768px){.wraper .second_box .cp_cssslider{width:75%;float:left}}@media screen and (min-width: 576px){.wraper .second_box .cp_cssslider{padding-top:500px}}@media screen and (min-width: 768px){.wraper .second_box .cp_cssslider{padding-top:510px}}@media screen and (min-width: 992px){.wraper .second_box .cp_cssslider{padding-top:600px}}@media screen and (min-width: 1200px){.wraper .second_box .cp_cssslider{padding-top:800px}}.wraper .second_box .cp_cssslider>img{width:100%;position:absolute;left:0;top:0;transition:all 0.5s;border-radius:3px;box-shadow:0px 0px 5px 0px rgba(0,0,0,0.3)}.wraper .second_box .cp_cssslider input[name='cp_switch']{display:none}.wraper .second_box .cp_cssslider label{border:2px solid #ffffff;display:inline-block;width:24%;cursor:pointer;transition:all 0.5s ease;opacity:0.6;border-radius:3px}.wraper .second_box .cp_cssslider label:hover{opacity:0.9}.wraper .second_box .cp_cssslider label img{display:block;width:100%;border-radius:2px}.wraper .second_box .cp_cssslider input[name='cp_switch']:checked+label{border:2px solid #FF7043;opacity:1}.wraper .second_box .cp_cssslider input[name='cp_switch'] ~ img{opacity:0}.wraper .second_box .cp_cssslider input[name='cp_switch']:checked+label+img{opacity:1}.wraper .text{width:75%;margin:0 auto 2rem;font-size:0.4rem}@media screen and (min-width: 768px){.wraper .text{font-size:0.8rem}}@media screen and (min-width: 992px){.wraper .text{font-size:1.2rem}}a.toTop{position:fixed;bottom:2rem;right:2rem;background:#2B2845;color:#FFFFFF;text-align:center;width:12rem;padding:1.0rem 0.3rem;text-decoration:none}a.toTop:hover{opacity:0.5}footer{width:100%;background:#2B2845;padding:1rem 0}footer p{text-align:center !important;color:#FFFFFF;margin-bottom:0.3rem} diff --git a/docs/sass/transpotation.scss b/docs/sass/transpotation.scss new file mode 100644 index 0000000..e4612c4 --- /dev/null +++ b/docs/sass/transpotation.scss @@ -0,0 +1,554 @@ +$breakpoints: ( + 'sm': 'screen and (min-width: 576px)', + 'md': 'screen and (min-width: 768px)', + 'lg': 'screen and (min-width: 992px)', + 'xl': 'screen and (min-width: 1200px)' +) !default; + +//メディアクエリ用のmixinを定義。デフォ値はmd +@mixin mq($breakpoint: md) { +//map-get(マップ型変数, キー)で値を取得 + @media #{map-get($breakpoints, $breakpoint)} { + @content; + } +} + +$textCol: #363636; +$purple: #2B2845; + + + +body{ + font-family: 'Hiragino Kaku Gothic ProN','ヒラギノ角ゴ ProN W3',sans-serif; + font-size: 10px; + font-weight: normal; + width: 100%; + @include mq(lg){ + font-size: 12px; + } +} +.wrap{ + overflow: hidden; +} + +#showloading { +width: 100%; +height: 100vh; +background-color: #073a49; +position: relative; +} + +#showloading img { + position: absolute; + top: 50%; + left: 50%; + transform: translate(-50%,-50%); + -webkit-transform: translate(-50%,-50%); + -moz-transform: translate(-50%,-50%); + -ms-transform: translate(-50%,-50%); + -o-transform: translate(-50%,-50%); +} + +.hidden { +display: none; +} + + +// ========== header ========== +header{ + width: 100%; + height: 80px; + position: fixed; + background: #fff; + z-index: 10; + #nav-drawer { + position: relative; + padding-left: 30px; + } + + /*チェックボックス等は非表示に*/ + .nav-unshown { + display:none; + } + + /*アイコンのスペース*/ + #nav-open { + display: inline-block; + width: 80px; + height: 80px; + vertical-align: middle; + @include mq(lg){ + display: none; + } + } + + /*ハンバーガーアイコンをCSSだけで表現*/ + #nav-open span, #nav-open span:before, #nav-open span:after { + position: absolute; + height: 3px;/*線の太さ*/ + width: 25px;/*長さ*/ + border-radius: 3px; + background: $purple; + display: block; + content: ''; + cursor: pointer; + margin-top: 30px; + } + #nav-open span:before { + bottom: -8px; + } + #nav-open span:after { + bottom: -16px; + } + + /*閉じる用の薄黒カバー*/ + #nav-close { + display: none;/*はじめは隠しておく*/ + position: fixed; + z-index: 99; + top: 0;/*全体に広がるように*/ + left: 0; + width: 100%; + height: 100%; + background: black; + opacity: 0; + transition: .3s ease-in-out; + } + + /*中身*/ + @media screen and (max-width:992px) { + #nav-content { + overflow: auto; + position: fixed; + top: 0; + left: 0; + z-index: 9999;/*最前面に*/ + width: 70%;/*右側に隙間を作る(閉じるカバーを表示)*/ + max-width: 330px;/*最大幅(調整してください)*/ + height: 100vh; + background: $purple;/*背景色*/ + transition: .3s ease-in-out;/*滑らかに表示*/ + -webkit-transform: translateX(-105%); + transform: translateX(-105%);/*左に隠しておく*/ + } +} + + /*チェックが入ったらもろもろ表示*/ + #nav-input:checked ~ #nav-close { + display: block;/*カバーを表示*/ + opacity: .5; + } + + #nav-input:checked ~ #nav-content { + -webkit-transform: translateX(0%); + transform: translateX(0%);/*中身を表示(右へスライド)*/ + box-shadow: 6px 0 25px rgba(0,0,0,.15); + } + + + + .left_h{ + width: 60%; + float: left; + @include mq(lg){ + width: 80%; + } + nav{ + ul{ + li{ + list-style: none; + @include mq(lg){ + display: inline-block; + } + a{ + text-decoration: none; + font-size: 1.2rem; + color: #fff; + @include mq(lg){ + color: $textCol; + font-size: 0.5rem; + line-height: 80px; + } + @include mq(xl){ + color: $textCol; + font-size: 0.9rem; + line-height: 80px; + } + h3{ + margin-top: 1rem; + padding-left: 1rem; + cursor: pointer; + &:hover{ + opacity: 0.5; + } + @include mq(lg){ + margin: 0; + } + } + } + } + } + } + + } + .right_h{ + width: 40%; + float: right; + font-weight: bold; + @include mq(lg){ + width: 20%; + } +label { + display: inline-block; + width: 3.7rem; + @include mq(sm){ + width: 5.0rem; + } + text-align: center; + float: right; + color :$textCol; + background: #C3C3C3; + line-height: 80px; + margin-left: 2%; + font-size: 1rem; + cursor :pointer; + a{ + text-decoration: none; + color: $textCol; + } +} +input { + display: none; +} +ul { + position: absolute; + top: 80px; + right: 0; + width: 3.7rem; + @include mq(sm){ + width: 5.0rem; + } + font-size: 1rem; + margin: 0; + padding: 0; + background :#C3C3C3; + list-style: none; + text-align: center; +} + +li { + height: 0; + overflow: hidden; + -webkit-transition: all 0.5s; + -moz-transition: all 0.5s; + -ms-transition: all 0.5s; + -o-transition: all 0.5s; + transition: all 0.5s; +} + +#type1:checked ~ #links1 li{ + height: 60px; + opacity: 1; + cursor :pointer; + // padding: 0.3rem 0; +} + } +} +// button +// .open{ +// margin-top: 80px; +// } + +// button +// .open{ +// margin-top: 80px; +// } + +// ================== +.wraper{ + width: 100%; + padding: 1rem 1.5rem; + min-height: 100vh; + background: #E4EBEF; + font-weight: normal; + @include mq(lg){ + padding: 2rem 3rem; + } + .first_box{ + width: 100%; + overflow: hidden; + margin-top: 1rem; + margin-bottom: 2rem; + #studios{ + width: 100%; + margin-bottom: 2rem; + @include mq(){ + width: 40%; + float: right; + + } + h3{ + margin-top: 0.5rem; + font-size: 0.9rem; + @include mq(lg){ + font-size: 1.7rem; + } + } + div{//normalStudios + width: 100%; + div{ + width: 15%; + // height: 4rem; + display: inline-block; + a{ + display: block; + width: 100%; + position: relative; + &:before{ + content: ""; + display: block; + padding-top: 100%; + } + img{ + position: absolute; + width: 100%; + height: 100%; + top: 0; + right: 0; + bottom: 0; + left: 0; + margin: auto; + object-fit: cover; + } + } + span{ + font-size: 0.2rem; + text-align: center; + } + } + } + } + .faculty_title{ + width: 100%; + @include mq(){ + width: 60%; + float: left; + } + h1{ + font-size: 1.3rem; + @include mq(){ + font-size: 1.6rem; + margin-bottom: 1rem; + } + @include mq(lg){ + font-size: 2.1rem; + } + @include mq(lg){ + font-size: 2.6rem; + } + } + h4{ + font-size: 1.0rem; + @include mq(){ + font-size: 1.3rem; + margin-bottom: 1rem; + } + @include mq(lg){ + font-size: 1.7rem; + } + } + } + } + .second_box{ + width: 100%; + overflow: hidden; + .right_box{ + width: 100%; + @include mq(){ + width: 25%; + text-align: right; + float: right; + } + h3{ + font-size: 1rem; + font-weight: normal; + padding-bottom: 1rem; + display: inline-block; + @include mq(){ + display: block; + font-size: 1.5rem; + } + @include mq(xl){ + font-size: 2.0rem; + } + } + h5{ + font-size: 0.8rem; + font-weight: normal; + display: inline-block; + padding-left: 1rem; + @include mq(){ + display: block; + font-size: 1.2rem; + margin-bottom: 1rem; + } + @include mq(xl){ + font-size: 1.5rem; + } + } +.insta_btn { + display: inline-block; + text-align: center;/*中央揃え*/ + color: #2e6ca5;/*文字色*/ + text-decoration: none;/*下線消す*/ + margin-bottom: 2rem; +} + +.insta_btn:hover {/*ホバー時*/ + color:#668ad8;/*文字色*/ + transition: .5s;/*ゆっくり変化*/ +} + +.insta_btn .insta{/*アイコンの背景*/ + position: relative;/*相対配置*/ + display: inline-block; + width: 50px;/*幅*/ + height: 50px;/*高さ*/ + background: -webkit-linear-gradient(135deg, #427eff 0%, #f13f79 70%) no-repeat; + background: linear-gradient(135deg, #427eff 0%, #f13f79 70%) no-repeat;/*グラデーション①*/ + overflow: hidden;/*はみ出た部分を隠す*/ + border-radius: 13px;/*角丸に*/ + +} + +.insta_btn .insta:before{/*グラデーションを重ねるため*/ + content: ''; + position: absolute;/*絶対配置*/ + top: 23px;/*ずらす*/ + left: -18px;/*ずらす*/ + width: 60px;/*グラデーションカバーの幅*/ + height: 60px;/*グラデーションカバーの高さ*/ + background: -webkit-radial-gradient(#ffdb2c 10%, rgba(255, 105, 34, 0.65) 55%, rgba(255, 88, 96, 0) 70%); + background: radial-gradient(#ffdb2c 10%, rgba(255, 105, 34, 0.65) 55%, rgba(255, 88, 96, 0) 70%);/*グラデーション②*/ +} + +.insta_btn .fa-instagram {/*アイコン*/ + color: #FFF;/*白に*/ + position: relative;/*z-indexを使うため*/ + z-index: 2;/*グラデーションより前に*/ + font-size: 35px;/*アイコンサイズ*/ + line-height: 50px;/*高さと合わせる*/ +} + } + + + .cp_cssslider{ + width: 100%; + // float: left; + @include mq(){ + width: 75%; + float: left; + } + padding-top: 350px; /* 画像の高さ */ + @include mq(sm){ + padding-top: 500px; + } + @include mq(md){ + padding-top: 510px; + } + @include mq(lg){ + padding-top: 600px; + } + @include mq(xl){ + padding-top: 800px; + } + position: relative; + text-align: center; + margin-bottom: 3rem; + } + .cp_cssslider > img { + width: 100%; + + position: absolute; + left: 0; + top: 0; + transition: all 0.5s; + border-radius: 3px; + box-shadow:0px 0px 5px 0px rgba(0,0,0,0.3); + } + .cp_cssslider input[name='cp_switch'] { + display: none; + } + /* サムネイル */ + .cp_cssslider label { + // margin: 15px 5px 0 5px; + border: 2px solid #ffffff; + display: inline-block; + width: 24%; + cursor: pointer; + transition: all 0.5s ease; + opacity: 0.6; + border-radius: 3px; + } + .cp_cssslider label:hover { + opacity: 0.9; + } + .cp_cssslider label img { + display: block; + // width: 100px; + width: 100%; + border-radius: 2px; + } + .cp_cssslider input[name='cp_switch']:checked + label { + border: 2px solid #FF7043; + opacity: 1; + } + .cp_cssslider input[name='cp_switch'] ~ img { + opacity: 0; + } + .cp_cssslider input[name='cp_switch']:checked + label + img { + opacity: 1; + } + } + .text{ + width: 75%; + margin: 0 auto 2rem; + font-size: 0.4rem; + @include mq(md){ + font-size: 0.8rem; + } + @include mq(lg){ + font-size: 1.2rem; + } + } +} + + // ========== toTop ========== + a.toTop{ + position: fixed; + bottom: 2rem; + right: 2rem; + background: #2B2845; + color: #FFFFFF; + text-align: center; + width: 12rem; + padding: 1.0rem 0.3rem; + text-decoration: none; + &:hover{ + opacity: 0.5; + } + } + + + +/* ========== footer ========== */ +footer{ + width: 100%; + background: #2B2845; + padding: 1rem 0; + p{ + text-align: center!important; + color: #FFFFFF; + margin-bottom: 0.3rem; + } +} \ No newline at end of file diff --git a/docs/sass/view-style.css b/docs/sass/view-style.css new file mode 100644 index 0000000..20e9a66 --- /dev/null +++ b/docs/sass/view-style.css @@ -0,0 +1,929 @@ +@charset "UTF-8"; +body { + font-family: 'Hiragino Kaku Gothic ProN','ヒラギノ角ゴ ProN W3',sans-serif; + font-size: 10px; + font-weight: normal; +} + +@media screen and (min-width: 992px) { + body { + font-size: 12px; + } +} + +.wrap { + overflow: hidden; +} + +#showloading { + width: 100%; + height: 100vh; + + background-color: #000000; + position: fixed; + z-index: 20; + +} + +#showloading img { + position: fixed; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); + -webkit-transform: translate(-50%, -50%); + -moz-transform: translate(-50%, -50%); + -ms-transform: translate(-50%, -50%); + -o-transform: translate(-50%, -50%); + z-index: 20; +} + +.fadeout-bg { + transition-property: opacity; + transition-delay: .2s; + transition-duration: .1s; + opacity: 0; + pointer-events: none; +} + +.hidden { + display: none; +} +header { + width: 100%; + height: 80px; + position: fixed; + background: #fff; + z-index: 10; + /*チェックボックス等は非表示に*/ + /*アイコンのスペース*/ + /*ハンバーガーアイコンをCSSだけで表現*/ + /*閉じる用の薄黒カバー*/ + /*中身*/ + /*チェックが入ったらもろもろ表示*/ +} + +header #nav-drawer { + position: relative; + padding-left: 30px; +} + +header .nav-unshown { + display: none; +} + +header #nav-open { + display: inline-block; + width: 80px; + height: 80px; + vertical-align: middle; +} + +@media screen and (min-width: 992px) { + header #nav-open { + display: none; + } +} + +header #nav-open span, header #nav-open span:before, header #nav-open span:after { + position: absolute; + height: 3px; + /*線の太さ*/ + width: 25px; + /*長さ*/ + border-radius: 3px; + background: #2B2845; + display: block; + content: ''; + cursor: pointer; + margin-top: 30px; +} + +header #nav-open span:before { + bottom: -8px; +} + +header #nav-open span:after { + bottom: -16px; +} + +header #nav-close { + display: none; + /*はじめは隠しておく*/ + position: fixed; + z-index: 99; + top: 0; + /*全体に広がるように*/ + left: 0; + width: 100%; + height: 100%; + background: black; + opacity: 0; + transition: .3s ease-in-out; +} + +@media screen and (max-width: 992px) { + header #nav-content { + overflow: auto; + position: fixed; + top: 0; + left: 0; + z-index: 9999; + /*最前面に*/ + width: 70%; + /*右側に隙間を作る(閉じるカバーを表示)*/ + max-width: 330px; + /*最大幅(調整してください)*/ + height: 100vh; + background: #2B2845; + /*背景色*/ + transition: .3s ease-in-out; + /*滑らかに表示*/ + -webkit-transform: translateX(-105%); + transform: translateX(-105%); + /*左に隠しておく*/ + } +} + +header #nav-input:checked ~ #nav-close { + display: block; + /*カバーを表示*/ + opacity: .5; +} + +header #nav-input:checked ~ #nav-content { + -webkit-transform: translateX(0%); + transform: translateX(0%); + /*中身を表示(右へスライド)*/ + box-shadow: 6px 0 25px rgba(0, 0, 0, 0.15); +} + +header .left_h { + width: 60%; + float: left; +} + +@media screen and (min-width: 992px) { + header .left_h { + width: 80%; + } +} + +header .left_h nav ul li { + list-style: none; +} + +@media screen and (min-width: 992px) { + header .left_h nav ul li { + display: inline-block; + } +} + +header .left_h nav ul li a { + text-decoration: none; + font-size: 1.2rem; + color: #fff; +} + +@media screen and (min-width: 992px) { + header .left_h nav ul li a { + color: #363636; + font-size: 0.5rem; + line-height: 80px; + } +} + +@media screen and (min-width: 1200px) { + header .left_h nav ul li a { + color: #363636; + font-size: 0.9rem; + line-height: 80px; + } +} + +header .left_h nav ul li a h3 { + margin-top: 1rem; + padding-left: 1rem; + cursor: pointer; +} + +header .left_h nav ul li a h3:hover { + opacity: 0.5; +} + +@media screen and (min-width: 992px) { + header .left_h nav ul li a h3 { + margin: 0; + } +} + +header .right_h { + width: 40%; + float: right; + font-weight: bold; +} + +@media screen and (min-width: 992px) { + header .right_h { + width: 20%; + } +} + +header .right_h label { + display: inline-block; + width: 3.7rem; + text-align: center; + float: right; + color: #363636; + background: #C3C3C3; + line-height: 80px; + margin-left: 2%; + font-size: 1rem; + cursor: pointer; +} + +@media screen and (min-width: 576px) { + header .right_h label { + width: 5.0rem; + } +} + +header .right_h label a { + text-decoration: none; + color: #363636; +} + +header .right_h label p { + cursor: pointer; +} + +header .right_h label p:hover { + opacity: 0.5; +} + +header .right_h input { + display: none; +} + +header .right_h ul { + position: absolute; + top: 80px; + right: 0; + width: 3.7rem; + font-size: 1rem; + margin: 0; + padding: 0; + background: #C3C3C3; + list-style: none; + text-align: center; +} + +@media screen and (min-width: 576px) { + header .right_h ul { + width: 5.0rem; + } +} + +header .right_h li { + height: 0; + overflow: hidden; + -webkit-transition: all 0.5s; + -moz-transition: all 0.5s; + -ms-transition: all 0.5s; + -o-transition: all 0.5s; + transition: all 0.5s; +} + +header .right_h #type1:checked ~ #links1 li { + height: 60px; + opacity: 1; + cursor: pointer; +} + +/* ========== main-visual ========== */ +.main-visual { + z-index: 0; + width: 100%; + height: 600px; + background-image: url(../image/header.png); + background-size: cover; + background-position: 82% 60%; + color: #fff; + position: relative; +} + +@media screen and (min-width: 992px) { + .main-visual { + height: 800px; + } +} + +.main-visual h1 { + color: #fff; + padding-top: 7rem; + padding-left: 1.5rem; + font-size: 1.4rem; + z-index: 1; + line-height: 4rem; + font-weight: normal; +} + +@media screen and (min-width: 992px) { + .main-visual h1 { + padding-top: 10rem; + padding-left: 4rem; + font-size: 2.8rem; + line-height: 7rem; + } +} + +.main-visual #englishTitle { + line-height: normal; +} + +.main-visual #englishTitle2 { + padding-top: 3rem; + padding-left: 5rem; +} + +@media screen and (min-width: 992px) { + .main-visual .br { + display: none; + } +} + +.main-visual h3 { + position: absolute; + bottom: 3rem; + right: 3rem; + font-size: 0.8rem; + z-index: 1; + font-weight: normal; +} + +@media screen and (min-width: 992px) { + .main-visual h3 { + font-size: 1.3rem; + letter-spacing: 0.5rem; + } +} + +.main-visual h3 .second_line { + margin-left: 2rem; +} + +.main-visual h3 .third_line { + margin-left: 3rem; +} + +/* ========== common section title ========== */ +.section_title { + color: #363636; + text-align: center; + position: relative; + display: inline-block; + padding-left: 0.2rem; + padding-right: 0.2rem; + margin-top: 6rem; + margin-bottom: 3rem; + font-size: 1.5rem; +} + +@media screen and (min-width: 992px) { + .section_title { + margin-top: 10rem; + margin-bottom: 6rem; + font-size: 3rem; + } +} + +/* ========== aboutus ========== */ +#aboutus p { + display: block; + background: #E4EBEF; + padding: 1rem 2rem; +} + +@media screen and (min-width: 992px) { + #aboutus p { + padding: 3rem 6rem; + font-size: 1.2rem; + } +} + +/* ========== works ========== */ +#works .frame { + border: 1px solid #707070; + padding: 3rem 0; +} + +#works .frame .container { + display: flex; + flex-wrap: wrap; + justify-content: space-around; +} + +#works .frame .container .item { + position: relative; + display: block; + width: 70%; + margin-bottom: 2rem; +} + +@media screen and (min-width: 768px) { + #works .frame .container .item { + width: 40%; + } +} + +#works .frame .container .item:before { + content: ""; + display: block; + padding-top: 100%; +} + +#works .frame .container .item img { + position: absolute; + width: 100%; + height: 100%; + top: 0; + right: 0; + bottom: 0; + left: 0; + margin: auto; + object-fit: cover; +} + +#works .frame .moreBtn { + text-align: center; +} + +#works .frame .moreBtn p { + text-decoration: none; + color: #363636; + background: #CFCFCF; + display: block; + font-size: 0.8rem; + width: 10rem; + padding: 1.5rem; + margin: 0 auto; + cursor: pointer; +} + +@media screen and (min-width: 992px) { + #works .frame .moreBtn p { + font-size: 1.5rem; + width: 18rem; + } +} + +#works .frame .moreBtn p:hover { + opacity: 0.7; +} + +/* ========== curriculum ========== */ +#curriculum .bg-gray { + text-align: center; + background: #E4EBEF; + padding: 1rem 2rem; +} + +#curriculum .bg-gray p { + text-align: left; + margin-bottom: 2rem; +} + +@media screen and (min-width: 992px) { + #curriculum .bg-gray p { + padding: 3rem 6rem; + font-size: 1.2rem; + } +} + +#curriculum .bg-gray img { + width: 70%; + padding-bottom: 3rem; +} + +/* ========== studios ========== */ +.bg_blue { + background: #E4EBEF; + padding: 2rem 0.5rem; +} + +#nomalStudios, #englishStudios { + flex-wrap: wrap; + justify-content: space-around; +} + +#nomalStudios > div { + margin: 0.5rem 0; + background: #FFFFFF; + min-height: 3em; + width: 100%; + display: inline-block; + text-align: center; +} + +@media screen and (min-width: 768px) { + #nomalStudios > div { + width: 30%; + } +} + +#englishStudios > div { + margin: 0.5rem 0; + background: #FFFFFF; + min-height: 3em; + width: 100%; + display: inline-block; + text-align: center; +} + +@media screen and (min-width: 768px) { + #englishStudios > div { + width: 30%; + } +} + +.studio-title { + font-weight: bold; + text-decoration: none; + color: #363636; + font-size: 0.8rem; + cursor: pointer; +} + +.studio-title:hover { + opacity: 0.5; +} + +@media screen and (min-width: 768px) { + .studio-title { + font-size: 0.6rem; + } +} + +@media screen and (min-width: 992px) { + .studio-title { + font-size: 1rem; + } +} + +@media screen and (min-width: 1200px) { + .studio-title { + font-size: 1.1rem; + padding: 0.5rem 0; + } +} + +.studio-title-en { + margin-left: 1em; + font-weight: 100; + opacity: 0.75; + text-decoration: none; + color: #363636; + font-size: 1rem; + cursor: pointer; +} + +.studio-title-en:hover { + opacity: 0.5; +} + +@media screen and (min-width: 768px) { + .studio-title-en { + font-size: 0.6rem; + } +} + +@media screen and (min-width: 992px) { + .studio-title-en { + font-size: 1rem; + } +} + +@media screen and (min-width: 1200px) { + .studio-title-en { + font-size: 1.1rem; + padding: 0.5rem 0; + } +} + +pre#result { + background-color: #444; + color: #fff; + font-family: monospace; + font-size: 9px; +} + +.studio-photo1, .studio-photo2 { + width: 100%; + height: 6rem; + object-fit: cover; +} + +@media screen and (min-width: 768px) { + .studio-photo1, .studio-photo2 { + height: 7rem; + } +} + +@media screen and (min-width: 992px) { + .studio-photo1, .studio-photo2 { + height: 12rem; + } +} + +@media screen and (min-width: 1200px) { + .studio-photo1, .studio-photo2 { + height: 15rem; + } +} + +#nomalFaculty, #englishFaculty { + border: 1px solid #707070; + flex-wrap: wrap; + justify-content: space-around; + padding: 1rem 2rem; + color: #2E2E2E; +} + +#nomalFaculty > div { + margin: 1em 0; + width: 100%; + height: 9rem; + display: inline-block; + overflow: hidden; +} + +@media screen and (min-width: 768px) { + #nomalFaculty > div { + width: 40%; + height: 10rem; + } +} + +@media screen and (min-width: 992px) { + #nomalFaculty > div { + width: 30%; + height: 10rem; + } +} + +#englishFaculty > div { + margin: 1em 0; + width: 100%; + height: 9rem; + display: inline-block; + overflow: hidden; +} + +@media screen and (min-width: 768px) { + #englishFaculty > div { + width: 40%; + height: 10rem; + } +} + +@media screen and (min-width: 992px) { + #englishFaculty > div { + width: 30%; + height: 10rem; + } +} + +.text-box { + width: 67%; + float: left; +} + +.faculty-image, .faculty-image-en { + float: left; + width: 33%; +} + +#faculty span { + display: inline-block; + margin: 0.2rem 1rem; + font-size: 0.5rem; +} + +@media screen and (min-width: 992px) { + #faculty span { + font-size: 0.7rem; + } +} + +.faculty-name, .faculty-name-en { + font-weight: bold; +} + +#faculty span.faculty-name-2, .faculty-name-en2 { + display: block; +} + +.faculty-link a { + color: #2E2E2E; + text-decoration: none; +} + +.faculty-link a:hover { + opacity: 0.5; +} + +.faculty-link-en a { + color: #2E2E2E; + text-decoration: none; +} + +.faculty-link-en a:hover { + opacity: 0.5; +} + +#column { + text-align: center; +} + +#nomalLink, #englishLink { + overflow-x: scroll; + -webkit-overflow-scrolling: touch; + margin: 2rem; +} + +#column > div > div { + width: 10rem; + display: inline-block; + text-align: center; + margin: 2rem; +} + +@media screen and (min-width: 768px) { + #column > div > div { + width: 23rem; + } +} + +.link-image { + width: 10rem; + height: 10rem; + cursor: pointer; +} + +@media screen and (min-width: 768px) { + .link-image { + width: 23rem; + height: 23rem; + } +} + +.link-title { + display: inline-block; + color: #2E2E2E; + text-decoration: none; + padding: 0.5rem 0; + cursor: pointer; +} + +.link-title:hover { + opacity: 0.5; +} + +@media screen and (min-width: 768px) { + .link-title { + font-size: 1.5rem; + } +} + +/* ========== admission ==========*/ +#admission #nomalAdmissionText, #admission #englishAdmissionText, #admission #easyAdmissionText { + padding: 1rem 2rem; + background: #E4EBEF; +} + +@media screen and (min-width: 768px) { + #admission #nomalAdmissionText, #admission #englishAdmissionText, #admission #easyAdmissionText { + padding: 2rem 4rem; + font-size: 1.1rem; + } +} + +@media screen and (min-width: 992px) { + #admission #nomalAdmissionText, #admission #englishAdmissionText, #admission #easyAdmissionText { + padding: 2rem 4rem; + font-size: 1.2rem; + } +} + +#admission #nomalAdmissionText h4, #admission #englishAdmissionText h4, #admission #easyAdmissionText h4 { + padding-bottom: 0.5rem; +} + +#admission #nomalAdmissionText h5, #admission #englishAdmissionText h5, #admission #easyAdmissionText h5 { + padding: 0.3rem 0 0.1rem; +} + +#admission #nomalAdmissionText div img, #admission #englishAdmissionText div img, #admission #easyAdmissionText div img { + display: block; + margin: 0 auto; + margin-bottom: 1rem; +} + +#admission #nomalAdmissionText a, #admission #englishAdmissionText a, #admission #easyAdmissionText a { + color: #363636; +} + +#admission #nomalAdmissionText a:hover, #admission #englishAdmissionText a:hover, #admission #easyAdmissionText a:hover { + opacity: 0.5; +} + +/* ========== admission ==========*/ +/* ========== question ========== */ +#question > div { + padding: 1rem 2rem; + background: #E4EBEF; +} + +@media screen and (min-width: 768px) { + #question > div { + padding: 2rem 4rem; + font-size: 1.1rem; + } +} + +@media screen and (min-width: 992px) { + #question > div { + padding: 2rem 4rem; + font-size: 1.3rem; + } +} + +#question > div a { + cursor: pointer; +} + +#question > div a:hover { + opacity: 0.5; +} + +#access iframe { + width: 100%; + height: 400px; +} + +#nomalAcText, #englishAcText, #easyAcText { + padding: 2rem 3rem; + color: #2E2E2E; +} + +#nomalAcText ul, #englishAcText ul, #easyAcText ul { + list-style: none; +} + +#nomalAcText ul li p, #englishAcText ul li p, #easyAcText ul li p { + font-size: 0.5rem; +} + +@media screen and (min-width: 992px) { + #nomalAcText ul li p, #englishAcText ul li p, #easyAcText ul li p { + font-size: 1.2rem; + } +} + +#nomalAcText h4, #nomalAcText > p, #englishAcText h4, #englishAcText > p, #easyAcText h4, #easyAcText > p { + padding-left: 3rem; +} + +@media screen and (min-width: 992px) { + #nomalAcText h4, #nomalAcText > p, #englishAcText h4, #englishAcText > p, #easyAcText h4, #easyAcText > p { + font-size: 1.2rem; + } +} + +#nomalAcText h4, #englishAcText h4, #easyAcText h4 { + padding-top: 0.3rem; +} + +@media screen and (min-width: 992px) { + #nomalAcText h4, #englishAcText h4, #easyAcText h4 { + font-size: 1.2rem; + } +} + +/* ========== footer ========== */ +footer { + width: 100%; + background: #2B2845; + padding: 1rem 0; +} + +footer p { + text-align: center !important; + color: #FFFFFF; + margin-bottom: 0.3rem; +} + +@media screen and (min-width: 992px) { + footer p { + font-size: 1.2rem; + } +} diff --git a/docs/sass/view-style.min.css b/docs/sass/view-style.min.css new file mode 100644 index 0000000..cd7d39c --- /dev/null +++ b/docs/sass/view-style.min.css @@ -0,0 +1 @@ +body{font-family:'Hiragino Kaku Gothic ProN','ヒラギノ角ゴ ProN W3',sans-serif;font-size:10px;font-weight:normal}@media screen and (min-width: 992px){body{font-size:12px}}.wrap{overflow:hidden}#showloading{width:100%;height:100vh;background-color:#073a49;position:relative}#showloading img{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);-webkit-transform:translate(-50%, -50%);-moz-transform:translate(-50%, -50%);-ms-transform:translate(-50%, -50%);-o-transform:translate(-50%, -50%)}.hidden{display:none}header{width:100%;height:80px;position:fixed;background:#fff;z-index:10}header #nav-drawer{position:relative;padding-left:30px}header .nav-unshown{display:none}header #nav-open{display:inline-block;width:80px;height:80px;vertical-align:middle}@media screen and (min-width: 992px){header #nav-open{display:none}}header #nav-open span,header #nav-open span:before,header #nav-open span:after{position:absolute;height:3px;width:25px;border-radius:3px;background:#2B2845;display:block;content:'';cursor:pointer;margin-top:30px}header #nav-open span:before{bottom:-8px}header #nav-open span:after{bottom:-16px}header #nav-close{display:none;position:fixed;z-index:99;top:0;left:0;width:100%;height:100%;background:black;opacity:0;transition:.3s ease-in-out}@media screen and (max-width: 992px){header #nav-content{overflow:auto;position:fixed;top:0;left:0;z-index:9999;width:70%;max-width:330px;height:100vh;background:#2B2845;transition:.3s ease-in-out;-webkit-transform:translateX(-105%);transform:translateX(-105%)}}header #nav-input:checked ~ #nav-close{display:block;opacity:.5}header #nav-input:checked ~ #nav-content{-webkit-transform:translateX(0%);transform:translateX(0%);box-shadow:6px 0 25px rgba(0,0,0,0.15)}header .left_h{width:60%;float:left}@media screen and (min-width: 992px){header .left_h{width:80%}}header .left_h nav ul li{list-style:none}@media screen and (min-width: 992px){header .left_h nav ul li{display:inline-block}}header .left_h nav ul li a{text-decoration:none;font-size:1.2rem;color:#fff}@media screen and (min-width: 992px){header .left_h nav ul li a{color:#363636;font-size:0.5rem;line-height:80px}}@media screen and (min-width: 1200px){header .left_h nav ul li a{color:#363636;font-size:0.9rem;line-height:80px}}header .left_h nav ul li a h3{margin-top:1rem;padding-left:1rem;cursor:pointer}header .left_h nav ul li a h3:hover{opacity:0.5}@media screen and (min-width: 992px){header .left_h nav ul li a h3{margin:0}}header .right_h{width:40%;float:right;font-weight:bold}@media screen and (min-width: 992px){header .right_h{width:20%}}header .right_h label{display:inline-block;width:3.7rem;text-align:center;float:right;color:#363636;background:#C3C3C3;line-height:80px;margin-left:2%;font-size:1rem;cursor:pointer}@media screen and (min-width: 576px){header .right_h label{width:5.0rem}}header .right_h label a{text-decoration:none;color:#363636}header .right_h label p{cursor:pointer}header .right_h label p:hover{opacity:0.5}header .right_h input{display:none}header .right_h ul{position:absolute;top:80px;right:0;width:3.7rem;font-size:1rem;margin:0;padding:0;background:#C3C3C3;list-style:none;text-align:center}@media screen and (min-width: 576px){header .right_h ul{width:5.0rem}}header .right_h li{height:0;overflow:hidden;-webkit-transition:all 0.5s;-moz-transition:all 0.5s;-ms-transition:all 0.5s;-o-transition:all 0.5s;transition:all 0.5s}header .right_h #type1:checked ~ #links1 li{height:60px;opacity:1;cursor:pointer}.main-visual{z-index:0;width:100%;height:600px;background-image:url(../image/header.png);background-size:cover;background-position:82% 60%;color:#fff;position:relative}@media screen and (min-width: 992px){.main-visual{height:800px}}.main-visual h1{color:#fff;padding-top:7rem;padding-left:1.5rem;font-size:1.4rem;z-index:1;line-height:4rem;font-weight:normal}@media screen and (min-width: 992px){.main-visual h1{padding-top:10rem;padding-left:4rem;font-size:2.8rem;line-height:7rem}}.main-visual #englishTitle{line-height:normal}.main-visual #englishTitle2{padding-top:3rem;padding-left:5rem}@media screen and (min-width: 992px){.main-visual .br{display:none}}.main-visual h3{position:absolute;bottom:3rem;right:3rem;font-size:0.8rem;z-index:1;font-weight:normal}@media screen and (min-width: 992px){.main-visual h3{font-size:1.3rem;letter-spacing:0.5rem}}.main-visual h3 .second_line{margin-left:2rem}.main-visual h3 .third_line{margin-left:3rem}.section_title{color:#363636;text-align:center;position:relative;display:inline-block;padding-left:0.2rem;padding-right:0.2rem;margin-top:6rem;margin-bottom:3rem;font-size:1.5rem}@media screen and (min-width: 992px){.section_title{margin-top:10rem;margin-bottom:6rem;font-size:3rem}}#aboutus p{display:block;background:#E4EBEF;padding:1rem 2rem}@media screen and (min-width: 992px){#aboutus p{padding:3rem 6rem;font-size:1.2rem}}#works .frame{border:1px solid #707070;padding:3rem 0}#works .frame .container{display:flex;flex-wrap:wrap;justify-content:space-around}#works .frame .container .item{position:relative;display:block;width:70%;margin-bottom:2rem}@media screen and (min-width: 768px){#works .frame .container .item{width:40%}}#works .frame .container .item:before{content:"";display:block;padding-top:100%}#works .frame .container .item img{position:absolute;width:100%;height:100%;top:0;right:0;bottom:0;left:0;margin:auto;object-fit:cover}#works .frame .moreBtn{text-align:center}#works .frame .moreBtn p{text-decoration:none;color:#363636;background:#CFCFCF;display:block;font-size:0.8rem;width:10rem;padding:1.5rem;margin:0 auto;cursor:pointer}@media screen and (min-width: 992px){#works .frame .moreBtn p{font-size:1.5rem;width:18rem}}#works .frame .moreBtn p:hover{opacity:0.7}#curriculum .bg-gray{text-align:center;background:#E4EBEF;padding:1rem 2rem}#curriculum .bg-gray p{text-align:left;margin-bottom:2rem}@media screen and (min-width: 992px){#curriculum .bg-gray p{padding:3rem 6rem;font-size:1.2rem}}#curriculum .bg-gray img{width:70%;padding-bottom:3rem}.bg_blue{background:#E4EBEF;padding:2rem 0.5rem}#nomalStudios,#englishStudios{flex-wrap:wrap;justify-content:space-around}#nomalStudios>div{margin:0.5rem 0;background:#FFFFFF;min-height:3em;width:100%;display:inline-block;text-align:center}@media screen and (min-width: 768px){#nomalStudios>div{width:30%}}#englishStudios>div{margin:0.5rem 0;background:#FFFFFF;min-height:3em;width:100%;display:inline-block;text-align:center}@media screen and (min-width: 768px){#englishStudios>div{width:30%}}.studio-title{font-weight:bold;text-decoration:none;color:#363636;font-size:0.8rem;cursor:pointer}.studio-title:hover{opacity:0.5}@media screen and (min-width: 768px){.studio-title{font-size:0.6rem}}@media screen and (min-width: 992px){.studio-title{font-size:1rem}}@media screen and (min-width: 1200px){.studio-title{font-size:1.1rem;padding:0.5rem 0}}.studio-title-en{margin-left:1em;font-weight:100;opacity:0.75;text-decoration:none;color:#363636;font-size:1rem;cursor:pointer}.studio-title-en:hover{opacity:0.5}@media screen and (min-width: 768px){.studio-title-en{font-size:0.6rem}}@media screen and (min-width: 992px){.studio-title-en{font-size:1rem}}@media screen and (min-width: 1200px){.studio-title-en{font-size:1.1rem;padding:0.5rem 0}}pre#result{background-color:#444;color:#fff;font-family:monospace;font-size:9px}.studio-photo1,.studio-photo2{width:100%;height:6rem;object-fit:cover}@media screen and (min-width: 768px){.studio-photo1,.studio-photo2{height:7rem}}@media screen and (min-width: 992px){.studio-photo1,.studio-photo2{height:12rem}}@media screen and (min-width: 1200px){.studio-photo1,.studio-photo2{height:15rem}}#nomalFaculty,#englishFaculty{border:1px solid #707070;flex-wrap:wrap;justify-content:space-around;padding:1rem 2rem;color:#2E2E2E}#nomalFaculty>div{margin:1em 0;width:100%;height:9rem;display:inline-block;overflow:hidden}@media screen and (min-width: 768px){#nomalFaculty>div{width:40%;height:10rem}}@media screen and (min-width: 992px){#nomalFaculty>div{width:30%;height:10rem}}#englishFaculty>div{margin:1em 0;width:100%;height:9rem;display:inline-block;overflow:hidden}@media screen and (min-width: 768px){#englishFaculty>div{width:40%;height:10rem}}@media screen and (min-width: 992px){#englishFaculty>div{width:30%;height:10rem}}.text-box{width:67%;float:left}.faculty-image,.faculty-image-en{float:left;width:33%}#faculty span{display:inline-block;margin:0.2rem 1rem;font-size:0.5rem}@media screen and (min-width: 992px){#faculty span{font-size:0.7rem}}.faculty-name,.faculty-name-en{font-weight:bold}#faculty span.faculty-name-2,.faculty-name-en2{display:block}.faculty-link a{color:#2E2E2E;text-decoration:none}.faculty-link a:hover{opacity:0.5}.faculty-link-en a{color:#2E2E2E;text-decoration:none}.faculty-link-en a:hover{opacity:0.5}#column{text-align:center}#nomalLink,#englishLink{overflow-x:scroll;-webkit-overflow-scrolling:touch;margin:2rem}#column>div>div{width:10rem;display:inline-block;text-align:center;margin:2rem}@media screen and (min-width: 768px){#column>div>div{width:23rem}}.link-image{width:10rem;height:10rem;cursor:pointer}@media screen and (min-width: 768px){.link-image{width:23rem;height:23rem}}.link-title{display:inline-block;color:#2E2E2E;text-decoration:none;padding:0.5rem 0;cursor:pointer}.link-title:hover{opacity:0.5}@media screen and (min-width: 768px){.link-title{font-size:1.5rem}}#admission #nomalAdmissionText,#admission #englishAdmissionText,#admission #easyAdmissionText{padding:1rem 2rem;background:#E4EBEF}@media screen and (min-width: 768px){#admission #nomalAdmissionText,#admission #englishAdmissionText,#admission #easyAdmissionText{padding:2rem 4rem;font-size:1.1rem}}@media screen and (min-width: 992px){#admission #nomalAdmissionText,#admission #englishAdmissionText,#admission #easyAdmissionText{padding:2rem 4rem;font-size:1.2rem}}#admission #nomalAdmissionText h4,#admission #englishAdmissionText h4,#admission #easyAdmissionText h4{padding-bottom:0.5rem}#admission #nomalAdmissionText h5,#admission #englishAdmissionText h5,#admission #easyAdmissionText h5{padding:0.3rem 0 0.1rem}#admission #nomalAdmissionText div img,#admission #englishAdmissionText div img,#admission #easyAdmissionText div img{display:block;margin:0 auto;margin-bottom:1rem}#admission #nomalAdmissionText a,#admission #englishAdmissionText a,#admission #easyAdmissionText a{color:#363636}#admission #nomalAdmissionText a:hover,#admission #englishAdmissionText a:hover,#admission #easyAdmissionText a:hover{opacity:0.5}#question>div{padding:1rem 2rem;background:#E4EBEF}@media screen and (min-width: 768px){#question>div{padding:2rem 4rem;font-size:1.1rem}}@media screen and (min-width: 992px){#question>div{padding:2rem 4rem;font-size:1.3rem}}#question>div a{cursor:pointer}#question>div a:hover{opacity:0.5}#access iframe{width:100%;height:400px}#nomalAcText,#englishAcText,#easyAcText{padding:2rem 3rem;color:#2E2E2E}#nomalAcText ul,#englishAcText ul,#easyAcText ul{list-style:none}#nomalAcText ul li p,#englishAcText ul li p,#easyAcText ul li p{font-size:0.5rem}@media screen and (min-width: 992px){#nomalAcText ul li p,#englishAcText ul li p,#easyAcText ul li p{font-size:1.2rem}}#nomalAcText h4,#nomalAcText>p,#englishAcText h4,#englishAcText>p,#easyAcText h4,#easyAcText>p{padding-left:3rem}@media screen and (min-width: 992px){#nomalAcText h4,#nomalAcText>p,#englishAcText h4,#englishAcText>p,#easyAcText h4,#easyAcText>p{font-size:1.2rem}}#nomalAcText h4,#englishAcText h4,#easyAcText h4{padding-top:0.3rem}@media screen and (min-width: 992px){#nomalAcText h4,#englishAcText h4,#easyAcText h4{font-size:1.2rem}}footer{width:100%;background:#2B2845;padding:1rem 0}footer p{text-align:center !important;color:#FFFFFF;margin-bottom:0.3rem}@media screen and (min-width: 992px){footer p{font-size:1.2rem}} diff --git a/docs/sass/view-style.scss b/docs/sass/view-style.scss new file mode 100644 index 0000000..3ed9197 --- /dev/null +++ b/docs/sass/view-style.scss @@ -0,0 +1,816 @@ +$breakpoints: ( + 'sm': 'screen and (min-width: 576px)', + 'md': 'screen and (min-width: 768px)', + 'lg': 'screen and (min-width: 992px)', + 'xl': 'screen and (min-width: 1200px)' +) !default; + +//メディアクエリ用のmixinを定義。デフォ値はmd +@mixin mq($breakpoint: md) { +//map-get(マップ型変数, キー)で値を取得 + @media #{map-get($breakpoints, $breakpoint)} { + @content; + } +} + +$textCol: #363636; +$purple: #2B2845; + + + +body{ + font-family: 'Hiragino Kaku Gothic ProN','ヒラギノ角ゴ ProN W3',sans-serif; + font-size: 10px; + font-weight: normal; + @include mq(lg){ + font-size: 12px; + } +} +.wrap{ + overflow: hidden; +} + +#showloading { +width: 100%; +height: 100vh; +background-color: #073a49; +position: relative; +} + +#showloading img { + position: absolute; + top: 50%; + left: 50%; + transform: translate(-50%,-50%); + -webkit-transform: translate(-50%,-50%); + -moz-transform: translate(-50%,-50%); + -ms-transform: translate(-50%,-50%); + -o-transform: translate(-50%,-50%); +} + +.hidden { +display: none; +} + + +// ========== header ========== +header{ + width: 100%; + height: 80px; + position: fixed; + background: #fff; + z-index: 10; + #nav-drawer { + position: relative; + padding-left: 30px; + } + + /*チェックボックス等は非表示に*/ + .nav-unshown { + display:none; + } + + /*アイコンのスペース*/ + #nav-open { + display: inline-block; + width: 80px; + height: 80px; + vertical-align: middle; + @include mq(lg){ + display: none; + } + } + + /*ハンバーガーアイコンをCSSだけで表現*/ + #nav-open span, #nav-open span:before, #nav-open span:after { + position: absolute; + height: 3px;/*線の太さ*/ + width: 25px;/*長さ*/ + border-radius: 3px; + background: $purple; + display: block; + content: ''; + cursor: pointer; + margin-top: 30px; + } + #nav-open span:before { + bottom: -8px; + } + #nav-open span:after { + bottom: -16px; + } + + /*閉じる用の薄黒カバー*/ + #nav-close { + display: none;/*はじめは隠しておく*/ + position: fixed; + z-index: 99; + top: 0;/*全体に広がるように*/ + left: 0; + width: 100%; + height: 100%; + background: black; + opacity: 0; + transition: .3s ease-in-out; + } + + /*中身*/ + @media screen and (max-width:992px) { + #nav-content { + overflow: auto; + position: fixed; + top: 0; + left: 0; + z-index: 9999;/*最前面に*/ + width: 70%;/*右側に隙間を作る(閉じるカバーを表示)*/ + max-width: 330px;/*最大幅(調整してください)*/ + height: 100vh; + background: $purple;/*背景色*/ + transition: .3s ease-in-out;/*滑らかに表示*/ + -webkit-transform: translateX(-105%); + transform: translateX(-105%);/*左に隠しておく*/ + } +} + + /*チェックが入ったらもろもろ表示*/ + #nav-input:checked ~ #nav-close { + display: block;/*カバーを表示*/ + opacity: .5; + } + + #nav-input:checked ~ #nav-content { + -webkit-transform: translateX(0%); + transform: translateX(0%);/*中身を表示(右へスライド)*/ + box-shadow: 6px 0 25px rgba(0,0,0,.15); + } + + + + .left_h{ + width: 60%; + float: left; + @include mq(lg){ + width: 80%; + } + nav{ + ul{ + li{ + list-style: none; + @include mq(lg){ + display: inline-block; + } + a{ + text-decoration: none; + font-size: 1.2rem; + color: #fff; + @include mq(lg){ + color: $textCol; + font-size: 0.5rem; + line-height: 80px; + } + @include mq(xl){ + color: $textCol; + font-size: 0.9rem; + line-height: 80px; + } + h3{ + margin-top: 1rem; + padding-left: 1rem; + cursor: pointer; + &:hover{ + opacity: 0.5; + } + @include mq(lg){ + margin: 0; + } + } + } + } + } + } + + } + .right_h{ + width: 40%; + float: right; + font-weight: bold; + @include mq(lg){ + width: 20%; + } +label { + display: inline-block; + width: 3.7rem; + @include mq(sm){ + width: 5.0rem; + } + text-align: center; + float: right; + color :$textCol; + background: #C3C3C3; + line-height: 80px; + margin-left: 2%; + font-size: 1rem; + cursor :pointer; + a{ + text-decoration: none; + color: $textCol; + } + p{ + cursor: pointer; + &:hover{ + opacity: 0.5; + } + } +} +input { + display: none; +} +ul { + position: absolute; + top: 80px; + right: 0; + width: 3.7rem; + @include mq(sm){ + width: 5.0rem; + } + font-size: 1rem; + margin: 0; + padding: 0; + background :#C3C3C3; + list-style: none; + text-align: center; +} + +li { + height: 0; + overflow: hidden; + -webkit-transition: all 0.5s; + -moz-transition: all 0.5s; + -ms-transition: all 0.5s; + -o-transition: all 0.5s; + transition: all 0.5s; +} + +#type1:checked ~ #links1 li{ + height: 60px; + opacity: 1; + cursor :pointer; + // padding: 0.3rem 0; +} + } +} + + +/* ========== main-visual ========== */ +.main-visual{ + z-index: 0; + width: 100%; + height: 600px; + @include mq(lg){ + height: 800px; + } + background-image: url(../image/header.png); + background-size: cover; + background-position: 82% 60%; + color: #fff; + position: relative; + h1{ + color: #fff; + padding-top: 7rem; + padding-left: 1.5rem; + font-size: 1.4rem; + z-index: 1; + line-height: 4rem; + font-weight: normal; + @include mq(lg){ + padding-top: 10rem; + padding-left: 4rem; + font-size: 2.8rem; + line-height: 7rem; + } + } + #englishTitle{ + line-height: normal; + } + #englishTitle2{ + padding-top: 3rem; + padding-left: 5rem; + } + .br{ + @include mq(lg){ + display: none; + } + } + h3{ + position: absolute; + bottom: 3rem; + right: 3rem; + font-size: 0.8rem; + z-index: 1; + font-weight: normal; + @include mq(lg){ + font-size: 1.3rem; + letter-spacing: 0.5rem; + } + .second_line{ + margin-left: 2rem; + } + .third_line{ + margin-left: 3rem; + } + } +} + + +/* ========== common section title ========== */ +// [id^="nomalContentsTitle"] { + .section_title{ + color: $textCol; + text-align: center; + position: relative; + display: inline-block; + padding-left: 0.2rem; + padding-right: 0.2rem; + margin-top: 6rem; + margin-bottom: 3rem; + font-size: 1.5rem; + @include mq(lg){ + margin-top: 10rem; + margin-bottom: 6rem; + font-size: 3rem; + } +} + +/* ========== aboutus ========== */ +#aboutus p{ + display: block; + background: #E4EBEF; + padding: 1rem 2rem; + @include mq(lg){ + padding: 3rem 6rem; + font-size: 1.2rem; + } +} + +/* ========== works ========== */ +#works { + .frame{ + border: 1px solid #707070; + padding: 3rem 0; + .container{ + display: flex; + flex-wrap: wrap; + justify-content: space-around; + .item{ + position: relative; + display: block; + width: 70%; + @include mq(md){ + width: 40%; + } + margin-bottom: 2rem; + &:before{ + content: ""; + display: block; + padding-top: 100%; + } + img{ + position: absolute; + width: 100%; + height: 100%; + top: 0; + right: 0; + bottom: 0; + left: 0; + margin: auto; + object-fit: cover; + } + } + } + .moreBtn{ + text-align: center; + p{ + text-decoration: none; + color: #363636; + background: #CFCFCF; + display: block; + font-size: 0.8rem; + width: 10rem; + padding: 1.5rem; + margin: 0 auto; + @include mq(lg){ + font-size: 1.5rem; + width: 18rem; + } + cursor: pointer; + &:hover{ + opacity: 0.7; + } + } + } + } +} + +/* ========== curriculum ========== */ +#curriculum { + .bg-gray{ + text-align: center; + background: #E4EBEF; + padding: 1rem 2rem; + p{ + text-align: left; + margin-bottom: 2rem; + @include mq(lg){ + padding: 3rem 6rem; + font-size: 1.2rem; + } + } + img{ + width: 70%; + padding-bottom: 3rem; + } + } +} + +/* ========== studios ========== */ +.bg_blue{ + background: #E4EBEF; + padding: 2rem 0.5rem; +} +#nomalStudios, #englishStudios{ + flex-wrap: wrap; + justify-content: space-around; +} +#nomalStudios > div { + margin: 0.5rem 0; + background: #FFFFFF; + min-height: 3em; + width: 100%; + display: inline-block; + text-align: center; + @include mq(md){ + width: 30%; + } +} +#englishStudios > div { + margin: 0.5rem 0; + background: #FFFFFF; + min-height: 3em; + width: 100%; + display: inline-block; + text-align: center; + @include mq(md){ + width: 30%; + } +} + +.studio-title { + font-weight: bold; + text-decoration: none; + color: #363636; + font-size: 0.8rem; + cursor: pointer; + &:hover{ + opacity: 0.5; + } + @include mq(md){ + font-size: 0.6rem; + } + @include mq(lg){ + font-size: 1rem; + } + @include mq(xl){ + font-size: 1.1rem; + padding: 0.5rem 0; + } +} +.studio-title-en { + margin-left: 1em; + font-weight: 100; + opacity: 0.75; + text-decoration: none; + color: #363636; + font-size: 1rem; + cursor: pointer; + &:hover{ + opacity: 0.5; + } + @include mq(md){ + font-size: 0.6rem; + } + @include mq(lg){ + font-size: 1rem; + } + @include mq(xl){ + font-size: 1.1rem; + padding: 0.5rem 0; + } +} +pre#result { + background-color: #444; + color: #fff; + font-family: monospace; + font-size: 9px; +} + +.studio-photo1,.studio-photo2{ + width: 100%; + height: 6rem; + object-fit: cover; + @include mq(md){ + height: 7rem; + } + @include mq(lg){ + height: 12rem; + } + @include mq(xl){ + height: 15rem; + } +} + +// ========== faculty ========== +#nomalFaculty, #englishFaculty{ + border: 1px solid #707070; + flex-wrap: wrap; + justify-content: space-around; + padding: 1rem 2rem; + color: #2E2E2E; +} +#nomalFaculty > div { + margin: 1em 0; + width: 100%; + height: 9rem; + display: inline-block; + overflow: hidden; + @include mq(md){ + width: 40%; + height: 10rem; + } + @include mq(lg){ + width: 30%; + height: 10rem; + } +} +#englishFaculty > div { + margin: 1em 0; + width: 100%; + height: 9rem; + display: inline-block; + overflow: hidden; + @include mq(md){ + width: 40%; + height: 10rem; + } + @include mq(lg){ + width: 30%; + height: 10rem; + } +} +.text-box{ + width: 67%; + float: left; +} +.faculty-image,.faculty-image-en{ + float: left; + width: 33%; +} +#faculty span{ + display: inline-block; + margin: 0.2rem 1rem; + font-size: 0.5rem; + @include mq(md){ + // font-size: 0.1rem; + } + @include mq(lg){ + font-size: 0.7rem; + } +} +.faculty-name, .faculty-name-en{ + font-weight: bold; +} +#faculty span.faculty-name-2, .faculty-name-en2{ + display: block; +} +.faculty-link a{ + color: #2E2E2E; + text-decoration: none; + &:hover{ + opacity: 0.5; + } +} +.faculty-link-en a{ + color: #2E2E2E; + text-decoration: none; + &:hover{ + opacity: 0.5; + } +} + +// ========== column ========== +#column{ + text-align: center; +} +#nomalLink,#englishLink{ + overflow-x: scroll; + -webkit-overflow-scrolling: touch; + margin: 2rem; +} +#column > div > div{ + width: 10rem; + display: inline-block; + text-align: center; + margin: 2rem; + @include mq(md){ + width: 23rem; + } +} +.link-image{ + width: 10rem; + height: 10rem; + cursor: pointer; + @include mq(md){ + width: 23rem; + height: 23rem; + } +} +.link-title{ + display: inline-block; + color: #2E2E2E; + text-decoration: none; + padding: 0.5rem 0; + cursor: pointer; + &:hover{ + opacity: 0.5; + } + @include mq(md){ + font-size: 1.5rem; + } +} + +/* ========== admission ==========*/ +#admission{ +#nomalAdmissionText, #englishAdmissionText, #easyAdmissionText{//#nomal ,#english ,#easyAdmissionText + padding: 1rem 2rem; + background: #E4EBEF; + @include mq(md){ + padding: 2rem 4rem; + font-size: 1.1rem; + } + @include mq(lg){ + padding: 2rem 4rem; + font-size: 1.2rem; + } + h4{ + padding-bottom: 0.5rem; + } + h5{ + padding: 0.3rem 0 0.1rem; + } + div{ + img{ + display: block; + margin: 0 auto; + margin-bottom: 1rem; + } + } + a{ + color: $textCol; + &:hover{ + opacity: 0.5; + } + } + } +} + +// 問題あり +/* ========== admission ==========*/ +// #nomalAdmissionText ,#englishAdmissionText ,#easyAdmissionText{ +// background: #E4EBEF; +// padding: 50px 100px; +// width: 100%; +// } +// #nomalAdmissionText,#englishAdmissionText,#easyAdmissionText h4{ +// font-size: 1.5rem; +// margin-top: 1rem; +// } +// #nomalAdmissionText,#englishAdmissionText,#easyAdmissionText p, ol, ul{ +// padding-left: 3rem; +// /* padding-bottom: 20px; */ +// } +// #nomalAdmissionText,#englishAdmissionText,#easyAdmissionText > img{ +// display: block; +// // width: 70%; +// margin: 0.3rem auto 1rem; +// } +// #nomalAdmissionText,#englishAdmissionText,#easyAdmissionText a{ +// color: #2E2E2E; +// text-decoration: none; +// } +// #adcontent img{ +// display: block; +// margin: 0.5rem auto 1rem; +// } +// #adcontenten img{ +// display: block; +// margin: 0.5rem auto 1rem; +// } +// #adcontenten a{ +// text-decoration: none; +// color: #2E2E2E; +// } +// #adcontenteas img{ +// display: block; +// margin: 0.5rem auto 1rem; +// } + +/* ========== question ========== */ +#question{ + >div{ + padding: 1rem 2rem; + background: #E4EBEF; + @include mq(md){ + padding: 2rem 4rem; + font-size: 1.1rem; + } + @include mq(lg){ + padding: 2rem 4rem; + font-size: 1.3rem; + } + a{ + cursor: pointer; + &:hover{ + opacity: 0.5; + } + } + } +} + + + +// #question #nomalQText,#englishQText,#easyQText{ +// background: #E4EBEF; +// padding: 3rem 5rem; +// h4{ +// margin-top: 1rem; +// } +// a{ +// text-decoration: none; +// color: #2E2E2E; +// &:hover{ +// opacity: 0.5; +// } +// } +// } + +// ========== access ========= +#access{ + iframe{ + width: 100%; + height: 400px + } +} + +// ========== AcText ========== +#nomalAcText, #englishAcText, #easyAcText{ + padding: 2rem 3rem; + color: #2E2E2E; + ul{ + list-style: none; + li{ + p{ + font-size: 0.5rem; + @include mq(lg){ + font-size: 1.2rem; + } + } + } + } + h4, > p{ + padding-left: 3rem; + @include mq(lg){ + font-size: 1.2rem; + } + } + h4{ + padding-top: 0.3rem; + @include mq(lg){ + font-size: 1.2rem; + } + } +} + + +/* ========== footer ========== */ +footer{ + width: 100%; + background: #2B2845; + padding: 1rem 0; + p{ + text-align: center!important; + color: #FFFFFF; + margin-bottom: 0.3rem; + @include mq(lg){ + font-size: 1.2rem; + } + } +} \ No newline at end of file diff --git a/docs/sass/visual.css b/docs/sass/visual.css new file mode 100644 index 0000000..c940909 --- /dev/null +++ b/docs/sass/visual.css @@ -0,0 +1,376 @@ +@charset "UTF-8"; +body { + font-family: sans-serif; + font-size: 20px; +} + +.wrap { + overflow: hidden; +} + +#showloading { + width: 100%; + height: 100vh; + background-color: #000000; + position: relative; +} + +#showloading img { + position: absolute; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); + -webkit-transform: translate(-50%, -50%); + -moz-transform: translate(-50%, -50%); + -ms-transform: translate(-50%, -50%); + -o-transform: translate(-50%, -50%); +} + +.hidden { + display: none; +} + +/*========== header nav ==========*/ +header { + position: fixed; + top: 0; + background: #fff; + width: 100%; + height: 80px; + z-index: 10; +} + +header .left_h { + width: 80%; + height: 80px; + float: left; +} + +header .left_h nav ul { + padding-left: 50px; +} + +header .left_h nav ul li { + list-style: none; + display: inline-block; +} + +header .left_h nav ul li a { + text-decoration: none; + color: #363636; + line-height: 80px; + display: block; + padding: 0 0.5rem; + font-size: 1.0rem; +} + +@media screen and (max-width: 1310px) { + header .left_h nav ul li a { + font-size: 0.75rem; + padding: 0 0.3rem; + } +} + +@media screen and (max-width: 992px) { + header .left_h nav ul li a { + font-size: 0.7rem; + } +} + +header .left_h nav ul li a:hover { + opacity: 0.5; +} + +header .right_h { + width: 20%; + height: 80px; + float: right; + text-align: center; + position: relative; +} + +header label { + display: inline-block; + float: right; + margin-left: 5px; + width: 7rem; + line-height: 80px; + color: #000; + background: #C3C3C3; + cursor: pointer; +} + +@media screen and (max-width: 1310px) { + header label { + width: 5.5rem; + } +} + +header input { + display: none; +} + +header .right_h ul { + position: absolute; + top: 80px; + right: 0; + width: 8rem; + margin: 0; + padding: 0; + background: #C3C3C3; + list-style: none; +} + +header .right_h li { + height: 0; + overflow: hidden; + -webkit-transition: all 0.5s; + -moz-transition: all 0.5s; + -ms-transition: all 0.5s; + -o-transition: all 0.5s; + transition: all 0.5s; +} + +header #type1:checked ~ #links1 li, +header #type2:checked ~ #links2 li { + height: 70px; + opacity: 1; + cursor: pointer; +} + +.wraper { + min-height: 90vh; +} + +section { + background: #E4EBEF; + padding: 5rem; +} + +section .first_box { + width: 100%; + overflow: hidden; + margin-bottom: 2rem; +} + +section .first_box #nomalStudios, section .first_box #englishStudios { + width: 330px; + float: right; + text-align: right; +} + +@media screen and (max-width: 768px) { + section .first_box #nomalStudios, section .first_box #englishStudios { + float: none; + } +} + +section .first_box #nomalStudios > div, section .first_box #englishStudios > div { + width: 50px; + height: 50px; + display: inline-block; + text-align: center; + border: solid 3px #E4EBEF; +} + +section .first_box #nomalStudios > div .studio-image, section .first_box #nomalStudios > div .studio-image-en, section .first_box #englishStudios > div .studio-image, section .first_box #englishStudios > div .studio-image-en { + width: 42px; + height: 42px; +} + +/*吹き出し*/ +section .first_box #nomalStudios > div,section .first_box #englishStudios > div{ + display: inline-block; +} + +/* ツールチップ部分を隠す */ +section .first_box #nomalStudios > div span ,section .first_box #englishStudios > div span{ + display: none; +} + +/* マウスオーバー */ +section .first_box #nomalStudios > div:hover, section .first_box #englishStudios > div:hover { + position: relative; + color: #333; +} + +/* マウスオーバー時にツールチップを表示 */ +section .first_box #nomalStudios > div:hover span,section .first_box #englishStudios > div:hover span { + display: block; /* ボックス要素にする */ + position: absolute; + top: 25px; + right:40px; + font-size: 65%; + color: #fff; + background-color: rgb(53, 61, 104); + width: 190px; + padding: 5px; + border-radius:3px; + z-index:100; +} + +section .first_box #nomalStudios > div span:before,section .first_box #englishStudios > div span:before{ + content:''; + display:block; + position:absolute; /* relativeからの絶対位置 */ + height:0; + width:0; + top:0px; + right:-2px; + border:10px transparent solid; + border-right-width:0; + border-left-color:rgb(53, 61, 104); + transform:rotate(90deg); + z-index:100; +} +/*吹き出しここまで*/ + +section .first_box h1 { + font-size: 2rem; +} + +section .second_box { + width: 100%; + overflow: hidden; + margin-bottom: 2rem; + /* サムネイル */ +} + +section .second_box .right_box { + width: 30%; +} + +section .second_box .right_box h3 { + font-size: 2rem; + margin-bottom: 2rem; +} + +section .second_box .right_box h5 { + font-size: 1.5rem; +} + +section .second_box .cp_cssslider { + width: 65%; + padding-top: 650px; + /* 画像の高さ */ + position: relative; + text-align: center; +} + +@media screen and (max-width: 1025px) { + section .second_box .cp_cssslider { + padding-top: 450px; + } +} + +@media screen and (max-width: 992px) { + section .second_box .cp_cssslider { + padding-top: 400px; + } +} + +section .second_box .cp_cssslider > img { + width: 100%; + position: absolute; + left: 0; + top: 0; + transition: all 0.5s; + border-radius: 3px; + box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.3); +} + +section .second_box .cp_cssslider input[name='cp_switch'] { + display: none; +} + +section .second_box .cp_cssslider label { + margin: 15px 5px 0 5px; + border: 2px solid #ffffff; + display: inline-block; + cursor: pointer; + transition: all 0.5s ease; + opacity: 0.6; + border-radius: 3px; +} + +section .second_box .cp_cssslider label:hover { + opacity: 0.9; +} + +section .second_box .cp_cssslider label img { + display: block; + width: 100px; + height: 80px; + border-radius: 2px; +} + +section .second_box .cp_cssslider input[name='cp_switch']:checked + label { + border: 2px solid #FF7043; + opacity: 1; +} + +section .second_box .cp_cssslider input[name='cp_switch'] ~ img { + opacity: 0; +} + +section .second_box .cp_cssslider input[name='cp_switch']:checked + label + img { + opacity: 1; +} + +.faculty_title { + float: left; +} + +@media screen and (max-width: 576px) { + .faculty_title { + float: none; + } +} + +.right_box { + float: right; + text-align: right; +} + +@media screen and (max-width: 768px) { + .right_box { + float: none; + text-align: left; + width: 40%; + font-size: 4rem; + } +} + +p { + width: 80%; + margin: 0 auto; +} + +a.toTop { + position: fixed; + bottom: 2rem; + right: 2rem; + background: #2B2845; + color: #FFFFFF; + text-align: center; + width: 12rem; + padding: 1.0rem 0.3rem; + text-decoration: none; +} + +a.toTop:hover { + opacity: 0.5; +} + +/* ========== footer ========== */ +footer { + width: 100%; + background: #2B2845; + padding: 1rem 0; +} + +footer > p { + text-align: center !important; + color: #FFFFFF; + margin-bottom: 0.3rem; +} diff --git a/docs/sass/visual.min.css b/docs/sass/visual.min.css new file mode 100644 index 0000000..aefad0d --- /dev/null +++ b/docs/sass/visual.min.css @@ -0,0 +1 @@ +body{font-family:sans-serif;font-size:20px}.wrap{overflow:hidden}#showloading{width:100%;height:100vh;background-color:#073a49;position:relative}#showloading img{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);-webkit-transform:translate(-50%, -50%);-moz-transform:translate(-50%, -50%);-ms-transform:translate(-50%, -50%);-o-transform:translate(-50%, -50%)}.hidden{display:none}header{position:fixed;top:0;background:#fff;width:100%;height:80px;z-index:10}header .left_h{width:80%;height:80px;float:left}header .left_h nav ul{padding-left:50px}header .left_h nav ul li{list-style:none;display:inline-block}header .left_h nav ul li a{text-decoration:none;color:#363636;line-height:80px;display:block;padding:0 0.5rem;font-size:1.0rem}@media screen and (max-width: 1310px){header .left_h nav ul li a{font-size:0.75rem;padding:0 0.3rem}}@media screen and (max-width: 992px){header .left_h nav ul li a{font-size:0.7rem}}header .left_h nav ul li a:hover{opacity:0.5}header .right_h{width:20%;height:80px;float:right;text-align:center;position:relative}header label{display:inline-block;float:right;margin-left:5px;width:7rem;line-height:80px;color:#000;background:#C3C3C3;cursor:pointer}@media screen and (max-width: 1310px){header label{width:5.5rem}}header input{display:none}header .right_h ul{position:absolute;top:80px;right:0;width:8rem;margin:0;padding:0;background:#C3C3C3;list-style:none}header .right_h li{height:0;overflow:hidden;-webkit-transition:all 0.5s;-moz-transition:all 0.5s;-ms-transition:all 0.5s;-o-transition:all 0.5s;transition:all 0.5s}header #type1:checked ~ #links1 li,header #type2:checked ~ #links2 li{height:70px;opacity:1;cursor:pointer}.wraper{min-height:90vh}section{background:#E4EBEF;padding:5rem}section .first_box{width:100%;overflow:hidden;margin-bottom:2rem}section .first_box #nomalStudios,section .first_box #englishStudios{width:330px;float:right;text-align:right}@media screen and (max-width: 768px){section .first_box #nomalStudios,section .first_box #englishStudios{float:none}}section .first_box #nomalStudios>div,section .first_box #englishStudios>div{width:50px;height:50px;display:inline-block;text-align:center}section .first_box #nomalStudios>div .studio-image,section .first_box #nomalStudios>div .studio-image-en,section .first_box #englishStudios>div .studio-image,section .first_box #englishStudios>div .studio-image-en{width:42px;height:42px}section .first_box h1{font-size:2rem}section .second_box{width:100%;overflow:hidden;margin-bottom:2rem}section .second_box .right_box{width:30%}section .second_box .right_box h3{font-size:2rem;margin-bottom:2rem}section .second_box .right_box h5{font-size:1.5rem}section .second_box .cp_cssslider{width:65%;padding-top:650px;position:relative;text-align:center}@media screen and (max-width: 1025px){section .second_box .cp_cssslider{padding-top:450px}}@media screen and (max-width: 992px){section .second_box .cp_cssslider{padding-top:400px}}section .second_box .cp_cssslider>img{width:100%;position:absolute;left:0;top:0;transition:all 0.5s;border-radius:3px;box-shadow:0px 0px 5px 0px rgba(0,0,0,0.3)}section .second_box .cp_cssslider input[name='cp_switch']{display:none}section .second_box .cp_cssslider label{margin:15px 5px 0 5px;border:2px solid #ffffff;display:inline-block;cursor:pointer;transition:all 0.5s ease;opacity:0.6;border-radius:3px}section .second_box .cp_cssslider label:hover{opacity:0.9}section .second_box .cp_cssslider label img{display:block;width:100px;height:80px;border-radius:2px}section .second_box .cp_cssslider input[name='cp_switch']:checked+label{border:2px solid #FF7043;opacity:1}section .second_box .cp_cssslider input[name='cp_switch'] ~ img{opacity:0}section .second_box .cp_cssslider input[name='cp_switch']:checked+label+img{opacity:1}.faculty_title{float:left}@media screen and (max-width: 576px){.faculty_title{float:none}}.right_box{float:right;text-align:right}@media screen and (max-width: 768px){.right_box{float:none;text-align:left;width:40%;font-size:4rem}}p{width:80%;margin:0 auto}a.toTop{position:fixed;bottom:2rem;right:2rem;background:#2B2845;color:#FFFFFF;text-align:center;width:12rem;padding:1.0rem 0.3rem;text-decoration:none}a.toTop:hover{opacity:0.5}footer{width:100%;background:#2B2845;padding:1rem 0}footer>p{text-align:center !important;color:#FFFFFF;margin-bottom:0.3rem} diff --git a/docs/sass/visual.scss b/docs/sass/visual.scss new file mode 100644 index 0000000..4b02a75 --- /dev/null +++ b/docs/sass/visual.scss @@ -0,0 +1,297 @@ +$breakpoints: ( + 'sm': 'screen and (max-width: 576px)', + 'md': 'screen and (max-width: 768px)', + 'lg': 'screen and (max-width: 992px)', + // header用 + 'xl': 'screen and (max-width: 1310px)', +) !default; + +//メディアクエリ用のmixinを定義。デフォ値はmd +@mixin mq($breakpoint: md) { +//map-get(マップ型変数, キー)で値を取得 + @media ( max-width: #{map-get($breakpoints, $breakpoint)} ) { + @content; + } +} + +// ==================== + +body { + font-family: sans-serif; + font-size: 20px; +} +.wrap{ + overflow: hidden; +} + +#showloading { +width: 100%; +height: 100vh; +background-color: #073a49; +position: relative; +} + +#showloading img { + position: absolute; + top: 50%; + left: 50%; + transform: translate(-50%,-50%); + -webkit-transform: translate(-50%,-50%); + -moz-transform: translate(-50%,-50%); + -ms-transform: translate(-50%,-50%); + -o-transform: translate(-50%,-50%); +} + +.hidden { +display: none; +} + +/*========== header nav ==========*/ +header { + position: fixed; + top: 0; + background: #fff; + width: 100%; + height: 80px; + z-index: 10; + .left_h{ + width: 80%; + height: 80px; + float: left; + nav{ + ul { + padding-left: -50px; + li{ + list-style: none; + display: inline-block; + font-size: 1.0rem; + @include mq(xl){ + font-size: 0.65rem; + // padding: 0 0.3rem; + } + @include mq(lg){ + font-size: 0.6rem; + } + a{ + text-decoration: none; + color: #363636; + line-height: 80px; + display: block; + padding: 0 0.5rem; + // font-size: 1.0rem; + @include mq(xl){ + // font-size: 0.75rem; + padding: 0 0.3rem; + } + @include mq(lg){ + // font-size: 0.7rem; + } + &:hover{ + opacity: 0.5; + } + } + } + } + } + } + +.right_h{ + width: 20%; + height: 80px; + float: right; + text-align: center; + position: relative; +} +label { + display: inline-block; + float: right; + margin-left: 5px; + width: 7rem; + @include mq(xl){ + width: 5.5rem; + } + line-height: 80px; + // margin: 0 0 4px 0; + // padding : 15px; + // line-height: 1; + color :#000; + background: #C3C3C3; + cursor :pointer; + +} + +input { + display: none; +} +.right_h ul { + position: absolute; + top: 80px; + right: 0; + width: 7rem; + @include mq(xl){ + width: 5.5rem; + } + margin: 0; + padding: 0; + background :#C3C3C3; + list-style: none; +} + +.right_h li { + height: 0; + overflow: hidden; + -webkit-transition: all 0.5s; + -moz-transition: all 0.5s; + -ms-transition: all 0.5s; + -o-transition: all 0.5s; + transition: all 0.5s; +} + +#type1:checked ~ #links1 li{ + height: 70px; + opacity: 1; + cursor :pointer; + // padding: 0.3rem 0; +} + +} +// button +// .open{ +// margin-top: 80px; +// } + + +.wraper{ + min-height: 90vh; +} + +// section{ +// background: #E4EBEF; +// padding: 5rem; + +// .second_box{ +// width: 100%; +// overflow: hidden; +// margin-bottom: 2rem; +// .right_box{ +// width: 30%; +// h3{ +// font-size: 2rem; +// margin-bottom: 2rem; +// } +// h5{ +// font-size: 1.5rem; +// } +// } +// // .left_box{ +// // width: 70%; +// // margin-bottom: 2rem; +// // img{ +// // width: 100%; +// // } +// // } +// .cp_cssslider { +// width: 65%; +// padding-top: 650px; /* 画像の高さ */ +// @include mq(lg2){ +// padding-top: 450px; +// } +// @include mq(lg){ +// padding-top: 400px; +// } +// position: relative; +// // margin: 2em auto; +// text-align: center; +// } +// .cp_cssslider > img { +// width: 100%; +// position: absolute; +// left: 0; +// top: 0; +// transition: all 0.5s; +// border-radius: 3px; +// box-shadow:0px 0px 5px 0px rgba(0,0,0,0.3); +// } +// .cp_cssslider input[name='cp_switch'] { +// display: none; +// } +// /* サムネイル */ +// .cp_cssslider label { +// margin: 15px 5px 0 5px; +// border: 2px solid #ffffff; +// display: inline-block; +// cursor: pointer; +// transition: all 0.5s ease; +// opacity: 0.6; +// border-radius: 3px; +// } +// .cp_cssslider label:hover { +// opacity: 0.9; +// } +// .cp_cssslider label img { +// display: block; +// width: 100px; +// height: 80px; +// border-radius: 2px; +// } +// .cp_cssslider input[name='cp_switch']:checked + label { +// border: 2px solid #FF7043; +// opacity: 1; +// } +// .cp_cssslider input[name='cp_switch'] ~ img { +// opacity: 0; +// } +// .cp_cssslider input[name='cp_switch']:checked + label + img { +// opacity: 1; +// } +// } +// } +// .faculty_title{ +// float: left; +// @include mq(sm){ +// float: none; +// } +// } + +// .right_box{ +// float: right; +// text-align: right; +// @include mq(md){ +// float: none; +// text-align: left; +// width: 40%; +// font-size: 4rem; +// } +// } +// p{ +// width: 80%; +// margin: 0 auto; +// } + +// ========== toTop ========== +a.toTop{ + position: fixed; + bottom: 2rem; + right: 2rem; + background: #2B2845; + color: #FFFFFF; + text-align: center; + width: 12rem; + padding: 1.0rem 0.3rem; + text-decoration: none; + &:hover{ + opacity: 0.5; + } +} + +/* ========== footer ========== */ +footer{ + width: 100%; + background: #2B2845; + padding: 1rem 0; + >p{ + text-align: center!important; + color: #FFFFFF; + margin-bottom: 0.3rem; + } +} \ No newline at end of file diff --git a/docs/sass/work.css b/docs/sass/work.css new file mode 100644 index 0000000..566a312 --- /dev/null +++ b/docs/sass/work.css @@ -0,0 +1,1092 @@ +@charset "UTF-8"; +body { + font-family: 'Hiragino Kaku Gothic ProN','ヒラギノ角ゴ ProN W3',sans-serif; + font-size: 10px; + font-weight: normal; +} + +@media screen and (min-width: 992px) { + body { + font-size: 12px; + } +} + +.wrap { + overflow: hidden; +} + + +#showloading { + width: 100%; + height: 100vh; + background-color: #000000; + position: fixed; + z-index: 20; +} + +#showloading img { + position: fixed; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); + -webkit-transform: translate(-50%, -50%); + -moz-transform: translate(-50%, -50%); + -ms-transform: translate(-50%, -50%); + -o-transform: translate(-50%, -50%); + z-index: 20; +} + +.fadeout-bg { + transition-property: opacity; + transition-delay: .3s; + transition-duration: .2s; + opacity: 0; + pointer-events: none; +} + +.hidden { + display: none; +} +header { + width: 100%; + height: 80px; + position: fixed; + background: #fff; + z-index: 10; + /*チェックボックス等は非表示に*/ + /*アイコンのスペース*/ + /*ハンバーガーアイコンをCSSだけで表現*/ + /*閉じる用の薄黒カバー*/ + /*中身*/ + /*チェックが入ったらもろもろ表示*/ +} + +header #nav-drawer { + position: relative; + padding-left: 30px; +} + +header .nav-unshown { + display: none; +} + +header #nav-open { + display: inline-block; + width: 80px; + height: 80px; + vertical-align: middle; +} + +@media screen and (min-width: 992px) { + header #nav-open { + display: none; + } +} + +header #nav-open span, header #nav-open span:before, header #nav-open span:after { + position: absolute; + height: 3px; + /*線の太さ*/ + width: 25px; + /*長さ*/ + border-radius: 3px; + background: #2B2845; + display: block; + content: ''; + cursor: pointer; + margin-top: 30px; +} + +header #nav-open span:before { + bottom: -8px; +} + +header #nav-open span:after { + bottom: -16px; +} + +header #nav-close { + display: none; + /*はじめは隠しておく*/ + position: fixed; + z-index: 99; + top: 0; + /*全体に広がるように*/ + left: 0; + width: 100%; + height: 100%; + background: black; + opacity: 0; + transition: .3s ease-in-out; +} + +@media screen and (max-width: 992px) { + header #nav-content { + overflow: auto; + position: fixed; + top: 0; + left: 0; + z-index: 9999; + /*最前面に*/ + width: 70%; + /*右側に隙間を作る(閉じるカバーを表示)*/ + max-width: 330px; + /*最大幅(調整してください)*/ + height: 100vh; + background: #2B2845; + /*背景色*/ + transition: .3s ease-in-out; + /*滑らかに表示*/ + -webkit-transform: translateX(-105%); + transform: translateX(-105%); + /*左に隠しておく*/ + } +} + +header #nav-input:checked ~ #nav-close { + display: block; + /*カバーを表示*/ + opacity: .5; +} + +header #nav-input:checked ~ #nav-content { + -webkit-transform: translateX(0%); + transform: translateX(0%); + /*中身を表示(右へスライド)*/ + box-shadow: 6px 0 25px rgba(0, 0, 0, 0.15); +} + +header .left_h { + width: 60%; + float: left; +} + +@media screen and (min-width: 992px) { + header .left_h { + width: 80%; + } +} + +header .left_h nav ul li { + list-style: none; +} + +@media screen and (min-width: 992px) { + header .left_h nav ul li { + display: inline-block; + } +} + +header .left_h nav ul li a { + text-decoration: none; + font-size: 1.2rem; + color: #fff; +} + +@media screen and (min-width: 992px) { + header .left_h nav ul li a { + color: #363636; + font-size: 0.5rem; + line-height: 80px; + } +} + +@media screen and (min-width: 1200px) { + header .left_h nav ul li a { + color: #363636; + font-size: 0.9rem; + line-height: 80px; + } +} + +header .left_h nav ul li a h3 { + margin-top: 1rem; + padding-left: 1rem; + cursor: pointer; +} + +header .left_h nav ul li a h3:hover { + opacity: 0.5; +} + +@media screen and (min-width: 992px) { + header .left_h nav ul li a h3 { + margin: 0; + } +} + +header .right_h { + width: 40%; + float: right; + font-weight: bold; +} + +@media screen and (min-width: 992px) { + header .right_h { + width: 20%; + } +} + +header .right_h label { + display: inline-block; + width: 3.7rem; + text-align: center; + float: right; + color: #363636; + background: #C3C3C3; + line-height: 80px; + margin-left: 2%; + cursor: pointer; +} + +@media screen and (min-width: 576px) { + header .right_h label { + width: 5.0rem; + } +} + +header .right_h label a { + text-decoration: none; + color: #363636; +} + +header .right_h input { + display: none; +} + +header .right_h ul { + position: absolute; + top: 80px; + right: 0; + width: 3.7rem; + font-size: 1rem; + margin: 0; + padding: 0; + background: #C3C3C3; + list-style: none; + text-align: center; +} + +@media screen and (min-width: 576px) { + header .right_h ul { + width: 5.0rem; + } +} + +header .right_h li { + height: 0; + overflow: hidden; + -webkit-transition: all 0.5s; + -moz-transition: all 0.5s; + -ms-transition: all 0.5s; + -o-transition: all 0.5s; + transition: all 0.5s; +} + +header .right_h #type1:checked ~ #links1 li { + height: 60px; + opacity: 1; + cursor: pointer; +} + +.bg-purple { + background: #2B2845; + padding: 2rem 3rem; +} + +.bg-purple h1, .bg-purple p { + color: #fff; +} + +.bg-purple h1 { + padding-bottom: 1rem; +} + +@media screen and (min-width: 768px) { + .bg-purple h1 { + font-size: 1.2rem; + } +} + +@media screen and (min-width: 992px) { + .bg-purple h1 { + font-size: 1.4rem; + } +} + +@media screen and (min-width: 768px) { + .bg-purple p { + font-size: 0.9rem; + } +} + +@media screen and (min-width: 992px) { + .bg-purple p { + font-size: 1.1rem; + } +} + +.grade-title { + padding: 2rem 3rem 1rem; + font-size: 1.2rem; +} + +#works1, #works2, #works3 { + padding: 2rem 2rem; + background: #E4EBEF; +} + +#works1 .mainVisual, #works2 .mainVisual, #works3 .mainVisual { + display: block; + width: 45%; + margin-bottom: 1rem; +} + +@media screen and (min-width: 768px) { + #works1 .mainVisual, #works2 .mainVisual, #works3 .mainVisual { + width: 30%; + } +} + +@media screen and (min-width: 992px) { + #works1 .mainVisual, #works2 .mainVisual, #works3 .mainVisual { + margin-bottom: 2rem; + } +} + +#works1 .mainVisual img, #works2 .mainVisual img, #works3 .mainVisual img { + width: 100%; +} + +#works3 p { + margin-bottom: 2rem; + font-size: 0.3rem; +} + +@media screen and (min-width: 768px) { + #works3 p { + font-size: 1.2rem; + } +} + +html, body, .wrapper { + width: 100%; + height: 100%; +} + +body { + color: #333; +} + +.wrapper { + display: flex; + flex-wrap: wrap; + justify-content: space-around; +} + +img { + max-width: 100%; + height: auto; +} + +.flex { + display: flex; +} + +.flex.center { + align-items: center; + justify-content: center; +} + +.content { + max-width: 1080px; + width: 92%; + margin: 3em auto; +} + +.content .ttl { + margin-bottom: 0.5em; + padding-bottom: 0.25em; + font-size: 2em; + font-weight: bold; + line-height: 1.3; + border-bottom: 1px solid #dedede; +} + +.content p { + margin-bottom: 1em; + line-height: 1.7; +} + +.modalCheck { + display: none; +} + +.mainVisual.main1 .btn { + width: 100%; +} + +.mainVisual.main1 .btn img { + width: 100%; +} + +.mainVisual.main2 .btn { + width: 100%; +} + +.mainVisual.main2 .btn img { + width: 100%; +} + +.mainVisual.main3 .btn { + width: 100%; +} + +.mainVisual.main3 .btn img { + width: 100%; +} + +.mainVisual.main4 .btn { + width: 100%; +} + +.mainVisual.main4 .btn img { + width: 100%; +} + +.mainVisual.main5 .btn { + width: 100%; +} + +.mainVisual.main5 .btn img { + width: 100%; +} + +.mainVisual.main6 .btn { + width: 100%; +} + +.mainVisual.main6 .btn img { + width: 100%; +} + +.mainVisual.main7 .btn { + width: 100%; +} + +.mainVisual.main7 .btn img { + width: 100%; +} + +.mainVisual.main8 .btn { + width: 100%; +} + +.mainVisual.main8 .btn img { + width: 100%; +} + +.mainVisual.main9 .btn { + width: 100%; +} + +.mainVisual.main9 .btn img { + width: 100%; +} + +.mainVisual.main10 .btn { + width: 100%; +} + +.mainVisual.main10 .btn img { + width: 100%; +} + +.mainVisual.main11 .btn { + width: 100%; +} + +.mainVisual.main11 .btn img { + width: 100%; +} + +.mainVisual.main12 .btn { + width: 100%; +} + +.mainVisual.main12 .btn img { + width: 100%; +} + +.mainVisual.main13 .btn { + width: 100%; +} + +.mainVisual.main13 .btn img { + width: 100%; +} + +.mainVisual.main14 .btn { + width: 100%; +} + +.mainVisual.main14 .btn img { + width: 100%; +} + +.mainVisual.main15 .btn { + width: 100%; +} + +.mainVisual.main15 .btn img { + width: 100%; +} + +.mainVisual.main16 .btn { + width: 100%; +} + +.mainVisual.main16 .btn img { + width: 100%; +} + +.mainVisual.main17 .btn { + width: 100%; +} + +.mainVisual.main17 .btn img { + width: 100%; +} + +.mainVisual.main18 .btn { + width: 100%; +} + +.mainVisual.main18 .btn img { + width: 100%; +} + +.mainVisual.main19 .btn { + width: 100%; +} + +.mainVisual.main19 .btn img { + width: 100%; +} + +.mainVisual.main20 .btn { + width: 100%; +} + +.mainVisual.main20 .btn img { + width: 100%; +} + +.mainVisual.main21 .btn { + width: 100%; +} + +.mainVisual.main21 .btn img { + width: 100%; +} + +.mainVisual.main22 .btn { + width: 100%; +} + +.mainVisual.main22 .btn img { + width: 100%; +} + +.mainVisual.main23 .btn { + width: 100%; +} + +.mainVisual.main23 .btn img { + width: 100%; +} + +.mainVisual.main24 .btn { + width: 100%; +} + +.mainVisual.main24 .btn img { + width: 100%; +} + +.mainVisual.main25 .btn { + width: 100%; +} + +.mainVisual.main25 .btn img { + width: 100%; +} + +.mainVisual.main26 .btn { + width: 100%; +} + +.mainVisual.main26 .btn img { + width: 100%; +} + +.mainVisual.main27 .btn { + width: 100%; +} + +.mainVisual.main27 .btn img { + width: 100%; +} + +.mainVisual.main28 .btn { + width: 100%; +} + +.mainVisual.main28 .btn img { + width: 100%; +} + +.mainVisual.main29 .btn { + width: 100%; +} + +.mainVisual.main29 .btn img { + width: 100%; +} + +.mainVisual.main30 .btn { + width: 100%; +} + +.mainVisual.main30 .btn img { + width: 100%; +} + +.mainVisual.main31 .btn { + width: 100%; +} + +.mainVisual.main31 .btn img { + width: 100%; +} + +.mainVisual.main32 .btn { + width: 100%; +} + +.mainVisual.main32 .btn img { + width: 100%; +} + +.mainVisual.main33 .btn { + width: 100%; +} + +.mainVisual.main33 .btn img { + width: 100%; +} + +.mainVisual.main34 .btn { + width: 100%; +} + +.mainVisual.main34 .btn img { + width: 100%; +} + +.mainVisual.main35 .btn { + width: 100%; +} + +.mainVisual.main35 .btn img { + width: 100%; +} + +.mainVisual.main36 .btn { + width: 100%; +} + +.mainVisual.main36 .btn img { + width: 100%; +} + +.mainVisual .main11 img { + width: 25rem; +} + +label { + cursor: pointer; +} + +.btn { + text-align: center; +} + +.btn label { + display: inline-block; + transition: 0.3s cubic-bezier(1, 0, 0, 1); +} + +.btn label:hover { + opacity: 0.5; +} + +.modalWrap, .modalBg { + position: fixed; + top: 0; + left: 0; + right: 0; + bottom: 0; + width: 100%; + height: 100%; + margin: auto; + z-index: 10; +} + +.modalWrap { + opacity: 0; + visibility: hidden; + transition: 0.3s cubic-bezier(1, 0, 0, 1); + transition-property: opacity; + will-change: opacity; +} + +.modalBg { + cursor: pointer; + opacity: 0.7; + background-color: #000; + z-index: 2; +} + +.modalBg label { + position: absolute; + top: 0; + left: 0; + right: 0; + bottom: 0; + display: block; +} + +.modalCon { + position: absolute; + top: 5%; + left: 0; + right: 0; + width: 92%; + max-width: 60rem; + height: 86%; + margin: auto; + z-index: 3; +} + +.modalInner { + overflow: auto; + -webkit-overflow-scrolling: touch; + position: relative; + height: 100%; + padding: 0 1.5em 1.5em; + cursor: default; + background-color: #fff; + border-radius: 5px; + box-shadow: 0px 0px 12px 0px rgba(0, 0, 0, 0.3); + background: #E4EBEF; +} + +.modalCloseBtn { + position: absolute; + top: 0; + right: 0; +} + +.modalCloseBtn label { + display: inline-block; + padding-right: 0.5em; + color: #333; + text-decoration: none; + font-size: 2.5rem; +} +.modalCloseBtn label:hover { + opacity: 0.5; +} + +.modalCheck:not(:checked) ~ .wrapper > *:not(.modalWrap) { + filter: blur(0px); +} + +.modalCheck:not(:checked) ~ .wrapper .modalWrap { + opacity: 0; + visibility: hidden; +} + +.smallbtn { + margin-top: 2rem; + text-align: center; +} + +.smallbtn label { + display: block; + background: #2B2845; + color: #fff; + width: 50%; + padding: 1rem 0; + margin: 0 auto; + margin-top: 2rem; + border-radius: 2px; + -webkit-border-radius: 2px; + -moz-border-radius: 2px; + -ms-border-radius: 2px; + -o-border-radius: 2px; +} + +.smallbtn label:hover { + opacity: 0.5; +} + +@media screen and (min-width: 992px) { + .smallbtn label { + font-size: 1.2rem; + } +} + +.modalCheck:checked ~ .wrapper > *:not(.modalWrap) { + filter: blur(3px); +} + +#modal00:checked ~ .wrapper #modal00Con { + opacity: 1; + visibility: visible; +} + +#modal01:checked ~ .wrapper #modal01Con { + opacity: 1; + visibility: visible; +} + +#modal02:checked ~ .wrapper #modal02Con { + opacity: 1; + visibility: visible; +} + +#modal03:checked ~ .wrapper #modal03Con { + opacity: 1; + visibility: visible; +} + +#modal04:checked ~ .wrapper #modal04Con { + opacity: 1; + visibility: visible; +} + +#modal05:checked ~ .wrapper #modal05Con { + opacity: 1; + visibility: visible; +} + +#modal06:checked ~ .wrapper #modal06Con { + opacity: 1; + visibility: visible; +} + +#modal07:checked ~ .wrapper #modal07Con { + opacity: 1; + visibility: visible; +} + +#modal08:checked ~ .wrapper #modal08Con { + opacity: 1; + visibility: visible; +} + +#modal09:checked ~ .wrapper #modal09Con { + opacity: 1; + visibility: visible; +} + +#modal10:checked ~ .wrapper #modal10Con { + opacity: 1; + visibility: visible; +} + +#modal11:checked ~ .wrapper #modal11Con { + opacity: 1; + visibility: visible; +} + +#modal12:checked ~ .wrapper #modal12Con { + opacity: 1; + visibility: visible; +} + +#modal13:checked ~ .wrapper #modal13Con { + opacity: 1; + visibility: visible; +} + +#modal14:checked ~ .wrapper #modal14Con { + opacity: 1; + visibility: visible; +} + +#modal15:checked ~ .wrapper #modal15Con { + opacity: 1; + visibility: visible; +} + +#modal16:checked ~ .wrapper #modal16Con { + opacity: 1; + visibility: visible; +} + +#modal17:checked ~ .wrapper #modal17Con { + opacity: 1; + visibility: visible; +} + +#modal18:checked ~ .wrapper #modal18Con { + opacity: 1; + visibility: visible; +} + +#modal19:checked ~ .wrapper #modal19Con { + opacity: 1; + visibility: visible; +} + +#modal20:checked ~ .wrapper #modal20Con { + opacity: 1; + visibility: visible; +} + +#modal21:checked ~ .wrapper #modal21Con { + opacity: 1; + visibility: visible; +} + +#modal22:checked ~ .wrapper #modal22Con { + opacity: 1; + visibility: visible; +} + +#modal23:checked ~ .wrapper #modal23Con { + opacity: 1; + visibility: visible; +} + +#modal24:checked ~ .wrapper #modal24Con { + opacity: 1; + visibility: visible; +} + +#modal25:checked ~ .wrapper #modal25Con { + opacity: 1; + visibility: visible; +} + +#modal26:checked ~ .wrapper #modal26Con { + opacity: 1; + visibility: visible; +} + +#modal27:checked ~ .wrapper #modal27Con { + opacity: 1; + visibility: visible; +} + +#modal28:checked ~ .wrapper #modal28Con { + opacity: 1; + visibility: visible; +} + +#modal29:checked ~ .wrapper #modal29Con { + opacity: 1; + visibility: visible; +} + +#modal30:checked ~ .wrapper #modal30Con { + opacity: 1; + visibility: visible; +} + +#modal31:checked ~ .wrapper #modal31Con { + opacity: 1; + visibility: visible; +} + +#modal32:checked ~ .wrapper #modal32Con { + opacity: 1; + visibility: visible; +} + +#modal33:checked ~ .wrapper #modal33Con { + opacity: 1; + visibility: visible; +} + +#modal34:checked ~ .wrapper #modal34Con { + opacity: 1; + visibility: visible; +} + +#modal35:checked ~ .wrapper #modal35Con { + opacity: 1; + visibility: visible; +} + +#modal36:checked ~ .wrapper #modal36Con { + opacity: 1; + visibility: visible; +} + +.modalTtl { + padding: 2em 0.5em 1.5em; + font-size: 2em; + line-height: 1.3; + text-align: center; +} + +.modalText { + margin: 3rem; +} + +.modalText .modalCover { + margin-bottom: 2rem; +} + +.modalText .modalCover img { + width: 100%; + display: block; + margin: 0 auto 1rem; +} + +.modalText h3 { + margin-bottom: 0.5rem; +} + +a.toTop { + position: fixed; + bottom: 4rem; + right: 2rem; + background: #2B2845; + color: #FFFFFF; + text-align: center; + width: 9rem; + padding: 1.0rem 0.3rem; + text-decoration: none; +} + +a.toTop:hover { + opacity: 0.5; +} + +/* ========== footer ========== */ +footer { + width: 100%; + background: #2B2845; + padding: 1rem 0; +} + +footer p { + text-align: center !important; + color: #FFFFFF; + margin-bottom: 0.3rem; +} diff --git a/docs/sass/work.min.css b/docs/sass/work.min.css new file mode 100644 index 0000000..cbc348d --- /dev/null +++ b/docs/sass/work.min.css @@ -0,0 +1 @@ +body{font-family:'Hiragino Kaku Gothic ProN','ヒラギノ角ゴ ProN W3',sans-serif;font-size:10px;font-weight:normal}@media screen and (min-width: 992px){body{font-size:12px}}.wrap{overflow:hidden}#showloading{width:100%;height:100vh;background-color:#073a49;position:relative}#showloading img{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);-webkit-transform:translate(-50%, -50%);-moz-transform:translate(-50%, -50%);-ms-transform:translate(-50%, -50%);-o-transform:translate(-50%, -50%)}.hidden{display:none}header{width:100%;height:80px;position:fixed;background:#fff;z-index:10}header #nav-drawer{position:relative;padding-left:30px}header .nav-unshown{display:none}header #nav-open{display:inline-block;width:80px;height:80px;vertical-align:middle}@media screen and (min-width: 992px){header #nav-open{display:none}}header #nav-open span,header #nav-open span:before,header #nav-open span:after{position:absolute;height:3px;width:25px;border-radius:3px;background:#2B2845;display:block;content:'';cursor:pointer;margin-top:30px}header #nav-open span:before{bottom:-8px}header #nav-open span:after{bottom:-16px}header #nav-close{display:none;position:fixed;z-index:99;top:0;left:0;width:100%;height:100%;background:black;opacity:0;transition:.3s ease-in-out}@media screen and (max-width: 992px){header #nav-content{overflow:auto;position:fixed;top:0;left:0;z-index:9999;width:70%;max-width:330px;height:100vh;background:#2B2845;transition:.3s ease-in-out;-webkit-transform:translateX(-105%);transform:translateX(-105%)}}header #nav-input:checked ~ #nav-close{display:block;opacity:.5}header #nav-input:checked ~ #nav-content{-webkit-transform:translateX(0%);transform:translateX(0%);box-shadow:6px 0 25px rgba(0,0,0,0.15)}header .left_h{width:60%;float:left}@media screen and (min-width: 992px){header .left_h{width:80%}}header .left_h nav ul li{list-style:none}@media screen and (min-width: 992px){header .left_h nav ul li{display:inline-block}}header .left_h nav ul li a{text-decoration:none;font-size:1.2rem;color:#fff}@media screen and (min-width: 992px){header .left_h nav ul li a{color:#363636;font-size:0.5rem;line-height:80px}}@media screen and (min-width: 1200px){header .left_h nav ul li a{color:#363636;font-size:0.9rem;line-height:80px}}header .left_h nav ul li a h3{margin-top:1rem;padding-left:1rem;cursor:pointer}header .left_h nav ul li a h3:hover{opacity:0.5}@media screen and (min-width: 992px){header .left_h nav ul li a h3{margin:0}}header .right_h{width:40%;float:right;font-weight:bold}@media screen and (min-width: 992px){header .right_h{width:20%}}header .right_h label{display:inline-block;width:3.7rem;text-align:center;float:right;color:#363636;background:#C3C3C3;line-height:80px;margin-left:2%;cursor:pointer}@media screen and (min-width: 576px){header .right_h label{width:5.0rem}}header .right_h label a{text-decoration:none;color:#363636}header .right_h input{display:none}header .right_h ul{position:absolute;top:80px;right:0;width:3.7rem;font-size:1rem;margin:0;padding:0;background:#C3C3C3;list-style:none;text-align:center}@media screen and (min-width: 576px){header .right_h ul{width:5.0rem}}header .right_h li{height:0;overflow:hidden;-webkit-transition:all 0.5s;-moz-transition:all 0.5s;-ms-transition:all 0.5s;-o-transition:all 0.5s;transition:all 0.5s}header .right_h #type1:checked ~ #links1 li{height:60px;opacity:1;cursor:pointer}.bg-purple{background:#2B2845;padding:2rem 3rem}.bg-purple h1,.bg-purple p{color:#fff}.bg-purple h1{padding-bottom:1rem}@media screen and (min-width: 768px){.bg-purple h1{font-size:1.2rem}}@media screen and (min-width: 992px){.bg-purple h1{font-size:1.4rem}}@media screen and (min-width: 768px){.bg-purple p{font-size:0.9rem}}@media screen and (min-width: 992px){.bg-purple p{font-size:1.1rem}}.grade-title{padding:2rem 3rem 1rem;font-size:1.2rem}#works1,#works2,#works3{padding:2rem 2rem;background:#E4EBEF}#works1 .mainVisual,#works2 .mainVisual,#works3 .mainVisual{display:block;width:45%;margin-bottom:1rem}@media screen and (min-width: 768px){#works1 .mainVisual,#works2 .mainVisual,#works3 .mainVisual{width:30%}}@media screen and (min-width: 992px){#works1 .mainVisual,#works2 .mainVisual,#works3 .mainVisual{margin-bottom:2rem}}#works1 .mainVisual img,#works2 .mainVisual img,#works3 .mainVisual img{width:100%}#works3 p{margin-bottom:2rem;font-size:0.3rem}@media screen and (min-width: 768px){#works3 p{font-size:1.2rem}}html,body,.wrapper{width:100%;height:100%}body{color:#333}.wrapper{display:flex;flex-wrap:wrap;justify-content:space-around}img{max-width:100%;height:auto}.flex{display:flex}.flex.center{align-items:center;justify-content:center}.content{max-width:1080px;width:92%;margin:3em auto}.content .ttl{margin-bottom:0.5em;padding-bottom:0.25em;font-size:2em;font-weight:bold;line-height:1.3;border-bottom:1px solid #dedede}.content p{margin-bottom:1em;line-height:1.7}.modalCheck{display:none}.mainVisual.main1 .btn{width:100%}.mainVisual.main1 .btn img{width:100%}.mainVisual.main2 .btn{width:100%}.mainVisual.main2 .btn img{width:100%}.mainVisual.main3 .btn{width:100%}.mainVisual.main3 .btn img{width:100%}.mainVisual.main4 .btn{width:100%}.mainVisual.main4 .btn img{width:100%}.mainVisual.main5 .btn{width:100%}.mainVisual.main5 .btn img{width:100%}.mainVisual.main6 .btn{width:100%}.mainVisual.main6 .btn img{width:100%}.mainVisual.main7 .btn{width:100%}.mainVisual.main7 .btn img{width:100%}.mainVisual.main8 .btn{width:100%}.mainVisual.main8 .btn img{width:100%}.mainVisual.main9 .btn{width:100%}.mainVisual.main9 .btn img{width:100%}.mainVisual.main10 .btn{width:100%}.mainVisual.main10 .btn img{width:100%}.mainVisual.main11 .btn{width:100%}.mainVisual.main11 .btn img{width:100%}.mainVisual.main12 .btn{width:100%}.mainVisual.main12 .btn img{width:100%}.mainVisual.main13 .btn{width:100%}.mainVisual.main13 .btn img{width:100%}.mainVisual.main14 .btn{width:100%}.mainVisual.main14 .btn img{width:100%}.mainVisual.main15 .btn{width:100%}.mainVisual.main15 .btn img{width:100%}.mainVisual.main16 .btn{width:100%}.mainVisual.main16 .btn img{width:100%}.mainVisual.main17 .btn{width:100%}.mainVisual.main17 .btn img{width:100%}.mainVisual.main18 .btn{width:100%}.mainVisual.main18 .btn img{width:100%}.mainVisual.main19 .btn{width:100%}.mainVisual.main19 .btn img{width:100%}.mainVisual.main20 .btn{width:100%}.mainVisual.main20 .btn img{width:100%}.mainVisual.main21 .btn{width:100%}.mainVisual.main21 .btn img{width:100%}.mainVisual.main22 .btn{width:100%}.mainVisual.main22 .btn img{width:100%}.mainVisual.main23 .btn{width:100%}.mainVisual.main23 .btn img{width:100%}.mainVisual.main24 .btn{width:100%}.mainVisual.main24 .btn img{width:100%}.mainVisual.main25 .btn{width:100%}.mainVisual.main25 .btn img{width:100%}.mainVisual.main26 .btn{width:100%}.mainVisual.main26 .btn img{width:100%}.mainVisual.main27 .btn{width:100%}.mainVisual.main27 .btn img{width:100%}.mainVisual.main28 .btn{width:100%}.mainVisual.main28 .btn img{width:100%}.mainVisual.main29 .btn{width:100%}.mainVisual.main29 .btn img{width:100%}.mainVisual.main30 .btn{width:100%}.mainVisual.main30 .btn img{width:100%}.mainVisual.main31 .btn{width:100%}.mainVisual.main31 .btn img{width:100%}.mainVisual.main32 .btn{width:100%}.mainVisual.main32 .btn img{width:100%}.mainVisual.main33 .btn{width:100%}.mainVisual.main33 .btn img{width:100%}.mainVisual.main34 .btn{width:100%}.mainVisual.main34 .btn img{width:100%}.mainVisual.main35 .btn{width:100%}.mainVisual.main35 .btn img{width:100%}.mainVisual.main36 .btn{width:100%}.mainVisual.main36 .btn img{width:100%}.mainVisual .main11 img{width:25rem}label{cursor:pointer}.btn{text-align:center}.btn label{display:inline-block;transition:0.3s cubic-bezier(1, 0, 0, 1)}.btn label:hover{opacity:0.5}.modalWrap,.modalBg{position:fixed;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:auto;z-index:10}.modalWrap{opacity:0;visibility:hidden;transition:0.3s cubic-bezier(1, 0, 0, 1);transition-property:opacity;will-change:opacity}.modalBg{cursor:pointer;opacity:0.7;background-color:#000;z-index:2}.modalBg label{position:absolute;top:0;left:0;right:0;bottom:0;display:block}.modalCon{position:absolute;top:5%;left:0;right:0;width:92%;max-width:60rem;height:86%;margin:auto;z-index:3}.modalInner{overflow:auto;-webkit-overflow-scrolling:touch;position:relative;height:100%;padding:0 1.5em 1.5em;cursor:default;background-color:#fff;border-radius:5px;box-shadow:0px 0px 12px 0px rgba(0,0,0,0.3);background:#E4EBEF}.modalCloseBtn{position:absolute;top:0;right:0}.modalCloseBtn label{display:inline-block;padding-right:0.5em;color:#333;text-decoration:none;font-size:2.5rem}.modalCheck:not(:checked) ~ .wrapper>*:not(.modalWrap){filter:blur(0px)}.modalCheck:not(:checked) ~ .wrapper .modalWrap{opacity:0;visibility:hidden}.smallbtn{margin-top:2rem;text-align:center}.smallbtn label{display:block;background:#2B2845;color:#fff;width:50%;padding:1rem 0;margin:0 auto;margin-top:2rem;border-radius:2px;-webkit-border-radius:2px;-moz-border-radius:2px;-ms-border-radius:2px;-o-border-radius:2px}@media screen and (min-width: 992px){.smallbtn label{font-size:1.2rem}}.modalCheck:checked ~ .wrapper>*:not(.modalWrap){filter:blur(3px)}#modal00:checked ~ .wrapper #modal00Con{opacity:1;visibility:visible}#modal01:checked ~ .wrapper #modal01Con{opacity:1;visibility:visible}#modal02:checked ~ .wrapper #modal02Con{opacity:1;visibility:visible}#modal03:checked ~ .wrapper #modal03Con{opacity:1;visibility:visible}#modal04:checked ~ .wrapper #modal04Con{opacity:1;visibility:visible}#modal05:checked ~ .wrapper #modal05Con{opacity:1;visibility:visible}#modal06:checked ~ .wrapper #modal06Con{opacity:1;visibility:visible}#modal07:checked ~ .wrapper #modal07Con{opacity:1;visibility:visible}#modal08:checked ~ .wrapper #modal08Con{opacity:1;visibility:visible}#modal09:checked ~ .wrapper #modal09Con{opacity:1;visibility:visible}#modal10:checked ~ .wrapper #modal10Con{opacity:1;visibility:visible}#modal11:checked ~ .wrapper #modal11Con{opacity:1;visibility:visible}#modal12:checked ~ .wrapper #modal12Con{opacity:1;visibility:visible}#modal13:checked ~ .wrapper #modal13Con{opacity:1;visibility:visible}#modal14:checked ~ .wrapper #modal14Con{opacity:1;visibility:visible}#modal15:checked ~ .wrapper #modal15Con{opacity:1;visibility:visible}#modal16:checked ~ .wrapper #modal16Con{opacity:1;visibility:visible}#modal17:checked ~ .wrapper #modal17Con{opacity:1;visibility:visible}#modal18:checked ~ .wrapper #modal18Con{opacity:1;visibility:visible}#modal19:checked ~ .wrapper #modal19Con{opacity:1;visibility:visible}#modal20:checked ~ .wrapper #modal20Con{opacity:1;visibility:visible}#modal21:checked ~ .wrapper #modal21Con{opacity:1;visibility:visible}#modal22:checked ~ .wrapper #modal22Con{opacity:1;visibility:visible}#modal23:checked ~ .wrapper #modal23Con{opacity:1;visibility:visible}#modal24:checked ~ .wrapper #modal24Con{opacity:1;visibility:visible}#modal25:checked ~ .wrapper #modal25Con{opacity:1;visibility:visible}#modal26:checked ~ .wrapper #modal26Con{opacity:1;visibility:visible}#modal27:checked ~ .wrapper #modal27Con{opacity:1;visibility:visible}#modal28:checked ~ .wrapper #modal28Con{opacity:1;visibility:visible}#modal29:checked ~ .wrapper #modal29Con{opacity:1;visibility:visible}#modal30:checked ~ .wrapper #modal30Con{opacity:1;visibility:visible}#modal31:checked ~ .wrapper #modal31Con{opacity:1;visibility:visible}#modal32:checked ~ .wrapper #modal32Con{opacity:1;visibility:visible}#modal33:checked ~ .wrapper #modal33Con{opacity:1;visibility:visible}#modal34:checked ~ .wrapper #modal34Con{opacity:1;visibility:visible}#modal35:checked ~ .wrapper #modal35Con{opacity:1;visibility:visible}#modal36:checked ~ .wrapper #modal36Con{opacity:1;visibility:visible}.modalTtl{padding:2em 0.5em 1.5em;font-size:2em;line-height:1.3;text-align:center}.modalText{margin:3rem}.modalText .modalCover{margin-bottom:2rem}.modalText .modalCover img{width:100%;display:block;margin:0 auto 1rem}.modalText h3{margin-bottom:0.5rem}a.toTop{position:fixed;bottom:4rem;right:2rem;background:#2B2845;color:#FFFFFF;text-align:center;width:9rem;padding:1.0rem 0.3rem;text-decoration:none}a.toTop:hover{opacity:0.5}footer{width:100%;background:#2B2845;padding:1rem 0}footer p{text-align:center !important;color:#FFFFFF;margin-bottom:0.3rem} diff --git a/docs/sass/work.scss b/docs/sass/work.scss new file mode 100644 index 0000000..92250fc --- /dev/null +++ b/docs/sass/work.scss @@ -0,0 +1,597 @@ +$breakpoints: ( + 'sm': 'screen and (min-width: 576px)', + 'md': 'screen and (min-width: 768px)', + 'lg': 'screen and (min-width: 992px)', + 'xl': 'screen and (min-width: 1200px)' +) !default; + +//メディアクエリ用のmixinを定義。デフォ値はmd +@mixin mq($breakpoint: md) { +//map-get(マップ型変数, キー)で値を取得 + @media #{map-get($breakpoints, $breakpoint)} { + @content; + } +} + +$textCol: #363636; +$purple: #2B2845; + + + +body{ + font-family: 'Hiragino Kaku Gothic ProN','ヒラギノ角ゴ ProN W3',sans-serif; + font-size: 10px; + font-weight: normal; + @include mq(lg){ + font-size: 12px; + } +} +.wrap{ + overflow: hidden; +} + +#showloading { +width: 100%; +height: 100vh; +background-color: #073a49; +position: relative; +} + +#showloading img { + position: absolute; + top: 50%; + left: 50%; + transform: translate(-50%,-50%); + -webkit-transform: translate(-50%,-50%); + -moz-transform: translate(-50%,-50%); + -ms-transform: translate(-50%,-50%); + -o-transform: translate(-50%,-50%); +} + +.hidden { +display: none; +} + + +// ========== header ========== +header{ + width: 100%; + height: 80px; + position: fixed; + background: #fff; + z-index: 10; + #nav-drawer { + position: relative; + padding-left: 30px; + } + + /*チェックボックス等は非表示に*/ + .nav-unshown { + display:none; + } + + /*アイコンのスペース*/ + #nav-open { + display: inline-block; + width: 80px; + height: 80px; + vertical-align: middle; + @include mq(lg){ + display: none; + } + } + + /*ハンバーガーアイコンをCSSだけで表現*/ + #nav-open span, #nav-open span:before, #nav-open span:after { + position: absolute; + height: 3px;/*線の太さ*/ + width: 25px;/*長さ*/ + border-radius: 3px; + background: $purple; + display: block; + content: ''; + cursor: pointer; + margin-top: 30px; + } + #nav-open span:before { + bottom: -8px; + } + #nav-open span:after { + bottom: -16px; + } + + /*閉じる用の薄黒カバー*/ + #nav-close { + display: none;/*はじめは隠しておく*/ + position: fixed; + z-index: 99; + top: 0;/*全体に広がるように*/ + left: 0; + width: 100%; + height: 100%; + background: black; + opacity: 0; + transition: .3s ease-in-out; + } + + /*中身*/ + @media screen and (max-width:992px) { + #nav-content { + overflow: auto; + position: fixed; + top: 0; + left: 0; + z-index: 9999;/*最前面に*/ + width: 70%;/*右側に隙間を作る(閉じるカバーを表示)*/ + max-width: 330px;/*最大幅(調整してください)*/ + height: 100vh; + background: $purple;/*背景色*/ + transition: .3s ease-in-out;/*滑らかに表示*/ + -webkit-transform: translateX(-105%); + transform: translateX(-105%);/*左に隠しておく*/ + } +} + + /*チェックが入ったらもろもろ表示*/ + #nav-input:checked ~ #nav-close { + display: block;/*カバーを表示*/ + opacity: .5; + } + + #nav-input:checked ~ #nav-content { + -webkit-transform: translateX(0%); + transform: translateX(0%);/*中身を表示(右へスライド)*/ + box-shadow: 6px 0 25px rgba(0,0,0,.15); + } + + + + .left_h{ + width: 60%; + float: left; + @include mq(lg){ + width: 80%; + } + nav{ + ul{ + li{ + list-style: none; + @include mq(lg){ + display: inline-block; + } + a{ + text-decoration: none; + font-size: 1.2rem; + color: #fff; + @include mq(lg){ + color: $textCol; + font-size: 0.5rem; + line-height: 80px; + } + @include mq(xl){ + color: $textCol; + font-size: 0.9rem; + line-height: 80px; + } + h3{ + margin-top: 1rem; + padding-left: 1rem; + cursor: pointer; + &:hover{ + opacity: 0.5; + } + @include mq(lg){ + margin: 0; + } + } + } + } + } + } + + } + .right_h{ + width: 40%; + float: right; + font-weight: bold; + @include mq(lg){ + width: 20%; + } +label { + display: inline-block; + width: 3.7rem; + @include mq(sm){ + width: 5.0rem; + } + text-align: center; + float: right; + color :$textCol; + background: #C3C3C3; + line-height: 80px; + margin-left: 2%; + // font-size: 0.7rem; + // @include mq(sm){ + // font-size: 1.0rem; + // } + cursor :pointer; + a{ + text-decoration: none; + color: $textCol; + } +} +input { + display: none; +} +ul { + position: absolute; + top: 80px; + right: 0; + width: 3.7rem; + @include mq(sm){ + width: 5.0rem; + } + font-size: 1rem; + margin: 0; + padding: 0; + background :#C3C3C3; + list-style: none; + text-align: center; +} + +li { + height: 0; + overflow: hidden; + -webkit-transition: all 0.5s; + -moz-transition: all 0.5s; + -ms-transition: all 0.5s; + -o-transition: all 0.5s; + transition: all 0.5s; +} + + +#type1:checked ~ #links1 li{ + height: 60px; + opacity: 1; + cursor :pointer; + // padding: 0.3rem 0; +} + } +} + + + +// =========== ========== + +.bg-purple{ + background: #2B2845; + padding: 2rem 3rem; + h1,p{ + color: #fff; + } + h1{ + padding-bottom: 1rem; + @include mq(md){ + font-size: 1.2rem; + } + @include mq(lg){ + font-size: 1.4rem; + } + } + p{ + @include mq(md){ + font-size: 0.9rem; + } + @include mq(lg){ + font-size: 1.1rem; + } + } +} +.grade-title{ + padding: 2rem 3rem 1rem; + font-size: 1.2rem; +} + +// common +#works1,#works2,#works3{ + padding: 2rem 2rem; + background: #E4EBEF; + .mainVisual{ + display: block; + width: 45%; + margin-bottom: 1rem; + @include mq(md){ + width: 30%; + } + @include mq(lg){ + margin-bottom: 2rem; + } + img{ + width: 100%; + } + } +} +#works3{ + p{ + margin-bottom: 2rem; + font-size: 0.3rem; + @include mq(md){ + font-size: 1.2rem; + } + } +} + + + +// item = content +// モーダルコンテンツ +@mixin transition { + transition: 0.3s cubic-bezier(1,0,0,1); +} + +html, body, .wrapper { + width: 100%; + height: 100%; +} +body { + color: #333; +} +.wrapper{ + display: flex; + flex-wrap: wrap; + justify-content: space-around; +} +img { + max-width: 100%; + height: auto; +} + +// flexbox +.flex { + display: flex; + &.center { + align-items: center; + justify-content: center; + } +} + +// コンテンツ +.content { + max-width: 1080px; + width: 92%; + margin: 3em auto; + .ttl { + margin-bottom: 0.5em; + padding-bottom: 0.25em; + font-size: 2em; + font-weight: bold; + line-height: 1.3; + border-bottom: 1px solid #dedede; + } + p { + margin-bottom: 1em; + line-height: 1.7; + } +} + +// モーダル開閉チェックボックス +.modalCheck { + display: none; +} + +// メインビジュアル +.mainVisual { + // width: 25rem; + // height: 25rem; + // margin-bottom: 2.5rem; + + @for $i from 1 through 36 { + &.main#{$i}{ + .btn{ + width: 100%; + img{ + width: 100%; + } + } + } + } + .main11 img{ + width: 25rem; + } +} + +// ボタン +label { + cursor: pointer; +} +.btn { + text-align: center; + label { + display: inline-block; + @include transition; + // transition-property: background-color, box-shadow; + // box-shadow: 0px 0px 3px 0px rgba(0,0,0,0.3); + &:hover { + // background-color: darken($btnColor, 10%); + // box-shadow: 0px 0px 12px 0px rgba(0,0,0,0.3); + opacity: 0.5; + } + } +} +.modalWrap, .modalBg { + position:fixed; + top: 0; + left: 0; + right: 0; + bottom: 0; + width: 100%; + height: 100%; + margin: auto; + z-index: 10; +} +.modalWrap { + opacity: 0; + visibility: hidden; + @include transition; + transition-property: opacity; + will-change: opacity; +} + +// モーダル背景(ラベルクリックで閉じる) +.modalBg { + cursor: pointer; + opacity: 0.7; + background-color: #000; + z-index: 2; + label { + position: absolute; + top: 0; + left: 0; + right: 0; + bottom: 0; + display: block; + } +} + +// モーダルコンテンツ +.modalCon { + position: absolute; + top: 5%; + left: 0; + right: 0; + width: 92%; + max-width:60rem; + height: 86%; + margin: auto; + z-index: 3; +} +.modalInner { + overflow: auto; + -webkit-overflow-scrolling: touch; + position: relative; + height: 100%; + padding: 0 1.5em 1.5em; + cursor: default; + background-color: #fff; + border-radius: 5px; + box-shadow: 0px 0px 12px 0px rgba(0,0,0,0.3); + background: #E4EBEF; +} + +// モーダル閉じるボタン +.modalCloseBtn { + position: absolute; + top: 0; + right: 0; + label { + display: inline-block; + padding-right: 0.5em; + color: #333; + text-decoration: none; + font-size: 2.5rem; + } +} + +// モーダル閉じる +.modalCheck:not(:checked) ~ .wrapper { + > *:not(.modalWrap){ + filter: blur(0px); + } + .modalWrap { + opacity:0; + visibility: hidden; + } +} +.smallbtn{ + margin-top: 2rem; + text-align: center; + label{ + display: block; + background: $purple; + color: #fff; + //padding: 1rem 3rem; + width: 50%; + padding: 1rem 0; + margin: 0 auto; + margin-top: 2rem; + border-radius: 2px; + -webkit-border-radius: 2px; + -moz-border-radius: 2px; + -ms-border-radius: 2px; + -o-border-radius: 2px; + @include mq(lg){ + font-size: 1.2rem; + } +} +} + + +// モーダル開く +.modalCheck:checked ~ .wrapper { + > *:not(.modalWrap){ + filter: blur(3px); + } +} +$num: ""; +@for $i from 0 through 36 { + @if $i < 10 { + $num: "0#{$i}"; + } @else { + $num: $i; + } + #modal#{$num}:checked ~ .wrapper { + #modal#{$num}Con { + opacity: 1; + visibility: visible; + } + } +} + +// モーダルタイトル +.modalTtl { + padding: 2em 0.5em 1.5em; + font-size: 2em; + line-height: 1.3; + text-align: center; +} +.modalText { + margin: 3rem; + .modalCover { + margin-bottom: 2rem; + img{ + width: 100%; + display: block; + margin: 0 auto 1rem; + } + } + h3{ + margin-bottom: 0.5rem; + } +} + +// ========== toTop ========== +a.toTop{ + position: fixed; + bottom: 4rem; + right: 2rem; + background: #2B2845; + color: #FFFFFF; + text-align: center; + width: 9rem; + padding: 1.0rem 0.3rem; + text-decoration: none; + &:hover{ + opacity: 0.5; + } +} + +/* ========== footer ========== */ +footer{ + width: 100%; + background: #2B2845; + padding: 1rem 0; + p{ + text-align: center!important; + color: #FFFFFF; + margin-bottom: 0.3rem; + } +} \ No newline at end of file diff --git a/docs/styles/styles.css b/docs/styles/styles.css index 11b9bed..1e8d5a1 100644 --- a/docs/styles/styles.css +++ b/docs/styles/styles.css @@ -6,12 +6,34 @@ h1, h2 { font-weight: 400; color: steelblue; } -#studios > div { +#nomalStudios > div { margin: 1em 0; padding: 0.5em; background: #f8f8f8; min-height: 3em; } + +#englishStudios > div { + margin: 1em 0; + padding: 0.5em; + background: #f8f8f8; + min-height: 3em; +} + +#nomalFaculty > div { + margin: 1em 0; + padding: 0.5em; + background: #f8f8f8; + min-height: 3em; +} + +#englishFaculty > div { + margin: 1em 0; + padding: 0.5em; + background: #f8f8f8; + min-height: 3em; +} + .studio-title { font-weight: bold; } @@ -26,3 +48,150 @@ pre#result { font-family: monospace; font-size: 9px; } + +.studio-photo1,.studio-photo2{ + width: 200px; +} + +.faculty-image,.faculty-image-en{ + width: 200px; + height: 200px; +} + +.link-image{ + width: 200px; + height: 200px; +} + +.studio-image,.studio-image-en{ + width: 50px; + height: 50px; +} + +#loading { +width: 100%; +height: 100vh; +background-color: #073a49; +position: relative; +} + +#loading img { +position: absolute; +top: 50%; +left: 50%; +} + +.hidden { +display: none; +} + + + + +/* ========== * ==========*/ +*{ + padding: 0; + margin: 0; + box-sizing: border-box; +} + +/*========== header nav ==========*/ +header ul{ + position: fixed; + top: 0; + background: #fff; + width: 100%; + height: 80px; +} +header ul li{ + list-style: none; + display: inline-block; +} +header ul li a{ + text-decoration: none; + color: #363636; + line-height: 80px; + display: block; + padding: 0 10px; + font-size: 17px; +} +header ul li a:hover{ + opacity: 0.5; +} + +.open{ + margin-top: 80px; +} + + +/* ========== main-visual ========== */ +.main-visual{ + width: 100%; + height: 800px; + background: #2B2845; + color: #fff; +} +.main-visual h1{ + color: #fff; + padding-top: 150px; + padding-left: 134px; +} +.main-visual h3{ + padding-top: 300px; + padding-left: 500px; + font-size: 20px; +} + +/* ========== common section title ========== */ +[id^="nomalContentsTitle"] { + color: #363636; + text-align: center; + padding-top: 100px; + padding-bottom: 50px; + font-size: 30px; +} + +/* ========== aboutus ========== */ +#aboutus p{ + display: block; + background: #E4EBEF; + padding: 50px 100px; +} + +/* ========== works ========== */ +#works a{ + text-align: center; +} +/* flex使う */ +/* もっと見る はbuttonか何かで覆う */ + +/* ========== curriculum ========== */ +#curriculum p{ + display: block; + background: #E4EBEF; + padding: 50px 100px; +} + +/* ========== studios ========== */ + + +/* ========== admission ==========*/ +#admission #nomalAdmissionText{ + background: #E4EBEF; + padding: 50px 100px; +} +#admission #nomalAdmissionText h4{ + font-size: 25px; +} +#admission #nomalAdmissionText p, ol, ul{ + padding-left: 100px; + /* padding-bottom: 20px; */ +} + +/* ========== question ========== */ +#question #nomalQText{ + background: #E4EBEF; + padding: 50px 100px; +} + +/* footer作成 */ \ No newline at end of file