{"version":3,"sources":["webpack:///./node_modules/styled-react-modal/build/index.js","webpack:///./node_modules/@material-ui/core/esm/CircularProgress/CircularProgress.js","webpack:///./src/pages/contact.jsx"],"names":["module","exports","e","t","r","n","o","i","l","call","m","c","d","Object","defineProperty","enumerable","get","Symbol","toStringTag","value","__esModule","create","bind","default","prototype","hasOwnProperty","p","s","u","a","div","withConfig","displayName","createContext","Provider","f","Consumer","Array","isArray","iterator","next","done","push","length","return","toString","slice","constructor","name","from","test","TypeError","backgroundComponent","children","useRef","useState","b","useEffect","current","createElement","modalNode","BackgroundComponent","ref","y","assign","arguments","apply","this","v","O","j","WrapperComponent","onBackgroundClick","onEscapeKeydown","allowScroll","beforeOpen","afterOpen","beforeClose","afterClose","backgroundProps","isOpen","keys","indexOf","getOwnPropertySymbols","propertyIsEnumerable","g","h","w","C","S","k","E","x","useCallback","P","A","_","M","B","I","target","then","key","document","addEventListener","removeEventListener","body","style","overflow","createPortal","onClick","styled","defaultProps","props","classes","className","_props$color","color","_props$disableShrink","disableShrink","_props$size","size","_props$thickness","thickness","_props$value","_props$variant","variant","other","circleStyle","rootStyle","rootProps","circumference","Math","PI","strokeDasharray","toFixed","round","strokeDashoffset","concat","transform","root","capitalize","determinate","indeterminate","static","width","height","role","svg","viewBox","SIZE","circle","circleDisableShrink","circleDeterminate","circleIndeterminate","circleStatic","cx","cy","fill","strokeWidth","withStyles","theme","display","transition","transitions","animation","colorPrimary","palette","primary","main","colorSecondary","secondary","stroke","transformOrigin","flip","ContactForm","isVisible","colorPaletteV2","surface","orange","whitePale","white","blue","grayPale","Grad1Button","button","StyledModal","Modal","opacity","SendingCircular","CircularProgress","FadingBackground","BaseModalBackground","CloseButton","black","ResultWrapper","ContactPageV2","setIsOpen","setIsVisible","setOpacity","inputs","setInputs","isSending","setIsSending","toggleModal","preventDefault","handleOnChange","index","newInputs","sendContents","fetch","method","cache","headers","JSON","stringify","subject","message","pageTitle","htmlFor","type","id","placeholder","onChange","required","rows","setTimeout","Promise","res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IA,UAAU,cACZ,2BAAOwG,QAAQ,yBAAf,SAEF,wBAAIxG,UAAU,mCAAmCqF,EAAO,IACxD,wBAAIrF,UAAU,cACZ,2BAAOwG,QAAQ,yBAAf,QAEF,wBAAIxG,UAAU,mCAAmCqF,EAAO,IACxD,wBAAIrF,UAAU,cACZ,2BAAOwG,QAAQ,yBAAf,YAEF,wBAAIxG,UAAU,mCAAmCqF,EAAO,IACxD,wBAAIrF,UAAU,cACZ,2BAAOwG,QAAQ,yBAAf,SAEF,wBAAIxG,UAAU,mCAAmCqF,EAAO,IACxD,wBAAIrF,UAAU,cACZ,2BAAOwG,QAAQ,yBAAf,aAEF,wBAAIxG,UAAU,2CACXqF,EAAO,KAGZ,6BACGE,EACC,kBAACb,EAAD,CAAiBxE,MAAM,UAAUF,UAAU,qBAE3C,kBAACqE,EAAD,CACErE,UAAU,yCACVL,QAASmG,GAET,0BAAM9F,UAAU,8BAAhB,UAMV,kBAACgF,EAAD,CAAenB,UAAWA,GACxB,wBAAI7D,UAAU,SAAd,SAEE,wBAAIA,UAAU,oBAFhB,gBAKA,6BACE,uBAAGA,UAAU,cAAckH,KAAK,KAAhC","file":"component---src-pages-contact-jsx-e742d9b3b45e1b1cb50d.js","sourcesContent":["module.exports = function (e) {\n var t = {};\n\n function r(n) {\n if (t[n]) return t[n].exports;\n var o = t[n] = {\n i: n,\n l: !1,\n exports: {}\n };\n return e[n].call(o.exports, o, o.exports, r), o.l = !0, o.exports;\n }\n\n return r.m = e, r.c = t, r.d = function (e, t, n) {\n r.o(e, t) || Object.defineProperty(e, t, {\n enumerable: !0,\n get: n\n });\n }, r.r = function (e) {\n \"undefined\" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(e, Symbol.toStringTag, {\n value: \"Module\"\n }), Object.defineProperty(e, \"__esModule\", {\n value: !0\n });\n }, r.t = function (e, t) {\n if (1 & t && (e = r(e)), 8 & t) return e;\n if (4 & t && \"object\" == typeof e && e && e.__esModule) return e;\n var n = Object.create(null);\n if (r.r(n), Object.defineProperty(n, \"default\", {\n enumerable: !0,\n value: e\n }), 2 & t && \"string\" != typeof e) for (var o in e) {\n r.d(n, o, function (t) {\n return e[t];\n }.bind(null, o));\n }\n return n;\n }, r.n = function (e) {\n var t = e && e.__esModule ? function () {\n return e.default;\n } : function () {\n return e;\n };\n return r.d(t, \"a\", t), t;\n }, r.o = function (e, t) {\n return Object.prototype.hasOwnProperty.call(e, t);\n }, r.p = \"\", r(r.s = 3);\n}([function (e, t) {\n e.exports = require(\"react\");\n}, function (e, t) {\n e.exports = require(\"styled-components\");\n}, function (e, t) {\n e.exports = require(\"react-dom\");\n}, function (e, t, r) {\n \"use strict\";\n\n r.r(t), r.d(t, \"ModalProvider\", function () {\n return p;\n }), r.d(t, \"BaseModalBackground\", function () {\n return u;\n });\n var n = r(1),\n o = r.n(n),\n u = o.a.div.withConfig({\n displayName: \"baseStyles__BaseModalBackground\"\n })([\"display:flex;position:fixed;top:0;left:0;width:100vw;height:100vh;z-index:30;background-color:rgba(0,0,0,0.5);align-items:center;justify-content:center;\"]),\n a = r(0),\n c = r.n(a),\n l = c.a.createContext({}),\n i = l.Provider,\n f = l.Consumer;\n\n function s(e, t) {\n return function (e) {\n if (Array.isArray(e)) return e;\n }(e) || function (e, t) {\n if (\"undefined\" == typeof Symbol || !(Symbol.iterator in Object(e))) return;\n var r = [],\n n = !0,\n o = !1,\n u = void 0;\n\n try {\n for (var a, c = e[Symbol.iterator](); !(n = (a = c.next()).done) && (r.push(a.value), !t || r.length !== t); n = !0) {\n ;\n }\n } catch (e) {\n o = !0, u = e;\n } finally {\n try {\n n || null == c.return || c.return();\n } finally {\n if (o) throw u;\n }\n }\n\n return r;\n }(e, t) || function (e, t) {\n if (!e) return;\n if (\"string\" == typeof e) return d(e, t);\n var r = Object.prototype.toString.call(e).slice(8, -1);\n \"Object\" === r && e.constructor && (r = e.constructor.name);\n if (\"Map\" === r || \"Set\" === r) return Array.from(r);\n if (\"Arguments\" === r || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)) return d(e, t);\n }(e, t) || function () {\n throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n }();\n }\n\n function d(e, t) {\n (null == t || t > e.length) && (t = e.length);\n\n for (var r = 0, n = new Array(t); r < t; r++) {\n n[r] = e[r];\n }\n\n return n;\n }\n\n function p(e) {\n var t = e.backgroundComponent,\n r = e.children,\n n = Object(a.useRef)(null),\n o = s(Object(a.useState)(null), 2),\n l = o[0],\n f = o[1],\n d = s(Object(a.useState)(u), 2),\n p = d[0],\n b = d[1];\n return Object(a.useEffect)(function () {\n t && b(t);\n }, [b, t]), Object(a.useEffect)(function () {\n f(n.current);\n }, [f, n]), c.a.createElement(i, {\n value: {\n modalNode: l,\n BackgroundComponent: p\n }\n }, r, c.a.createElement(\"div\", {\n ref: n\n }));\n }\n\n var b = r(2),\n y = r.n(b);\n\n function m() {\n return (m = Object.assign || function (e) {\n for (var t = 1; t < arguments.length; t++) {\n var r = arguments[t];\n\n for (var n in r) {\n Object.prototype.hasOwnProperty.call(r, n) && (e[n] = r[n]);\n }\n }\n\n return e;\n }).apply(this, arguments);\n }\n\n function v(e, t) {\n return function (e) {\n if (Array.isArray(e)) return e;\n }(e) || function (e, t) {\n if (\"undefined\" == typeof Symbol || !(Symbol.iterator in Object(e))) return;\n var r = [],\n n = !0,\n o = !1,\n u = void 0;\n\n try {\n for (var a, c = e[Symbol.iterator](); !(n = (a = c.next()).done) && (r.push(a.value), !t || r.length !== t); n = !0) {\n ;\n }\n } catch (e) {\n o = !0, u = e;\n } finally {\n try {\n n || null == c.return || c.return();\n } finally {\n if (o) throw u;\n }\n }\n\n return r;\n }(e, t) || function (e, t) {\n if (!e) return;\n if (\"string\" == typeof e) return O(e, t);\n var r = Object.prototype.toString.call(e).slice(8, -1);\n \"Object\" === r && e.constructor && (r = e.constructor.name);\n if (\"Map\" === r || \"Set\" === r) return Array.from(r);\n if (\"Arguments\" === r || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)) return O(e, t);\n }(e, t) || function () {\n throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n }();\n }\n\n function O(e, t) {\n (null == t || t > e.length) && (t = e.length);\n\n for (var r = 0, n = new Array(t); r < t; r++) {\n n[r] = e[r];\n }\n\n return n;\n }\n\n function g(e, t) {\n if (null == e) return {};\n\n var r,\n n,\n o = function (e, t) {\n if (null == e) return {};\n var r,\n n,\n o = {},\n u = Object.keys(e);\n\n for (n = 0; n < u.length; n++) {\n r = u[n], t.indexOf(r) >= 0 || (o[r] = e[r]);\n }\n\n return o;\n }(e, t);\n\n if (Object.getOwnPropertySymbols) {\n var u = Object.getOwnPropertySymbols(e);\n\n for (n = 0; n < u.length; n++) {\n r = u[n], t.indexOf(r) >= 0 || Object.prototype.propertyIsEnumerable.call(e, r) && (o[r] = e[r]);\n }\n }\n\n return o;\n }\n\n function j(e) {\n var t,\n r = e.WrapperComponent,\n n = e.children,\n o = e.onBackgroundClick,\n u = e.onEscapeKeydown,\n l = e.allowScroll,\n i = e.beforeOpen,\n s = e.afterOpen,\n d = e.beforeClose,\n p = e.afterClose,\n b = e.backgroundProps,\n O = e.isOpen,\n j = g(e, [\"WrapperComponent\", \"children\", \"onBackgroundClick\", \"onEscapeKeydown\", \"allowScroll\", \"beforeOpen\", \"afterOpen\", \"beforeClose\", \"afterClose\", \"backgroundProps\", \"isOpen\"]),\n h = Object(a.useRef)(null),\n w = Object(a.useRef)(null),\n C = Object(a.useRef)(!1),\n S = v(Object(a.useState)(!1), 2),\n k = S[0],\n E = S[1],\n x = Object(a.useCallback)(u),\n P = Object(a.useCallback)(o),\n A = Object(a.useCallback)(i),\n _ = Object(a.useCallback)(s),\n M = Object(a.useCallback)(d),\n B = Object(a.useCallback)(p);\n\n function I(e) {\n h.current === e.target && P && P(e);\n }\n\n return Object(a.useEffect)(function () {\n function e(e) {\n if (e) try {\n e().then(function () {\n return E(O);\n });\n } catch (e) {\n E(O);\n } else E(O);\n }\n\n k !== O && e(O ? A : M);\n }, [C, k, E, O, A, M]), Object(a.useEffect)(function () {\n k ? _ && _() : C.current && B && B();\n }, [C, k, _, B]), Object(a.useEffect)(function () {\n function e(e) {\n \"Escape\" === e.key && x && x(e);\n }\n\n return k && document.addEventListener(\"keydown\", e), function () {\n document.removeEventListener(\"keydown\", e);\n };\n }, [k, x]), Object(a.useEffect)(function () {\n return k && !l && (w.current = document.body.style.overflow, document.body.style.overflow = \"hidden\"), function () {\n l || (document.body.style.overflow = w.current || \"\");\n };\n }, [k, l]), Object(a.useEffect)(function () {\n C.current = !0;\n }, [C]), t = r ? c.a.createElement(r, j, n) : n, c.a.createElement(f, null, function (e) {\n var r = e.modalNode,\n n = e.BackgroundComponent;\n return r && n && k ? y.a.createPortal(c.a.createElement(n, m({}, b, {\n onClick: I,\n ref: h\n }), t), r) : null;\n });\n }\n\n j.styled = function () {\n for (var e = arguments.length, t = new Array(e), r = 0; r < e; r++) {\n t[r] = arguments[r];\n }\n\n var n = t ? o.a.div.withConfig({\n displayName: \"Modal__wrap\"\n }).apply(void 0, t) : o.a.div.withConfig({\n displayName: \"Modal__wrap\"\n })();\n return function (e) {\n return c.a.createElement(j, m({\n WrapperComponent: n\n }, e));\n };\n }, j.defaultProps = {\n backgroundProps: {}\n };\n var h = j;\n t.default = h;\n}]);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport clsx from 'clsx';\nimport { chainPropTypes } from '@material-ui/utils';\nimport withStyles from '../styles/withStyles';\nimport capitalize from '../utils/capitalize';\nvar SIZE = 44;\nexport var styles = function styles(theme) {\n return {\n /* Styles applied to the root element. */\n root: {\n display: 'inline-block'\n },\n\n /* Styles applied to the root element if `variant=\"static\"`. */\n static: {\n transition: theme.transitions.create('transform')\n },\n\n /* Styles applied to the root element if `variant=\"indeterminate\"`. */\n indeterminate: {\n animation: '$circular-rotate 1.4s linear infinite'\n },\n\n /* Styles applied to the root element if `variant=\"determinate\"`. */\n determinate: {\n transition: theme.transitions.create('transform')\n },\n\n /* Styles applied to the root element if `color=\"primary\"`. */\n colorPrimary: {\n color: theme.palette.primary.main\n },\n\n /* Styles applied to the root element if `color=\"secondary\"`. */\n colorSecondary: {\n color: theme.palette.secondary.main\n },\n\n /* Styles applied to the `svg` element. */\n svg: {\n display: 'block' // Keeps the progress centered\n\n },\n\n /* Styles applied to the `circle` svg path. */\n circle: {\n stroke: 'currentColor' // Use butt to follow the specification, by chance, it's already the default CSS value.\n // strokeLinecap: 'butt',\n\n },\n\n /* Styles applied to the `circle` svg path if `variant=\"static\"`. */\n circleStatic: {\n transition: theme.transitions.create('stroke-dashoffset')\n },\n\n /* Styles applied to the `circle` svg path if `variant=\"indeterminate\"`. */\n circleIndeterminate: {\n animation: '$circular-dash 1.4s ease-in-out infinite',\n // Some default value that looks fine waiting for the animation to kicks in.\n strokeDasharray: '80px, 200px',\n strokeDashoffset: '0px' // Add the unit to fix a Edge 16 and below bug.\n\n },\n\n /* Styles applied to the `circle` svg path if `variant=\"determinate\"`. */\n circleDeterminate: {\n transition: theme.transitions.create('stroke-dashoffset')\n },\n '@keyframes circular-rotate': {\n '0%': {\n // Fix IE 11 wobbly\n transformOrigin: '50% 50%'\n },\n '100%': {\n transform: 'rotate(360deg)'\n }\n },\n '@keyframes circular-dash': {\n '0%': {\n strokeDasharray: '1px, 200px',\n strokeDashoffset: '0px'\n },\n '50%': {\n strokeDasharray: '100px, 200px',\n strokeDashoffset: '-15px'\n },\n '100%': {\n strokeDasharray: '100px, 200px',\n strokeDashoffset: '-125px'\n }\n },\n\n /* Styles applied to the `circle` svg path if `disableShrink={true}`. */\n circleDisableShrink: {\n animation: 'none'\n }\n };\n};\n/**\n * ## ARIA\n *\n * If the progress bar is describing the loading progress of a particular region of a page,\n * you should use `aria-describedby` to point to the progress bar, and set the `aria-busy`\n * attribute to `true` on that region until it has finished loading.\n */\n\nvar CircularProgress = /*#__PURE__*/React.forwardRef(function CircularProgress(props, ref) {\n var classes = props.classes,\n className = props.className,\n _props$color = props.color,\n color = _props$color === void 0 ? 'primary' : _props$color,\n _props$disableShrink = props.disableShrink,\n disableShrink = _props$disableShrink === void 0 ? false : _props$disableShrink,\n _props$size = props.size,\n size = _props$size === void 0 ? 40 : _props$size,\n style = props.style,\n _props$thickness = props.thickness,\n thickness = _props$thickness === void 0 ? 3.6 : _props$thickness,\n _props$value = props.value,\n value = _props$value === void 0 ? 0 : _props$value,\n _props$variant = props.variant,\n variant = _props$variant === void 0 ? 'indeterminate' : _props$variant,\n other = _objectWithoutProperties(props, [\"classes\", \"className\", \"color\", \"disableShrink\", \"size\", \"style\", \"thickness\", \"value\", \"variant\"]);\n\n var circleStyle = {};\n var rootStyle = {};\n var rootProps = {};\n\n if (variant === 'determinate' || variant === 'static') {\n var circumference = 2 * Math.PI * ((SIZE - thickness) / 2);\n circleStyle.strokeDasharray = circumference.toFixed(3);\n rootProps['aria-valuenow'] = Math.round(value);\n circleStyle.strokeDashoffset = \"\".concat(((100 - value) / 100 * circumference).toFixed(3), \"px\");\n rootStyle.transform = 'rotate(-90deg)';\n }\n\n return /*#__PURE__*/React.createElement(\"div\", _extends({\n className: clsx(classes.root, className, color !== 'inherit' && classes[\"color\".concat(capitalize(color))], {\n 'determinate': classes.determinate,\n 'indeterminate': classes.indeterminate,\n 'static': classes.static\n }[variant]),\n style: _extends({\n width: size,\n height: size\n }, rootStyle, style),\n ref: ref,\n role: \"progressbar\"\n }, rootProps, other), /*#__PURE__*/React.createElement(\"svg\", {\n className: classes.svg,\n viewBox: \"\".concat(SIZE / 2, \" \").concat(SIZE / 2, \" \").concat(SIZE, \" \").concat(SIZE)\n }, /*#__PURE__*/React.createElement(\"circle\", {\n className: clsx(classes.circle, disableShrink && classes.circleDisableShrink, {\n 'determinate': classes.circleDeterminate,\n 'indeterminate': classes.circleIndeterminate,\n 'static': classes.circleStatic\n }[variant]),\n style: circleStyle,\n cx: SIZE,\n cy: SIZE,\n r: (SIZE - thickness) / 2,\n fill: \"none\",\n strokeWidth: thickness\n })));\n});\nprocess.env.NODE_ENV !== \"production\" ? void 0 : void 0;\nexport default withStyles(styles, {\n name: 'MuiCircularProgress',\n flip: false\n})(CircularProgress);","import React, { useState } from 'react';\nimport styled from 'styled-components';\nimport Modal, { ModalProvider, BaseModalBackground } from 'styled-react-modal';\nimport { CircularProgress } from '@material-ui/core';\nimport PageRoot from '../components/common-components/templates/page-root-v2';\nimport colorPaletteV2 from '../styles/color-palette-v2';\nimport SEOHeaderV2 from '../components/common-components/templates/page-root-v2/seo-v2';\n\nconst ContactForm = styled.div`\n display: ${props => (props.isVisible ? 'block' : 'none')};\n padding-bottom: 80px;\n padding-bottom: 80px;\n @media (min-width: 960px) {\n display: ${props => (props.isVisible ? 'flex' : 'none')};\n align-items: center;\n flex-direction: column;\n margin-top: 180px;\n margin-top: 180px;\n padding-bottom: 100px;\n padding-bottom: 100px;\n }\n &.confirm-modal-card {\n display: flex;\n flex-direction: column;\n background-color: ${colorPaletteV2.surface};\n padding: 96px 16px;\n padding: 96px 16px;\n height: 100vh;\n overflow: scroll;\n position: absolute;\n padding-bottom: 48px;\n padding-bottom: 48px;\n margin-top: 0;\n margin-top: 0;\n width: 100%;\n @media (min-width: 960px) {\n height: auto;\n overflow: inherit;\n padding: 48px 80px;\n padding: 48px 80px;\n position: relative;\n width: auto;\n }\n }\n .page-title {\n text-align: center;\n font-size: 32px;\n font-size: 32px;\n margin-bottom: 64px;\n margin-bottom: 64px;\n @media (min-width: 960px) {\n font-size: 42px;\n font-size: 42px;\n margin-bottom: 48px;\n margin-bottom: 48px;\n }\n &.confirm-modal-card {\n font-size: 24px;\n font-size: 24px;\n line-height: 1.5;\n margin-bottom: 40px;\n margin-bottom: 40px;\n }\n }\n .form-wrap {\n @media (min-width: 960px) {\n display: grid;\n grid-template-columns: 190px 418px;\n grid-template-columns: 190px 418px;\n grid-row-gap: 32px;\n grid-row-gap: 32px;\n }\n &.confirm-modal-card {\n @media (min-width: 960px) {\n grid-row-gap: 16px;\n grid-row-gap: 16px;\n }\n }\n }\n .form-title {\n font-size: 16px;\n font-size: 16px;\n padding-top: 12px;\n padding-top: 12px;\n display: flex;\n align-items: flex-start;\n padding-bottom: 12px;\n padding-bottom: 12px;\n @media (min-width: 960px) {\n padding-bottom: 0;\n padding-bottom: 0;\n }\n .required {\n font-size: 12px;\n font-size: 12px;\n margin-left: 8px;\n margin-left: 8px;\n padding-top: 4px;\n padding-top: 4px;\n color: ${colorPaletteV2.orange};\n }\n }\n .form-content {\n margin-bottom: 32px;\n margin-bottom: 32px;\n @media (min-width: 960px) {\n margin-bottom: 0;\n margin-bottom: 0;\n }\n &.confirm-modal-card {\n font-size: 16px;\n font-size: 16px;\n padding: 8px 12px;\n padding: 8px 12px;\n width: 100%;\n white-space: pre-wrap;\n line-height: 1.5;\n background: ${colorPaletteV2.whitePale};\n &.inquiry {\n @media (min-width: 960px) {\n max-height: 200px;\n max-height: 200px;\n overflow: scroll;\n }\n }\n }\n }\n /* .form-content textarea {\n font-size: 16px;\n font-size: 16px;\n padding: 8px 12px;\n padding: 8px 12px;\n width: 100%;\n border: none;\n } */\n /* form */\n input,\n button,\n textarea,\n select {\n /* デフォルトスタイルをリセット */\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n\n /* font-familyを継承しないので、継承させる */\n font-family: inherit;\n\n /* iOSの角丸をリセット */\n border-radius: 0;\n\n /* box-size */\n box-sizing: border-box;\n\n /* 文字の大きさ iOSでズームさせないために16px以上を指定 */\n font-size: 16px;\n font-size: 16px;\n padding: 8px 12px;\n padding: 8px 12px;\n width: 100%;\n border-color: ${colorPaletteV2.white};\n\n /* 文字色を親から継承 */\n color: inherit;\n }\n\n label {\n /* iOSでのlabelとinput,select,textareaの関連付け */\n cursor: pointer;\n }\n\n /* スピンボタン非表示 chrome,safari */\n input[type='number']::-webkit-outer-spin-button,\n input[type='number']::-webkit-inner-spin-button,\n input[type='month']::-webkit-outer-spin-button,\n input[type='month']::-webkit-inner-spin-button,\n input[type='datetime-local']::-webkit-outer-spin-button,\n input[type='datetime-local']::-webkit-inner-spin-button,\n input[type='week']::-webkit-outer-spin-button,\n input[type='week']::-webkit-inner-spin-button,\n input[type='time']::-webkit-outer-spin-button,\n input[type='time']::-webkit-inner-spin-button,\n input[type='date']::-webkit-outer-spin-button,\n input[type='date']::-webkit-inner-spin-button {\n /*-webkit-appearance: none;\n margin: 0;*/\n display: none;\n }\n\n /* スピンボタン非表示(firefox) */\n input[type='number'],\n input[type='month'],\n input[type='datetime-local'],\n input[type='week'],\n input[type='time'],\n input[type='date'] {\n -moz-appearance: textfield;\n }\n\n /* クリアボタン非表示 */\n input[type='date']::-webkit-clear-button,\n input[type='month']::-webkit-clear-button,\n input[type='datetime-local']::-webkit-clear-button,\n input[type='time']::-webkit-clear-button,\n input[type='week']::-webkit-clear-button {\n -webkit-appearance: none;\n }\n\n /* input */\n input {\n /* 背景色(任意の色を指定) */\n background-color: ${colorPaletteV2.white};\n\n /* inputの枠線を消す */\n border: 1px solid transparent;\n transition: border 0.2s ease-out;\n\n /* 文字色を親から継承 */\n color: inherit;\n\n /* 任意の高さ */\n height: 46px;\n\n /*inputのフォーカス時の枠線を消す*/\n outline: 0;\n }\n\n /* inputにフォーカスが当たっている時 */\n input:focus {\n border-bottom: 1px solid ${colorPaletteV2.blue};\n }\n\n input::placeholder,\n textarea::placeholder {\n color: ${colorPaletteV2.grayPale};\n }\n`;\n\nconst Grad1Button = styled.button`\n background-color: transparent;\n border: none;\n cursor: pointer;\n outline: none;\n padding: 2px !important;\n padding: 2px !important;\n appearance: none;\n margin: 0 auto;\n margin-top: 40px;\n margin-top: 40px;\n max-width: 400px;\n max-width: 400px;\n &.confirm-modal-card {\n margin-top: 20px;\n margin-top: 20px;\n }\n`;\n\nconst StyledModal = styled(Modal)`\n opacity: ${props => props.opacity};\n transition: opacity ease 500ms;\n position: relative;\n @media (min-width: 960px) {\n width: 84px;\n height: 100vh;\n }\n`;\n\nconst SendingCircular = styled(CircularProgress)`\n color: ${colorPaletteV2.blue};\n margin-top: 40px;\n margin-top: 40px;\n`;\n\nconst FadingBackground = styled(BaseModalBackground)`\n opacity: ${props => props.opacity};\n transition: opacity ease 200ms;\n background: rgba(106, 106, 106, 0.5);\n`;\n\nconst CloseButton = styled.button`\n width: 80px !important;\n width: 80px !important;\n height: 80px;\n height: 80px;\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n margin-left: auto;\n border: none;\n position: absolute;\n top: 0;\n right: 0;\n background: none !important;\n border-color: ${colorPaletteV2.surface};\n .menuSP-txt {\n font-size: 10px;\n font-size: 10px;\n font-weight: 700;\n position: relative;\n top: 8px;\n }\n .menu-hamburger-lines,\n .menu-hamburger-lines span {\n display: inline-block;\n box-sizing: border-box;\n }\n .menu-hamburger-lines {\n position: relative;\n width: 20px;\n width: 20px;\n height: 20px;\n height: 20px;\n background: none;\n border: none;\n appearance: none;\n cursor: pointer;\n }\n .menu-hamburger-lines span {\n position: absolute;\n left: 0;\n width: 100%;\n height: 2px;\n background-color: ${colorPaletteV2.black};\n border-radius: 2px;\n }\n .menu-hamburger-lines span:nth-of-type(1) {\n top: 2px;\n transform: translateY(10px) rotate(-45deg);\n width: 110%;\n }\n .menu-hamburger-lines span:nth-of-type(2) {\n bottom: 2px;\n transform: translateY(-10px) rotate(45deg);\n top: 22px;\n width: 110%;\n }\n`;\n\nconst ResultWrapper = styled.div`\n display: ${props => (props.isVisible ? 'none' : 'flex')};\n flex-direction: column;\n align-items: flex-start;\n justify-content: center;\n font-size: 16px;\n font-size: 16px;\n line-height: 1.5;\n padding: 64px 16px 80px;\n padding: 64px 16px 80px;\n @media (min-width: 960px) {\n align-items: center;\n flex-direction: column;\n margin-top: 32px;\n margin-top: 32px;\n padding-bottom: 100px;\n padding-bottom: 100px;\n }\n .title {\n font-size: 18px;\n font-size: 18px;\n margin-bottom: 24px;\n margin-bottom: 24px;\n font-weight: 700;\n }\n p {\n margin-bottom: 14px;\n margin-bottom: 14px;\n }\n a {\n color: ${colorPaletteV2.blue};\n display: inline-block;\n }\n .back-to-top {\n margin-top: 18px;\n margin-top: 18px;\n }\n @media (min-width: 960px) {\n align-items: center;\n text-align: center;\n top: 20px;\n }\n`;\n\nconst ContactPageV2 = () => {\n const [isOpen, setIsOpen] = useState(false);\n const [isVisible, setIsVisible] = useState(true);\n\n const [opacity, setOpacity] = useState(0);\n const [inputs, setInputs] = useState(Array(5));\n const [isSending, setIsSending] = useState(false);\n\n const toggleModal = e => {\n if (inputs[0] && inputs[1] && inputs[2] && inputs[3] && inputs[4]) {\n e.preventDefault();\n setIsOpen(!isOpen);\n }\n };\n\n const afterOpen = () => {\n setTimeout(() => {\n setOpacity(1);\n }, 10);\n };\n\n const beforeClose = () => {\n return new Promise(resolve => {\n setOpacity(0);\n setTimeout(resolve, 200);\n });\n };\n\n const handleOnChange = (e, index) => {\n const newInputs = inputs;\n newInputs[index] = e.target.value;\n setInputs(newInputs);\n };\n\n const sendContents = async () => {\n setIsSending(true);\n await fetch(\n 'https://zmn10b352d.execute-api.ap-northeast-1.amazonaws.com/production/SendGrid',\n {\n method: 'POST',\n cache: 'no-cache',\n headers: {\n 'Content-Type': 'application/json',\n },\n body: JSON.stringify({\n subject: `お問い合わせ : ${inputs[1]}様`,\n message: `所属先 : ${inputs[0]}\\n名前 : ${inputs[1]}\\nメールアドレス : ${inputs[2]}\\n電話番号 : ${inputs[3]}\\n内容 : ${inputs[4]}`,\n }),\n },\n );\n setIsSending(false);\n setIsVisible(false);\n setIsOpen(!isOpen);\n };\n\n return (\n \n \n {/* */}\n \n \n

お問い合わせ

\n
\n
\n
\n \n *必須\n
\n
\n handleOnChange(e, 0)}\n required\n />\n
\n
\n \n *必須\n
\n
\n handleOnChange(e, 1)}\n required\n />\n
\n
\n \n *必須\n
\n
\n handleOnChange(e, 2)}\n required\n />\n
\n
\n \n *必須\n
\n
\n handleOnChange(e, 3)}\n required\n />\n
\n
\n \n *必須\n
\n
\n handleOnChange(e, 4)}\n required\n />\n
\n
\n toggleModal(e)}\n >\n 確認画面へ\n \n \n \n \n \n \n
\n \n \n
\n CLOSE\n
\n\n

\n 以下の内容で送信します。\n
\n よろしいですか?\n

\n
\n
\n \n
\n
{inputs[0]}
\n
\n \n
\n
{inputs[1]}
\n
\n \n
\n
{inputs[2]}
\n
\n \n
\n
{inputs[3]}
\n
\n \n
\n
\n {inputs[4]}\n
\n
\n
\n {isSending ? (\n \n ) : (\n \n 送信\n \n )}\n
\n
\n \n \n

\n お問い合わせ\n
\n ありがとうございました。\n

\n \n
\n
\n
\n );\n};\n\nexport default ContactPageV2;\n"],"sourceRoot":""}