/* ネストなし */

/* =========================== */
/* フォント設定 */
/* =========================== */

/* 使用フォント */
/* 
・Noto Sans JP
・Noto Serif JP
・nsimsun
・sans-serif
*/

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.4;
    letter-spacing: 0.05em;
    font-size: 16px;
    width: 100%;
    margin: 0;
}

/* ページ全体余白 */
section {
    margin-bottom: 60px;
}

p {
    font-family: 'Noto Sans JP', sans-serif;
}

h2 {
    font-family: 'Noto Serif JP',sans-serif;
    font-size: 36px;
    font-weight: 500;
    letter-spacing: 0.24em;
}

h3 {
    font-weight: normal;
}


/* =============================== */
/* 配色設定 */
/* =============================== */

:root {
    --black: #242424;
    --black2: #323232;
    --white: #FFFFFF;
    --green: #288070;
    --lightGreen: #088B60;
}




/* =========================== */
/* アイコンフォント */
/* =========================== */
.material-symbols-outlined {
    font-variation-settings:
    'FILL' 0,
    'wght' 400,
    'GRAD' 0,
    'opsz' 24
}


/* =========================== */
/* フェードイン */
/* =========================== */

.fade {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.5s, transform 1s;
}
.fade.active {
    opacity: 1;
    transform: translateY(0px);
}


/* ======================= */
/* ヘッダー */
/* ======================= */

header {
    height: 70px;
    width: 100%;;
    text-align: center;
    position: fixed;
    top: 0;
    z-index: 1000000000000000001;
    background-color: #fff;
}

.logo-area {
    height: 70px;
    text-align: center;
}

.logo-area a {
    display: flex;
    text-decoration: none;
    color: var(--black);
    text-align: center;
    position: relative;
}

.logo-area a img {
    max-height: 70px;
    padding: 20px;
    height: 30px;
    width: 100%;
}

.logo-area a p {
    font-family: 'nsimsun' ,sans-serif;
    white-space: nowrap;
    position: absolute;
    top: 50%;
    left: 100%;
    transform: translateY(-50%) rotate(0.05deg);
}


/* ============================================= */
/* ハンバーガーメニュー */
/* ============================================= */

.header-logo-menu {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

#nav-drawer {
    width: 50%;
}

#nav-drawer input {
    display: none;
}

#nav-content ul {
    display: flex;
    justify-content: flex-end; 
}

#nav-content ul li {
    width: 25%;
    text-align: center;
    border-left: 0.5px solid var(--black2);
}

#nav-content ul li:hover {
    background-color: #f0f0f0;
}

#nav-content ul li a {
    display: block;
    line-height: 70px;
    color: var(--black);
    text-decoration: none;
    white-space: nowrap;
}


/* ↓↓↓メニューお問い合わせ↓↓↓ */
#nav-content ul li:last-child {
    width: 240px;
    background: var(--green);
    border-left: none;
}

#nav-content ul li:last-child a {
    color: #fff;
}

#nav-content ul li:last-child:hover {
    background:rgb(9, 105, 84);
}
/* ↑↑↑メニューお問い合わせ↑↑↑ */


#facebook {
    display: none;
}



/* =========================== */
/* パンくずリスト */
/* =========================== */
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 60px;
    margin-top: 16px;
}

.breadcrumb a, .breadcrumb li {
    color: #9E9E9E;
    font-size: 12px;
}


.breadcrumb li:not(:last-of-type)::after {
    content: "›";
    margin: 0 .6em; /* 記号の左右の余白 */
    color: #777; /* 記号の色 */
}




/* =========================== */
/* メインビジュアル */
/* =========================== */

/* ↓↓↓画像上タイトル↓↓↓ */

.mainVisual {
    text-align: center;
    margin-top: 100px;
    z-index: 100000000;
}

.mainVisualOver {
    margin-bottom: 50px;
}
.mainVisualOver p {
    color: var(--lightGreen);
    font-size: 16px;
    letter-spacing: 0.03em;
}

.mainVisualOver h2 {
    font-family: 'nsimsun';
    font-size: 36px;
    margin: 20px 0;
}

/* ↑↑↑画像上タイトル↑↑↑ */
/* ↓↓↓メインビジュアル↓↓↓ */

.mainVisualImg {
    width: 100%;
    height: 280px;
    overflow: hidden;
    position: relative;
    border-top-left-radius: 50%;
    border-top-right-radius: 50%;
    margin-bottom: 40px;
    border-bottom: 4px solid var(--lightGreen);
}

