芝麻web文件管理V1.00
编辑当前文件:/home/r5772835/public_html/anarchy.ycreate.jp/wp-content/plugins/my-snow-monkey/style.scss
body { color: #2e2e2e; } /* ========================================================= # ヘッダーナビ ========================================================= */ /* # 区切り線の追加 ---------------------------------- */ .c-navbar__item:not(:first-child):before { content: ""; display: inline-block; width: 1px; height: 30%; background-color: #2e2e2e; position: absolute; left: 0; top: 50%; transform: translateY(-50%); } /* # ホバーアクション ---------------------------------- */ .c-navbar__item > a { transition: all 0.3s; } .c-navbar__item > a::after { content: ""; position: absolute; bottom: 20px; left: 20%; width: 60%; height: 1px; background-color: #dc861b; transition: all 0.3s; transform: scale(0, 1); transform-origin: left top; } .c-navbar__item > a:hover { color: #dc861b; } .c-navbar__item > a:hover::after { transform: scale(1, 1); } /* ========================================================= # mv ========================================================= */ /* # スライドショー ---------------------------------- */ #imageSlide { width: 100%; height: 100%; display: block; margin: 0; padding: 0; position: relative; } #imageSlide::before { content: ""; display: block; padding-top: 51.59722%; } #imageSlide div { display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-repeat: no-repeat; background-size: cover; } .mv-slide__bg01 { background-image: url(http://first-sample.local/wp-content/uploads/2023/04/erik-mclean-ZRns2R5azu0-unsplash-scaled.jpg); } .mv-slide__bg02 { background-image: url(http://first-sample.local/wp-content/uploads/2023/04/mv_02.jpg); } .mv-slide__bg03 { background-image: url(http://first-sample.local/wp-content/uploads/2023/04/mv_03.jpg); } /* # 640以下で画像を切り替え ---------------------------------- */ @media screen and (max-width: 640px) { #imageSlide::before { content: ""; display: block; padding-top: 157.8666%; } .mv-slide__bg01 { background-image: url(http://first-sample.local/wp-content/uploads/2023/04/mv_01-sp.jpg); } .mv-slide__bg02 { background-image: url(http://first-sample.local/wp-content/uploads/2023/04/mv_02-sp.jpg); } .mv-slide__bg03 { background-image: url(http://first-sample.local/wp-content/uploads/2023/04/mv_03-sp.jpg); } } .mv-slide{ position: relative; } .mv-slide__title{ position: absolute; top: 50%; left: 50%; transform: translateY(-50%) translateX(-50%); color: #fff; font-size: 44px; font-weight: bold; text-align: center; } /* ========================================================= # 会社案内 ========================================================= */ /* # ホバーアクション ---------------------------------- */ .about-item .smb-items__banner__figure > img { transition: all 0.3s; } .about-item:hover .smb-items__banner__figure > img { transform: scale(1.2); } /* # 背景 ---------------------------------- */ .about { background: linear-gradient(225deg, transparent 0, transparent 50%, #dc861b 50%, #dc861b 100%); } /* ========================================================= # 事業内容 ========================================================= */ .service { background: linear-gradient(-225deg, transparent 0, transparent 50%, #15156b 50%, #15156b 100%); } /* ========================================================= # お知らせ ========================================================= */ /* # カテゴリーの色分け ---------------------------------- */ .c-entry-summary__term--category-4 { background-color: #256ba0; } .c-entry-summary__term--category-5 { background-color: #c7c814; } .c-entry-summary__term--category-6 { background-color: #ad4a4a; } .c-entry-summary__term--category-7 { background-color: #38b09c; } /* # 角を丸く ---------------------------------- */ .c-entry-summary__term { border-radius: 3px; } /* ========================================================= # ブログ・採用情報 ========================================================= */ /* # ホバーアクション ---------------------------------- */ .blog-item .smb-items__banner__figure > img, .recruit-item .smb-items__banner__figure > img { transition: all 0.3s; } .blog-item:hover .smb-items__banner__figure > img, .recruit-item:hover .smb-items__banner__figure > img { transform: scale(1.2); } /* ========================================================= # フッター ========================================================= */ /* # 中央寄せ・ボーダー ---------------------------------- */ .l-footer-widget-area__item.c-row__col { text-align: center; border-left: 1px solid #e3e3e3; } @media screen and (max-width: 1023px) { .l-footer-widget-area__item.c-row__col { text-align: center; border-left: none; } } /* # 1023以下でロゴ消す・幅70% ---------------------------------- */ @media screen and (max-width: 1023px) { .l-footer__body .c-container { width: 70%; } .l-footer__body .c-container .c-site-branding__title { display: none; } } /* # コピーライト ---------------------------------- */ /* # 背景色 ---------------------------------- */ .l-footer--footer-4 .l-footer__footer, .l-footer--footer-5 .l-footer__footer { background-color: #2e2e2e; } /* # テキスト ---------------------------------- */ .l-footer--footer-4 .l-footer__footer, .l-footer--footer-5 .l-footer__footer .c-copyright { color: #fff; } /* # 中央寄せ ---------------------------------- */ .l-footer__footer .c-row { justify-content: center; }