@media (min-width: 961px) and (max-width: 1120px) { .modal_wrapper .modal_window { width: 85%  !important; } .modal_box .modal_info { margin-top: -10px  !important; } .modal_box:not(:first-child) { margin-top: 20px  !important; } .modal_box:nth-child(2n) .modal_info .speechBubble { top: 20px  !important; } .bt_wrap { margin-top: 10px  !important; } } @media (min-width: 781px) and (max-width: 960px) { .modal_wrapper .modal_window { width: 85%  !important; } .modal_info_title { font-size: 16px  !important; } .modal_info_text { font-size: 12px  !important; } .modal_info_text span { font-size: 10px  !important; } .modal_box:nth-child(2n) .modal_info .speechBubble { top: 10px  !important; } .bt_wrap { margin-top: 15px  !important; font-size: 16px  !important; } .modal_close_bt_wrap { margin-top: 15px  !important; font-size: 16px  !important; } .modal_box:not(:first-child) { margin-top: 20px  !important; } .speechBubble_in { padding: 10px  !important; } } @media screen and (max-width: 780px) { .speechBubble_in { padding: 2px  !important; } .modal_wrapper .modal_window .modal_content { padding: 0px  !important; } .modal_box .modal_box_img img { min-height: 0px  !important; } .modal_box .modal_box_img img { width: 50%  !important; } .modal_box:nth-child(2n-1) .modal_info .speechBubble { top: 0px  !important; } .modal_box:not(:first-child) { margin-top: 10px  !important; } .modal_box:nth-child(2n) .modal_info .speechBubble { top: 0px  !important; } .bt_wrap { font-size: 12px  !important; margin-top: 5px  !important; } .modal_info_title { font-size: 12px  !important; } .modal_info_text { font-size: 10px  !important; } .modal_info_text span { font-size: 8px  !important; } .modal_box .modal_box_img { margin-top: 0px  !important; } .bt { height: 20px  !important; line-height: 20px  !important; } .modal_wrapper .bt { max-width: 300px  !important; } .modal_wrapper .modal_window { padding: 25px  !important; } .modal_close_bt_wrap { font-size: 12px  !important; } } @media (min-width: 520px) and (max-width: 780px) { .modal_box .modal_box_img img { width: 30%  !important; } } .bg_active a, .bg_active a:link, .bg_active a:visited, .bg_active a:active, .bg_active input[type="submit"]:hover { color: #fff; } #wrap { width: 100%; position: relative; } .bt_wrap { margin-top: 5px; text-align: center; font-size: 18px; } .news_box .bt_wrap { margin-top: 30px; } .bt { display: inline-block; text-align: center; border-radius: 4px; color: #000; width: 100%; background-color: #000; color: #fff  !important; font-weight: bold; text-decoration: none; } .bt:hover { transition: .3s ease all; background-color: #b8322e; } @media screen and (min-width: 780px) { .bt { margin-top: 30px; height: 40px; line-height: 40px; max-width: 292px; } } @media screen and (max-width: 780px) { .bt { margin-top: 20px; height: 40px; line-height: 40px; max-width: 100%; } } #fv_box .bt { background-color: #b8322e; } @media screen and (max-width: 780px) { #fv_box .bt { max-width: 200px; } } #fv_box .bt:hover { background-color: #000; color: #fff  !important; } #ai_sec .bt { background-color: #fff; color: #000  !important; } #ai_sec .bt:hover { background-color: #000; color: #fff  !important; } .bt_wrap .bt { max-width: 389px; } .news_box .bt { border: solid 1px #000; background-color: transparent; color: #000  !important; margin-top: 0; } @media screen and (min-width: 780px) { .news_box .bt { line-height: 57px; max-width: 256px; } } @media screen and (max-width: 780px) { .news_box .bt { line-height: 38px; max-width: 100%; } } .news_box .bt:hover { background-color: #000; color: #fff  !important; } .modal_wrapper .bt { background-color: #b8322e; max-width: 450px; margin-top: 0; } .modal_wrapper .bt:hover { background-color: #000; } @media screen and (min-width: 780px) { .cont { padding-left: 80px; padding-right: 80px; } } @media screen and (max-width: 780px) { .cont { padding-left: 20px; padding-right: 20px; } } #fv_box { z-index: 3; position: absolute; left: 0; } @media screen and (min-width: 780px) { #fv_box { top: 50%; transform: translateY(-50%); width: 100%; padding-left: 16%; } } @media screen and (max-width: 780px) { #fv_box { width: 100%; padding: 0 20px; text-align: center; bottom: 30px; } } #main_area { background-color: #f5f5f5; position: relative; z-index: 9; } .width_m { width: 100%; max-width: 1200px; margin: 0 auto; } @media screen and (min-width: 780px) { #news_sec { padding-top: 160px; padding-bottom: 160px; } } @media screen and (max-width: 780px) { #news_sec { padding-top: 110px; padding-bottom: 110px; } } @media screen and (min-width: 780px) { #news_wrap { display: flex; flex-wrap: wrap; margin: 0 -20px; } } @media screen and (min-width: 780px) { #news_wrap .news_box { width: 50%; margin-top: 40px; padding: 0 20px; } } @media screen and (max-width: 780px) { #news_wrap .news_box { margin-top: 40px; } } @media screen and (min-width: 780px) { #news_wrap .news_box:nth-child(1), #news_wrap .news_box:nth-child(2) { margin-top: 0; } } @media screen and (max-width: 780px) { #news_wrap .news_box:nth-child(1) { margin-top: 0; } } #news_wrap .news_box .news_box_in { background-color: #fff; height: 100%; filter: drop-shadow(0 0 5px rgba(0, 0, 0, .3)); } #news_wrap .news_box .news_box_img { width: 100%; max-height: 660px; overflow: hidden; } #news_wrap .news_box .news_box_img img { min-height: 326px; width: 100%; object-fit: cover; } #news_wrap .news_box .news_box_info { padding: 30px; } #news_wrap .news_box .news_box_info .news_box_title { font-size: 23px; font-weight: 700; } #news_wrap .news_box .news_box_info .news_box_text { font-size: 16px; margin-top: 20px; } #ai_sec #ai_wrap { width: 100%; position: relative; height: 100%; } #ai_sec #ai_wrap #ai_img { width: 100%; height: 100%; z-index: 1; position: relative; top: 0; left: 0; overflow: hidden; } @media screen and (min-width: 780px) { #ai_sec #ai_wrap #ai_img { max-height: 864px; } } @media screen and (max-width: 780px) { #ai_sec #ai_wrap #ai_img { max-height: 500px; } } #ai_sec #ai_wrap #ai_img:before { content: ""; position: absolute; width: 100%; height: 100%; z-index: 2; background-color: #000; opacity: .3; } #ai_sec #ai_wrap #ai_img img { width: 100%; object-fit: cover; } @media screen and (min-width: 780px) { #ai_sec #ai_wrap #ai_img img { min-height: 864px; } } @media screen and (max-width: 780px) { #ai_sec #ai_wrap #ai_img img { min-height: 374px; } } #ai_sec #ai_wrap #ai_box { z-index: 1; position: absolute; top: 50%; transform: translateY(-50%); left: 0; width: 100%; z-index: 3; color: #fff; } @media screen and (min-width: 780px) { #ai_sec #ai_wrap #ai_box { padding-left: 16%; } } @media screen and (max-width: 780px) { #ai_sec #ai_wrap #ai_box { padding: 0 20px; } } #ai_sec #ai_wrap #ai_box #ai_box_title { font-weight: 800; line-height: 1.5; } @media screen and (min-width: 780px) { #ai_sec #ai_wrap #ai_box #ai_box_title { font-size: 48px; } } @media screen and (max-width: 780px) { #ai_sec #ai_wrap #ai_box #ai_box_title { font-size: 26px; } } #ai_sec #ai_wrap #ai_box #ai_box_text { margin-top: 15px; font-weight: 700; } @media screen and (min-width: 780px) { #ai_sec #ai_wrap #ai_box #ai_box_text { font-size: 28px; } } @media screen and (max-width: 780px) { #ai_sec #ai_wrap #ai_box #ai_box_text { font-size: 12px; } } #ai_sec #ai_foot { padding-top: 15px; padding-bottom: 15px; } @media screen and (min-width: 780px) { #ai_sec #ai_foot { font-size: 16px; } } @media screen and (max-width: 780px) { #ai_sec #ai_foot { font-size: 12px; } } .modal_wrapper { z-index: 999; position: fixed; top: 0; right: 0; bottom: 0; left: 0; padding: 60px 10px; text-align: center; } .modal_wrapper:not(:target) { opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; } .modal_wrapper:target { opacity: 1; visibility: visible; transition: opacity .4s, visibility .4s; } .modal_wrapper:after { display: inline-block; height: 100%; margin-left: -0.05em; vertical-align: middle; content: ""; } .modal_wrapper .modal_window { display: inline-block; z-index: 20; position: relative; border-radius: 2px; background: #f5f5f5; box-shadow: 0 0 30px rgba(0, 0, 0, .6); vertical-align: middle; margin-top: 20px; } @media screen and (min-width: 780px) { .modal_wrapper .modal_window { width: 70%; max-width: 900px; padding: 30px; } } @media screen and (max-width: 780px) { .modal_wrapper .modal_window { width: calc(100% - 40px); padding: 20px; } } .modal_wrapper .modal_window .modal_content { max-height: 80vh; } @media screen and (max-width: 780px) { .modal_wrapper .modal_window .modal_content { padding: 10px 0; } } .modal_overlay { z-index: 10; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: rgba(0, 0, 0, .8); } .modal_close_bt_wrap { margin-top: 10px; text-align: center; font-size: 18px; } .modal_close_bt_wrap .modal_close_bt { letter-spacing: 3px; } .modal_close_circle { z-index: 20; position: absolute; display: flex; align-items: center; justify-content: center; border-radius: 100%; text-align: center; color: #fff  !important; background-color: #000; text-align: center; text-decoration: none; text-indent: 0; } @media screen and (min-width: 780px) { .modal_close_circle { top: -20px; right: -20px; width: 50px; height: 50px; } } @media screen and (max-width: 780px) { .modal_close_circle { top: -20px; right: -20px; width: 40px; height: 40px; } } .modal_close_circle img { width: 40%; height: auto; } @media screen and (min-width: 780px) { .modal_box { display: flex; } } @media screen and (min-width: 780px) { .modal_box:not(:first-child) { margin-top: 5px; } } @media screen and (max-width: 780px) { .modal_box:not(:first-child) { margin-top: 60px; } } @media screen and (min-width: 780px) { .modal_box:nth-child(2n) { flex-direction: row-reverse; } } .modal_box .modal_box_img { overflow: hidden; } @media screen and (min-width: 780px) { .modal_box .modal_box_img { width: 35%; max-height: 326px; } } @media screen and (max-width: 780px) { .modal_box .modal_box_img { margin-top: 5px; max-height: 350px; } } .modal_box .modal_box_img img { border-radius: 4px; width: 100%; object-fit: cover; } @media screen and (max-width: 780px) { .modal_box .modal_box_img img { min-height: 350px; } } .modal_box .modal_info { flex: 1; } .modal_info_title { font-weight: 700; } @media screen and (min-width: 780px) { .modal_info_title { font-size: 18px; } } @media screen and (max-width: 780px) { .modal_info_title { font-size: 14px; display: none; } } @media screen and (min-width: 780px) { .speechBubble_sp .modal_info_title { display: none; } } @media screen and (max-width: 780px) { .speechBubble_sp .modal_info_title { display: block; } } .modal_info_text { margin-top: 5px; } @media screen and (min-width: 780px) { .modal_info_text { font-size: 14px; } } @media screen and (max-width: 780px) { .modal_info_text { font-size: 12px; } } .modal_info_text span { display: block; margin-top: 5px; } @media screen and (min-width: 780px) { .modal_info_text span { font-size: 12px; } } @media screen and (max-width: 780px) { .modal_info_text span { font-size: 11px; } } @media screen and (min-width: 780px) { .speechBubble_sp { display: none; } } .speechBubble, .speechBubble_in { position: relative; display: inline-block; border: 2px solid #000; background-color: #000; border-radius: 4px; text-align: left; font-size: 16px; font-weight: 400; line-height: 1.5; color: #000; z-index: 3; width: calc(100% - 10px); } .speechBubble:before, .speechBubble_in:before { content: ""; position: absolute; border-style: solid; } @media screen and (min-width: 780px) { .modal_info .speechBubble:before, .modal_info .speechBubble_in:before { top: 30%; } } @media screen and (max-width: 780px) { .modal_info .speechBubble:before, .modal_info .speechBubble_in:before { top: 0; } } @media screen and (min-width: 780px) { .modal_box:nth-child(2n-1) .modal_info .speechBubble:before, .modal_box:nth-child(2n-1) .modal_info .speechBubble_in:before { left: 0; border-width: 40px 40px 0 0; border-color: transparent #000 transparent transparent; translate: -100% -50%; } } @media screen and (max-width: 780px) { .modal_box:nth-child(2n-1) .modal_info .speechBubble:before, .modal_box:nth-child(2n-1) .modal_info .speechBubble_in:before { left: 50px; border-width: 0 0 30px 30px; border-color: transparent transparent #000; translate: -50% -100%; } } @media screen and (min-width: 780px) { .modal_box:nth-child(2n) .modal_info .speechBubble:before, .modal_box:nth-child(2n) .modal_info .speechBubble_in:before { right: 0; border-width: 0 0 40px 40px; border-color: transparent transparent transparent #000; translate: 100% -50%; } } @media screen and (max-width: 780px) { .modal_box:nth-child(2n) .modal_info .speechBubble:before, .modal_box:nth-child(2n) .modal_info .speechBubble_in:before { right: 45px; border-width: 0 30px 30px 0; border-color: transparent transparent #000; translate: -50% -100%; } } .speechBubble_sp .speechBubble:before, .speechBubble_sp .speechBubble_in:before { bottom: 0; } .modal_box:nth-child(2n-1) .speechBubble_sp .speechBubble:before, .modal_box:nth-child(2n-1) .speechBubble_sp .speechBubble_in:before { right: 45px; border-width: 30px 30px 0 0; border-color: #000 transparent transparent; translate: -50% 100%; } .modal_box:nth-child(2n) .speechBubble_sp .speechBubble:before, .modal_box:nth-child(2n) .speechBubble_sp .speechBubble_in:before { left: 50px; border-width: 30px 0 0 30px; border-color: #000 transparent transparent; translate: -50% 100%; } .speechBubble:after, .speechBubble_in:after { content: ""; position: absolute; border-style: solid; } @media screen and (min-width: 780px) { .modal_info .speechBubble:after, .modal_info .speechBubble_in:after { top: 30%; } } @media screen and (max-width: 780px) { .modal_info .speechBubble:after, .modal_info .speechBubble_in:after { top: 0; } } @media screen and (min-width: 780px) { .modal_box:nth-child(2n-1) .modal_info .speechBubble:after, .modal_box:nth-child(2n-1) .modal_info .speechBubble_in:after { left: 0; border-width: 35.2px 35.2px 0 0; translate: -100% calc(-50% + .4px); } } @media screen and (max-width: 780px) { .modal_box:nth-child(2n-1) .modal_info .speechBubble:after, .modal_box:nth-child(2n-1) .modal_info .speechBubble_in:after { left: 50px; border-width: 0 0 25.2px 25.2px; translate: calc(-50% + .4px) -100%; } } @media screen and (min-width: 780px) { .modal_box:nth-child(2n) .modal_info .speechBubble:after, .modal_box:nth-child(2n) .modal_info .speechBubble_in:after { right: 0; border-width: 0 0 35.2px 35.2px; translate: 100% calc(-50% - .4px); } } @media screen and (max-width: 780px) { .modal_box:nth-child(2n) .modal_info .speechBubble:after, .modal_box:nth-child(2n) .modal_info .speechBubble_in:after { right: 50px; border-width: 0 25.2px 25.2px 0; translate: calc(-50% - .4px) -100%; } } .speechBubble_sp .speechBubble:after, .speechBubble_sp .speechBubble_in:after { bottom: 0; } .modal_box:nth-child(2n-1) .speechBubble_sp .speechBubble:after, .modal_box:nth-child(2n-1) .speechBubble_sp .speechBubble_in:after { right: 50px; border-width: 25.2px 25.2px 0 0; translate: calc(-50% - .4px) 100%; } .modal_box:nth-child(2n) .speechBubble_sp .speechBubble:after, .modal_box:nth-child(2n) .speechBubble_sp .speechBubble_in:after { left: 50px; border-width: 25.2px 0 0 25.2px; translate: calc(-50% + .4px) 100%; } @media screen and (min-width: 780px) { .modal_box:nth-child(2n-1) .modal_info .speechBubble { top: 10px; } } @media screen and (max-width: 780px) { .modal_box:nth-child(2n-1) .modal_info .speechBubble { top: 20px; left: 0; } } @media screen and (min-width: 780px) { .modal_box:nth-child(2n) .modal_info .speechBubble { right: -10px; top: 10px; } } @media screen and (max-width: 780px) { .modal_box:nth-child(2n) .modal_info .speechBubble { right: 0; top: 15px; } } .modal_box:nth-child(2n-1) .modal_info .speechBubble:after { border-color: transparent #000 transparent transparent; } .modal_box:nth-child(2n) .modal_info .speechBubble:after { border-color: transparent transparent transparent #000; } .modal_box:nth-child(2n-1) .speechBubble_sp .speechBubble:after { border-color: #000 transparent transparent; } .modal_box:nth-child(2n) .speechBubble_sp .speechBubble:after { border-color: #000 transparent transparent; } .speechBubble_in { padding: 16px; position: relative; width: 100%; background-color: #fff; } @media screen and (min-width: 780px) { .speechBubble_in { top: -10px; left: -10px; } } @media screen and (max-width: 780px) { .speechBubble_in { top: -5px; left: -5px; } } @media screen and (min-width: 780px) { .modal_box:nth-child(2n-1) .modal_info .speechBubble_in:after { border-color: transparent #fff transparent transparent; } } @media screen and (max-width: 780px) { .modal_box:nth-child(2n-1) .modal_info .speechBubble_in:after { border-color: transparent transparent #fff; } } @media screen and (min-width: 780px) { .modal_box:nth-child(2n) .modal_info .speechBubble_in:after { border-color: transparent transparent transparent #fff; } } @media screen and (max-width: 780px) { .modal_box:nth-child(2n) .modal_info .speechBubble_in:after { border-color: transparent transparent #fff; } } .modal_box:nth-child(2n-1) .speechBubble_sp .speechBubble_in:after { border-color: #fff transparent transparent; } .modal_box:nth-child(2n) .speechBubble_sp .speechBubble_in:after { border-color: #fff transparent transparent; } #page_top { display: inline-block; position: fixed; bottom: 20px; right: 20px; line-height: 1; z-index: 10; } @media screen and (max-width: 780px) { #page_top { display: none; } } #page_top:hover { transition: .3s ease all; opacity: .7; } #page_top img { width: 55px; height: auto; } @media screen and (max-width: 1200px) { .modal_box { margin-bottom: 30px; } }
