@import "base.less"; @import "iconfont/icons.less"; img { border-style: none; height: auto; width: 100%; } svg:not(:root) { overflow: hidden; } .ap_hidden { display: none !important; visibility: hidden; } a { text-decoration: none; color: @LINK_COLOR; transition: 0.5s; } a:hover { text-decoration: underline; color: @LINK_HOVER_COLOR; transition: 0.5s; } a:hover img { opacity: 0.6; transition: 0.5s; } /* ========================================================================== common ========================================================================== */ html { overflow: auto; } body { font-family: @BODY_FONT_FAM; font-size: @BODY_FONT_SIZE; color: @BODY_FONT_COLOR; background: @BODY_BG; letter-spacing: @BODY_LETTER_SPACING; overflow-wrap: break-word; word-break: normal; overflow-x: hidden; max-width: 100vw; word-wrap: break-word; } ul { list-style: none; } .ap_col_container { width: 100%; position: relative; &.full{ display: flex; } } .ap_col_parent { width: 100%; max-width: @PARENT_MAX_WIDTH; margin: 0 auto; box-sizing: border-box; display: flex; display: -ms-flexbox; flex-direction: row; -webkit-box-orient: horizontal; -webkit-box-direction: normal; -ms-flex-direction: row; flex-wrap: nowrap; &.reverse { flex-direction: row-reverse; } &.end { justify-content: flex-end; } &.center { align-items: center; } &.full { max-width: 100vw; } &.wrap { flex-wrap: wrap; } &.just_center { justify-content: center; } &.between{ justify-content: space-between; } &.around{ justify-content: space-around; } } [class*="ap_col_child"] { // min-height: 1px; //margin-left: @COL_SPACING; //margin-top: @COL_SPACING; word-wrap: break-word; .ap_auto_padding(@AUTO_PADDING_MODE); .ap_border_radius(@BORDER_RADIUS); max-width: 100%; } [class*="ap_col_child"]:first-child { //margin-left: @COL_SPACING / 2; } [class*="ap_col_child"]:last-child { //margin-right: @COL_SPACING / 2; } .ap_col_child_1 { width: (@PARENT_MAX_WIDTH / 12) /*- @COL_SPACING*/; } .ap_col_child_2 { width: ((@PARENT_MAX_WIDTH / 12) * 2) ; } .ap_col_child_3 { width: ((@PARENT_MAX_WIDTH / 12) * 3) ; } .ap_col_child_4 { width: ((@PARENT_MAX_WIDTH / 12) * 4) ; } .ap_col_child_5 { width: ((@PARENT_MAX_WIDTH / 12) * 5) ; } .ap_col_child_6 { width: ((@PARENT_MAX_WIDTH / 12) * 6) ; } .ap_col_child_7 { width: ((@PARENT_MAX_WIDTH / 12) * 7) ; } .ap_col_child_8 { width: ((@PARENT_MAX_WIDTH / 12) * 8) ; } .ap_col_child_9 { width: ((@PARENT_MAX_WIDTH / 12) * 9) ; } .ap_col_child_10 { width: ((@PARENT_MAX_WIDTH / 12) * 10) ; } .ap_col_child_11 { width: ((@PARENT_MAX_WIDTH / 12) * 11) ; } .ap_col_child_12 { width: @PARENT_MAX_WIDTH ; } @BASE_PERCENT: 0.08333; [class*="ap_col_child_p"]:first-child { // margin-left: 0; } [class*="ap_col_child_p"]:last-child { // margin-right: 0; } .ap_col_child_p_1 { width: percentage(@BASE_PERCENT); } .ap_col_child_p_2 { width: (percentage(@BASE_PERCENT * 2)); } .ap_col_child_p_3 { width: (percentage(@BASE_PERCENT * 3)); } .ap_col_child_p_4 { width: (percentage(@BASE_PERCENT * 4)); } .ap_col_child_p_5 { width: (percentage(@BASE_PERCENT * 5)); } .ap_col_child_p_6 { width: (percentage(@BASE_PERCENT * 6)); } .ap_col_child_p_7 { width: (percentage(@BASE_PERCENT * 7)); } .ap_col_child_p_8 { width: (percentage(@BASE_PERCENT * 8)); } .ap_col_child_p_9 { width: (percentage(@BASE_PERCENT * 9)); } .ap_col_child_p_10 { width: (percentage(@BASE_PERCENT * 10)); } .ap_col_child_p_11 { width: (percentage(@BASE_PERCENT * 11)); } .ap_col_child_p_12 { width: (percentage(@BASE_PERCENT * 12)); // margin-left: 0px; // margin-top: 0px; } .ap_col_center_container { width: 100vw; height: 100vh; margin: 0 auto; position: relative; } .ap_col_center_container.popup { z-index: 999999; position: absolute; top: 0; } .ap_col_center { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); max-height: 100vh; margin: 20px 0px; max-width: @PARENT_MAX_WIDTH; width: 95%; height: 70%; } .ap_col_center > .ap_popup_close { width: 25px; height: 25px; margin-left: auto; padding: 5px; } .ap_col_center.fixed { .ap_fixd; } .ap_col_center.menu_bg { background: @MENU_BG_COLOR; } .ap_flex { display: flex; &.reverse { flex-direction: row-reverse; } &.end { justify-content: flex-end; } &.center { position: relative; align-items: center; } &.wrap { flex-wrap: wrap; } &.just_center { justify-content: center; } &.between{ justify-content: space-between; } &.around{ justify-content: space-around; } } .ap_block { display: block; } .ap_radius { border-radius: @BORDER_RADIUS_SIZE; } .ap_pc_visible { display: block; } .ap_sm_visible { display: none; } .ap_object_fit { object-fit: cover; font-family: "object-fit:cover"; } .ap_float_left { float: left; } .ap_float_right { float: right; } .ap_clear_both { clear: both; } .ap_width_100vw { width: 100vw; } .ap_height_100vh { height: 100vh; } .ap_width_100 { width: 100px; } .ap_width_200 { width: 200px; } .ap_width_300 { width: 300px; } .ap_width_400 { width: 400px; } .ap_width_500 { width: 500px; } .ap_width_600 { width: 600px; } .ap_width_700 { width: 700px; } .ap_height_100 { height: 100px; } .ap_height_200 { height: 200px; } .ap_height_300 { height: 300px; } .ap_height_400 { height: 400px; } .ap_height_500 { height: 500px; } .ap_height_600 { height: 600px; } .ap_height_700 { height: 700px; } .ap_height_800 { height: 800px; } .ap_height_900 { height: 900px; } .ap_width_100p { width: 100%; } .ap_height_100p { height: 100%; } .ap_width_75p { width: 75%; } .ap_height_75p { height: 75%; } .ap_width_50p { width: 50%; } .ap_height_50p { height: 50%; } .ap_width_25p { width: 25%; } .ap_height_25p { height: 25%; } .ap_vertical_top { vertical-align: top; } .ap_vertical_middle { vertical-align: middle; } .ap_vertical_bottom { vertical-align: bottom; } .ap_overflow_h { overflow: hidden; } .ap_overflow_s { overflow: scroll; } .ap_text_hidden { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; } .ap_page_top_wraper { position: fixed; bottom: 3%; right: 3%; width: 150px; height: 150px; z-index: 999; display: flex; align-items: center; text-align: center; } .ap_page_top_wraper div { width: 100%; } /* ========================================================================== img_style ========================================================================== */ .ap_img_wrapper { position: relative; text-align: center; align-items: center; display: flex; justify-content: center; height: @IMAGE_WRAPPER_HEIGHT; } .ap_img_wrapper img { max-height: 100%; object-fit: contain; } .ap_icon_width { width: @IMAGE_ICON_WIDTH; } /* ========================================================================== input_style ========================================================================== */ input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], input[type="number"], input[type="tel"], input[type="range"], input[type="date"], input[type="month"], input[type="week"], input[type="time"], input[type="datetime"], input[type="datetime-local"], input[type="color"], textarea, select { color: #666; background-image: -webkit-linear-gradient( rgba(255, 255, 255, 0), rgba(255, 255, 255, 0) ); display: block; padding: 0.7em; } input[type="text"], input[type="email"], input[type="password"], input[type="date"], input[type="tel"], select, textarea { transition: 0.25s; .ap_border_radius(@BORDER_RADIUS); } select option { .ap_border_radius(@BORDER_RADIUS); } input[type="text"]:hover, input[type="email"]:hover, input[type="password"]:hover, input[type="date"]:hover, input[type="tel"]:hover, textarea:hover, textarea:focus, select:hover, select:focus, input[type="text"]:focus, input[type="email"]:focus, input[type="password"]:focus, input[type="tel"]:focus, input[type="date"]:focus { transition: 0.25s; box-shadow: 0px 0px 10px 0.2px @PRIMARY_COLOR; .ap_border_radius(@BORDER_RADIUS); outline: 0; } [type="checkbox"].ap_checkbox_type1:not(:checked), [type="checkbox"].ap_checkbox_type1:checked { display: none; } [type="checkbox"].ap_checkbox_type1:not(:checked) + label.ap_checkbox_label1, [type="checkbox"].ap_checkbox_type1:checked + label.ap_checkbox_label1 { position: relative; padding-left: 1.95em; cursor: pointer; } [type="checkbox"].ap_checkbox_type1:not(:checked) + label.ap_checkbox_label1:before, [type="checkbox"].ap_checkbox_type1:checked + label.ap_checkbox_label1:before { content: ""; position: absolute; left: 0; top: -4px; width: 1.5em; height: 1.5em; border: 2px solid #ccc; background: #fff; border-radius: 4px; box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1); border-radius: 50%; } label.ap_checkbox_label1:hover:before { border: 2px solid @PRIMARY_COLOR !important; transition: 0.5s; } [type="checkbox"].ap_checkbox_type1:not(:checked) + label.ap_checkbox_label1:after, [type="checkbox"].ap_checkbox_type1:checked + label.ap_checkbox_label1:after { content: "\2713\0020"; position: absolute; top: 0.25em; left: 0.22em; font-size: 1.3em; line-height: 0.8; color: @PRIMARY_COLOR; transition: all 0.2s; font-family: "Lucida Sans Unicode", "Arial Unicode MS", Arial; } [type="checkbox"].ap_checkbox_type1:not(:checked) + label.ap_checkbox_label1:after { opacity: 0; transform: scale(0); } [type="checkbox"].ap_checkbox_type1:checked + label.ap_checkbox_label1:after { opacity: 1; transform: scale(1); } [type="checkbox"].ap_checkbox_type1:disabled:not(:checked) + label.ap_checkbox_label1:before, [type="checkbox"].ap_checkbox_type1:disabled:checked + label.ap_checkbox_label1:before { box-shadow: none; border-color: #bbb; background-color: #ddd; } [type="checkbox"].ap_checkbox_type1:disabled:checked + label.ap_checkbox_label1:after { color: #999; } [type="checkbox"].ap_checkbox_type1:disabled + label.ap_checkbox_label1 { color: #aaa; } [type="checkbox"].ap_checkbox_type1:checked:focus + label.ap_checkbox_label1:before, [type="checkbox"].ap_checkbox_type1:not(:checked):focus + label.ap_checkbox_label1:before { border: 2px solid @PRIMARY_COLOR; transition: 0.5s; } .ap_simple_text_box_type_1 { border: 0; border-bottom: 1px solid; } .ap_simple_text_box_type_1 + button { border: 0; background: rgba(255, 255, 255, 0); border-bottom: 1px solid; cursor: pointer; } /* ========================================================================== menu_style ========================================================================== */ .ap_menu { transition: 0.5s; position: fixed; z-index: 999; } .ap_menu.close { opacity: 0; transition: 0.5s; } .ap_menu_box { position: fixed; width: 100vw; background: @MENU_BG_COLOR; color: @MENU_FONT_COLOR; transition: 0.5s; padding: 0; height: 0; overflow: hidden; top: 0; opacity: 0; } .ap_menu_box.opacity { opacity: 1; transition: 0.5s; } .ap_menu_box.open { height: 100%; transition: 0.75s; z-index: 100; padding: 10px; } .ap_menu_box.open ul { font-weight: bold; } .ap_menu_box.open li:first-child { .ap_top_line; } .ap_menu_box li { padding: @PADDING_BASE; text-align: center; .ap_bottom_line; } .ap_accordion { cursor: pointer; } .ap_menu_box > a { color: @MENU_FONT_COLOR; } .ap_col_parent.ap_menu { width: 15%; right: 0; } .ap_col_container.top_pankuzu{ background: @PANKUZU_BG_COLOR; color: @PANKUZU_FONT_COLOR; & a{ color:@PANKUZU_FONT_COLOR; } padding: @PADDING_BASE / 2; } /* ========================================================================== layer_style ========================================================================== */ .ap_relative { position: relative; } .ap_absolute { position: absolute; &.top_zero { top: 0; } &.left_zero { left: 0; } &.right_zero { right: 0; } &.bottom_zero { bottom: 0; } &.center_x { left: 0; right: 0; margin: auto; } &.center_y { top: 0; bottom: 0; margin: auto; } &.center { top: 0; bottom: 0; left: 0; right: 0; margin: auto; } } .ap_fixd { position: fixed; } .ap_zi_minus1 { z-index: -1; } .ap_zi_minus2 { z-index: -2; } .ap_zi_minus3 { z-index: -3; } .ap_zi_minus4 { z-index: -4; } .ap_zi_minus5 { z-index: -5; } .ap_zi_minus6 { z-index: -6; } .ap_zi_minus7 { z-index: -7; } .ap_zi_minus8 { z-index: -8; } .ap_zi_minus9 { z-index: -9; } .ap_zi_minus10 { z-index: -10; } .ap_zi_plus1 { z-index: 1; } .ap_zi_plus2 { z-index: 2; } .ap_zi_plus3 { z-index: 3; } .ap_zi_plus4 { z-index: 4; } .ap_zi_plus5 { z-index: 5; } .ap_zi_plus6 { z-index: 6; } .ap_zi_plus7 { z-index: 7; } .ap_zi_plus8 { z-index: 8; } .ap_zi_plus9 { z-index: 9; } .ap_zi_plus10 { z-index: 10; } .ap_zi_full { z-index: 999999; } /* ========================================================================== box_syle ========================================================================== */ .ap_top_line { border-top: @PRIMARY_LINE_SIZE @PRIMARY_COLOR solid; &.dashed{ border-top: @PRIMARY_LINE_SIZE @PRIMARY_COLOR dashed; } } .ap_bottom_line { border-bottom: @PRIMARY_LINE_SIZE @PRIMARY_COLOR solid; &.dashed{ border-bottom: @PRIMARY_LINE_SIZE @PRIMARY_COLOR dashed; } } .ap_left_line { border-left: @PRIMARY_LINE_SIZE @PRIMARY_COLOR solid; } .ap_right_line { border-right: @PRIMARY_LINE_SIZE @PRIMARY_COLOR solid; } .ap_border_line { border: @PRIMARY_LINE_SIZE @PRIMARY_COLOR solid; &.dashed{ border: @PRIMARY_LINE_SIZE @PRIMARY_COLOR dashed; } } .ap_text_bottom_line_mini:before { content: ""; position: absolute; bottom: 3px; display: inline-block; width: 50%; height: 3px; left: 50%; -webkit-transform: translateX(-50%); transform: translateX(-50%); background-color: @PRIMARY_COLOR; border-radius: 2px; } .ap_top_line_2nd { border-top: @SECONDARY_LINE_SIZE @SECONDARY_COLOR solid; } .ap_bottom_line_2nd { border-bottom: @SECONDARY_LINE_SIZE @SECONDARY_COLOR solid; } .ap_left_line_2nd { border-left: @SECONDARY_LINE_SIZE @SECONDARY_COLOR solid; } .ap_right_line_2nd { border-right: @SECONDARY_LINE_SIZE @SECONDARY_COLOR solid; } .ap_border_line_2nd { border: @SECONDARY_LINE_SIZE @SECONDARY_COLOR solid; } .ap_box_shadow { -moz-box-shadow: @BOX_SHADOW; -webkit-box-shadow: @BOX_SHADOW; box-shadow: @BOX_SHADOW; } /* ========================================================================== font_style ========================================================================== */ .ap_center_text { text-align: center !important; } .ap_right_text { text-align: right !important; } .ap_left_text { text-align: left !important; } .ap_spacing_wide { letter-spacing: 5px; } .ap_spacing_super_wide { letter-spacing: 10px; } .ap_spacing_narrow { letter-spacing: -5px; } .ap_primary, .ap_primary a, a.ap_primary{ color:@PRIMARY_COLOR; } .ap_secondary, .ap_secondary a, a.ap_secondary{ color:@SECONDARY_COLOR; } .ap_red, .ap_red a, a.ap_red { color: @PRIMARY_RED; } .ap_red_light { .ap_lighten(@PRIMARY_RED, @BASE_COLOR_CON, fontcolor); } .ap_red_dark { .ap_darken(@PRIMARY_RED, @BASE_COLOR_CON, fontcolor); } .ap_orange, .ap_orange a, a.ap_orange { color: @PRIMARY_ORANGE; } .ap_orange_light { .ap_lighten(@PRIMARY_ORANGE, @BASE_COLOR_CON, fontcolor); } .ap_orange_dark { .ap_darken(@PRIMARY_ORANGE, @BASE_COLOR_CON, fontcolor); } .ap_blue, .ap_blue a, a.ap_blue { color: @PRIMARY_BLUE; } .ap_blue_light { .ap_lighten(@PRIMARY_BLUE, @BASE_COLOR_CON, fontcolor); } .ap_blue_dark { .ap_darken(@PRIMARY_BLUE, @BASE_COLOR_CON, fontcolor); } .ap_purple, .ap_purple a, a.ap_purple { color: @PRIMARY_PURPLE; } .ap_purple_light { .ap_lighten(@PRIMARY_PURPLE, @BASE_COLOR_CON, fontcolor); } .ap_purple_dark { .ap_darken(@PRIMARY_PURPLE, @BASE_COLOR_CON, fontcolor); } .ap_green, .ap_green a, a.ap_green { color: @PRIMARY_GREEN; } .ap_green_light { .ap_lighten(@PRIMARY_GREEN, @BASE_COLOR_CON, fontcolor); } .ap_green_dark { .ap_darken(@PRIMARY_GREEN, @BASE_COLOR_CON, fontcolor); } .ap_yellow, .ap_yellow a, a.ap_yellow { color: @PRIMARY_YELLOW; } .ap_yellow_light { .ap_lighten(@PRIMARY_YELLOW, @BASE_COLOR_CON, fontcolor); } .ap_yellow_dark { .ap_darken(@PRIMARY_YELLOW, @BASE_COLOR_CON, fontcolor); } .ap_pink, .ap_pink a, a.ap_pink { color: @PRIMARY_PINK; } .ap_pink_light { .ap_lighten(@PRIMARY_PINK, @BASE_COLOR_CON, fontcolor); } .ap_pink_dark { .ap_darken(@PRIMARY_PINK, @BASE_COLOR_CON, fontcolor); } .ap_gray, .ap_gray a, a.ap_gray { color: @PRIMARY_GRAY; } .ap_gray_light { .ap_lighten(@PRIMARY_GRAY, @BASE_COLOR_CON, fontcolor); } .ap_gray_dark { .ap_darken(@PRIMARY_GRAY, @BASE_COLOR_CON, fontcolor); } .ap_black, .ap_black a, a.ap_black { color: @PRIMARY_BLACK; } .ap_black_light { .ap_lighten(@PRIMARY_BLACK, @BASE_COLOR_CON, fontcolor); } .ap_black_dark { .ap_darken(@PRIMARY_BLACK, @BASE_COLOR_CON, fontcolor); } .ap_white, a.ap_white .ap_white a { color: @PRIMARY_WHITE; } .ap_white_light { .ap_lighten(@PRIMARY_WHITE, @BASE_COLOR_CON, fontcolor); } .ap_white_dark { .ap_darken(@PRIMARY_WHITE, @BASE_COLOR_CON, fontcolor); } .ap_red_2nd, .ap_red_2nd a, a.ap_red_2nd { color: @SECONDARY_RED; } .ap_orange_2nd, .ap_orange_2nd a, a.ap_orange_2nd { color: @SECONDARY_ORANGE; } .ap_blue_2nd, .ap_blue_2nd a, a.ap_blue_2nd { color: @SECONDARY_BLUE; } .ap_purple_2nd, .ap_purple_2nd a, a.ap_purple_2nd { color: @SECONDARY_PURPLE; } .ap_green_2nd, .ap_green_2nd a, a.ap_green_2nd { color: @SECONDARY_GREEN; } .ap_yellow_2nd, .ap_yellow_2nd a, a.ap_yellow_2nd { color: @SECONDARY_YELLOW; } .ap_pink_2nd, .ap_pink_2nd a, a.ap_pink_2nd { color: @SECONDARY_PINK; } .ap_gray_2nd, .ap_gray_2nd a, a.ap_gray_2nd { color: @SECONDARY_GRAY; } .ap_black_2nd, .ap_black_2nd a, a.ap_black_2nd { color: @SECONDARY_BLACK; } .ap_white_2nd, .ap_white_2nd, a.ap_white_2nd { color: @SECONDARY_WHITE; } .ap_font_bold { font-weight: bold; } .ap_font_normal { font-size: @BODY_FONT_SIZE; } .ap_font_small { font-size: @BODY_FONT_SIZE * 0.8; } .ap_font_x_small { font-size: @BODY_FONT_SIZE * 0.6; } .ap_font_large { font-size: @BODY_FONT_SIZE * 1.5; } .ap_font_x_large { font-size: @BODY_FONT_SIZE * 2; } .ap_font_most_large { font-size: @BODY_FONT_SIZE * 2.5; } .ap_text_shadow { text-shadow: 2px 2px 2px darken(@PRIMARY_BLACK, 20%); } .ap_text_shadow_light { text-shadow: 2px 2px 2px lighten(@PRIMARY_WHITE, 20%); } /* ========================================================================== background_style ========================================================================== */ .ap_bg_primary{ background:@PRIMARY_COLOR; } .ap_bg_secondary{ background:@SECONDARY_COLOR; } .ap_bg_red { background: @PRIMARY_RED; } .ap_bg_red_light { .ap_lighten(@PRIMARY_RED, @BASE_COLOR_CON, bgcolor); } .ap_bg_red_dark { .ap_darken(@PRIMARY_RED, @BASE_COLOR_CON, bgcolor); } .ap_bg_orange { background: @PRIMARY_ORANGE; } .ap_bg_orange_light { .ap_lighten(@PRIMARY_ORANGE, @BASE_COLOR_CON, bgcolor); } .ap_bg_orange_dark { .ap_darken(@PRIMARY_ORANGE, @BASE_COLOR_CON, bgcolor); } .ap_bg_blue { background: @PRIMARY_BLUE; } .ap_bg_blue_light { .ap_lighten(@PRIMARY_BLUE, @BASE_COLOR_CON, bgcolor); } .ap_bg_blue_dark { .ap_darken(@PRIMARY_BLUE, @BASE_COLOR_CON, bgcolor); } .ap_bg_purple { background: @PRIMARY_PURPLE; } .ap_bg_purple_light { .ap_lighten(@PRIMARY_PURPLE, @BASE_COLOR_CON, bgcolor); } .ap_bg_purple_dark { .ap_darken(@PRIMARY_PURPLE, @BASE_COLOR_CON, bgcolor); } .ap_bg_green { background: @PRIMARY_GREEN; } .ap_bg_green_light { .ap_lighten(@PRIMARY_GREEN, @BASE_COLOR_CON, bgcolor); } .ap_bg_green_dark { .ap_darken(@PRIMARY_GREEN, @BASE_COLOR_CON, bgcolor); } .ap_bg_yellow { background: @PRIMARY_YELLOW; } .ap_bg_yellow_light { .ap_lighten(@PRIMARY_YELLOW, @BASE_COLOR_CON, bgcolor); } .ap_bg_yellow_dark { .ap_darken(@PRIMARY_YELLOW, @BASE_COLOR_CON, bgcolor); } .ap_bg_pink { background: @PRIMARY_PINK; } .ap_bg_pink_light { .ap_lighten(@PRIMARY_PINK, @BASE_COLOR_CON, bgcolor); } .ap_bg_pink_dark { .ap_darken(@PRIMARY_PINK, @BASE_COLOR_CON, bgcolor); } .ap_bg_gray { background: @PRIMARY_GRAY; } .ap_bg_gray_light { .ap_lighten(@PRIMARY_GRAY, @BASE_COLOR_CON, bgcolor); } .ap_bg_gray_dark { .ap_darken(@PRIMARY_GRAY, @BASE_COLOR_CON, bgcolor); } .ap_bg_black { background: @PRIMARY_BLACK; } .ap_bg_black_light { .ap_lighten(@PRIMARY_BLACK, @BASE_COLOR_CON, bgcolor); } .ap_bg_black_dark { .ap_darken(@PRIMARY_BLACK, @BASE_COLOR_CON, bgcolor); } .ap_bg_white { background: @PRIMARY_WHITE; } .ap_bg_white_light { .ap_lighten(@PRIMARY_WHITE, @BASE_COLOR_CON, bgcolor); } .ap_bg_white_dark { .ap_darken(@PRIMARY_WHITE, @BASE_COLOR_CON, bgcolor); } .ap_bg_red_2nd { background: @SECONDARY_RED; } .ap_bg_orange_2nd { background: @SECONDARY_ORANGE; } .ap_bg_blue_2nd { background: @SECONDARY_BLUE; } .ap_bg_purple_2nd { background: @SECONDARY_PURPLE; } .ap_bg_green_2nd { background: @SECONDARY_GREEN; } .ap_bg_yellow_2nd { background: @SECONDARY_YELLOW; } .ap_bg_pink_2nd { background: @SECONDARY_PINK; } .ap_bg_gray_2nd { background: @SECONDARY_GRAY; } .ap_bg_black_2nd { background: @SECONDARY_BLACK; } .ap_bg_white_2nd { background: @SECONDARY_WHITE; } .ap_bg_pattern { background-image: linear-gradient( -45deg, #fafafa 25%, #eee 25%, #eee 50%, #fafafa 50%, #fafafa 75%, #eee 75%, #eee ); background-size: 6px 6px; } /* ========================================================================== table_style ========================================================================== */ .ap_table { display: table; } .ap_table_cell { display: table-cell; } .ap_table_cell.middle { vertical-align: middle; } .ap_table_responsive { table-layout: fixed; width: 100%; border: none; .ap_border_radius(@BORDER_RADIUS); & td { .ap_auto_padding(@AUTO_PADDING_MODE); } } .ap_table_responsive.hover tr { &:hover { background: @TABLE_CHANGE_COLOR; .ap_border_radius(@BORDER_RADIUS); } } .ap_table_responsive.hover thead > tr { &:hover { background: none; } } .ap_basic_table { width: 100%; border: none; & td { .ap_auto_padding(@AUTO_PADDING_MODE); } } .ap_basic_table.hover tr { &:hover { background: @TABLE_CHANGE_COLOR; } } .ap_basic_table td:first-child { //background: @TABLE_CHANGE_COLOR; .ap_border_radius_first(@BORDER_RADIUS); font-weight: bold; text-align: center; } .ap_basic_table td:last-child { .ap_border_radius_last(@BORDER_RADIUS); } /* ========================================================================== title(font_style) ========================================================================== */ .ap_title, .ap_title_h3, .ap_title_h2, .ap_title_h1 { font-feature-settings: "palt"; font-family: @TITLE_FONT_FAM; font-size: @BODY_FONT_SIZE * 1.5; } .ap_change_fam { font-family: @TITLE_FONT_FAM; } .ap_title_h1 { font-size: @TITLE_FONT_MOST_LARGE; & .ap_title_sub, & + .ap_title_sub{ font-size: @TITLE_FONT_MOST_LARGE / 2; } } .ap_title_h2 { font-size: @TITLE_FONT_XLARGE; & .ap_title_sub, & + .ap_title_sub{ font-size: @TITLE_FONT_XLARGE / 2; } } .ap_title_h3 { font-size: @TITLE_FONT_LARGE; & .ap_title_sub, & + .ap_title_sub{ font-size: @TITLE_FONT_LARGE / 2; } } /* ========================================================================== button_style ========================================================================== */ .ap_btn_normal { border-style: none; position: relative; min-width: 150px; min-height: 50px; font-size: @BODY_FONT_SIZE; background-color: @PRIMARY_BTN_COLOR; padding: 10px; margin: 10px auto; text-align: center; color: @PRIMARY_BTN_FONT_COLOR; transition: 0.3s; cursor: pointer; border-bottom: 5px solid darken(@PRIMARY_BTN_COLOR, 10%); &:hover { background-color: lighten(@PRIMARY_BTN_COLOR, 10%); border-bottom: 0px; transition: 0.3s; } .ap_border_radius(@BORDER_RADIUS); } .ap_btn_normal.wide { width: 80%; margin: auto; font-size: @BODY_FONT_SIZE*1.25; } .ap_btn_normal.cansel { background-color: @CANSEL_BTN_COLOR; color: @CANSEL_BTN_FONT_COLOR; &:hover { background-color: lighten(@CANSEL_BTN_COLOR, 10%); transition: 0.3s; } } .ap_btn_circle, .ap_btn_circle_large, .ap_btn_circle_small { border-style: none; position: relative; width: @BTN_CIRCLE_SIZE; height: @BTN_CIRCLE_SIZE; font-size: 1em; background-color: @PRIMARY_BTN_COLOR; // padding: @COL_SPACING; margin: 0px auto; text-align: center; color: @PRIMARY_BTN_FONT_COLOR; border-radius: 50%; transition: 0.3s; &:hover { background-color: lighten(@PRIMARY_BTN_COLOR, 10%); transition: 0.3s; cursor: pointer; } } .ap_btn_circle.solid, .ap_btn_circle_large.solid, .ap_btn_circle_small.solid { border-bottom: 5px solid darken(@PRIMARY_BTN_COLOR, 10%); border-left: 2px solid darken(@PRIMARY_BTN_COLOR, 10%); border-right: 2px solid darken(@PRIMARY_BTN_COLOR, 10%); border-top: 1px solid darken(@PRIMARY_BTN_COLOR, 5%); } .ap_btn_circle > .material-icons, .ap_btn_circle_large > .material-icons, .ap_btn_circle_small > .material-icons { vertical-align: middle; } .ap_btn_circle_large { width: @BTN_CIRCLE_SIZE * 1.5; height: @BTN_CIRCLE_SIZE * 1.5; } .ap_btn_circle_small { width: @BTN_CIRCLE_SIZE * 0.75; height: @BTN_CIRCLE_SIZE * 0.75; } .ap_bg_color_select { .ap_color_select(@SELECT_COLOR1, @SELECT_FONT_COLOR1); } .ap_menu_btn_trigger { position: relative; width: 50px; height: 44px; cursor: pointer; } .ap_menu_btn_trigger span { position: absolute; left: 0; width: 100%; min-width: 50px; height: 4px; background-color: @MENU_BTN_COLOR; border-radius: 4px; } .ap_menu_btn_trigger, .ap_menu_btn_trigger span { display: inline-block; transition: all 0.5s; box-sizing: border-box; } .ap_menu_btn_trigger span:nth-of-type(1) { top: 0; } .ap_menu_btn_trigger span:nth-of-type(2) { top: 20px; } .ap_menu_btn_trigger span:nth-of-type(3) { bottom: 0; } .ap_menu_btn_trigger.active span:nth-of-type(1) { -webkit-transform: translateY(20px) rotate(-45deg); transform: translateY(20px) rotate(-45deg); } .ap_menu_btn_trigger.active span:nth-of-type(2) { left: 50%; opacity: 0; -webkit-animation: active-btn05-bar02 0.8s forwards; animation: active-btn05-bar02 0.8s forwards; } @-webkit-keyframes active-btn05-bar02 { 100% { height: 0; } } @keyframes active-btn05-bar02 { 100% { height: 0; } } .ap_menu_btn_trigger.active span:nth-of-type(3) { -webkit-transform: translateY(-20px) rotate(45deg); transform: translateY(-20px) rotate(45deg); } .ap_prev_btn, .ap_next_btn { .ap_font_large; } /* ========================================================================== 404_style ========================================================================== */ .wrap.not_found [class*="ap_col_child"]{ display: flex; align-items: center; min-height: 30vh; padding: @PADDING_BASE / 2; } /* ========================================================================== effect_style ========================================================================== */ .ap_scroll_fadein { opacity: 0; transform: translate(0, 100px); transition: all 300ms; } .ap_scroll_fadein.scrollin { opacity: 1; transform: translate(0, 0); } .fadein_load { opacity: 0; } .fadein_load.done { opacity: 1; transition: 1s; } .ap_elm_blink { margin-top: 5px; vertical-align: middle; display: inline-block; -webkit-animation: elm_blink 1s ease-in-out infinite alternate; -moz-animation: elm_blink 1s ease-in-out infinite alternate; animation: elm_blink 1s ease-in-out infinite alternate; } .material-icons.warning { color: #fff000; vertical-align: top; margin-right: 10px; -webkit-animation: elm_blink 1s ease-in-out infinite alternate; -moz-animation: elm_blink 1s ease-in-out infinite alternate; animation: elm_blink 1s ease-in-out infinite alternate; } @-webkit-keyframes elm_blink { 0% { opacity: 0; } 100% { opacity: 1; } } @-moz-keyframes elm_blink { 0% { opacity: 0; } 100% { opacity: 1; } } @keyframes elm_blink { 0% { opacity: 0; } 100% { opacity: 1; } } .ap_img_wrap, .ap_text_wrap { opacity: 0; } .ap_img_wrap.ap_img_animation, .ap_text_wrap.ap_text_animation { opacity: 1; } .ap_text_animation { animation: img-opacity 1s cubic-bezier(0.4, 0, 0.2, 1); overflow: hidden; position: relative; } .ap_img_animation { animation: img-opacity 3s cubic-bezier(0.4, 0, 0.2, 1); overflow: hidden; position: relative; } [class*="ap_img_animation"]:before, [class*="ap_text_animation"]:before { background: @IMG_BG_COLOR; bottom: 0; content: ""; left: 0; pointer-events: none; position: absolute; right: 0; top: 0; z-index: 1; } [class*="ap_text_animation"]:before { background: @TEXT_BG_COLOR; } .ap_img_animation.for_left:before { animation: img-animation2 3s cubic-bezier(0.4, 0, 0.2, 1) forwards; } .ap_text_animation.for_left:before { animation: img-animation2 1s cubic-bezier(0.4, 0, 0.2, 1) forwards; } .ap_img_animation.for_right:before { animation: img-animation 3s cubic-bezier(0.4, 0, 0.2, 1) forwards; } .ap_text_animation.for_right:before { animation: img-animation 1s cubic-bezier(0.4, 0, 0.2, 1) forwards; } .ap_img_animation.for_bottom:before { animation: img-animation3 3s cubic-bezier(0.4, 0, 0.2, 1) forwards; } .ap_text_animation.for_bottom:before { animation: img-animation3 1s cubic-bezier(0.4, 0, 0.2, 1) forwards; } .ap_img_animation.for_top:before { animation: img-animation4 3s cubic-bezier(0.4, 0, 0.2, 1) forwards; } .ap_text_animation.for_top:before { animation: img-animation4 1s cubic-bezier(0.4, 0, 0.2, 1) forwards; } .ap_text_animation.for_top_bottom:before { animation: text-animation_top_for_bottom 1s cubic-bezier(0.4, 0, 0.2, 1) forwards; } .ap_text_animation.for_bottom_top:before { animation: text-animation_bottom_for_top 1s cubic-bezier(0.4, 0, 0.2, 1) forwards; } @keyframes img-opacity { 0% { opacity: 0; } } @keyframes img-animation { 100% { transform: translateX(-100%); } } @keyframes img-animation2 { 100% { transform: translateX(100%); } } @keyframes img-animation3 { 100% { transform: translateY(-100%); } } @keyframes img-animation4 { 100% { transform: translateY(100%); } } @keyframes text-animation_top_for_bottom { 0% { transform: translateY(100%); } 50% { transform: translateY(0%); } 100% { transform: translateY(100%); } } @keyframes text-animation_bottom_for_top { 0% { transform: translateY(-100%); } 50% { transform: translateY(0%); } 100% { transform: translateY(-100%); } } .ap_normal_fadein { opacity: 0; } .ap_normal_fadein.done { transition: 2s; opacity: 1; } .ap_add_lity_all { display: none; } .ap_zoom_wrap { overflow: hidden; } .ap_hover_zoom, .ap_hover_zoom_wide { transition: 0.5s; cursor: pointer; } .ap_hover_zoom:hover { transform: scale(1.1, 1.1); transition: 0.5s; } .ap_hover_zoom_wide:hover { transform: scale(1.5, 1.5); transition: 0.5s; } .ap_rolate.done { -webkit-animation: ap-rolate 1s forwards; animation: ap-rolate 1s forwards; } @keyframes ap-rolate { 100% { transform: rotate(360deg); } } .ap_shake.done { animation: ap-shake 1.5s ease; } @keyframes ap-shake { 0% { transform: translateX(0); } 5% { transform: translateX(0); } 10% { transform: translateX(0); } 20% { transform: translateX(-15px); } 25% { transform: translateX(0); } 30% { transform: translateX(-15px); } 50% { transform: translateX(0); } 100% { transform: translateX(0); } } .ap_grayscale_50 { filter: grayscale(0%); } .ap_grayscale_100 { filter: grayscale(100%); } [class*="ap"].before_square.hover:hover { &::before { animation: ap-rolate 1s infinite; } } .ap_pickup_line { width: 40px; height: 40px; margin: 0 auto; position: relative; } .ap_pickup_line span { background: @BODY_FONT_COLOR; position: absolute; left: 0; width: 100%; height: 3px; border-radius: 4px; } .ap_pickup_line span:nth-of-type(1) { transform: rotate(-60deg); left: 50px; top: 5px; animation: pickup-animation2 1s ease; } .ap_pickup_line span:nth-of-type(2) { transform: rotate(90deg); top: 0; animation: pickup-animation 1s ease; } .ap_pickup_line span:nth-of-type(3) { transform: rotate(60deg); left: -50px; top: 5px; animation: pickup-animation2 1s ease; } @keyframes pickup-animation { 0% { top: 0px; } 25% { top: -15px; } 50% { top: 5px; } 75% { top: -15px; } 100% { top: 0px; } } @keyframes pickup-animation2 { 0% { top: 0px; } 25% { top: -10px; } 50% { top: 5px; } 75% { top: -10px; } 100% { top: 5px; } } /* ========================================================================== margin_style/padding_style ========================================================================== */ .ap_margin { margin: @MARGIN_BASE; } .ap_margin-top { margin-top: @MARGIN_BASE; } .ap_margin-top_large { margin-top: @MARGIN_BASE * 2; } .ap_margin-top_half { margin-top: @MARGIN_BASE / 2; } .ap_margin-top_quarter { margin-top: @MARGIN_BASE / 4; } .ap_margin-top_minus { margin-top: -@MARGIN_BASE; } .ap_margin-top_minus_large { margin-top: -@MARGIN_BASE * 2; } .ap_margin-top_minus_most_large { margin-top: -@MARGIN_BASE * 4; } .ap_margin-bottom { margin-bottom: @MARGIN_BASE; } .ap_margin-bottom_half { margin-bottom: @MARGIN_BASE / 2; } .ap_margin-bottom_quarter { margin-bottom: @MARGIN_BASE / 4; } .ap_margin-bottom_minus { margin-bottom: -@MARGIN_BASE; } .ap_margin-bottom_large { margin-bottom: @MARGIN_BASE * 2; } .ap_margin_side { margin: 0 (@MARGIN_BASE) 0 (@MARGIN_BASE); } .ap_margin_side_half { margin: 0 (@MARGIN_BASE / 2) 0 (@MARGIN_BASE / 2); } .ap_margin_side_quarter { margin: 0 (@MARGIN_BASE / 4) 0 (@MARGIN_BASE / 4); } .ap_margin_top_bottom { margin: (@MARGIN_BASE) 0 (@MARGIN_BASE) 0; } .ap_margin_top_bottom_half { margin: (@MARGIN_BASE / 2) 0 (@MARGIN_BASE / 2) 0; } .ap_margin_top_bottom_quarter { margin: (@MARGIN_BASE / 4) 0 (@MARGIN_BASE / 4) 0; } .ap_padding_0 { padding: 0; } .ap_padding { padding: @PADDING_BASE; } .ap_padding_half { padding: @PADDING_BASE / 2; } .ap_padding_large { padding: @PADDING_BASE * 2; } .ap_padding_top_bottom_large { padding: (@PADDING_BASE * 2) 0 (@PADDING_BASE * 2) 0; } .ap_padding_top_bottom { padding: (@PADDING_BASE) 0 (@PADDING_BASE) 0; } .ap_padding_top_bottom_half { padding: (@PADDING_BASE / 2) 0 (@PADDING_BASE / 2) 0; } .ap_padding_top_bottom_quarter { padding: (@PADDING_BASE / 4) 0 (@PADDING_BASE / 4) 0; } .ap_padding_side { padding: 0 (@PADDING_BASE) 0 (@PADDING_BASE); } .ap_padding_side_half { padding: 0 (@PADDING_BASE / 2) 0 (@PADDING_BASE / 2); } .ap_padding_side_quarter { padding: 0 (@PADDING_BASE / 4) 0 (@PADDING_BASE / 4); } .ap_margin_auto { margin: auto !important; } .ap_padding_balance_side_1 { padding: (@PADDING_BASE / 2) (@PADDING_BASE / 4) (@PADDING_BASE / 2) (@PADDING_BASE / 4); } .ap_padding_balance_side_2 { padding: (@PADDING_BASE / 2) (@PADDING_BASE / 2) (@PADDING_BASE / 2) (@PADDING_BASE / 2); } .ap_padding_balance_side_3 { padding: (@PADDING_BASE / 2) (@PADDING_BASE) (@PADDING_BASE / 2) (@PADDING_BASE); } .ap_padding_balance_side_4 { padding: (@PADDING_BASE / 2) (@PADDING_BASE * 1.5) (@PADDING_BASE / 2) (@PADDING_BASE * 1.5); } .ap_padding_balance_tpbt_1 { padding: (@PADDING_BASE / 4) (@PADDING_BASE / 2) (@PADDING_BASE / 4) (@PADDING_BASE / 2); } .ap_padding_balance_tpbt_2 { padding: (@PADDING_BASE / 2) (@PADDING_BASE / 2) (@PADDING_BASE / 2) (@PADDING_BASE / 2); } .ap_padding_balance_tpbt_3 { padding: (@PADDING_BASE) (@PADDING_BASE / 2) (@PADDING_BASE) (@PADDING_BASE / 2); } .ap_padding_balance_tpbt_4 { padding: (@PADDING_BASE * 1.5) (@PADDING_BASE / 2) (@PADDING_BASE * 1.5) (@PADDING_BASE / 2); } /* ========================================================================== tablet styles ========================================================================== */ @media screen and (max-width: @TABLET_WIDTH) { .ap_col_container { &.full{ display: block; } } body { overflow-x: hidden; } .ap_sm_visible { display: block; } .ap_sm_hidden { display: none !important; } .ap_col_parent { max-width: @TABLET_WIDTH; margin: 0 auto; display: block; // padding: 0px @COL_SPACING; &.full { padding: 0; } } .ap_col_parent.full > [class*="ap_col_child"] { width: 100%; margin-left: 0; margin-right: 0; } [class*="ap_col_child"] { width: 100%; margin: auto; margin-left: auto; // margin-top: @COL_SPACING; } [class*="ap_col_child"]:first-child { margin-left: auto; } [class*="ap_col_child"]:last-child { margin-right: auto; } .ap_pc_visible { display: none; } .ap_sm_block { display: block; } [class*="ap_width"] { width: 100%; } [class*="ap_height"] { height: auto; } .ap_width_100vw.sm { width: 100vw; } .ap_height_100vh.sm { height: 100vh; } .ap_width_100p.sm { width: 100%; } .ap_height_100p.sm { height: 100%; } .ap_width_50p.sm { width: 50%; } .ap_height_50p.sm { height: 50%; } .ap_width_25p.sm { width: 25%; } .ap_height_25p.sm { height: 25%; } .ap_width_100.sm { width: 100px; } .ap_width_200.sm { width: 200px; } .ap_width_300.sm { width: 300px; } .ap_width_400.sm { width: 400px; } .ap_width_500.sm { width: 500px; } .ap_width_600.sm { width: 600px; } .ap_width_700.sm { width: 700px; } .ap_width_100vw.sm { width: 100vw; } .ap_height_100vh.sm { height: 100vh; } .ap_width_100p.sm { width: 100%; } .ap_height_100p.sm { height: 100%; } .ap_width_50p.sm { width: 50%; } .ap_height_50p.sm { height: 50%; } .ap_width_25p.sm { width: 25%; } .ap_height_25p.sm { height: 25%; } .ap_height_100.sm { height: 100px; } .ap_height_200.sm { height: 200px; } .ap_height_300.sm { height: 300px; } .ap_height_400.sm { height: 400px; } .ap_height_500.sm { height: 500px; } .ap_height_600.sm { height: 600px; } .ap_height_700.sm { height: 700px; } .ap_height_800.sm { height: 800px; } .ap_height_900.sm { height: 900px; } .ap_flex.sm_block { display: block; } .ap_col_parent.ap_menu > [class*="ap_col_child"] { padding-right: 0px; padding-left: 0px; } /* ========================================================================== table_style ========================================================================== */ .ap_table_responsive thead { display: none; } .ap_table_responsive tbody td { display: block; width: 100%; } .ap_table_responsive tbody td::before { clear: left; float: left; content: attr(data-th); display: block; width: 40%; font-weight: bold; font-size: 0.9em; } .ap_table_responsive.hover tr { &:hover { background: none; } } .ap_table_responsive tr { //margin-top: @COL_SPACING; } .ap_box_half { width: 100%; } .img_add img { width: 100%; object-fit: cover; height: auto; } } /* ========================================================================== phone styles ========================================================================== */ @media screen and (max-width: @PHONE_WIDTH) { } @media screen and (min-width: @PHONE_WIDTH){ a[href*="tel:"] { pointer-events: none; cursor: default; text-decoration: none; } } @import "yourstyle.less"; @import "yourstyle02.less";