×

注意!页面内容来自https://skillhub.jp/blogs/434,本站不储存任何内容,为了更好的阅读体验进行在线解析,若有广告出现,请及时反馈。若您觉得侵犯了您的利益,请通知我们进行删除,然后访问 原网页

<> @charset "utf-8"; /* ============================================== / setting /============================================== */ :root{ /* color */ --color_ThemeMain: #AA3200; /* 赤 */ --color_ThemeAuxiliary: #333333; /* 濃灰 */ --color_ThemeAccent: #006837; /* 緑 */ --color_ThemeLight: #FEFDFC; /* 薄灰橙 */ --color_TextDefault: #212529; /* 炭黒 */ --color_ThemeGradient: linear-gradient(90deg#AA3200 0%#AA3200 50%#333333 50%#333332 100%); /* space */ --space_lg: 4rem; --space_xl: 6rem; --space_xxl: 8rem; --space_xxxl: 10rem; --font_Themedefault: "Helvetica Neue""Helvetica""Hiragino Sans""Hiragino Kaku Gothic ProN""Arial""Yu Gothic""Meiryo"sans-serif; } /* --- color class --- */ .text-ThemeMain, .text-ThemeMain a{ color: var(--color_ThemeMain) !important; } .bg-ThemeMain{ background-color: var(--color_ThemeMain); } .bg-ThemeAuxiliary{ background-color: var(--color_ThemeAuxiliary); } .bg-ThemeLight{ background-color: var(--color_ThemeLight); } .bg-greige{ background-color: #EDEBE0; } /* --- base --- */ body{ background: url('https://qbase.s3.ap-northeast-1.amazonaws.com/images/3349/original.png')!important; color: var(--color_TextDefault); font-family: var(--font_Themedefault); font-weight: 400; line-height: 1.75em; letter-spacing: .02em; } #page-content aside { background-color: transparent !important; } #contentsMain, #contentsMain p{ font-size: 16px; line-height: 1.8; } h1h2h3h4h5h6, strong.strong.font-weight-bold{ font-family: var(--font_Themedefault); font-weight: bold; line-height: 1.8; } #contentsMain .top-copy{ font-size: 2rem; line-height: 1.5; font-weight: 500; } /* --- space --- */ .mt-lg{ margin-top: var(--space_lg) !important; } .mt-xl{ margin-top: var(--space_xl) !important; } .mt-xxl{ margin-top: var(--space_xxl) !important; } .mt-xxxl{ margin-top: var(--space_xxl) !important; } .mb-lg{ margin-bottom: var(--space_lg); } .mb-xl{ margin-bottom: var(--space_xl); } .mb-xxl{ margin-bottom: var(--space_xxl); } .mb-xxxl{ margin-bottom: var(--space_xxxl); } /* --- Strong Number --- */ #contentsMain .bignumber{ color: var(--color_ThemeAuxiliary); font-size: 4em; margin-right: .85rem; } #contentsMain .mednumber { color: var(--color_ThemeAuxiliary); font-size: 3em; padding-top: 5px; line-height: 0.5em; } /* --- Button Design --- */ .btn-signup{ background-color: var(--color_ThemeAccent); color: #fff; } .free-signup, .premium-signup, .inquiry-btn{ display: inline-block; min-width: 240px; max-width: 100%; margin: auto; border-radius: 40px; color: #fff; font-family: var(--font_Themedefault); font-weight: 600; font-size: 1.15em; text-align: center; padding: 1rem 1.2rem; box-shadow: 0px 0px 0px 2px #FFF; text-decoration: none; } .free-signup{ background-color: var(--color_ThemeAccent); } .premium-signup{ background-color: #0071BA; } .inquiry-btn{ background-color: var(--color_ThemeAuxiliary); } .btn:hover{ opacity: .8; transition: 200ms; } a.free-signup:hover, a.premium-signup:hover, .inquiry-btn:hover{ color: #FFF; text-decoration: none; filter: brightness(1.25); } /* --- other --- */ .w-750{ max-width: 750px; } .w-850{ max-width: 850px; } .w-1200{ max-width: 1200px; } ul.course-check{ margin: 3.5rem; max-width: 560px; font-size: 1.4rem; } ul.course-check li{ background: url("https://qbase.s3.ap-northeast-1.amazonaws.com/images/3358/original.svg") left 0px top 3px no-repeat; background-size: 1.4rem auto; margin-bottom: 1.5rem; padding-left: 30px; line-height: 1.2em; } /* ============================================== / 講座カルーセル表示 /============================================== */ .catalog-views .card{ border-radius: 10px; } .catalog-views .card a { color: var(--color_ThemeMain); } .catalog-views .course-image, .catalog-views .card-title{ width: 80%; } .catalog-views .course-image{ max-width: 200px; height: 200px; background-image: var(--course-images)url('https://qbase.s3.ap-northeast-1.amazonaws.com/images/3365/original.png'); background-size: cover; background-position: center; margin: 40px auto 25px auto; } .catalog-views .card-title{ max-width: 320px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; margin: 0 auto; text-decoration: none; } .catalog-views .card .btn-more { background-color: #F6EAE5; } .swiper-pagination-bullet-active{ background-color: var(--color_ThemeMain); } /* 前後ボタン */ .catalog-views .swiper-button-next, .catalog-views .swiper-button-prev{ position: absolute; width: 48px; height: 48px; margin-top: calc(-40px - (var(--swiper-navigation-size)/ 2)); background-color: var(--color_ThemeLight); border-radius: 50%; box-shadow: 0 0 0 2px var(--color_ThemeMain); } .swiper-button-next::after, .swiper-button-prev::after{ --swiper-navigation-size: 21px; color: var(--color_ThemeMain); } .catalog-views .swiper-button-prev{ left: -1.25rem; } .catalog-views .swiper-button-next{ right: -1.25rem; } .catalog-views .color-ThemeAuxiliary.swiper-button-next, .catalog-views .color-ThemeAuxiliary.swiper-button-prev{ box-shadow: 0 0 0 2px var(--color_ThemeAuxiliary); } .color-ThemeAuxiliary.swiper-button-next::after, .color-ThemeAuxiliary.swiper-button-prev::after{ color: var(--color_ThemeAuxiliary); } /* ============================================ / 枠線付きカードデザイン /============================================ */ .card-color{ width: 100%; border-radius: 10px; border: none; } .card-color a{ color: #000; text-decoration: none; } .card-color .mini-card-title{ font-size: 1rem; width: 100%; overflow: hidden; display: -webkit-box; text-overflow: ellipsis; -webkit-box-orient: vertical; -webkit-line-clamp: 2; } .card-color .card-footer{ border-top: none; border-radius: 0 0 10px 10px; } .card-color hr{ position: relative; margin-top: 0; margin-bottom: -1px; } .card-color .card-footer-text{ font-size: 14px; } /* card 色分け */ .card-ThemeMain{ box-shadow:0 0 0 3px var(--color_ThemeMain); } .card-ThemeMain .card-footer{ background: #F8EEEA; } .card-ThemeMain .card-footer-text, .card-ThemeMain .material-icons{ color: var(--color_ThemeMain); } .card-ThemeMain hr{ border-top: 1px solid var(--color_ThemeMain); } .card-ThemeAuxiliary{ box-shadow:0 0 0 3px var(--color_ThemeAuxiliary); } .card-ThemeAuxiliary .card-footer{ background: #E6E6E6; } .card-ThemeAuxiliary .card-footer-text, .card-ThemeAuxiliary .material-icons{ color: var(--color_ThemeAuxiliary); } .card-ThemeAuxiliary hr{ border-top: 1px solid var(--color_ThemeAuxiliary); } /* カード画像 */ .courses-list .card-img, .blogs .card-img{ position: relative; overflow: hidden; height: auto; width: 100%; height:160px; } .courses-list .card-img img, .blogs .card-img img{ position: absolute; top: 50%; left: 50%; transform: translate(-50%-50%); width: auto; height: 100%; object-fit: cover; } /* ============================================== / 固定表示 /============================================== */ /* topoffcanvas表示*/ .sp-nav { position: fixed; color: #fff; right: -0.5rem; bottom: 75px; /* visibility: hidden; */ transform: translateX(120px); opacity: 0; transition: all 0.6s ease-in-out; z-index: 10; } .sp-nav.show { transform: translateX(0); opacity: 1; } .sp-nav .material-icons-outlined{ font-size: 28px; } /* ページ下部固定表示*/ .bottomFixed{ position: fixed; bottom: 0; width: 100%; background-color: rgba(255255255.65); backdrop-filter: blur(3px); visibility: hidden; opacity: 0; transition: all 0.6s ease-in-out; z-index: 9; } .bottomFixed.show { visibility: visible; opacity: 1; } /* =========================== / お客様の声カード /=========================== */ .card-seito{ --seitoColor: #006837; height: 100%; box-shadow: 0px 5px 0px 0px var(--seitoColor) inset, 0px -5px 0px 0px var(--seitoColor) inset, 2px 5px 8px 2px rgb(0 0 0 / 15%); } .card-seito img{ width: 80%; height: auto; } /* ============================================== / CTAクロージング /============================================== */ /* 吹き出し型 */ .closing{ position: relative; background-color: var(--color_ThemeMain); padding: 0 5rem; } .closing::before{ content: ''; position: absolute; top: -40px; left: 50%; display: block; width: 0; height: 0; border-: solid; border-width: 0 25px 43.3px 25px; border-color: transparent transparent var(--color_ThemeMain) transparent; margin-left: -25px; } .closing-ThemeAuxiliary{ background-color: var(--color_ThemeAuxiliary); } .closing-ThemeAuxiliary::before{ border-color: transparent transparent var(--color_ThemeAuxiliary) transparent; } /*中身*/ .closing p{ font-size: 0.9rem; margin-bottom: 0; } .closing-img img{ max-width: 100%; height: auto; } .closing-main{ position: relative; display: inline-block; } .closing-deadline{ position: absolute; top: 5px; right: -192px; border-radius: 50%; width: 165px; height: 165px; padding: 10px; box-shadow: 0px 0px 0px 2px #FFF; } .closing-deadline-inner{ width: calc(100% - 2px); letter-spacing: 0; line-height: 1.5; transform: scale(0.9); } .closing-deadline-inner hr{ margin: .5rem 0; border-color: #FFF; } .closing-deadline .col-4, .closing-deadline .col-8{ margin: 0; padding: 0; } .closing-deadline .mini, .closing-deadline small, .closing-deadline .small{ font-size: .75rem; } /* グリッドの場合 */ .cta-grid{ display: grid; grid-template-columns: 240px auto 200px; grid-template-rows: repeat(3auto); } .cta-grid_title{ grid-column: 2 / 4; grid-row: 1 / 2; } .cta-grid_img{ grid-column: 1 / 1; grid-row: 1 / 4; } .cta-grid_text{ grid-column: 2 / 3; grid-row: 2 / 3; } .cta-grid_btm{ grid-column: 2 / 3; grid-row: 3 / 4; } .cta-grid_deadline{ grid-column: 3 / 4; grid-row: 2 / 4; } .cta-grid_deadline .closing-deadline{ position: static; } .cta-grid_deadline .closing-deadline{ position: static; } /* ============================================== / footer /============================================== */ .footer { position: relative; overflow: hidden; width: 100%; background-color: var(--color_ThemeAuxiliary); padding: 60px 0; color: white; z-index: 11 } .footer a{ color: white; text-decoration: none; } /* ============================================== / 第2,第3階層共通 /============================================== */ .top-line{ background: var(--color_ThemeGradient); width: 100%; height: 1.2rem; } .sp-nav { position: fixed; visibility: hidden; color: #fff; right: -0.5rem; bottom: 15px; opacity: 0; transition: all 0.6s ease-in-out; z-index: 10; } .sp-nav.show { visibility: visible; opacity: 1; } .sp-nav .material-icons-outlined{ font-size: 28px; } /* ================================ / 角丸吹き出し /================================ */ .comment{ position: relative; width: 90%; max-width: 660px; margin-bottom: 7.5rem; padding: 2rem 1rem; color: white; text-align: center; border-radius: 40px; } .comment::before{ content: ''; position: absolute; top: -29px; left: 50%; display: block; width: 0; height: 0; border-: solid; border-width: 0 17.5px 30px 17.5px; margin-left: -17.5px; } #contentsMain .comment h3{ color: #FFF; font-size: 2rem; font-weight: 500; } #contentsMain .comment-gray h3 span{ line-height: 1.5; font-size: 1.7rem; } .comment-ThemeMain{ background: var(--color_ThemeMain); } .comment-ThemeMain::before{ border-color: transparent transparent var(--color_ThemeMain) transparent; } .comment-gray{ background: var(--color_ThemeAuxiliary); } .comment-gray::before{ border-color: transparent transparent var(--color_ThemeAuxiliary) transparent; } /* ================================ / listページトップ /================================ */ .list-top{ position: relative; width: 85%; background: #AA3200; color: white; text-align: center; padding: 2.5rem 2rem; margin: 0 auto; word-break: break-all; } .courses-list h2, .blog-list h2{ font-size: 1.5rem; } .courses-list h3, .blog-list h3{ font-size: 1.38rem; } .list-top h1{ line-height: 1.5; } .list-top-gray{ background: var(--color_ThemeAuxiliary); } .list-top-back{ position: absolute; content: ""; width: calc(100% + 2rem * 2); height: 12rem; left: -2rem; z-index: -1; padding: 0 15px; } .list-top-back div{ width: 100%; height: 100%; } /* 二色吹き出し */ .courses .features-about, .blogs .features-about{ position: relative; background: var(--color_ThemeGradient); display: flex; justify-content: center; align-items: center; width: 100%; min-height: 4rem; margin-top: 50px; padding: .5rem; } .courses .features-about::before, .blogs .features-about::before, .courses .features-about::after, .blogs .features-about::after{ content: ''; position: absolute; bottom: -30px; display: block; width: 0; height: 0; border-top: 40px solid transparent; border-bottom: 30px solid transparent; z-index: -1; } .courses .features-about::before, .blogs .features-about::before{ right: 50%; border-right: 30px solid var(--color_ThemeMain); } .courses .features-about::after, .blogs .features-about::after{ left: 50%; border-left: 30px solid var(--color_ThemeAuxiliary); } /* ================================ / listページネーション /================================ */ .courses .pagination, .blogs .pagination{ --bs-pagination-color: var(--color_ThemeAuxiliary); --bs-pagination-hover-color: #923f1c; --bs-pagination-focus-color: #923f1c; --bs-pagination-active-bg: var(--color_ThemeMain); --bs-pagination-active-border-color: var(--color_ThemeMain); } /* ============================================== / サイドバー /============================================== */ #contentsMain aside{ background: none !important; } .side_ThemeMain h3{ color:#AA3200; border-bottom: 1px solid var(--color_ThemeMain); margin-bottom: 1rem; padding-bottom: 1rem; } .side-black h3{ color: var(--color_TextDefault); border-bottom: 1px solid var(--color_TextDefault); margin-bottom: 1rem; padding-bottom: 1rem; } aside .categories li{ margin-bottom: 0.4em; } aside .categories, aside .categories a{ font-size: .9rem; letter-spacing: 0; text-decoration: none; } .side_ThemeMain .categories, .side_ThemeMain .categories a{ color: var(--color_ThemeMain); } .side-black .categories, .side-black .categories a{ color: var(--color_TextDefault); } aside .categories .lessoncount{ padding-left: 0.2rem; } /* ============================================== / コース (.courses) /============================================== */ /* ================================ / コース一覧 courses-list /================================ */ .courses-list .list-top h1{ font-size: 2rem; } .courses-list .features-about::after, .courses-list .features-about::before{ bottom: -25px; } .courses-list .features-h2{ top: -5px; } /* 大カードのみ */ .courses .card-title{ position: relative; } .courses .card-icon{ position: absolute; top: -0.5rem; right: 1rem; width: 2.5rem; height: 2.5rem; border-radius: 50%; color: #FFF; text-align: center; } .courses .card-icon-text{ position: absolute; margin-top: 0.45rem; margin-left: -0.75rem; } /* ============================================== / BLOG(.blog) /============================================== */ /* ================================ / blog一覧 ( blog-list) /================================ */ .blog-list{ word-break: break-all; } .blog-list h1{ font-size: 96px; line-height: 1; letter-spacing: .15em; } .blog-list .features-h2{ font-size: 1.5rem; } .blog-list .features-icon{ position: absolute; top: -10px; left: -40px; background: #006837; box-shadow: 0px 0px 0px 2px #fff; width: 80px; height: 80px; border-radius: 50%; color: #FFF; padding-top: 5px; } .blog-list .features-icon .mednumber{ margin-right: 0; } .more-blogs{ padding: 0.7rem 1rem; border-radius: 0; } .blog-list .comment{ min-height: 17rem; margin-bottom: 3rem; } .blog-list .comment::before{ display: none; } /* ================================ / Blog記事 .blog-detail /================================ */ .blog-detail .post-meta{ color: var(--color_TextDefault); border-top: 1px solid var(--color_TextDefault); border-bottom: 1px solid var(--color_TextDefault); margin: 1.5rem 0; padding: 0.7rem 0.5rem; } .blog-detail img{ max-width: 100%; height: auto; } .blog-detail .post-meta p{ margin-bottom: 0; } .post-meta a, .post-meta a:hover{ color: var(--color_ThemeMain); text-decoration: none; } /* 記事内のスタイル */ .blog-detail .blog-body{ font-size: 1rem; } .blog-detail h1.blogtitle{ margin-top: .75em; font-size: 2rem; } .blog-detail .blog-body h2{ color: var(--color_ThemeMain); margin: 3.8rem 0 1.5rem 0; font-size: 2.2rem; line-height: 1.55; } .blog-detail .blog-body h3{ font-size: 1.55rem; margin: 2.5rem 0 1rem 0; } .blog-detail .blog-body h4{ font-size: 1.35rem; color: var(--color_ThemeAuxiliary); margin: 2.5rem 0 1rem 0; } .blog-detail .blog-body p{ margin-bottom: 1.8em; line-height: 2; } .blog-detail .blog-body ol, .blog-detail .blog-body ul{ padding-left: 2em; } .blog-detail .blog-body li{ list-: inherit; margin-bottom: 0.5em; line-height: 1.6; } .blog-detail .blog-body img{ padding: 5px; box-shadow: 0 0 0 1px #f3f3f3; margin: 1em auto; max-width: 100%; height: auto; } .blog-detail .blog-body img.no-border{ box-shadow: none; } /* ブログ下部 */ .blog-detail .comment{ width: 100%; max-width: 100%; text-align: left; padding: 2rem 1.5rem; margin-top: 2.6rem; } .blog-detail .comment::before{ display: none; } .blog-detail .closing-deadline{ position: static; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 50%; width: 170px; height: 170px; margin: 0 auto; padding: 10px; box-shadow: 0px 0px 0px 2px #fff; } /* 前後記事へ */ .blog-detail .pre-nex{ border-top: 2px solid var(--color_ThemeAuxiliary); border-bottom: 2px solid var(--color_ThemeAuxiliary); margin: 4rem 1.5rem; padding: 0.7rem 0.5rem; } .blog-detail .pre-nex .prev, .blog-detail .pre-nex .next{ display: flex; flex: 0 0 50%; } .blog-detail .pre-nex .prev{ border-right: 1px solid var(--color_ThemeAuxiliary); } .blog-detail .pre-nex .next-mark, .blog-detail .pre-nex .prev-mark { font-size: 2rem; font-family: monospace; font-weight: bold; color: var(--color_ThemeAuxiliary); } /* サイド */ .blog-detail aside{ order: 2; } .blog-detail aside h2{ font-size: 1.38rem; border-bottom: 1px solid var(--color_ThemeAuxiliary); } .blog-detail aside .categories { list-: none; padding-left: 0; } .blog-detail aside .categories>li { position: relative; padding: 5px 0; border-bottom: 1px dotted #d7d7d7; } .blog-detail aside .categories>li img{ max-width: 100%; } /* ================================ / Footer /================================ */ #contentsMain .footer-hr{ border-top: 1px solid #999; margin-top: 1.4rem; padding-top: 1em; } .sns-circle { height: 1.5em; width: 1.5em; border-radius: 50%; background: #FFF; margin: 0 0.5em; text-align: center; display: block; } /* ======================================================================= ========================================================================== 992px以下(lg以下)の設定 ========================================================================== ======================================================================= */ @media(max-width: 992px) { .comment-ThemeMain, .comment-gray{ padding: 1.5rem 1rem; } .blog-list .blog-list-wrapper{ margin-bottom: 8rem; } .blog-list .features-about{ height: 5rem; font-size: 1.1rem; } .blog-list .features-icon{ top: -100px; left: calc(50% - 40px); } .blog-list .features-h2{ font-size: 1.25rem; } .blog-detail h1.blogtitle{ font-size: 1.6rem } .blog-detail .blog-body h2{ font-size: 1.8rem; } .blog-detail .blog-body h3{ font-size: 1.5rem; line-height: 1.6; margin: 2.8rem 0 1rem 0; } .blog-detail .blog-body h4{ font-size: 1.25rem; color: #333; margin: 2.25rem 0 1rem 0; } /* ================================ / ClosingCTA /================================ */ .cta-grid{ grid-template-columns: 200px auto 200px; } .cta-grid_title { grid-column: 1 / 5; grid-row: 1 / 1; text-align: center; } .cta-grid_text { grid-column: 2 / 4; } .cta-grid_img { grid-row: 2 / 4; } .cta-grid_deadline{ grid-row: 2 / 3; grid-column: 4 / 5; } .cta-grid_btm{ grid-column: 2 / 5; grid-row: 3 / 4; } }/* @media */ /* ======================================================================= ========================================================================== 768以下(スマホ、小タブレット向け)の設定 ========================================================================== ======================================================================= */ @media(max-width: 768px) { #contentsMain h1{ font-size: 1.2rem; } #contentsMain .top-copy{ font-size: 1.5rem; } #contentsMain .trainer-name{ font-size:1.25rem; } .md-inline{ display: block; } .md-block{ display: inline; } .w-750, .w-850 { padding: 0 20px; } /* ================================ / ClosingCTA /================================ */ .closing { padding: 0 20px; } .closing-deadline { position: inherit; top: 1.5rem; left: 0; margin: 0 auto; } /* グリッドの場合 */ .cta-grid{ grid-template-columns: 160px auto; } .cta-grid_title { grid-column: 1 / 4; grid-row: 1 / 2; text-align: left; } .cta-grid_img { grid-column: 1 / 2; grid-row: 2 / 4; } .cta-grid_text { grid-column: 2 / 3; grid-row: 2 / 3; } .cta-grid_deadline{ grid-column: 3 / 4; grid-row: 2 / 4; } .cta-grid_btm{ grid-column: 2 / 3; grid-row: 3 / 4; } /* =========================== / お客様の声カード /=========================== */ .card-seito{ --seitoColor: #006837; height: 100%; box-shadow: 0px 5px 0px 0px var(--seitoColor) inset, 0px -5px 0px 0px var(--seitoColor) inset, 2px 5px 8px 2px rgb(0 0 0 / 15%); } .card-seito img{ width: 80%; height: auto; } .free-signup, .premium-signup{ width: 90%; font-size: 1em; } /* =========================== / カルーセル /=========================== */ .catalog-views .course-image{ width: 200px; height: 200px; margin: 40px auto 25px auto; } .catalog-views .card-title{ width: 80%; max-width: 250px; height: 3.5em; margin: 0 auto; } .catalog-views .card{ margin-right: 0; } /* =========================== / クロージング /=========================== */ .closing { padding: 0 20px; } .closing-deadline { position: inherit; top: 1.5rem; left: 0; margin: 0 auto; } /* =========================== / コース一覧 /=========================== */ .courses-list aside{ order: 2; } /* 大カードのみ */ .courses .card-title{ position: relative; } .courses .card-icon { top: -1.5rem; right: 1.2rem; } .courses .comment{ width: 100%; padding: 2rem 1rem; } .courses .comment h3{ font-size: 1.6rem; } .courses .comment-gray h3 span{ font-size: 1.2rem; } /* =========================== / ブログ /=========================== */ .blog-list h1 { font-size: 3rem; } .blog-detail .blog-body ol, .blog-detail .blog-body ul { padding-left: 1.5em; } .blog-detail .pre-nex .prev{ margin: 0.5em 0 1em; padding-bottom: 1em; border-right: none; border-bottom: 1px solid #333; } .blog-detail .comment { text-align: center; padding: 1.5rem 1rem; } }/* @media */ /* ================================================================================= /* ================================================================================= /* 576px 以下(スマホ)の設定 /* ================================================================================= /* ============================================================================== */ @media(max-width: 576px){ /* ================================ / ClosingCTA /================================ */ .closing:has(.container){ padding-left: 0; padding-right: 0; } .cta-grid{ grid-template-columns: auto 180px; } .cta-grid_title { grid-column: 1 / 3; grid-row: 1/2; } .cta-grid_text { grid-column: 1 / 3; grid-row: 2 / 3; } .cta-grid_img { grid-column: 1 / 2; grid-row: 3 / 4; } .cta-grid_deadline{ grid-column: 2 / 3; grid-row: 3 / 4; padding-bottom: 1.8rem; } .cta-grid_btm{ grid-column: 1 / 3; grid-row: 4 / 5; } }/* @media */ pre code{ background: none; } .blog-body iframe { width: 100%; max-width: 100%; height: auto; aspect-ratio: 16/9; } .blog-body h2, .blog-body h3, .blog-body h4 { text-transform: none;} .blog-body p.small.blog-body p .small { font-size: .875em !important;} .blog-body p.blog-body a { word-break: break-all;} /* 会話文 */ .blog-body .small.sn { font-size: 12px; margin-bottom: 0; } .blog-body .flip-color .vc { background-color: #fffef6; border-color: #fff9c3; } .blog-body .flip-color .ic img { box-shadow: 0 0 0 1px #fff9c3 !important; } .blog-body .flip-color .irr:before { border-right: none; border-left: 8px solid #fff9c3; left: auto; right: -11px; } .blog-body .flip-color .irr:after { border-right: none; border-left: 10px solid #fffef6; right: -7px; left: auto; } /* =============================================== * Banner Styles *=============================================== */ /* bannerSide base */ .bannerSide { --bgSideBanner: url("https://qbase.s3.ap-northeast-1.amazonaws.com/images%2F6020%2Foriginal.jpeg"); position: relative; width: 100%; max-width: 400px; margin: 0 auto; background-color: #FFF; border-radius: 12px; box-shadow: 2px 2px 2px #ccc; overflow: hidden; } .bannerSide__inner { display: flex; flex-direction: column; inset: 0; padding: clamp(18px3.2vw28px); } .bannerSide__top{ justify-content: space-between; position: relative; aspect-ratio: 1 / 1; color: #111; background-image: var(--bgSideBanner); background-size: cover; background-position: center; background-repeat: no-repeat; } .bannerSide__headline { margin: 0; letter-spacing: -0.02em; line-height: 1.3; font-size: clamp(18px2.6vw36px); text-shadow: 1px 1px 0 rgba(2552552550.85), -1px 1px 0 rgba(2552552550.85), 1px -1px 0 rgba(2552552550.85), -1px -1px 0 rgba(2552552550.85); } @media (max-width: 1200px) { .bannerSide__headline { font-size: clamp(18px1.8vw26px); } } @media (max-width: 767px) { .bannerSide__headline { font-size: clamp(28px4vw36px); } } .bannerSide__subcopy { position: relative; line-height: normal; font-weight: 600; padding: 0.4em 0.6em; border-radius: 12px; background: rgba(2552552550.75); } .bannerSide__subcopy span { width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; font-size: 18px; color: #FFF; background-color: #d51715; border-radius: 50%; } #contentsMain .bannerSide__subcopy p { font-size: 15px; line-height: 1.6; } .bannerSide__subcopy span.positionLT { position: absolute; top: -32px; left: 8px; } .bannerSide__subcopy span.positionCT { position: absolute; top: -32px; left: 50%; transform: translateX(-50%); } .bannerSide__subcopy span.positionLT + p, .bannerSide__subcopy span.positionCT + p { padding-top: 16px; } .bannerSide__bottom { padding-top: clamp(12px2.8vw18px); align-items: center; } .bannerSide__brand-name { font-weight: 800; font-size: clamp(21px2.16vw32px); letter-spacing: 0.02em; } .bannerSide__brand-tagline { margin-top: 6px; font-weight: 600; font-size: clamp(12px2.4vw16px); } .bannerSide__cta { position: relative; display: inline-flex; gap: 10px; padding: clamp(10px0.95vw14px) clamp(18px1.62vw24px); border-radius: 999px; text-decoration: none; font-weight: 800; font-size: clamp(16px1.41vw21px); background: linear-gradient(90deg#f07b2a 0%#4aa6e9 100%); box-shadow: 0 10px 24px rgba(0,0,0,0.22); transition: all 250ms ease; } .bannerSide__cta::before { content: ""; inset: 0; background: linear-gradient(to bottom, rgba(245,245,245,0.92) 0%, rgba(245,245,245,0.70) 22%, rgba(245,245,245,0.00) 52%, rgba(255,255,255,0.85) 72%, rgba(255,255,255,0.95) 100%); pointer-events: none; } .bannerSide__cta:hover { transform: translateY(-1px); box-shadow: 0 12px 28px rgba(2552552550.5); } .bannerSide__cta:active { transform: translateY(0); box-shadow: 0 8px 18px rgba(0,0,0,0.20); } .bannerSide__cta-arrow { font-size: 1.25em; line-height: 1; transform: translateY(1px); } 【図解たっぷり】AI搭載エディタ「Cursor」の使い方入門!~ 導入から基本操作まで ~ | SkillhubAI(スキルハブエーアイ)
<> .public_header_color { background-color: #eaede2 } .public_header_color.scrolled { background-color: #ebede2 !important; } .public_header_color.scrolled .public_header_color { background-color: #ebede2 !important; } .header-navbar-toggler { background-color: #636363 !important; } .dropdown-sub-content a:hover {opacity: 0.6;} .menu-header .dropdown-toggle::after { display: inline-block !important; } .cart-badge { position: absolute; top: -5px; right: -10px; font-size: 10px; } .icon-cart.hidden { display: none !important; }

【図解たっぷり】AI搭載エディタ「Cursor」の使い方入門!~ 導入から基本操作まで ~

今だけ無料でAIチューター(先生)付きレッスンを提供しています。
AI先生があなたの学習をやさしくサポートします。今までは有料ユーザーにのみ開放していましたが、今なら無料でWeb/AI制作7講座が受講できます。 この機会にAIつきの学習を体験してみてください。
(無料、限定100名、2月15日まで)

» 今すぐ無料講座をチェックする

AI搭載エディタとしてWeb制作やプログラミング界隈で話題のCursor。
Web制作の学習を始めたばかりの方や、コードエディタに馴染みがない方でもCursorを試せるように、インストール方法から基本的な機能・AIの使い方まで図解たっぷりで解説します。ぜひ導入して、話題になっている理由を体感してみてください。

Cursorの基礎知識と導入方法

Cursorとは?

Cursor(カーソル)は、AIを活用したコーディング・プログラミング用コードエディタです。
Microsoft社製の「Visual Studio Code(VS Code)」をベースに開発されているため、VS codeと操作性が近い・拡張機能が共通して使えるなどのメリットがあります。

Cursorの大きな特徴は、最初から「AI機能を使用したコーディング」を前提に作られている点。 VS CodeでもCopilotとの連携などができますが、Cursorではワンタッチで使用するAIやモデルの切り替えが可能。以下のような独自の強みがあります。

  • AIチャットが組み込まれており、モデルも選択可能
    コードの横でAIに質問でき、修正や改善をそのまま反映可能。
    複数のモデルに対応しているため、ChatGPTやClaude、geminiなど目的にあったAIを選択できます。

  • ファイルやプロジェクト全体を理解した回答
    ただの補完ではなく、フォルダ内のコード全体を参照して「この関数はこっちに移動した方がいい」など具体的な提案をしてくれます。 途中参加のプロジェクトなど「この関数はどこで定義しているんだ?!」という場面でも、めちゃくちゃ頼りになります。

  • 自然言語でリファクタリングや修正ができる
    「変数名をわかりやすくして」「この処理を関数化して」とチャットで指示すると、自動でコードを書き換えてくれます。 また、コードエディタがベースなので、ドラッグで範囲指定して「ここのコード」というように指示もしやすいです。

AIアシスタントが協力し効率よく作業ができる高機能コードエディタとして、Cursorは世界的に注目されています。「価格.com」や「食べログ」を運営する株式会社カカクコムさんも、AIエディタ「Cursor」を全エンジニアに導入したと発表していますよ。

Cursorの料金は?

個人向けプランとしては、主に以下の3プランが用意されています。

  • Hobby:無料
  • Pro:月20ドル(※年払い選択で20%オフ)
  • Ultra:月200ドル

Hobbyプラン(無料版)は、AIリクエスト(チャットボックスを使ってAIにコード生成やリファクタリングをさせる)と、Tabと呼ばれる自動補完機能の使用量に制限があります。

なお、どのプランでも既定のエージェントの使用量を超過時した際には、追加課金やプラン変更を促すメッセージが表示されます。勝手に有料版に移行する、課金される、ということはないのでご安心を。試しに使ってみる、そこまでAIに作業をやらせない…という場合は、とりあえず無料のHobbyプランで使用してみるのが良いでしょう。

有料版はどのくらい使えるの?

Cursorではエージェントの使用量に応じた「クレジット制」が採用されることが発表されています。 「月〇〇回」のように単純な回数ではなく、AIエージェントに要求する作業によって使用できる回数が変わってきます。

詳しくは公式ドキュメントのhttps://docs.cursor.com/en/account/pricingをご確認ください。

Cursorを導入してみよう

Cursorのインストール方法は?

Cursorの公式サイトを開いて、インストール用のファイルをダウンロードします。

OSなどを判定し、最適のバージョンを用意してくれます(※下図はWindowsの場合)。
基本的にはそのまま、白い「ダウンロード」ボタンを押せばOK。
ご自身のOSと違う、ダウンロードファイルを自分で選びたい方は「すべてのダウンロード」から選択することも可能です。

https://cursor.com/ja

ダウンロードができたら、インストールを進めていきましょう。
最初の画面は使用許諾契約書に「同意する」で進めます。 file

セットアップするための詳細を聞かれるので、変更したい点があれば登録します。
よくわからない場合は、デフォルトのまま「次へ」で進めていっても大丈夫。インストールを実行します。 file

インストールが完了したら、とりあえずCursorを起動してみましょう。
file

Cursorの初回セットアップ

初めてCursorを起動すると、6つの設定を聞かれます。 全体的に黒いし、英語だし、登録しないと使えないの?と一瞬不安になりますが、スキップしちゃって大丈夫です。

1. ログインするか

Sign Up もしくは Log In でログインしても良いですし、ログインせず試してみたいという方は下部の Skip and continue を押してください。
file

2. VS codeの設定を使うか

次に、初回起動の場合は以下のような画面が開きます。
これは、VS Codeの設定をCursorにインポートするかの確認です。

インポートしたい方は上の Import from VS code ボタンをクリック、不要という方は下の Skip and continue を押してください。
後からでも設定できますので、よくわからない・考え中という方もSkipしておきましょう。
file

3. カラーテーマはどれが良いか?

最後の画面はテーマ(Cursorの配色)の設定です。
これも後から変えられますので、3つの候補の中で適当に選んで Continue を押してください。
file

4. キーボードショートカットの設定

キーボードショートカットの設定です。
基本的にはそのまま Continue で良いでしょう。
file

5. データ共有の確認

あなたがCursorを使用して書くコードを、Cursorが学習し使用しても良いか…というような内容が書かれています。 最初はデータ共有がオンになっているので、オフにしたいときは Settings → Privacy(設定 → プライバシー)で設定してね、という内容です。

下部のチェックボックスにチェックを入れないと進めないので、チェックを入れて Continue。 ちなみにチェックする内容は、意訳すると「学習しても良いし、しないで欲しい場合は自分でoffに設定します」というものです。
file

6. AI言語とターミナルコマンド設定

いよいよ最後です。

  • Language for AI:AIが応答するときの言語です。autoのまま、もしくは確実に日本語で返してほしかったらJapaneseを選択します。
  • Open from Terminal:ターミナル操作でCursorを立ち上げる際のコマンド設定。必要ない・よくわからない場合は触らなくてOK。

file
設定出来たら Continue をクリックしてセットアップを終了します。

Cursorのホーム画面が開きました。
file

Cursorの日本語化

※英語のままで良い方はスキップしてください。

2. 言語パッケージを入手する

Cursorの日本語化には日本語表記用の言語パッケージ(拡張機能)をインストールする必要があります。 VS codeと同じものを使用するので「VS codeは日本語化している、VS codeの設定をImportした」という方はスキップして大丈夫です。

では、拡張機能から日本語版パッケージを入手してみましょう。
以下のショートカットキーを使って、拡張機能を開きます。

  • Windows:Ctrl + Shift + X
  • Mac:Command + Shift + X

拡張機能の検索バーが表示されるので、Japanese Language pack と入力します。
上のほうにある❝Japanese Language Pack for VS Code❞をクリックして、Installボタンを押しましょう。
file
file

1. Cursorを日本語化する

言語パッケージがインストール出来たら、表示言語の設定を変更しましょう。 以下のショートカットキー、もしくは上部メニューのViewからコマンドパレットを開きます。

  • Windows:Ctrl + Shift + P
  • Mac:Command + Shift + P

file

コマンドパレットが表示されたら、Configure Display Languageと入力。
下に表示されるConfigure Display Languageを選択します。
file
変更可能な言語の一覧が表示されますので、日本語を選択してください。
file

「日本語に切り替えるには(Cursorの)再起動が必要だよ」という表示が出ます。
Restartを選択して、再起動させましょう。 file
少し待つと、日本語表示に変更された状態でCursorが起動します。
file

Cursorの基本操作

Cursorの使い方も、基本的には VS code や他のコードエディタとほぼ同じです。
ただ、そのため紹介・解説などされることがないんですよね。

以下ではこれからコーディングの勉強をしてみたい、コードエディタ自体使い慣れてないんだけど…という方向けに基本操作を紹介します。

Cursorでのフォルダの開き方

何はともあれ、これからコードを書いていくためにファイルを開きたいですよね。 実際の制作にしろ、学習にしろ、必要なファイル一式はフォルダにまとます。ですので、まず最初にするのは「フォルダを開く」です。

Cursorのホーム画面は親切で、「フォルダを開く」ための要素が各所に配置されています。 (前回行った作業があれば、起動した段階でそのフォルダやファイルが開いた状態になります)
file
メニューのファイルから開いても、開きたいフォルダを直接CursorにドラッグアンドドロップしてもOK。
file

Cursorでのファイルの作成方法

サイドバーのフォルダ名あたりにカーソルを動かすと「新しいファイル」というアイコンが表示されます。
そのアイコンをクリックして作成するのがもっともわかりやすい方法です。 file

上部メニューのファイル > 新しいテキストファイル からでも作成できます。
メニューにも書かれている、ショートカットキーも使えますよ。

  • Windows:Ctrl + N
  • Mac:Command + N

file

新しいテキストファイル から作成した場合は、作成段階ではまだファイル自体はフォルダ内に作られていません。なにかを記述したら「名前を付けて保存」してください。
file
このあたりの操作は、ショートカットキーを使うのがおすすめです。

CursorでHTMLとCSSを書いてみよう

Cursorでお試しのHTMLを書いてみましょう。

HTMLを書いてみよう

ファイルの開き方で作った text.html にHTML5のひな型を書いてみます。
コードエディタ特有の便利機能があるので、使ってみましょう。 やり方は超がつくほどかんたんです。

  1. ! と入力する
  2. Tabキーを押す(薄い色で候補のコードが表示される)
  3. もう一度 Tab キーを押す(確定される)
  4. lang属性を日本語(ja)に変える

file

便利機能 Emmet(エメット)とは

Emmetとは、簡単な記載でHTMLやCSSを補完入力できるツールです。
先ほどの ! 入力 → Tabキーで展開のように、決められた書き方を使ってTabキーを押すとコードとして展開してくれます。

記法をいくつか覚えると作業が格段に楽になります。
全て覚えなくても大丈夫です!チートシートを見ながら、よく使いそうな物から使ってみましょう。

Emmetチートシート

CSSを書いてみよう

次は、.cssファイルを作成して、HTMLから読み込んでみましょう。
ファイルの新規作成はCursorでのファイルの作成方法を参考に、お好みの方法でどうぞ。
file

お試しなので簡単に body の背景色を設定してみましょう。
boくらいまで打つと、薄いテキスト(Cursorではゴーストテキストと呼ぶ)で補完する候補が出てきます。慣れないとちょっと見にくいですが、以下のように考えてコードの記述を進めましょう。

  • Tabキー:表示されている候補の採用
  • Enterキー:改行

下アニメーションでは、ゴーストテキストでbackground-color:の候補が出たので、そのまま採用しました。テストとしてはわかりにくい色なので、派手な色(#F00)に変えておきます。
file
なお、候補が出ない場合もbackなど数文字入力すると、候補が出てくると思います。

そして、test.htmlを開いて</head>タグのすぐ上あたりでCSSを読み込ませます。
ゴーストテキストが表示されればそのままTabキーで採用しても、自分でlinkと打ってTabキーでEmmet展開してもOK。
file

あっという間に.cssを読み込ませることができました。 忘れずにHTML,CSS両方のファイルを上書き保存してください。

表示確認

書いたファイルがHTMLとして動くか、CSSが読めているか、チェックしてみましょう。 画面が白ではなく、色が入っていたら正しくできています。
file

このファイルを使って、いよいよCursorのAI機能を試してみます!

CursorのAI機能を使ってみよう

CursorのAI機能はどう使う?

CursorのAI機能はいくつかありますが、まずはAIパネルを使ってみましょう。 AIパネルは、右上、歯車アイコンの隣にあるアイコンをクリックすると開けます。
デフォルト設定なら以下のショートカットキーも使えます。

  • Windows:Ctrl + L
  • Mac:Command + L

file

ただですね、ログインをしないとチャットのメッセージ送信ができません。
下図のようになっている方は「Log in」となっているボタンをクリックして、ログインを行う必要があります。
file

「Log in」をクリックすると、ブラウザで以下のような画面が開きます。
Eメールアドレスを登録してサインアップしても、Googleなどと連携させても、どちらでも大丈夫です。
file サインアップとログインが完了すると、以下のような画面になります。
file

Cursorに戻ると、AIパネルの表示が変わっているはずです。
file

ちなみにですが、メッセージ送信ボックスの下部 Auto となっている部分で、使用するAIのモデルを選ぶことができます。
とりあえず使用する、モデルよくわからん…という場合は Auto のままにしておくことがおすすめです。 file

■ 無料で使いたいんだけど、料金が怖い

Cursorではプランによってモデルごとに制限回数がありますが、Cursor公式ドキュメントでは以下のように説明されています。
使用制限に達したらエラーメッセージが出る(自分で課金設定をしない限りは勝手に課金されない)のでご安心ください。

制限に達したらどうなりますか?
月間使用制限に達すると、明示的に通知され、3つのオプションを含むメッセージが表示されます:

  1. Autoに切り替える
  2. 使用量課金を有効にして同じモデルを継続使用する(API価格で課金)
  3. より高いサブスクリプション階層にアップグレードする
リクエストの品質や速度が低下することはありません。ユーザーが使用制限に達した際は、常に明確なエラーメッセージが表示されます。 引用元:Cursor – モデルと料金

なお、上記ページでは月間使用制限に達したときの対処として「Autoに切り替える」が掲載されていますが、2025年9月15日からAutoでのリクエストも使用量に加算されることが発表されています。Proプラン以上を検討されている方も、料金体系について確認してみてください。

参照:Updates to Teams and Auto

AIにHTML+CSSを書いてもらう

料金の不安も払しょくされたところで、Cursorの目玉機能AIコーディングをやってみましょう。 test.html.cssを使って試してみます。

ざっくりと、以下の指示を送ってみました。

このページに3つ横並びのカードを配置したい。
あと、ページ全体の背景色も薄いグレーに変更して。

file
おぉ!書いてくれましたね。
素晴らしいのは1つのファイルだけではなく、関連するファイルを認識してそれぞれ調整してくれることです。

更新箇所が示されているので、確認して採用してみましょう。 file

test.html.cssを上書き保存してブラウザで見てみると…できてる!
file

もちろんCursorはコードエディターですので、自分でCSSを書いたり、AIが作成したコードを手直ししてもOK。
また、「ドロップシャドウを濃いめに」や「カードに画像をいれたい」など、AIにより細かく指示していくことで改善も行うことができます。

おまけ:データ共有を拒否するには?

初回セットアップの「5. データ共有の確認」で、Cursorにデータ共有をしたくないときは自分で設定するというチェックを入れました。
データが共有されるってちょっと怖いな…という方は以下の手順で設定できます(※ログイン済の場合のみ)。

  1. 左上にある歯車のアイコン(Settings)を開く
  2. 画面をスクロールダウンして、最下部あたりにある Privacy を探す
  3. 選択肢を Share Deta から Private Mode に変える

file

まずは無料で7講座から始めましょう!

ハイクオリティな7講座/98レッスンが受け放題。
募集人数には制限があります。サインアップはお早めに。
無料申し込み期限
2月15日まで

募集 人数
100名 (残りわずか)
<> @charset "utf-8"; /* CSS Document */ ul.toc_list { position: relative; margin-top: 2em; padding-left: 0px !important; list--type: none; border: solid 2px #AA3200; } ul.toc_list::after { position: absolute; content: "目次"; padding: 1px 7px; letter-spacing: 0.05em; font-weight: bold; font-size: .8em; background: #AA3200; color: #fff; bottom: 100%; left: -2px; border-radius: 4px 4px 0px 0px; } ul.toc_list li { list-: none !important; line-height: 1.5; padding: 0.5em 0 0.5em 1.7em; border-bottom: 1px dashed #AA3200; } ul.toc_list li::before { position: absolute; content: "\002713"; color: #AA3200; font-weight: bold; left: 0.5em; } ul.toc_list li a{ color: #000; } ul.toc_list>ul{ padding-left: 0px !important; padding: 1px 0; } ul.toc_list>ul li{ position: relative; left: 0; padding-left: 2.8em; } ul.toc_list>ul li::before { position: absolute; content: ""; left: 2em; top: 1.1em; border-radius: 50%; width: 5px; height: 5px; display: inline-block; background: #000; } ul.toc_list li:last-child { border-bottom: none; } ul.toc_list>ul li:last-child { border-bottom: 1px dashed #AA3200; } ul.toc_list li:hover{ background-color: #ffe1d5; } ul.toc_list li a:hover{ text-decoration: none; } /* ======================================================================= ========================================================================== 768以下(スマホ、小タブレット向け)の設定 ========================================================================== ======================================================================= */ @media(max-width: 768px) { } /* Fullscreen code s */ .fullscreen-code { position: fixed !important; top: 0 !important; left: 0 !important; width: 100vw !important; height: 100vh !important; z-index: 9999 !important; background: white !important; padding: 20px !important; overflow: auto !important; margin: 0 !important; border-radius: 0 !important; background: #000 !important; } .fullscreen-code pre { max-height: calc(100vh - 60px) !important; overflow: auto !important; background: #000 !important; padding: 15px !important; border-radius: 4px !important; font-size: 14px !important; line-height: 1.5 !important; } .fullscreen-code code { white-space: pre-wrap !important; word-break: break-word !important; }
ヘッダー
ヘッダー
<>