.mainVisualImg img {
    position: absolute;
    height: 280px;
    width: calc(100% / 3);
    object-fit: cover;
}

.mainVisualImg img:nth-child(1) {
    top: 50%;
    left: 0%;
    transform: translateY(-50%);
}

.mainVisualImg img:nth-child(2) {
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}

.mainVisualImg img:nth-child(3) {
    top: 50%;
    right: 0%;
    transform: translate(0%,-50%);
}

/* ↑↑↑メインビジュアル↑↑↑ */
/* ↓↓↓トップニュース↓↓↓ */

.mainVisualNews {
    display: flex;
    margin: 0 auto;
    width: 80%;
    height: fit-content;
    min-height: 60px;
    box-sizing: border-box;
    box-shadow: 0 0  5px rgb(0, 0, 0 ,0.3);
}

.mainVisualNews h3 {
    width: 10%;
    line-height: 60px;
    background: var(--black2);
    color: #fff;
    padding: 0 10px;
}

.mainVisualNews a {
    display: flex;
    justify-content: space-between;
    width: 100%;
    color: var(--black);
}

.mainVisualNews div {
    display: flex;
    justify-content: space-between;
    width: 100%;
    line-height: 60px;
}

.mainVisualNews div p {
    margin-left: 0;
    line-height: 1.5;
    margin: auto 12px;
    color: var(--black);
}

/* ↑↑↑トップニュース↑↑↑ */
/* ↓↓↓ニュースタイトル↓↓↓ */

.mainVisualNews .newsText {
    display: flex;
    text-align: left;
}

.mainVisualNews .newsText .title h2 {
    margin: 0 8px;
    margin-left: 40px;
    font-size: 16px;
    font-weight: normal;
    font-family: 'Noto Sans JP', sans-serif;
}

/* ↑↑↑ニュースタイトル↑↑↑ */

/* アイコンフォント */
.mainVisualNews .material-symbols-outlined {
    margin: auto 0;
    margin-right: 40px;
    height: fit-content;
    color: var(--lightGreen);
}

/* ↑↑↑トップニュース↑↑↑ */



/* ==================================== */
/* メインページ以外のVisual */
/* ==================================== */

.visual {
    position: relative;
    margin-top: 70px;
}

.visual::before {
    position: absolute;
    content: '';
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 220px;
    z-index: 100;
    background: var(--black);
    opacity: 0.35;
}

.visual::after {
    position: absolute;
    content: '';
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 220px;
    z-index: 100;
    background: url(../img/visualBack.gif) repeat;
    background-size: 1%;
    opacity: 0.2;
}

.visual img {
    height: 220px;
    width: 100%;
    object-fit: cover;
}

.visual h2 {
    position: absolute;
    color: #fff;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    font-size: 36px;
    z-index: 101;
}




/* =========================== */
/* コンテンツ */
/* =========================== */


/* =========================== */
/* 確かな技術力で皆様の生活インフラを支える */
/* =========================== */

.sec2 {
    padding: 60px;
}

.sec2 .wrapper {
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
}

.sec2 .text {
    max-width: 750px;
}

.sec2 .text h2 {
    color: var(--black);
    font-size: 40px;
    line-height: 1.7;
    letter-spacing: 0.2em;
    margin-bottom: 34px;
    display: inline-block;
}

.sec2 .text p {
    width: 100%;
    line-height: 2.8;
    letter-spacing: 0.03em;
}

.sec2 .img {
    margin-left: 80px;
    display: flex;
    justify-content: flex-end;
}

.sec2 .img img {
    width: 100%;
    object-fit: cover;
    object-position: 80% 50%;
}



/* =========================== */
/* 事業内容・企業情報 */
/* =========================== */

.sec3 {
    display: flex;
    width: 100%;
    height: 440px;
    margin: 0;
    margin-bottom: 40px;
    color: #fff;
}

/* 事業案内・企業情報共通設定 */
.sec3 .wrapper {
    width: 50%;
    padding: 60px;
    display: block;
}


/* ↓↓↓事業案内↓↓↓ */
.sec3 .wrapper:first-child {
    background: url('../img/top/sec3Img1.jpg') no-repeat;
    object-fit: contain;
    background-size: cover;
    position: relative;
}

