@charset "UTF-8";

/*
theme Name: AMAX_2023
Author: JIA
Description: AMAX_2023 template
*/
@font-face {
    font-family: 'zen';
    font-weight: 400;
    src: url(../assets/font/ZenKakuGothicNew-Regular.ttf) format('opentype');
}

@font-face {
    font-family: 'zen';
    font-weight: 500;
    src: url(../assets/images/font/ZenKakuGothicNew-Medium.ttf) format('opentype');
}

@font-face {
    font-family: 'zen';
    font-weight: 600;
    src: url(../assets/images/font/ZenKakuGothicNew-Bold.ttf) format('opentype');
}

@font-face {
    font-family: 'EB Garamond', serif;
    font-weight: 600;
    src: url(../assets/font/EBGaramond-VariableFont_wght.ttf) format('opentype');
}




/* スタイルリセット
---------------------------------------*/
button,
hr,
input {
    overflow: visible
}

address,
blockquote,
body,
dl,
fieldset,
figure,
form,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
iframe,
ol,
p,
pre,
table,
ul {
    margin: 0
}


a,
hr,
legend {
    color: inherit
}

/*親要素のスタイルを継承*/


progress,
sub,
sup {
    vertical-align: baseline
}


fieldset,
legend,
ol,
option,
td,
th,
ul {
    padding: 0
}

caption,
th {
    text-align: left
}

*,
::after,
::before {
    box-sizing: border-box;
    border-style: solid;
    border-width: 0
}

html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
    outline-color: -webkit-focus-ring-color
}

details,
main {
    display: block
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: inherit;
    line-height: inherit;
    font-weight: inherit
}

ul {
    list-style: none
}

dt {
    font-weight: 700
}

dd {
    margin-left: 0
}

hr {
    box-sizing: content-box;
    height: 0;
    border-top-width: 1px;
    clear: both
}

code,
kbd,
pre,
samp {
    font-family: monospace, monospace;
    font-size: inherit
}

address {
    font-style: inherit
}

a {
    background-color: transparent;
    text-decoration: none
}

abbr[title] {
    text-decoration: underline;
    text-decoration: underline dotted
}

b,
strong {
    font-weight: bolder
}

small {
    font-size: 80%
}

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative
}

sub {
    bottom: -.25em
}

sup {
    top: -.5em
}

embed,
iframe,
img,
object {
    vertical-align: bottom
}

button,
input,
optgroup,
select,
textarea {
    -webkit-appearance: none;
    appearance: none;
    vertical-align: middle;
    color: inherit;
    font: inherit;
    background: 0 0;
    padding: 0;
    margin: 0;
    outline: 0;
    border-radius: 0;
    text-align: inherit
}

[type=checkbox] {
    -webkit-appearance: checkbox;
    appearance: checkbox
}

[type=radio] {
    -webkit-appearance: radio;
    appearance: radio
}

button,
select {
    text-transform: none
}

[type=button],
[type=reset],
[type=submit],
button {
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none
}

[type=button][disabled],
[type=reset][disabled],
[type=submit][disabled],
button[disabled] {
    cursor: default
}

