@charset "utf-8"; /* ━━━━━━━━━━━━━━━━━━━━━━━━━━━ */ /* */ /* ● text.css */ /* 共通部品 */ /* ・テキスト */ /* */ /* ━━━━━━━━━━━━━━━━━━━━━━━━━━━ */ /* テキストリンク(汎用) --------------------------------------------------- */ .DefaultLink, %DefaultLink{ // color: $main-color; //@extend .hvr-textlink; text-decoration: underline; position: relative; //display: inline-block; // アイコンを付加 // @extend ._webfont-icon; // &::before{ // content: "\e821"; // margin-right: 0; // } // // アイコンを付加(メールリンク用) // &[href^='mailto']{ // &::before{ // content: "\e806"; // transform: scale(1.5); // margin-right: 0.375em; // } // } } /* 外部リンク(汎用) --------------------------------------------------- */ .ExternalLink, %ExternalLink{ //padding-right: 2rem; position: relative; &::after{ font-family: "add-icons"; content: "\e806"; margin-left: 0.5em; //font-size: 1.2rem; text-decoration: none; opacity: 0.5; //position: absolute; } } /* リンクつき画像(汎用) --------------------------------------------------- */ .ImageLink, %ImageLink{ img{ box-shadow: 0px 0px 0px 1px rgba($main-color,1); transition: all .2s; } .Icon{ display: none; } &:hover{ img{ opacity: 0.75; } } } /* リンクのスタイルを適用 --------------------------------------------------- */ .DefaultText, .DefaultTable, .SknTplDecoratedTable{ a:not(.ImageLink) { @extend %DefaultLink; // 別ウィンドウのリンクにアイコンを付加 &[target="_blank"]{ @extend %ExternalLink; } } } .SiteFooterBlock .MenuList, .GlobalMenuGroup{ a{ &[target="_blank"]{ .Label{ // 別ウィンドウのリンクにアイコンを付加 @extend %ExternalLink; } } } } /* DefaultText --------------------------------------------------- */ .DefaultText, %DefaultText{ //font-size: $font-size-m; font-size: $font-size-d; @include media-query(under-bp-m) { font-size: $font-size-s; } letter-spacing: .05em; line-height: 2; margin-bottom: 1.5em; &:last-child{ margin-bottom: 0; } } /* blockquote --------------------------------------------------- */ blockquote { position: relative; padding: 35px 15px 10px 15px; box-sizing: border-box; font-style: italic; background: #f5f5f5; color: #777777; border-left: 4px solid #9dd4ff; /*box-shadow: 0 2px 4px rgba(0, 0, 0, 0.14);*/ } blockquote:before{ display: inline-block; position: absolute; top: 5px; left: 3px; content: "“"; font-family: sans-serif; color: #9dd4ff; font-size: 30px; line-height: 1; } blockquote p { padding: 0; margin: 7px 0; line-height: 1.7; } blockquote cite { display: block; text-align: right; color: #888888; font-size: 0.9em; } /* tel link --------------------------------------------------- */ .TelLink{ } /* Price --------------------------------------------------- */ .Price{ font-size: $font-size-ll; } /* LargeNumber --------------------------------------------------- */ .LargeNumber{ font-size: $font-size-ll; } /* sup --------------------------------------------------- */ sup{ font-size: x-small; line-height: 1.1; } /* 丸付き文字 --------------------------------------------------- */ .Circled{ color: #282832; border: 1px solid #282832; background: #fff; border-radius: 3em; display: inline-block; width: 1.5em; width: calc(1.5em + 2px); line-height: 1.5em; text-align: center; vertical-align: middle; } /* tooltip --------------------------------------------------- */ .Tooltip { border-bottom: 1px dashed; cursor: pointer; margin: 0 0.25em; color: #2098d1; } .Tooltip::before{ margin-right: 0.25em; } .Tooltip:hover, .Tooltip:focus { border-bottom: none; } .ui-tooltip { box-shadow: none; color: #2098d1; background: white; border: 2px solid; width: 20em; max-width: 50%; padding: 20px; z-index: 100; text-align: left; } .ui-tooltip * { } /* Balloon(フキダシ) --------------------------------------------------- */ .Balloon.Type1 { position: relative; margin: 1em auto 0; text-align: left; // color: $text-color; background: rgba($main-color, 0.25); background: linear-gradient(to bottom, rgba($main-color, 0.25) 25%, rgba($main-color, 0.375) 100%); min-width: 15em; border-radius: 0.5em; padding: 0.75em 1em; line-height: inherit; font-weight: 400; width: auto; display: inline-block; clip-path: none!important; &::before{ content: ""; position: absolute; bottom: 100%; left: 2em; margin-left: -0.75em; border: 0.75em solid transparent; border-bottom: 0.75em solid rgba($main-color, 0.25); } } /* 強調 --------------------------------------------------- */ em{ font-weight: 700; // background: linear-gradient(transparent 40%, yellow 40%); background: linear-gradient(rgba($main-color-deep,0) 65%, rgba($main-color-deep,0.85) 65%); } /* font --------------------------------------------------- */ /* basic */ .FontDefault, %FontDefault{ //font-family: "Meiryo", "Arial", "Century Gothic", sans-serif; font-family: "游ゴシック", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "MS Pゴシック", "MS PGothic", sans-serif; font-weight: 500; font-feature-settings: "palt"; } .FontSansSerif, %FontSansSerif{ font-family: 'Noto Sans JP', "游ゴシック", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "MS Pゴシック", "MS PGothic", sans-serif; font-weight: 400; font-feature-settings: "palt"; } .FontSerif, %FontSerif{ font-family: "YuMincho", "游明朝", "Hiragino Mincho Pro", "ヒラギノ明朝 Pro W3", "MS PMincho", "MSP明朝", "MS Mincho", "MS明朝", serif; font-feature-settings: "palt"; font-weight: 300; } .FontMonospace, %FontMonospace{ /*font-family: "Osaka-mono", "MS ゴシック", "MS Gothic", monospace;*/ } .FontDecoratedLatin, %FontDecoratedLatin{ font-family: 'Teko', 'Arial', 'Helvetica', sans-serif; } /* 縦書き */ .TextVertical, %TextVertical{ -webkit-writing-mode: vertical-rl; -ms-writing-mode: tb-rl; writing-mode: vertical-rl; } /* TextOverFlowNone --------------------------------------------------- */ .TextOverFlowNone, %TextOverFlowNone{ white-space: nowrap; overflow: hidden; text-overflow: ellipsis; width: 100%; }