.sec3 .wrapper:first-child::after {
    position: absolute;
    content: '';
    z-index: 100;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: rgba(40, 128, 112, 0.8);
}


/* ↑↑↑事業案内↑↑↑ */
/* ↓↓↓企業情報↓↓↓ */

.sec3 .wrapper:last-child {
    background: url('../img/top/sec3Img2.jpg') no-repeat;
    object-fit: contain;
    background-size: cover;
    position: relative;
} 

.sec3 .wrapper:last-child::after {
    position: absolute;
    content: '';
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: rgba(55, 168, 147, 0.8);
    z-index: 100;
}

/* ↑↑↑企業情報↑↑↑ */
/* ↓↓↓テキスト設定↓↓↓ */

.sec3 h2 {
    padding-top: 15px;
    padding-bottom: 40px;
    position: relative;
    z-index: 101;
}
.sec3 p {
    font-size: 16px;
    line-height: 1.7;
    position: relative;
    z-index: 101;
}

/* ↓↓↓詳しく見る↓↓↓ */
.sec3 div {
    margin-top: 60px;
    display: flex;
}

.sec3 div a {
    display: flex;
    align-items: center;
    width: fit-content;
    text-decoration: none;
    position: relative;
    color: #fff;
    z-index: 101;
}

/* アイコンフォント（矢印） */
.sec3 div i {
    color: #fff;
    margin-left: 40px;
    position: relative;
    z-index: 101;
}

.sec3 div i::after {
    content: '';
    position: absolute;
    display: block;
    width: 50px;
    height: 50px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); 
    border-radius: 50%; 
    border: 1px solid #fff;
}




/* =========================== */
/* 採用情報 */
/* =========================== */

.sec4 {
    text-align: center;
    position: relative;
    margin-top: 80px;
}

.sec4 h2 {
    margin-bottom: 20px;
}

/* ↓↓↓佐賀電気工業で一緒に働きませんか↓↓↓ */
.sec4 h3 {
    font-family: 'Noto sans JP', sans-serif;
    font-size: 26px;
    letter-spacing: 0.24em;
    color: var(--green);
}

.sec4 p {
    line-height: 2;
    margin-bottom: 20px;
    padding: 40px;
}

.sec4 img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: 80% 35%;
}

/* ============================== */
/* 採用情報リンク */
/* ============================== */

/* ↓↓↓採用情報ボックス↓↓↓ */
.sec4 .textLink {
    position: absolute;
    top: 90%;
    right: 20%;
    background: #fff;
    width: 60%;
    box-shadow: 4px 4px 24px rgb(0, 0, 0 ,0.13);
}

/* リンクボックス */
.sec4 .textLink div {
    height: 100%;
    width: 100%;
    left: 0;
    box-shadow: none;
}

.sec4 .textLink div a {
    display: block;
    width: fit-content;
    text-decoration: none;
    color: var(--lightGreen);
    position: relative;
    font-size: 16px;
    margin: 0 auto;
    margin-bottom: 32px;
    white-space: nowrap;
}

.sec4 .textLink div a:hover {
    color: var(--lightGreen);
}

/* ↓↓↓採用情報リンク全体設定↓↓↓ */
.sec4 .textLink div a p {
    display: inline-block;
    padding: 0px;
    margin-bottom: 5px;
}


/* ↓↓↓ハローワークインタネットサービス↓↓↓ */

/* ↓↓↓下線↓↓↓ */
.sec4 .textLink div a:first-child p::before {
    position: absolute;
    content: '';
    width: calc(100% + 35px);
    height: 1px;
    background-color: var(--lightGreen);
    bottom: 0;
}

/* ↓↓↓タブアイコン↓↓↓ */
.sec4 .textLink div a:first-child p::after {
    position: absolute;
    content: '';
    display: inline-block;
    background-image: url('../img/top/pageTransition.svg');
    background-repeat: no-repeat;
    width: 20px;
    height: 20px;
    left: calc(100% + 10px);
    right: 0;
    top: 50%;
    transform: translateY(-45%);
}

/* ↓↓↓最新のハローワーク求人番号を見る↓↓↓ */

/* ↓↓↓緑の丸↓↓↓ */
.sec4 .textLink span {
    position: absolute;
    content: '';
    background-color: var(--lightGreen);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    left: 110%;
    top: -20%;
}

.sec4 .textLink span:hover {
    background-color: rgb(9, 105, 84);
}