[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner,
button::-moz-focus-inner {
    border-style: none;
    padding: 0
}

[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring,
button:-moz-focusring {
    outline: ButtonText dotted 1px
}

select::-ms-expand {
    display: none
}

fieldset {
    min-width: 0
}

legend {
    display: table;
    max-width: 100%;
    white-space: normal
}

textarea {
    overflow: auto
}

[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
    height: auto
}

[type=search] {
    outline-offset: -2px
}

[type=search]::-webkit-search-decoration {
    -webkit-appearance: none
}

::-webkit-file-upload-button {
    -webkit-appearance: button;
    font: inherit
}

label[for] {
    cursor: pointer
}

summary {
    display: list-item
}

[contenteditable] {
    outline: 0
}

table {
    border-collapse: collapse;
    border-spacing: 0
}

td,
th {
    vertical-align: top
}

th {
    font-weight: 700
}

[hidden],
template {
    display: none
}

/* 全体スタイル
---------------------------------------*/
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    font-size: 62.5%;
    /*pxだと10px;*/
}

@media screen and (min-width: 1025px) and (max-width: 1200px) {
    html {
        font-size: 56.7%;
    }
}

@media screen and (min-width:501px) and (max-width:1024px) {
    html {
        font-size: 65%;
    }
}

@media screen and (max-width:500px) {

    /*画面サイズが500px以下はここを読み込む*/
    html {
        font-size: 62.5%;
    }
}

body {
    width: 100%;
    height: auto;
    color: #717171;
    letter-spacing: 0.05em;
    line-height: 1.6;
    font-family: 'zen', sans-serif;
    font-size: 1.6rem;
    font-weight: 400;
    position: relative;
    margin: 0;
    padding: 0;
}

main {
    margin-top: 112px;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    display: block;
    text-decoration-line: none;
}

a:hover {
    opacity: 0.75;
}

a img:hover {

    opacity: 0.8;
}


.pc-none {
    display: none;
}

.sp-none {
    display: block;
}

@media screen and (max-width: 1024px) {
    body {
        font-size: 1.6rem;
    }

    main {
        margin-top: 85px;
    }

    .pc-none {
        display: block;
    }

    .sp-none {
        display: none;
    }
}

.clear {
    clear: both;
}

/*ヘッダー
-------------------------------------*/
header {
    width: 100%;
    /*box-shadow: 0px 0px 16px rgba(0, 0, 0, 0.16);*/
    position: fixed;
    top: 0;
    z-index: 100;
}

.header-inner {
    width: 100%;
    padding: 15px 3% 10px;
    background: #fff;
}
header h1 img {
    height: 30px;
}
.header-inner h1 p {
    font-size: 11px;
    color: #808080;
    line-height: 1;
    padding-bottom: 4.1px;
}

.header-inner .link {
    display: flex;
    width: 100%;
    margin-top: 15px;
}

.header-inner .link a {
    display: block;
    font-size: 14px;
    color: #8EBCD1;
    width: 49.7%;
    height: 2.5em;
    line-height: 2.5em;
    text-align: center;
}

.header-inner .link a.left {
    border-right: 1px solid #8EBCD1;
}

nav {
    display: block;
    position: fixed;
    top: 0;
    right: -50%;
    width: 50%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0);
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transition: all .5s;
    z-index: 200;
    opacity: 0;
}

.open nav {
    right: 0;
    opacity: 1;
}

nav .inner {
    width: 100%;
    padding-top: 120px;
}

.head {
    position: relative;
    width: 100%;
    height: 73px;
    background-image: url(/sp/assets/images/common/menu_image.png);
    background-repeat: no-repeat;
    background-size: cover;
}

.head a {
    position: absolute;
    top: 25px;
    left: 5%;
    display: flex;
    align-items: center;
}

.head a img {
    padding-right: 0.5em;
    width: 22px;
}

nav .inner ul {
    display: block;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav .inner ul li {
    position: relative;
    background: #fff;
    padding: 0 3%;
    margin: 0;
    display: flex;
    align-items: center;
}

nav .inner ul li.title {
    background: #8cbacf;
    height: 2.25rem;
}

nav .inner ul li.title img {
    height: 1.2rem
}

nav .inner ul li a {
    display: flex;
    align-items: center;
    width: 100%;
    height: 52px;
    font-size: 1.4rem;
    color: #7CCCF1;
    text-decoration: none;
    transition-duration: 0.2s;
}

nav .inner ul li.uline a {
    border-bottom: 2px dashed #90c2d8;
}

nav .inner ul li a.sp-none {
    display: flex;
}

nav .inner ul li a.pc-none {
    display: none;
}

nav .inner ul li a img {
    padding-right: 0.5em;
    width: 22px;
}

/*ハンバーガーボタン*/
.toggle_btn {
    display: block;
    position: fixed;
    top: 16px;
    right: 15px;
    width: 40px;
    height: 40px;
    transition: all .5s;
    cursor: pointer;
    z-index: 3;
}

.toggle_btn span {
    display: block;
    position: absolute;
    left: 0;
    width: 39px;
    height: 1px;
    background-color: #7CCCF1;
    border-radius: 4px;
    transition: all .5s;
}

.toggle_btn span:nth-child(1) {
    top: 10px;
}

.toggle_btn span:nth-child(2) {
    display: none;
}

.toggle_btn span:nth-child(3) {
    bottom: 10px;
}

.open .toggle_btn {
    z-index: 300;
}

.open .toggle_btn span:nth-child(1) {
    top: 0;
    -webkit-transform: translateY(10px) rotate(-315deg);
    transform: translateY(10px) rotate(-315deg);
}

.open .toggle_btn span:nth-child(2) {
    opacity: 0;
}

.open .toggle_btn span:nth-child(3) {
    -webkit-transform: translateY(-10px) rotate(315deg);
    transform: translateY(-10px) rotate(315deg);
}


#mask {
    display: none;
    transition: all .5s;
}

.open #mask {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    opacity: .8;
    z-index: 100;
    cursor: pointer;
}


@media screen and (max-width: 1024px) {
    header {
        height: 64px;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 300;
    }


    .header-inner h1 {
        padding-bottom: 0;
    }

    header h1 img {
        height: 30px;
    }

    nav {
        right: -80%;
        width: 80%;
    }

    nav .inner {
        padding-top: 85px;
    }

    nav .inner ul li a.sp-none {
        display: none;
    }

    nav .inner ul li a.pc-none {
        display: flex;
    }

    .toggle_btn {
        right: 4%;
    }
}

