@charset "utf-8";
/* CSS Document */

/* FIRST BANK OF TOYAMA
-----------------------------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700;900&display=swap');

#works,
#voice,
#candidate,
#message {
	margin-bottom: 80px;
}

/*----------------------------------------
works
----------------------------------------*/
/* ==============================================
    index / detail
============================================== */
.tit h2 {
	margin-top: 60px;
}
#main p strong {
	display: block;
	margin-bottom: 5px;
	font-size: 18px;
}
@media screen and (max-width: 600px) {
    #main p strong {
        font-size: 15px;
    }
	.tit h2 {
	text-align: center;
}
	.tit h2 img {
	width: auto;
	height: 24px;
}
}

/* ==============================================
    index
============================================== */
#works {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}
#works h1 {
    width: 100%;
}
.works {
	width: 465px;
	margin-top: 60px;
	padding-top: 25px;
    border-top: 1px solid #D4D4D4;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
}
.works > span {
	float: left;
}
.works h2,
.works p {
	margin-left: 155px;
}
.works p:first-of-type {
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 0.3em 0;
    font-size: 12px;
    line-height: 1;
}
.works p.btn {
    margin-left: 200px;
}
.works p.btn a {
    display: block;
    width: 180px;
    padding: 0.8em 0;
    background: #2FA969;
    border-radius: 20px;
    color: #fff;
    text-decoration: none;
    line-height: 16px;
    font-size: 16px;
    text-align: center;
}
.works p.btn a:hover {
    opacity: 0.7;
}
@media screen and (min-width: 456px) {
    .works p:first-of-type {
        margin-top: 20px;
        margin-bottom: 20px;
        padding: 0.3em 0;
    }
    .works p span {
        position: relative;
        display: inline-block;
        margin-left: 1em;
        padding-left: 1em;
    }
    .works p span::before {
        content: "";
        width: 1px;
        height: 2.1em;
        position: absolute;
        left: 0;
        top: -0.3em;
        background: #B2B2B2;
    }
}
@media screen and (max-width: 600px) {
    #works {
        justify-content: center;
        padding: 0 10px;
    }
    .works {
        width: 100%;
        max-width: 465px;
    }
}
@media screen and (max-width: 455px) {
    .works {
        margin-top: 13vw;
    }
    .works p:first-of-type {
        margin-top: 10px;
        margin-bottom: 10px;
    }
    .works p span {
        display: block;
    }
    .works > span img {
        width: 30vw;
    }
    .works h2,
    .works p,
    .works p.btn {
        margin-left: 34vw;
    }
    .works h2 {
        width: calc(100% - 34vw);
    }
    .works h2 img {
        width: 100%;
    }
    .works p.btn {
        text-align: center;
    }
    .works p.btn a {
        width: 160px;
        margin: 0 auto;
        padding: 0.5em 0;
        font-size: 14px;
    }
}

/*----------------------------------------
voice
----------------------------------------*/
#voice {
    font-family: 'Noto Sans JP', sans-serif;
}
#voice #cornerLink {
    display: flex;
    justify-content: space-between;
	list-style: none;
    margin-top: 3em;
	text-align: center;
}
#voice #cornerLink li {
    position: relative;
    width: 24%;
    max-width: 225px;
    text-align: center;
    border-radius: 30px;
    border: 1px solid #c5c5c5;
}
#voice #cornerLink li a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    text-decoration: none;
    padding-top: 20px;
    font-weight: bold;
    line-height: 1.4;
}
#voice #cornerLink li img,
#voice #cornerLink li::after {
    position: absolute;
    left: 0;
    right: 0;
}
#voice #cornerLink li img {
    top: -28px;
    margin: auto;
}
#voice #cornerLink li::after {
    display: block;
    content: "";
}
#voice #cornerLink li:nth-of-type(1)::after { background-color: #F6CE08; }
#voice #cornerLink li:nth-of-type(2)::after { background-color: #7BDF19; }
#voice #cornerLink li:nth-of-type(3)::after { background-color: #F2836B; }
#voice #cornerLink li:nth-of-type(4)::after { background-color: #6FBAF3; }
@media screen and (max-width: 600px) {
    #voice #cornerLink {
        flex-wrap: wrap;
        margin-left: 1%;
        margin-right: 1%;
    }
    #voice #cornerLink li {
        width: 49%;
        max-width: 300px;
        margin-bottom: 30px;
    }
    #voice #cornerLink li a {
        min-height: 6em;
    }
    #voice #cornerLink li img {
        top: -23px;
        width: 45px;
        height: auto;
    }
}