/* ↓↓↓アイコンフォント（矢印）↓↓↓ */
.sec4 .textLink span::after {
    content: '';
    position: absolute;
    background-image: url('../img/top/topSec4Arrow.svg');
    background-repeat: no-repeat;
    height: 15px;
    width: 15px;
    left: 37%;
    top: 40%;
}






/* ============================== */
/* フッター */
/* ============================== */

footer {
    width: 100%;
    margin-top: 400px;
}

/* ↓↓↓お問い合わせ↓↓↓ */
footer .wrapper:first-child {
    line-height: 2rem;
    background-color: var(--green);
    padding: 60px;
    color: #fff;
}

footer .wrapper:first-child h2 {
    text-align: center;
    margin-bottom: 32px;
}

footer .wrapper:first-child p {
    text-align: center;
    margin-bottom: 40px;
}

footer .wrapper:first-child div {
    display: flex;
}

/* ↓↓↓.item 共通↓↓↓ */
footer .wrapper:first-child .item {
    width: calc(100% / 3);
    padding: 32px;
    border-left: 1px dotted #fff;
    display: block;
}

footer .wrapper:first-child .item a {
    color: #fff;
    display: flex;
}

footer .wrapper:first-child .item span {
    width: 80px;
    height: 80px;
    margin-right: 20px;
}

footer .wrapper:first-child .item div {
    border-left: none;
    display: flex;
}

footer .wrapper:first-child .item div h3 {
    font-size: 36px;
    margin-bottom: 20px;
    display: inline-block;
}

footer .wrapper:first-child .item div p {
    text-align: left;
}


/* ↓↓↓.item 電話番号↓↓↓ */
footer .wrapper:first-child .item:first-child {
    border-left: none;
    display: flex;
}

footer .wrapper:first-child .item:first-child div {
    display: block;
}

footer .wrapper:first-child .item:first-child a {
    pointer-events: none;
}

/* ↓↓↓.item FAX↓↓↓ */
footer .wrapper:first-child .item:nth-child(2) p {
    text-align: start;
}

/* ↓↓↓.item メールアドレス↓↓↓ */
footer .wrapper:first-child .item:last-child {
    display: flex;
}

footer .wrapper:first-child .item:last-child h3 {
    font-size: 24px;
    margin-bottom: 20px;
    display: inline-block; 
}




/* ↓↓↓サイトマップ↓↓↓ */
footer .wrapper:nth-child(2) {
    background-color: var(--black);
    color: #fff;
    padding: 60px;
}

footer .wrapper:nth-child(2) h2 {
    margin-top: 20px;
    margin-bottom: 20px;
    text-align: left;
}

footer .wrapper:nth-child(2) address p {
    text-align: start;
    margin-bottom: 5px;
    font-size: 14px;
}

footer .wrapper:nth-child(2) address p:last-child {
    margin-top: 16px;
}

/* ↓↓↓企業概要とサイトマップ分割↓↓↓ */
footer .wrapper:nth-child(2) div {
    display: flex;
    justify-content: space-between;
}

/* ↓↓↓企業概要縦並び、サイトマップ縦並び↓↓↓ */
footer .wrapper:nth-child(2) div div {
    display: block;
}

/* ↓↓↓（左側）社名↓↓↓ */
footer .wrapper:nth-child(2) div div h2 {
    font-size: 20px;
}

footer .wrapper:nth-child(2) div div address p a {
    color: var(--white);
}

/* ↓↓↓（右側）サイトマップ↓↓↓ */
footer .wrapper:nth-child(2) div div ul {
    display: flex;
    margin: 20px 0;
}

footer .wrapper:nth-child(2) div div ul li {
    margin-right: 50px;
}

footer .wrapper:nth-child(2) div div ul li a {
    font-size: 14px;
    color: #fff;
    text-decoration: none;
}

footer .wrapper:nth-child(2) div div ul li a:hover {
    border-bottom: 1px solid #fff;
}


/* ↓↓↓コピーライト表示↓↓↓ */
footer .wrapper:nth-child(2) small {
    margin-top: 40px;
    text-align: center;
    display: block;
    color: #D9D9D9;
    font-size: 12px;
    margin-bottom: 20px;
}


/* ↓↓↓PHP工房著作権表示↓↓↓ */
footer .wrapper:nth-child(3) {
    background-color: var(--white);
}



/* ============================================= */
/* メディアクエリ（タブレット） */
/* ============================================= */

