--- title: "ログインボタンのマークアップ" slug: "sso-markup-guide" tags: ["Single Sign-On"] updated: 2026-09-17T09:28:51Z published: 2026-09-17T09:28:51Z canonical: "guide.ncloud-docs.com/sso-markup-guide" --- > ## Documentation Index > Fetch the complete documentation index at: https://guide.ncloud-docs.com/llms.txt > Use this file to discover all available pages before exploring further. # ログインボタンのマークアップ Classic/VPC環境で利用できます。 ユーザーの Applicationに独自のデザインガイドがない場合、以下のマークアップを活用してログインボタンを配置する方法を説明します。 ## シンボルのダウンロード マークアップを活用してログインボタンを配置する前に以下のシンボルイメージファイルをダウンロードします。 - シンボルのダウンロード: [icon-ncloud-symbol.zip](https://cdn.document360.io/6998976f-9d95-4df8-b847-d375892b92c2/Images/Documentation/icon-ncloud-symbol.zip?sv=2026-02-06&spr=https&st=2026-10-30T21%3A37%3A56Z&se=2026-10-30T22%3A37%3A56Z&sr=c&sp=r&sig=%2B8FvXmjIj57yLX7yf0yEaTgXlMKYsTjQjcT2dR4b%2BP0%3D) ## ログインボタンの配置 ログインボタンの配置時、ボタンの形によりマークアップが異なります。画面の環境に応じて、以下の3つの形から一つを選択して使用します。 - [基本型ログインボタン](/docs/ja/sso-markup-guide#%EA%B8%B0%EB%B3%B8%ED%98%95%EB%A1%9C%EA%B7%B8%EC%9D%B8%EB%B2%84%ED%8A%BC) - [縮小型ログインボタン](/docs/ja/sso-markup-guide#%EC%B6%95%EC%95%BD%ED%98%95%EB%A1%9C%EA%B7%B8%EC%9D%B8%EB%B2%84%ED%8A%BC) - [シンボル型ログインボタン](/docs/ja/sso-markup-guide#%EC%8B%AC%EB%B3%BC%ED%98%95%EB%A1%9C%EA%B7%B8%EC%9D%B8%EB%B2%84%ED%8A%BC) ### 基本型ログインボタン 基本型ログインボタンは、最も基本的なボタンの形で、カラーのテーマにより、lightバージョンと colorバージョンに区分されます。 NAVERクラウドプラットフォームにログイン NAVERクラウドプラットフォームにログイン #### CSSの作成 CSSにログインボタンとシンボルを適用する方法は次の通りです。 `imagePath`にシンボルイメージの保存パスを代入してください。 - lightバージョン ``` .button-basic-wrapper { position: relative; display: inline-flex; align-items: center; border-radius: 4px; background-color: #f9f9f9; font-size: 0; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; font-family: 'Roboto',-apple-system,BlinkMacSystemFont,'Malgun Gothic','맑은 고딕',helvetica,'Apple SD Gothic Neo',sans-serif; cursor: pointer; } .button-basic-wrapper.lang-ja { font-family: 'Roboto',-apple-system,BlinkMacSystemFont,'メイリオ','Meiryo','Yu Gothic','Hiragino Kaku Gothic Pro','Hiragino Sans',sans-serif; } .button-basic-wrapper.lang-zh { font-family: 'Roboto',-apple-system,BlinkMacSystemFont,'Microsoft Yahei',sans-serif; } .button-contents .button-text{ display: inline-block; vertical-align: top; } .button-basic-wrapper::after { content: ''; position: absolute; top:0; left:0; right: 0; bottom: 0; border: 1px solid #aaa; border-radius: 4px; } .button-basic-wrapper:hover { background: #f0f0f0; } .button-basic-wrapper:hover::after { border-color: #222; } .button-basic-wrapper:hover .button-icon-wrap { border-color: #222; } .button-basic-wrapper .button-icon-wrap { height: 44px; line-height: 44px; padding: 0 6px 0 10px; border-right: 1px solid #aaa; background-color: #fff; border-top-left-radius: 4px; border-bottom-left-radius: 4px; } .button-contents { font-size: 16px; line-height: 44px; color: #222; font-weight: bold; padding: 0 31px; border-top-right-radius: 4px; border-bottom-right-radius: 4px; } .button-contents.button-small-type { padding: 0 22px; } .button-basic-wrapper .buttoniconimage { background: url(imagePath/icon-ncloud-symbol-light.png) no-repeat; background-size: 28px 14px; display: inline-block; vertical-align: middle; width: 28px; height: 14px; } ``` - colorバージョン ``` .button-basic-wrapper.color-type { position: relative; background-image: linear-gradient(98deg, #00e25d, #00d1c8); } .button-basic-wrapper.color-type:after { border-color: transparent; } .button-basic-wrapper.color-type:hover .button-icon-wrap ,.button-basic-wrapper.color-type:hover .button-contents { background-color: rgba(0, 0, 0, 0.15); } .button-basic-wrapper.color-type .button-icon-wrap { position: relative; background-color: transparent; border-color: rgba(0, 0, 0, 0.15); } .button-basic-wrapper.color-type .button-contents { position: relative; color: #fff; } .button-basic-wrapper.color-type .buttoniconimage { background: url(imagePath/icon-ncloud-symbol-color.png) no-repeat; background-size: 28px 14px; } ``` #### HTMLの作成 HTMLにログインボタンとシンボルを適用する方法は次の通りです。 - lightバージョン ```
NAVERクラウドプラットフォームにログイン
``` - colorバージョン ```
NAVERクラウドプラットフォームにログイン
``` ### 縮小型ログインボタン 縮小型ログインボタンは、ボタンを配置するエリアが狭い場合に使用できるボタンの形で、カラーのテーマにより、lightバージョンと colorバージョンに区分されます。 Ncloudでログイン Ncloudでログイン #### CSSの作成 CSSにログインボタンとシンボルを適用する方法は次の通りです。 `imagePath`にシンボルイメージの保存パスを代入してください。 - lightバージョン ``` .button-basic-wrapper { position: relative; display: inline-flex; align-items: center; border-radius: 4px; background-color: #f9f9f9; font-size: 0; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; font-family: 'Roboto',-apple-system,BlinkMacSystemFont,'Malgun Gothic','맑은 고딕',helvetica,'Apple SD Gothic Neo',sans-serif; cursor: pointer; } .button-basic-wrapper.lang-ja { font-family: 'Roboto',-apple-system,BlinkMacSystemFont,'メイリオ','Meiryo','Yu Gothic','Hiragino Kaku Gothic Pro','Hiragino Sans',sans-serif; } .button-basic-wrapper.lang-zh { font-family: 'Roboto',-apple-system,BlinkMacSystemFont,'Microsoft Yahei',sans-serif; } .button-contents .button-text{ display: inline-block; vertical-align: top; } .button-basic-wrapper::after { content: ''; position: absolute; top:0; left:0; right: 0; bottom: 0; border: 1px solid #aaa; border-radius: 4px; } .button-basic-wrapper:hover { background: #f0f0f0; } .button-basic-wrapper:hover::after { border-color: #222; } .button-basic-wrapper:hover .button-icon-wrap { border-color: #222; } .button-basic-wrapper .button-icon-wrap { height: 44px; line-height: 44px; padding: 0 6px 0 10px; border-right: 1px solid #aaa; background-color: #fff; border-top-left-radius: 4px; border-bottom-left-radius: 4px; } .button-contents { font-size: 16px; line-height: 44px; color: #222; font-weight: bold; padding: 0 31px; border-top-right-radius: 4px; border-bottom-right-radius: 4px; } .button-contents.button-small-type { padding: 0 22px; } .button-basic-wrapper .buttoniconimage { background: url(imagePath/icon-ncloud-symbol-light.png) no-repeat; background-size: 28px 14px; display: inline-block; vertical-align: middle; width: 28px; height: 14px; } ``` - colorバージョン ``` .button-basic-wrapper.color-type { position: relative; background-image: linear-gradient(98deg, #00e25d, #00d1c8); } .button-basic-wrapper.color-type:after { border-color: transparent; } .button-basic-wrapper.color-type:hover .button-icon-wrap ,.button-basic-wrapper.color-type:hover .button-contents { background-color: rgba(0, 0, 0, 0.15); } .button-basic-wrapper.color-type .button-icon-wrap { position: relative; background-color: transparent; border-color: rgba(0, 0, 0, 0.15); } .button-basic-wrapper.color-type .button-contents { position: relative; color: #fff; } .button-basic-wrapper.color-type .buttoniconimage { background: url(imagePath/icon-ncloud-symbol-color.png) no-repeat; background-size: 28px 14px; } ``` #### HTMLの作成 HTMLにログインボタンとシンボルを適用する方法は次の通りです。 - lightバージョン ```
Ncloudでログイン
``` - colorバージョン ```
Ncloudでログイン
``` ### シンボル型ログインボタン シンボル型ログインボタンは、テキストなしにシンボルで構成されているボタンの形で、カラーのテーマにより、lightバージョンと colorバージョンに区分されます。 #### CSSの作成 CSSにログインボタンとシンボルを適用する方法は次の通りです。 `imagePath`にシンボルイメージの保存パスを代入してください。 - lightバージョン ``` .button-symbol-wrapper { position: relative; display: inline-flex; align-items: center; font-size: 0; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; font-family: 'Roboto', sans-serif; cursor: pointer; } .button-symbol-wrapper:after { content: ''; position: absolute; top:0; left: 0; right: 0; bottom: 0; border: 1px solid #aaa; border-radius: 50%; } .button-symbol-wrapper:hover::after { border-color: #222; } .button-symbol-wrapper:hover .button-icon-wrap { background-color: #f0f0f0; } .button-symbol-wrapper .button-icon-wrap { position: relative; height: 44px; line-height: 44px; border-radius: 50%; padding: 0 7px 0 9px; } .button-symbol-wrapper .buttoniconimage { background: url(imagePath/icon-ncloud-symbol-light.png) no-repeat; background-size: 28px 14px; display: inline-block; vertical-align: middle; width: 28px; height: 14px; } ``` - colorバージョン ``` .button-symbol-wrapper.color-type{ background-image: linear-gradient(98deg, #00e25d, #00d1c8); border-radius: 50%; } .button-symbol-wrapper.color-type::after{ border: 0; } .button-symbol-wrapper.color-type:hover .button-icon-wrap { background-color: rgba(0, 0, 0, 0.15); } .button-symbol-wrapper.color-type .button-contents { color: #fff; } .button-symbol-wrapper.color-type .buttoniconimage { background: url(imagePath/icon-ncloud-symbol-color.png) no-repeat; background-size: 28px 14px; } ``` #### HTMLの作成 HTMLにログインボタンとシンボルを適用する方法は次の通りです。 - lightバージョン ```
``` - colorバージョン ```
```