#voice h2 {
    margin: 3em 0 2em;
}
#voice p.center {
    margin-bottom: 2em;
}
#voice h2 img,
#voice p.center img {
    max-width: 100%;
}

.voice-box {
    width: 830px;
    margin: auto;
}
.voice-box div {
	display: flex;
	align-items: flex-start;
    margin-bottom: 1.25em;
}
.voice-box div.left {
    margin-right: 183px;
}
.voice-box div.right {
    margin-left: 183px;
    flex-direction: row-reverse;
}
#voice1Block .left  { color: #F6CE08; }
#voice1Block .right { color: #FFA041; }
#voice2Block .left  { color: #7BDF19; }
#voice2Block .right { color: #38DB84; }
#voice3Block .left  { color: #F2836B; }
#voice3Block .right { color: #F87AA1; }
#voice4Block .left  { color: #6FBAF3; }
#voice4Block .right { color: #4E88EC; }

.voice-box .face {
    text-align: center;
    font-weight: 900;
    font-size: 1.125em;
}
.voice-box .face svg {
    margin-bottom: 5px;
}
.face_l,
.face_r {
    width: 87px;
    height: auto;
}
.face_l .cls-1 {
    fill: none;
    stroke: #fff;
    stroke-linecap: round;
    stroke-width: 5px;
}
.face_r .cls-1 {
    stroke: #fff;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 4px;
}
.face_r .cls-1,
.cls-2 {
    fill:#fff;
}
.cls-3 { fill: currentColor; }

.voice {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 3em;
    border: 3px solid currentColor;
    padding: 1.5em 2.5em;
    border-radius: 30px;
    background: #fff;
}
.left .voice {
    margin-left: 40px;
}
.right .voice {
    margin-right: 40px;
}
.voice span {
    color: #434343;
}
.voice::before,
.voice::after {
    position: absolute;
    content: "";
}
.voice::before {
    top: 30px;
    width: 26px;
    height: 34px;
    background: currentColor;
    z-index: -1;
}
.voice::after {
    top: 35px;
    width: 20px;
    height: 24px;
    background: #fff;
}
.left .voice::before,
.left .voice::after {
    clip-path: polygon(100% 0, 100% 100%, 0 50%);
}
.left .voice::before {
    left: -24px;
}
.left .voice::after {
    left: -19px;
}
.right .voice::before,
.right .voice::after {
    clip-path: polygon(0 0, 100% 50%, 0 100%);
}
.right .voice::before {
    right: -24px;
}
.right .voice::after {
    right: -19px;
}
@media screen and (max-width: 600px) {
    .voice-box {
        width: calc(100vw - 20px);
    }
    .voice-box div.left {
        margin-right: 0;
    }
    .voice-box div.right {
        margin-left: 0;
    }
    .voice {
        padding: 1.2em 1em;
        border-radius: 15px;
    }
    .face_l,
    .face_r {
        width: 70px;
    }
    .left .voice {
        margin-left: 30px;
    }
    .right .voice {
        margin-right: 30px;
    }
}
@media screen and (max-width: 400px) {
    .face_l,
    .face_r {
        width: 60px;
    }
}

#voiceTo ul {
    position: relative;
    list-style: none;
    width: 787px;
    height: 945px;
    margin: 0 auto 80px;
}
#voiceTo li {
    position: absolute;
    width: 100%;
}
#voiceTo li#voice01 { max-width: 390px; color: #06A501; top: 0; left: 270px; z-index: 3; }
#voiceTo li#voice02 { max-width: 330px; color: #15479F; top: 120px; left: 40px; z-index: 4; }
#voiceTo li#voice03 { max-width: 400px; color: #E534B6; top: 160px; right: 0; z-index: 2; }
#voiceTo li#voice03 span { padding: 1.5em 0; }
#voiceTo li#voice04 { max-width: 340px; color: #DC820D; top: 225px; left: 85px; z-index: 1; }
#voiceTo li#voice05 { max-width: 260px; color: #E62101; top: 350px; left: 435px; }
#voiceTo li#voice05 span { padding: 1.875em 0; }
#voiceTo li#voice06 { max-width: 350px; color: #0EBCAB; top: 370px; left: 0; z-index: 1; }
#voiceTo li#voice07 { max-width: 340px; color: #75B80F; top: 505px; left: 30px;}
#voiceTo li#voice07 span { padding: 1.75em 0; }
#voiceTo li#voice08 { max-width: 360px; color: #7759A2; top: 520px; left: 350px; z-index: 2; }
#voiceTo li#voice09 { max-width: 400px; color: #B83062; top: 655px; left: 360px; }
#voiceTo li#voice10 { max-width: 390px; color: #FF6F00; bottom: 65px; left: 0; z-index: 2; }
#voiceTo li#voice11 { max-width: 330px; color: #0B77D5; bottom: 0; left: 330px; }