@media (max-width: 850px) {

/* ====================================== */
/* ハンバーガーメニュー */
/* ====================================== */

#nav-drawer {
    position: relative;
    width: 70px;
    height: 70px;
}

/*チェックボックス等は非表示に*/
.nav-unshown {
    display: none;
}

/*アイコンのスペース*/
#nav-open {
    display: inline-block;
    width: 70px;
    height: 70px;
    vertical-align: middle;
    position: relative;
}

#nav-open span {
    position: absolute;
    top: 20px;
    right: 20px;
}

/*ハンバーガーの形をCSSで表現*/
#nav-open span, #nav-open span:before, #nav-open span:after {
    position: absolute;
    height: 3px;/*線の太さ*/
    width: 40px;/*長さ*/
    border-radius: 3px;
    background: #555;
    display: block;
    content: '';
    cursor: pointer;
}

#nav-open span:before {
    bottom: -15px;
}

#nav-open span:after {
    bottom: -30px;
}

/*閉じる用の薄黒箇所*/
#nav-close {
    display: none;
    position: fixed;
    z-index: 99;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: black;
    opacity: 0;
    transition: .3s ease-in-out;
}

/*メニューの中身*/
#nav-content {
    overflow: auto;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 9999;
    width: 90%;
    max-width: 50%;
    height: 100%;
    background: #fff;
    transition: .3s ease-in-out;
    -webkit-transform: translateX(105%);
    transform: translateX(105%);
}

/*チェックがついたら表示させる*/
#nav-input:checked ~ #nav-close {
    display: block;
    opacity: .5;
}

#nav-input:checked ~ #nav-content {
    -webkit-transform: translateX(0%);
    transform: translateX(0%);
    box-shadow: 6px 0 25px rgba(0,0,0,.15);
}

.header-logo-menu{
    display: flex;
    display: -moz-flex;
    display: -o-flex;
    display: -webkit-flex;
    display: -ms-flex;
    flex-direction: row;
    -moz-flex-direction: row;
    -o-flex-direction: row;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
}

/*ロゴやサイトタイトルをセンタリング*/
.logo-area{
    text-align: center;
}


#nav-content ul {
    display: block;
}

#nav-content ul li {
    border-left: none;
    width: 100%;
}

#nav-content ul li a {
    text-align: start;
    width: 100%;
}

#nav-content ul li:not(:last-child) {
    padding-left: 12px;
}

#nav-content ul li:last-child {
    bottom: 0;
    width: 100%;
}

#nav-content ul li:last-child a {
    text-align: center;
}


/* ハンバーガーメニュー内配置 */

#facebook {
    display: block;
    background: #f0f0f0;
    padding: 12px;
}

#facebook div {
    display: flex;
    background: #fff;
    margin: 0 auto;
    padding: 10px;

}

#facebook div img {
    height: 50px;
    width: 50px;
}

#facebook div p {
    text-align: left;
    margin: 0 auto;
    display: flex;
    align-items: center;
    color: var(--black);
}

/* ↑↑↑ハンバーガーメニュー↑↑↑ */


.sec2 .wrapper {
    display: block;
}

.sec2 .text {
    margin-bottom: 34px;
}

.sec2 .img {
    margin-left: 0;
}


.sec3 {
    display: block;
    height: fit-content;
}

.sec3 .wrapper {
    width: 100%;
    text-align: center;
    padding: 60px 0;
}

.sec3 .wrapper div {
    margin-top: 40px;
    justify-content: center;
}


.sec3 .wrapper:last-child {
    margin-top: 0;
}


.sec4 .textLink {
    width: 100%;
    right: 0;
    margin: 0;
}

.sec4 .textLink div {
    padding-bottom: 80px;
}
.sec4 .textLink div a {
    margin: 0 auto;
    margin-bottom: 32px;
}

.sec4 .textLink div span {
    margin: 0;
    margin-top: 20px;
    top: 110%;
    left: 50%;
    transform: translateX(-50%);
}

.sec4 .textLink div a:last-child::after {
    top: 160%;
    left: 50%;
    transform: translateX(-40%);
}



footer .wrapper:first-child {
    margin: auto;
}

/* ↓↓↓電話番号・FAX・Mail全体↓↓↓ */
footer .wrapper:first-child div {
    display: block;
    margin: auto;
}

footer .wrapper:first-child .item {
    width: 80%;
    border-left: none;
    border-bottom: 1px dotted #fff;
}