@media screen and (max-width: 500px) {
    .header-inner{
        padding:15px 3% 7px;
    }
    .header-inner h1 a{
        display: inline-block;
        line-height: 1.5;
    }
    .header-inner h1 a.sp-none {
        display: none;
    }
    .header-inner h1 p {
        font-size: 7px;
        padding-bottom: 0;
    }
    header h1 img {
        height: 19px;
    }
    .header-inner h1 p {
        font-size: 7px;
    }
    .header-inner .link {
        margin-top: 10px;
    }
    .header-inner .link a {
        font-size: 11px;
        width: 44%;
        height: 2em;
        line-height: 2em;
    }

    .header-inner .link a.left {
        width: 56%;
    }
    nav .inner ul li a img {
        width: 18px;
    }

    nav .inner ul li a.pc-none,
    nav .inner ul li a {
        font-size: 1.2rem;
    }
    .toggle_btn{
        width: 35px;
        height:35px;
        top:13px;
    }
}

/*検索
------------------------------------------*/
.search {
    background: #fff;
    padding: 4px;
}
.search .gsc-control-cse{
 padding:0.5em 0.5em 0.2em;
}
.search form.gsc-search-box {
    width: 275px !important;
}

@media screen and (max-width: 500px) {
    .search form.gsc-search-box {
        width: 220px !important;
    }
}

.search table.gsc-search-box {
    margin: 5px 5% !important;
}
@media screen and (max-width: 500px) {
.search table.gsc-search-box {
        margin: 0;
}
}

.search form.gsc-search-box {
    padding-right: 0 !important;
}

.search .gsc-search-button {
    width: auto;
}

.search .gsc-search-button-v2 {
    padding: 10px 0 !important;
    text-align: center;
    width: 40px;
    background-color: #8cbacf;
    border-color: #8cbacf;
    border-radius: 0;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

.search .gsc-input-box {
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    padding:0;
}

.search table.gsc-search-box td.gsc-input {
    padding-right: 0;
}

.search table.gsc-search-box td {
    margin-left: 0;
}

/*フッター
-------------------------------------------*/
footer {
    background: #FFF;
    display: flex;
    justify-content: space-between;
    padding: 36px 0 35px;
    background-image: url(../../assets/images/supoort/dots.svg);
    background-position: 0 0;
    background-repeat: repeat-x;
    margin-top: 100px;
}

.footer-sns-link-area ul {
    display: flex;
}

#footer-tamahome-link-area .link-box {
    display: flex;
}

.link-item {
    font-size: 1.1rem;
    color: #8ebcd1;
}

.link-item .top-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #8ebcd1;
    color: #fff;
    width: 96px;
    height: 32px;
    margin-left: 1rem;
}

@media screen and (max-width: 1024px) {
    footer {
        margin-top: 50px;
        padding: 23px 0 35px;
    }

    #footer-sns-link-area {
        display: none;
    }

    .link-item a {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 20px;
        font-size: 1.4rem;
    }

    .link-item a img {
        width: 12px;
        height: 12px;
        margin-right: 5px;
    }
}