#voiceTo li span {
    position: relative;
    display: block;
    padding: 1.25em 0 1.375em;
    font-weight: 900;
    font-size: 1.25em;
    text-align: center;
    border-radius: 1.65em;
    background: #fff;
    border: 2px solid #d6d6d6;
    box-shadow: 6px 9px 20px rgba(206, 206, 206, 0.16);
    box-sizing: border-box;
    line-height: 1.4;
}
#voiceTo li span::before,
#voiceTo li span::after {
    position: absolute;
    content: "";
    display: block;
    clip-path: polygon(0 0, 100% 0, 0 100%);
}
#voiceTo li span::before {
    bottom: -33px;
    right: 90px;
    width: 36px;
    height: 36px;
    background: #d6d6d6;
    z-index: -1;
    box-shadow: 6px 9px 20px rgba(206, 206, 206, 0.16);
}
#voiceTo li span::after {
    bottom: -28px;
    right: 94px;
    width: 30px;
    height: 30px;
    background: #fff;
    z-index: 1;
}
#voiceTo li#voice05 span::before,
#voiceTo li#voice05 span::after,
#voiceTo li#voice07 span::before,
#voiceTo li#voice07 span::after,
#voiceTo li#voice09 span::before,
#voiceTo li#voice09 span::after {
    transform: scale(-1, 1);
    right: auto;
}
#voiceTo li#voice02 span::before,
#voiceTo li#voice11 span::before {
    right: 50px;
}
#voiceTo li#voice02 span::after,
#voiceTo li#voice11 span::after {
    right: 54px;
}
#voiceTo li#voice05 span::before,
#voiceTo li#voice07 span::before,
#voiceTo li#voice09 span::before {
    left: 50px;
}
#voiceTo li#voice05 span::after,
#voiceTo li#voice07 span::after,
#voiceTo li#voice09 span::after {
    left: 54px;
}
@media screen and (max-width: 600px) {
    #voiceTo ul {
        position: static;
        width: 96%;
        height: auto;
        text-align: center;
    }
    #voiceTo li {
        position: static;
        margin: 0 auto 35px;
    }
}

/*----------------------------------------
candidate
----------------------------------------*/
#candidate h2 {
	margin: 55px 0 30px;
}

#candidate .message p,
#candidate .point dl {
	margin-left: 40px;
	margin-right: 35px;
}

#candidate .message strong {
	display: block;
	margin-bottom: 35px;
	padding-left: 2px;
}
#candidate .message p {
	margin-bottom: 20px;
}

#candidate .point dt {
	margin-bottom: 12px;
}
#candidate .point dd {
	margin-bottom: 40px;
}


@media screen and (max-width: 600px) {
/****************************************************
    600px未満に適用
****************************************************/
#candidate h2 {
	margin: 30px 0 20px;
	text-align: center;
}
#candidate h2 img {
	width: auto;
	height: 24px;
}
#candidate .message p,
#candidate .point dd {
	margin-left: 3%;
	margin-right: 3%;
}
#candidate .point dl {
	margin: 0;
}

#candidate .message strong {
	margin-bottom: 15px;
	padding-left: 0;
}

#candidate .message strong img,
#candidate .point dt img {
	width: 100%;
}
#candidate .point dd {
	margin-bottom: 30px;
}

/****************************************************/
}


/*----------------------------------------
message
----------------------------------------*/

#message h1 {
	margin-bottom: 40px;
}
#message p {
	margin-left: 85px;
	margin-bottom: 20px;
}

@media screen and (max-width: 600px) {
/****************************************************
    600px未満に適用
****************************************************/
#message p {
	margin: 0 3% 25px;
}

/****************************************************/
}


