【電話受付】10:00~17:00 メールは24時間受付中

ecohome.scss

/*----------------- 202310 ---------------- edit */ /* -------- reset -------- */ #layout03 { margin: 1% auto 0 auto; width: 100%; } .pg { padding: 0; } h3:before, h3:after, h4:before, h4:after { content: none; } div { box-sizing: border-box; } /* -------- ALL -------- */ .flex { display: -webkit-box; display: -webkit-flex; display: -moz-flex; display: -ms-flex; display: -o-flex; display: flex; -webkit-box-lines: multiple; -moz-box-lines: multiple; -webkit-flex-wrap: wrap; -moz-flex-wrap: wrap; -ms-flex-wrap: wrap; flex-wrap: wrap; align-items: stretch; } @media screen and (max-width: 769px) { .flex { } .pg { max-width: 100%; } } @media screen and (max-width: 1024px) { .pg { max-width: 100%; } } .inner { padding: 0; } @media screen and (min-width: 769px) { .sp { display: none; } } @media screen and (max-width: 769px) { .sp { display: block; } } .clr01 { color: #35ad72 !important; } .keikou { background:linear-gradient(transparent 70%, #ff6 60%); } .fv_in { background: #f1f1f1; } .fvimg { margin: 0 auto; } .small { padding-left: 2px; font-size: 11px; } /* -------- contents -------- */ #subsidy-B { color: #333; } #subsidy-B p { line-height: 1.67; font-weight: 350; color: #333; word-wrap: break-word; } #subsidy-B p.note { font-size: 13px; } #subsidy-B h3 { color: #35ad72 !important; border: 1px solid #35ad72; border-width: 2px 0; background: #E1F3EB !important; font-size: 20px; padding: 2%; margin: 2% 0; box-sizing: border-box; } #subsidy-B h4 { color: #2a2a2a !important; border: 0 solid #35ad72; border-left-width: 6px; background: #fff; font-size: 18px; text-align: left; padding: 0 2%; margin: 4% 2% 2% 2%; box-sizing: border-box; } #subsidy-B h5 { font-size: 16px; padding: 0 0 5px 14px; } #subsidy-B .caution_box { background: #f1f1f1; padding: 20px; border-radius: 15px; width: 96%; margin: 0 auto; } #subsidy-B .caution_box p.ttl { font-weight: bold; } #subsidy-B p.bld.top { font-weight: 600; text-align: center; font-size: 20px; } #subsidy-B .nayami { background: #E1F3EB; padding: 20px 20px 20px 50px; border-radius: 10px; width: 60%; margin: 0 auto; } #subsidy-B .nayami ul li { padding-bottom: 10px; position: relative; line-height: 1.8; } #subsidy-B .nayami ul li::after { content: ''; display: block; position: absolute; top: .5em; left: -1.5em; width: 10px; height: 5px; border-left: 3px solid #f3aa0c; border-bottom: 3px solid #f3aa0c; transform: rotate(-45deg); } #subsidy-B .point01, .point02, .point03 { width: 47.1%; /* 50%に近い値に変更 */ border: 1px solid #35ad72; margin-right: 10px; margin-left: 10px; margin-bottom: 20px; padding: 10px; border-radius: 7px; } #subsidy-B .point03 { margin-right: 0 !important; } #subsidy-B p.pont_ttl_eng { text-align: center; color: #35ad72 !important; font-weight: 600 !important; background: #E1F3EB; } #subsidy-B p.point_ttl_jp { font-weight: 600 !important; color: #35ad72 !important; } #subsidy-B p.point_txt { font-size: 14px; font-weight: 600 !important; } #subsidy-B .point_box p.caution { font-size: 12px; } #subsidy-B .point_box p.caution a { text-decoration: underline; color: #5999ff; } #subsidy-B .example_in { background-color: #E1F3EB; padding: 32px 40px 10px; } #subsidy-B .example_wrap { display: flex; /* justify-content: space-between; */ align-items: center; /* padding-bottom: 40px; */ /* border-bottom: 2px solid #35ad72; */ position: relative; z-index: 1; /* margin-bottom: 38px; */ } #subsidy-B .example_wrap::after { content: ""; display: block; width: 20px; height: 20px; /* border: 2px solid #35ad72; */ position: absolute; z-index: 1; bottom: 0; left: 50%; transform: translateX(-50%) rotate(45deg)skew(10deg, 10deg); /* background-color: #E1F3EB; */ margin-bottom: -12px; border-top: none; border-left: none; } #subsidy-B .example_box { width: calc((100% - 30px) / 2); } #subsidy-B .plus { width: 35px; height: 35px; position: relative; z-index: 1; } #subsidy-B .plus_icon::before { content: ""; display: block; width: 100%; height: 9px; background-color: #35ad72; position: absolute; z-index: 1; top: 50%; transform: translateY(-50%); left: 0; } #subsidy-B .plus_icon::after { content: ""; display: block; width: 9px; height: 100%; background-color: #35ad72; top: 0; position: absolute; z-index: 1; left: 50%; transform: translateX(-50%); } #subsidy-B .price { text-align: center; font-size: 20px; } #subsidy-B .price dl { background: #fff; padding: 14px; border-radius: 10px; } #subsidy-B .price dd { font-size: 24px; position: relative; } #subsidy-B .price span.price_num { font-size: 42px; font-weight: bold; color: #eb0404; } #subsidy-B section.select { margin: 2rem 0; } #subsidy-B .select_list { color: #fff; border-radius: 5px; margin-top: 20px; } #subsidy-B .select_list a { position: relative; display: flex; justify-content: space-around; align-items: center; margin: 0 auto; width: 350px; /* height: 100px; */ padding: 10px 25px; color: #fff; transition: 0.3s ease-in-out; font-weight: 600; /* filter: drop-shadow(0px 2px 4px #ccc); */ /* border-radius: 70px; */ text-align: center; } #subsidy-B .select_list a:hover { transform: translateY(-2px); box-shadow: 0 15px 30px -5px rgb(0 0 0 / 15%), 0 0 5px rgb(0 0 0 / 10%); text-decoration: none !important; } #subsidy-B .select_list a:hover a { text-decoration: none; } #subsidy-B .select_list a:after { content: ''; width: 5px; height: 5px; border-top: 3px solid #fff; border-right: 3px solid #fff; transform: rotate(45deg) translateY(-48%); position: absolute; top: 48%; right: 20px; border-radius: 1px; transition: 0.3s ease-in-out; } #subsidy-B .select_list a.last { border: 3px solid #35ad72; margin-right: 30px; color: #35ad72; } #subsidy-B .select_list a.last:after { border-top: 3px solid #35ad72; border-right: 3px solid #35ad72; } #subsidy-B .link-button a { background: #eee; position: relative; display: flex; justify-content: space-around; align-items: center; margin: 0 auto; max-width: 220px; padding: 10px 25px; color: #313131; transition: 0.3s ease-in-out; font-weight: 500; transform: skew(-10deg, 0deg); } #subsidy-B .link-button a span { transform: skewX(10deg); } #subsidy-B .link-button a:before { content: ''; position: absolute; top: calc(50% - 2px); right: -1em; transform: translateY(calc(-50% - 2px)) rotate(30deg); width: 12px; height: 2px; background-color: #6bb6ff; transition: 0.3s; } #subsidy-B .link-button a:after { content: ''; position: absolute; top: 50%; right: -1em; transform: translateY(-50%); width: 40px; height: 2px; background-color: #58BEB8; transition: 0.3s; } #subsidy-B .link-button a:hover:before, #subsidy-B .link-button a:hover:after { right: -1.2em; } #subsidy-B .link-button a:hover { background: #EBF7F6; color: #58BEB8; text-decoration: none; } #subsidy-B .contact { color: #fff; border-radius: 5px; margin: 20px auto 40px auto; } #subsidy-B .contact_button a { position: relative; display: flex; justify-content: space-around; align-items: center; margin: 0 auto; width: 430px; height: 85px; padding: 10px 25px; color: #fff; transition: 0.3s ease-in-out; font-weight: 600; filter: drop-shadow(0px 2px 4px #ccc); border-radius: 70px; text-align: center; background: #35ad72; margin: 0 auto; } #subsidy-B .contact_button a:after { content: ''; width: 5px; height: 5px; border-top: 3px solid #fff; border-right: 3px solid #fff; transform: rotate(45deg) translateY(-48%); position: absolute; top: 48%; right: 20px; border-radius: 1px; transition: 0.3s ease-in-out; } #subsidy-B .contact_button a:hover { transform: translateY(-2px); box-shadow: 0 15px 30px -5px rgb(0 0 0 / 15%), 0 0 5px rgb(0 0 0 / 10%); text-decoration: none !important; } #subsidy-B .contact_button a:hover a { text-decoration: none; } @media screen and (max-width: 769px) { .detailWrap { padding: 0 4%; } #subsidy-B p.bld.top { font-size: 18px; } #subsidy-B .nayami { width: 100%; margin: 0 auto 20px auto; } #subsidy-B .contact_button a { width: auto; height: auto; padding: 20px 25px; } .point_box.flex { display: block; margin-bottom: 20px; } #subsidy-B .point01, .point02, .point03 { width: 100%; margin-right: 0; margin: 20px auto 0px auto; } #subsidy-B .example_in { padding: 13px 4% 10px; } #subsidy-B .example_wrap { display: block; padding-bottom: 13px; margin-bottom: 20px; } #subsidy-B .example_box { width: 100%; margin-bottom: 10px; } table { font-size: 13px; } } /* モバイルデバイス向けの基本スタイル (1カラム) */ .container { display: flex; flex-direction: column; padding: 0; /* コンテナのパディングをリセット */ } .item { box-sizing: border-box; /* パディングとボーダーを幅に含める */ width: 100%; margin-bottom: 10px; /* その他のスタイル */ } /* パソコン向けのスタイル (2カラム) */ @media (min-width: 768px) { .container { flex-direction: row; flex-wrap: wrap; } .item { box-sizing: border-box; /* パディングとボーダーを幅に含める */ width: calc(48.5% - 10px); /* 2カラムレイアウト用の幅 */ margin-right: 10px; /* 右側の余白 */ margin-left: 10px; /* 左側の余白 */ margin-bottom: 20px; } .item:nth-child(2n) { margin-right: 0; /* 2つ目のアイテムの右余白を削除 */ } } /* パソコンで見たときは"pc"のclassがついた画像が表示される */ .pc { display: block !important; } .sp { display: none !important; } /* スマートフォンで見たときは"sp"のclassがついた画像が表示される */ @media only screen and (max-width: 750px) { .pc { display: none !important; } .sp { display: block !important; } } #subsidy-B .select_list a.mado { border: 3px solid #ef8786; margin-right: 10px; color: #ef8786; } #subsidy-B .select_list a.mado:after { border-top: 3px solid #ef8786; border-right: 3px solid #ef8786; } #subsidy-B .select_list a.kyutoshoene { border: 3px solid #5579c9; margin-right: 10px; color: #5579c9; } #subsidy-B .select_list a.kyutoshoene:after { border-top: 3px solid #5579c9; border-right: 3px solid #5579c9; } #subsidy-B .select_list a.ecohome { border: 3px solid #EA6F78; margin-right: 10px; color: #EA6F78; } #subsidy-B .select_list a.ecohome:after { border-top: 3px solid #EA6F78; border-right: 3px solid #EA6F78; }