/*コンテナ
-------------------------------------------*/
.container {
    max-width: 1024px;
    width: 85%;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

/*ページタイトル
-------------------------------------------*/
.title-b {
    background: #E3F5FD;
    padding: 20px 0;
    display: flex;
}

.title-b .container {
    display: flex;
    align-items: center;
}

.title-b img {
    width: 62px;
    height: 62px;
}

.title-b h1 {
    font-size: 2.8rem;
    font-weight: 500;
    color: #5BBBE8;
    padding-left: 7px;
    line-height: 1.3;
    letter-spacing: 0;
}

.title-b h1 span {
    font-size: 1.6rem;
    display: block;
}

.bread {
    display: flex;
    font-size: 1.2rem;
    color: #fff;
    padding: 18px 0;
}

.bread img {
    padding: 0 0.5rem
}

@media screen and (max-width: 1024px) {
    .title-b h1 {
        font-size: 2.4rem;
    }

    .title-b h1 span {
        font-size: 1.4rem;
    }
}

/*qa
-------------------------------------------*/
.body {
    background: #7CCCF1;
    padding-bottom: 75px;
}

/*質問*/
.qestion {
    position: relative;
    width: 70%;
    background: #fff;
    border-radius: 9.5px;
    padding: 3.5rem 3rem;
    margin-top: 23px;
}

.qestion .fukidashi-l {
    position: absolute;
    bottom: -17.68px;
    left: 12%;
    width: 20.73px;
    height: 17.68px;
}

h2 {
    display: flex;
    align-items: center;
    font-size: 2rem;
    font-weight: 500;
    color: #5BBBE8;
    margin-bottom: 15px;
}

.qestion .top img {
    width: 38px;
    padding-right: 10px;
    margin-top: 2px;
}

.qestion .bottom {
    line-height: 2;
    padding-left: 4.1rem;
}

.qestion .bottom {
    line-height: 2;
}

.consultation {
    display: flex;
    align-items: center;
    color: #fff;
    font-size: 1.8rem;
    font-weight: 500;
    margin-top: 20px;
}

.consultation img {
    width: 73px;
    height: 73px;
    object-fit: cover;
    border-radius: 36.5px;
}

.consultation span {
    padding-left: 20px;
    font-weight: 500;
}


/*回答*/
.answer {
    position: relative;
    width: 70%;
    margin-left: 30%;
    background: #fff;
    border-radius: 9.5px;
    padding: 3.5rem 3rem;
    margin-top: 20px;
}

.answer .fukidashi-r {
    position: absolute;
    bottom: -17.68px;
    right: 12%;
    width: 20.73px;
    height: 17.68px;
}

.answer .top img {
    padding-right: 10px;
    width: 38px;
}

.answer .bottom {
    line-height: 2;
    padding-left: 4.1rem;
}

.respondent {
    display: flex;
    align-items: center;
    justify-content: right;
    color: #fff;
    font-size: 1.8rem;
    font-weight: 600;
    margin-top: 25px;
    margin-bottom: 44px;
}

.respondent .left {
    text-align: right;
    padding-right: 20px;
    line-height: 1.8;
}

.respondent .left span {
    font-weight: 500;
}

.respondent img.photo {
    width: 73px;
    height: 73px;
    object-fit: cover;
    border-radius: 36.5px;
}

.respondent a {
    align-items: center;
    display: flex;
    font-size: 1.4rem;
    font-weight: normal;
    white-space: nowrap;
}

.respondent a img {
    padding-left: 5px;
    width: 20px;
    height: 20px;
}

.other {
    text-align: center;
}

@media screen and (max-width: 1024px) {
    .qestion {
        width: 100%;
        margin-top: 10px;
        padding: 8% 7%;
    }

    h2 {
        font-size: 1.6rem;
    }

    .qestion .top img {
        width: 32px;
    }

    .qestion .bottom {
        padding-left: 0;
        line-height: 1.8;
        font-size: 1.4rem;
    }

    .answer {
        width: 100%;
        margin-left: 0;
    }

    .answer .bottom {
        line-height: 2;
        padding-left: 0;
    }
}

@media screen and (max-width: 500px) {
    .qestion .top img {
        width: 22px;
        padding-right: 5px;
    }

    h2 {
        margin-bottom: 10px;
    }

    .answer {
        padding: 23px 20px;
        margin-top: 33px;
    }

    .qestion .fukidashi-l {
        left: 25%;
    }

    .answer .fukidashi-r {
        right: 25%;
    }

    .other img {
        width: 80%;
    }
}

/*カウンセラーモーダル
-------------------------------------------*/
.modal_bg {
    display: none;
    position: fixed;
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.75);
    z-index: 7000;
}

.modal_box {
    position: fixed;
    z-index: 7777;
    display: none;
    width: 85%;
    max-width: 512px;
    margin: 0;
    padding: 26px 35px;
    background-color: rgba(255, 255, 255, 1);
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
    box-sizing: border-box;
    border-radius: 5px;
    border: 1px solid #CBCBCB;
}

.mo-img {
    width: 94px;
    height: 105px;
    border-radius: 5px;
    object-fit: cover;
    display: block;
    margin: 0 auto 5px;
}

.mo-enname {
    color: #7CCCF1;
    text-align: center;
    font-size: 14px;
    font-family: 'EB Garamond', serif;
    font-weight: 500;
}

.mo-name {
    font-size: 18px;
    font-weight: 500;
    text-align: center;
}

.mo-job {
    font-size: 14px;
    font-weight: 500;
    color: #B1B1B1;
    margin: 19px 0 14px;
}

.mo-prof {
    height: 100.86px;
    overflow-y: scroll;
    font-size: 14px;
    padding: 19px 21px;
    background: #F5FBFD;
}

.modal_close {
    position: absolute;
    top: 23px;
    right: 25px;
}

.modal_close img {
    width: 29.25px;
    height: 29.25px;
}

@media screen and (max-width: 600px) {
    .modal_box {
        max-height: auto;
        padding: 27px 20px;
    }

    .modal_close img {
        top: 5%;
        right: 5%;
    }
}