footer .wrapper:first-child .item div {
    margin-left: 0;
}

footer .wrapper:first-child .item:first-child a {
    pointer-events: auto;
}

/* ↓↓↓Mail個別設定↓↓↓ */
footer .wrapper:first-child .item:nth-child(3) {
    border-bottom: none;
}


/* 会社概要・サイト内マップ */
footer .wrapper:nth-child(2) div {
    display: block;
}

footer .wrapper:nth-child(2) div div ul {
    display: block;
}

footer .wrapper:nth-child(2) div div ul li {
    margin: 4px 0;
}

footer .wrapper:nth-child(2) div div address p a {
    pointer-events: auto;
}
}

/* ============================================= */
/* メディアクエリ（スマートフォン） */
/* ============================================= */

@media (max-width: 440px) {

section {
    width: 100%;
}

p {
    font-size: 14px;
}



/* ======================================= */
/* TOP以外のVisual*/
/* ======================================= */
.visual h2 {
    font-size: 28px;
}



/* ======================================= */
/* パンくずリスト*/
/* ======================================= */

/* ↓↓↓ヘッダー社名隠す↓↓↓ */
.logo-area p {
    display: none;
}

.breadcrumb {
    margin: 12px;
    margin-bottom: 40px;
}

h2 {
    font-size: 30px;
}

.mainVisual .mainVisualOver {
    margin-bottom: 20px;
}

.mainVisual .mainVisualOver h2 {
    font-size: 23px;
}

.mainVisual .mainVisualImg {
    height: 150px;
}

.mainVisual .mainVisualNews {
    display: block;
    width: 100%;
    height: fit-content;
    box-sizing: border-box;
}

.mainVisual .mainVisualNews h3 {
    width: 100%;
    line-height: 40px;
    box-sizing: border-box;
}

.mainVisual .mainVisualNews .newsText .title h2 {
    line-height: 2;
    margin-left: 12px;
}

.mainVisual .mainVisualNews .material-symbols-outlined {
    margin-right: 12px;
}

.mainVisual .mainVisualNews div {
    width: 100%;
}

.mainVisual .mainVisualNews div p {
    margin-left: 20px;
}

.mainVisualNews a {
    padding: 10px 0;
}

#facebook div {
    justify-content: space-around;
}

#facebook div p {
    font-size: 12px;
    margin-left: 6px;
}



.sec2 {
    width: 100%;
    box-sizing: border-box;
    padding: 12px;
}

.sec2 .text h2 {
    font-size: 24px;
}

.sec2 .text p {
    line-height: 2.5;
    margin: 0;
}

.sec2 .img {
    width: 100%;
}


.sec3 .wrapper {
    padding: 40px 0;
    height: 300px;
}

.sec3 .wrapper h2 {
    margin-top: 20px;
}

.sec3 .wrapper p {
    width: 90%;
    margin: 0 auto;
}

.sec4 h3 {
    padding: 0 40px;
}


footer {
    margin-top: 500px;
}

footer .wrapper:first-child {
    margin: auto;
    padding: 20px;
}

footer .wrapper:first-child h2 {
    margin-top: 40px;
}

footer .wrapper:first-child .item:last-child {
    display: block;
}

footer .wrapper:first-child .item:last-child h3 {
    display: block;
}

footer .wrapper:first-child div {
    display: block;
    margin: auto;
}


footer .wrapper:first-child .item {
    border-left: none;
    border-bottom: 1px dotted #fff;
    text-align: center;
}

footer .wrapper:first-child .item h3 {
    margin: 20px auto;
    line-height: 1.2;
    font-size: 28px;
}

footer .wrapper:first-child .item div {
    margin-top: 20px;
}


footer .wrapper:first-child .item span img{
    width: 50px;
    height: 50px;
}

footer .wrapper:first-child .item:first-child a {
    display: block;
    pointer-events: auto;
}

footer .wrapper:first-child .item:first-child a h3 {
    margin-top: 0;
}

footer .wrapper:first-child .item:nth-child(2) div {
    display: block;
}


footer .wrapper:first-child .item:nth-child(3) a {
    display: block;
}

footer .wrapper:first-child .item:nth-child(3) img {
    margin-top: 20px;
}

footer .wrapper:nth-child(2) {
    padding: 20px;
}

footer .wrapper:last-child {
    padding: 20px;
}
}